
/* 3.0.0 : ADDITION OF A MAP */
#store_selector_modal .store_list_box {
	position: relative;
    overflow-y: auto;
    max-height: 450px;
}

#map { 
	height: 225px;
	margin-top: 10px;
	width: 100%;
	overflow: hidden;
    border-radius: 4px;
    border: 3px solid #F4F4F4;
	max-height: 450px;
}

#checkout #map {
	margin-top: 0;
}

#map .leaflet-popup-content {
	margin: 11px 15px;
}

#map .leaflet-popup-content button {
	margin-top: 10px;
    font-size: inherit;
	display: block;
    width: 100%;
}

#map .leaflet-popup-content .min_amount_to_order {
	display: none;
}

#store_selector_modal.active_map .modal-dialog {
	max-width: 900px;
}

#store_selector_modal.active_map .search_cp {
	padding: 15px 150px;
}

#store_selector_modal.active_map #map {
	width: 50%;
	float: right;
	min-height: 300px;
}

#store_selector_modal.active_map .store_list_box {
	width: 50%;
	float:left;
	min-height:300px;
	overflow: auto;
	max-height: 450px;
}

#store_selector_modal.active_map .store_list li {
	cursor: pointer;
	font-size: 14px;
	padding: 10px;
}

#store_selector_modal.active_map .store_list li button {
	position: inherit;
	right: inherit;
	top: inherit;
	width: 100%;
	border-radius: 1rem;
}

#store_selector_modal.active_map .store_list li .storeInfosFooter {
	display: none;
	transition: all ease 0.5s;
}

#store_selector_modal.active_map .store_list li .km {
	position: absolute;
    right: 10px;
}

#store_selector_modal.active_map .store_list li.selected .km {
	background: #50c5de;
}

#store_selector_modal.active_map .store_list li.selected .storeInfosFooter {
	display: block;
}

#store_selector_modal.active_map .store_list li.selected .storeInfosFooter button {
	width: 100%;
	margin-top: 10px;
}

#store_selector_modal.active_map #modal_loader {
	position: fixed;
	z-index: 1000;
	left: 1px;
    top: 125px;
    bottom: 70px;
    right: 1px;
}

#store_selector_modal.active_map .leaflet-bottom svg {
	display: none !important;
}

#store_selector_modal .search_cp_box {
	position: relative;
}

#store_selector_modal.active_map .reservation_ok button {
	position: relative;
    width: 100%;
    top: inherit;
    right: inherit;
    margin-top: 15px;
	border-radius: 1rem;
}

#store_selector_modal.active_map .store_list h4,
#store_selector_modal.active_map .reserved_slot h4 {
	font-size: 1.02rem;
}

#store_selector_modal.active_map .store_list span,
#store_selector_modal.active_map .reserved_slot span {
	font-size: 14px;
}

@media screen and (max-width:920px) {
	
	#store_selector_modal.active_map .modal-dialog {
		max-width: 700px;
	}

	#store_selector_modal.active_map .search_cp {
		padding: 15px 10px;
	}

	#store_selector_modal #map {
		height: 200px;
	}

	#store_selector_modal.active_map #map, 
	#store_selector_modal.active_map .store_list_box {
		width: 100%;
		float: none;
		min-height: inherit;
		max-height: inherit;
	}

	#store_selector_modal .modal-body {
		max-height: inherit;
	}

}

/* LITTLE CSS 2.0.0 OVERRIDE */
#creneau_selected,
#creneau_selected_back, 
#shop_selected {
    max-width: 100%;
    width: calc( 100% - 30px );
}

#creneau_selected h5,
#creneau_selected_back h5,
#shop_selected h5 {
    font-size: 15px;
}

#creneau_selected #creneau_day, 
#creneau_selected_back #creneau_day, 
#shop_selected span {
    font-size: 14px;
    line-height: 18px;
    display: inline-block;
}

#map_form .vignette {
    text-align: center;
}

#map_form .vignette .markerBox {
    background: #F4F4F4;
    border-radius: 0.5rem;
    padding: 10px 10px 5px;
    margin-bottom: 10px;
}

#map_form .vignette .markerBox label {
    display: block;
}

#map_form .vignette img {
    height: 45px;
    width: auto;
    padding: 5px 5px 10px;
}

/* TABLE CRENEAU / LIST CRENEAU */
#list_creneau.viewList td span {
    background: #F4F4F4;
    border-radius: 1rem;
    margin: 0 2px 10px;
}

#list_creneau.viewList {
    margin-top: 10px;
}

#table_creneau.viewList tr td {
    background: #FFF;
    padding: 0;
}

#table_creneau.viewList {
    max-height: 300px;
    display: block;
    overflow-y: auto;
}

#store_selector_modal #table_creneau.viewList {
    max-height: inherit;
}

#store_selector_modal #list_creneau.viewList {
    margin-top:0;
}

#store_selector_modal.active_map #list_creneau.viewList td span {
    min-width: 120px;
    margin: 0 2px 10px;
}

#store_selector_modal .alert-info {
    margin-bottom: 10px;
}

#table_creneau.viewList tbody {
    width: 100%;
    display: table;
}

#table_creneau.viewList tr td .dispo {
    background: #F4F4F4;
}

#table_creneau.viewList tr td .dispo:hover,
#table_creneau.viewList tr td .dispo:active,
#table_creneau.viewList tr td .dispo:focus,
#list_creneau.viewList td span:hover,
#list_creneau.viewList td span:active,
#list_creneau.viewList td span:focus,
#table_creneau.viewList tr td .dispo.selected {
    background: #349aef;
    color:#FFF;
}

#list_creneau.viewList td {
    padding: 0 2px;
}

#table_creneau.viewList tr span {
    font-size: 15px;
    font-weight: inherit;
}

/* TABLE VIEW */
#table_legend {
    border: none;
    padding: 10px 10px 1px;
    margin-bottom: 20px;
    background: #F4F4F4;
    border-radius: 4px;
}

#table_legend li {
    border-radius: 4px;
}

#table_creneau td:first-child {
    min-width: 105px;
}

.buttondays {
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    color: #333;
    background: #F4F4F4;
}

.buttondays:hover {
    background: #349aef;
    color:#FFF;
}

#store_list .clickable.not_allowed {
    padding-right: 15px;
}

#home .illustration img {
	max-width: 100%;
	height:auto;
	border-radius: 0.5rem;
}

/* NEW VIEW CALENDAR (3.1.0 ^^) */
#list_creneau.viewCalendar td {
    padding: 0 2px;
    display: inline-block;
    width: 25%;
    height: 70px;
    background: #FFF;
    border-bottom: 1px solid #ddd;
    border-left: 1px solid #ddd;
    position: relative;
}

#list_creneau.viewCalendar td span {
    border-radius: 0;
    margin: 0;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    font-size: 20px;
    font-weight: bold;
}

@media screen and (max-width:991px)
{
    #shop_selected button.changeStore, 
    #creneau_selected button.changeSlot,
    #creneau_selected_back button.changeSlot {
        float: none;
        position: relative;
        width: 100%;
        border: none;
        border-radius: 1rem;
        margin-top: 10px;
    }

    #table_creneau.viewList {
        max-height: 190px;
    }

    #list_creneau.viewList td {
        padding: 0 2px;
    }

    #store_selector_modal.active_map .bookInfos {
        display: none !important;
    }
}