:root {
    --mapHeight : 60vh;
    --storeColor : #333;
}

#storefinder .entete {
	padding: 1rem 0;
	background-color: #184897;
}

#storefinder div:nth-child(2) img{
	height: auto;
	width: 100%;
}


/* FILTERS */
#filter_wrapper {
    display: block;
    background-color: #f4f3f3;
    padding: 30px 15px;
    width: auto;
    z-index: 9; 
}
@media (max-width: 992px){
    #filter_wrapper {
        width: 100%;
    }
}
#storeFilters {
    border: none;
    display: flex;
    align-items: start;
    flex-direction: column;
    gap: 30px;
    position: relative;
}
.filter-block {
    display: flex;
    justify-content: center;
    padding: 0;
}
.filter-input {
    display: inline-block;
    vertical-align: top;
}
@media (max-width: 992px) {
    .filter-input {
        display: block;
    }
}


/* Filter categories */
.filter-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    row-gap: 10px;
    justify-content: center;
    max-width: 1120px;
    width: 100%;
}

.filter-item {
    display: inline-block;
}

.filter-type {
    margin-bottom: 20px;
}
.filter-type .filter-label {
    padding-left: 0;
}
.filter-label {
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    display: flex;
    gap: 5px;
    align-items: center;
}





.search-input {
    border: 1px solid #000;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px;
    max-width: 110px;
}
.search-input .filter-item {
    color: #272727;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.1;
    text-align: left;
    border: none;
    background: none;
    outline: none;
    width: 100%;
}
.search-input input::placeholder{
    color: #272727;
}
.search-input input[type=number]::-webkit-inner-spin-button, 
.search-input input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0; 
}
.search-input .filter-btn {
    background: none;
    position: relative;
    border: none !important;
    padding: 0 !important;    
    outline: none !important;
    flex: 0 0 10px;
}

.filter-btn img {
    object-fit: contain;
    height: 100%;
    width: 100%;
}

@media (max-width: 992px){
    .search-input {
        width: calc(100% - 50px);
    }
}
.cp-error {
    margin: 0;
}

.distance {
    padding-left: 15px;
}

.irs {
    top: -4px;
}
.irs--big .irs-handle {
    background: #ffffff;
    border: 6px solid #6ac5d8;
    box-shadow: none;
    top: 20px;
    width: 25px;
    height: 25px;
}
.irs--big .irs-handle.state_hover, .irs--big .irs-handle:hover {
    background: #ffffff;
    border: 6px solid #6ac5d8;
}
.irs--big .irs-bar {
    background: #489cc9;
    border: none;
    border-radius: 12px;
    box-shadow: none;
    top: 29px;
    height: 5px;
}
.irs--big .irs-line {
    height: 5px;
    background: #d8d8d8;
}
.irs--big .irs-min, .irs--big .irs-max {
    display: none;
}
.irs--big .irs-from, .irs--big .irs-to, .irs--big .irs-single {
    color: #489cc9;
    font-weight: 400;
    font-size: 16px;
    font-style: normal;
    font-stretch: normal;
    line-height: 26px;
    text-align: center;
    text-transform: none;
    text-shadow: none;
    text-decoration: none;
    letter-spacing: 0px;
    background: none;
}
span.irs-single::after {
    content: 'km';
}



/* MAP + LIST */
#d-locator_wrap {
    height: var(--mapHeight);
}
.d-locator-title {
    color: #6ec1e4;
    font-size: 25px;
    font-weight: 600;
    line-height: 33px;
    text-align: center;
    background: #f7f7f5;
    margin-bottom: 0;
    padding: 60px 0;
}
#d-locator_inner {
    width: 100%;
    height: 100%;
}
#d-locator_wrap #d-locator_header {
    position: relative;
    background: #fff;
    z-index: 3;
}
#d-locator_content {
    display: flex;
    position: relative;
    height: 100%;
}
#d-locator_content.left-panel-opened #d-locator_left_panel {
    width: 31%;
    opacity: 1;
    background: #ffffff;
}


#d-locator_content.left-panel-opened .store-list-content {
    opacity: 1;
}
#d-locator_content #d-locator_left_panel {
    width: 31%;
    z-index: 2;
}
@media(max-width: 992px){
    #d-locator_content #d-locator_left_panel {
        width: 0%;
    } 
    #d-locator_content .store-list-content {
        opacity: 0;
        z-index: -1;
    }
}
.store-list-wrapper {
    position: relative;
}
#d-locator_content .store_title {
    color: #ffffff;
    font-size: 26px;
    text-transform: uppercase;
    font-weight: 700;
}
#d-locator_content .store-list-content,
#d-locator_content #store_single_wrapper {
    position: relative;
    height: var(--mapHeight);
    width: 100%;
    overflow-y: auto;
}
#d-locator_content .store-list-content .store_list {
    padding: 0;
    margin-left: 0;
    margin-bottom: 0;
}

