/**
 * Ajoute une fonctionnalités d'agenda à votre boutique
 *
 * @author    Alexandre Stimpfling - Ukoo <modules@ukoo.fr>
 * @copyright Ukoo 2014-2015
 * @license   Ukoo - Tous droits réservés
 *
 * "In Ukoo we trust!"
 */

/* Global */
.ukooagenda_inline {
    display: inline;
    margin-left: 5px;
}

/* Column block */
#ukooagenda_block .block_content ul {
    margin: 10px 0;
}

#ukooagenda_block li {
    border-bottom: 1px dotted #444;
    padding: 10px 0;
}

#ukooagenda_block li:first-child {
    padding-top: 0;
}

#ukooagenda_block li:last-child {
    padding-bottom: 0;
}

#ukooagenda_block li:last-child {
    border-bottom: none;
}

#ukooagenda_block .block_content p {
    margin: 5px 0;
    padding: 0;
}

#ukooagenda_block .block_content p:last-child {
    margin-bottom: 0;
}

/* List */
#ukooagenda_view_agenda .block_content > div {
    border: 1px solid #ccc;
    margin: 10px 0;
}

#ukooagenda_view_agenda ul {
    margin: 10px 0;
}

#ukooagenda_view_agenda .no-events {
    margin: 10px 0;
    padding: 0;
}

#ukooagenda_view_agenda li {
    margin: 10px 0;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 10px;
}

#ukooagenda_view_agenda li:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

#ukooagenda_view_agenda li p:last-child {
    padding-bottom: 0;
}

#ukooagenda_view_agenda h3 {
    padding-bottom: 0;
    margin-bottom: 5px;
    font-size: 15px;
}

#ukooagenda_view_agenda .pagination {
    display: block;
    clear: both;
	overflow: hidden;
}

/* Search */
#ukooagenda_search .nbresult {
    margin: 10px 0;
    padding: 5px;
    background-color: #f0f0f0;
}

#ukooagenda_search li {
    padding: 20px 0;
    border-bottom: 1px dotted #ccc;
}

#ukooagenda_search li p:last-child {
    padding-bottom: 0;
}

#ukooagenda_search li:first-child {
    margin-top: 0;
    padding-top: 0;
}

#ukooagenda_search li:last-child {
    margin-bottom: 0;
}

#ukooagenda_search ul {
    margin: 20px 0;
}

#ukooagenda_search h2 {
    font-size: 15px;
    font-weight: bold;
    margin-top: 0;
}

#ukooagenda_search .pagination {
    display: block;
}

/* Form */
.ukooagenda_form {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 5px;
}

.ukooagenda_form [type="text"] {
    padding: 5px;
    border: 1px solid #ccc;
    vertical-align: middle;
}

.ukooagenda_form [type="submit"] {
    vertical-align: middle;
}

.ukooagenda_form label > * {
    vertical-align: middle;
}

.ukooagenda_form [type="checkbox"] {
    margin: 0 3px 0 0;
    vertical-align: middle;
}

.ukooagenda_form .checker {
    margin-left: 5px;
	display: inline;
}

.ukooagenda_form .checker span {
    vertical-align: middle;
}

/* Details */
#ukooagenda_event_details h2 {
    padding-bottom: 0;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: bold;
}

#ukooagenda_event_details .tags li {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 5px;
}

#ukooagenda_event_details .tags li {
    display: inline-block;
    margin-right: 5px;
}

#ukooagenda_event_details .tags li:last-child {
    margin-right: 0;
}

#ukooagenda_event_details .product_list {
    margin-top: 20px;
}

#map {
	width: 100%;
	height: 350px;
	margin-bottom: 26px;
}

#ukooagenda_marker_picture {
	width: auto;
	height: auto;
	max-width: 100%;
	display: block;
	padding: 5px;
}

#ukooagenda_marker_title, #ukooagenda_marker_button{
	text-align: center;
}

#ukooagenda_marker_image {
	float: left;
}

@media (min-width: 0px) and (max-width: 479px) {
	#ukooagenda_marker_image {
		float: none;
	}
	#map {
		width: 80%;
		margin: 0 auto;
	}
}