#d-locator_map { 
    height: var(--mapHeight);
    width: 69%;
    transition: width .5s ease-in-out;
    z-index: 1;
}
#map {
	height: 100%;
	position: relative;
    overflow: hidden;
}

@media (max-width: 992px){
    #d-locator_wrap #d-locator_content #d-locator_map {
        width: 100%;
    }
}
#d-locator_list {
    display: none;
}
.store-item:not(:last-of-type) {
    border-bottom: 1px solid #ccc;
}
.store-item {
    cursor: pointer;
    padding: 20px;
}
.store-item.selected {
    background-color: rgba(219, 219, 219, 0.4);
}
.store-item .store-inner {
    display: flex;
    align-items: start;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}
.store-item .store-thumb {
    height: 50px;
    max-width: 80px;
    width: 100%;
}
.store-item .store-thumb img {
    object-fit: contain;
    height: 100%;
    width: 100%;
}
.store-info {
    color: #000;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.store-info * {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 1.1;
}
.store-info .name {
    font-weight: 700;
}
.store-info .contact-infos .info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}
.store-info .contact-infos a {
    color: #000;
    font-size: 13px;
    text-decoration: none;
}
.store_link, .store_link:focus, .store_link:hover, .store_link:visited {
    color: #000;
    font-size: 14px;
}
.site-content .dropdown-toggle {
    display: block;
    position: relative;
    left: 0;
}


.dropdown-item.selected {
    background-color: gray;
}


#panel_list_no_result {
    text-align: center;
    background: #fff;
    clear: both;
    display: none;
    position: absolute;
    padding: 30px 20px;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
}

#panel_list_no_result.active {
    color: var(--storeColor);
    display: block;
}

#store_single_close {
    color: #6ac5da;
    font-size: 25px;
    background: none;
    border: none;
    box-shadow: none;
    position: absolute;
    top: 0;
    right: 0;
    outline: 0;
}
.marker {
    text-align: center;
}
.marker img{
    height: 100%;
    width: 100%;
    object-fit: contain;
}
.marker_nb {
    color: #fff;
    font-size: 18px;
    font-style: normal;
    font-stretch: normal;
    font-weight: 700;
    line-height: 25px;
    text-align: center;
    position: absolute;
    top: 4px;
    height: 43px;
    width: 32px;
}




.leaflet-control-attribution a {
    font-size: 10px;
    text-decoration: none !important;
}
.leaflet-control-zoom a {
    font-size: 15px;
    text-decoration: none !important;
}





.store_btn button {
    color: #ffffff;
    font-size: 15px;
    font-style: normal;
    font-stretch: normal;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    text-transform: none;
    text-decoration: none;
    letter-spacing: 1px;
    background: #489CC9;
    border: none;
    border-radius: 5px;
    margin-left: 15px;
    margin-top: 40px;
    height: 50px;
    width: 126px;
    cursor: pointer;
}

.store_btn button a {
    color: #ffffff;
    text-decoration: none !important;
    font-size: 15px;
}

.store_btn .i-chevron {
    content: "";
    background: url(../img/icons/chrevron-right.svg);
    height: 17px;
    width: 11px;
    display: inline-block;
    top: 4px;
    position: relative;
    left: 8px;
}



.lds-dual-ring {
    display: inline-block;
    width: 71px;
    height: 64px;
    z-index: 9999;
    position: absolute;
    width: 100%;
    height: 100%;
    transform: translateY(50%);
  }
  .lds-dual-ring:after {
    content: " ";
    display: block;
    width: 46px;
    height: 46px;
    margin: 1px;
    border-radius: 50%;
    border: 5px solid #767676;
    border-color: #767676 transparent #767676 transparent;
    animation: lds-dual-ring 1.2s linear infinite;
    margin: 0 auto;
  }
  @keyframes lds-dual-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
.leaflet-popup {
    bottom: 14px !important;
}
.leaflet-popup-content-wrapper {
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 3px 16px #cccccc;
    padding: 0;
    box-shadow: none;
}
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
    background: rgba(255, 255, 255, 0.9);
}
.leaflet-popup-content {
    width: 275px !important;
    padding: 20px 40px 20px 20px ;
    margin: 0;
}
.marker-popin * {
    font-family: "Montserrat", sans-serif
}
.marker-popin .store-thumb {
    display: none;
}
.marker-popin .store-info * {
    font-size: 14px;
}
.marker-popin .store-info .address {
    margin: 0;
}
.marker-popin .link {
    color: #ffffff;
    font-size: 12px;
    line-height: 18px;
    background: #000000;
    padding: 5px 10px;
    border-radius: 12px;
    margin-top: 10px;
    display: inline-block;
    text-decoration: none;
}
.marker-popin .link::after {
    content: "\f054";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    margin-left: 8px;
}

.leaflet-container a.leaflet-popup-close-button {
    width: 26px;
    height: 20px;
    font-size: 26px;
    font-weight: 400;
    color: #000;
    top: 15px;
    right: 10px;
}