.map-data-zone{
    justify-content: space-between !important;
    display: flex !important;
}
.map-data-zone .zone-1{
    width: 50%;
}
.map-data-zone .zone-2{
    width: 50%;
    padding-left: 20px;
}
.map-data-zone .mobile-tabs {
    display: none;
}
.zone-1,.zone-2{
    display: block;
}
/* Mobile: display as tabs */
@media screen and (max-width: 767px) {
    .map-data-zone {
        display: block !important;
    }
    .map-data-zone .zone-1,
    .map-data-zone .zone-2 {
        width: 100%;
        padding-left: 0;
        display: none;
    }
    .map-data-zone .zone-1.active,
    .map-data-zone .zone-2.active {
        display: block;
    }
    .map-data-zone .mobile-tabs {
        display: flex;
        border-bottom: 1px solid #0072a7;
        margin-bottom: 15px;
    }
    .map-data-zone .mobile-tab {
        flex: 1;
        background: none;
        border: none;
        color: #0072a7;
        font-size: 16px;
        font-weight: 600;
        padding: 12px 0;
        cursor: pointer;
        border-bottom: 2px solid transparent;
        text-align: center;
        transition: border-color 0.2s;
    }
    .map-data-zone .mobile-tab.active {
        border-bottom: 2px solid #0072a7;
        color: #0072a7;
    }
}
.map-filter-zone{
    justify-content: space-between !important;
    display: flex !important;
}
.map-filter-zone h2{
    font-size: 25px;
    font-weight: 600;
    line-height: 35px;
    text-align: left;
    color: rgba(0, 114, 167, 1);
}
.map-filter-zone .container {
    padding-top: 27px;
    border-top: 1px solid rgba(0, 114, 167, 1);
    padding-bottom: 27px;
}
.map-filter-zone .filter-selects{
    justify-content: center !important;
    display: flex;
}
.map-filter-zone .filter-btn{
    margin-bottom: 10px;
    display: none;
}
.map-filter-zone .filter-btn button{
    font-size: 15px;
    font-weight: 400;
    line-height: 16.38px;
    color: rgba(0, 114, 167, 1);
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    padding: 0px 38px;
    border-radius: 100px;
    background: transparent;
    border: 1px solid rgba(0, 114, 167, 1);
    line-height: 44px;
    height: 44px;
    width: 100%;
}
.map-filter-zone .filter-btn button span{
    margin-right: 5px;
}
.map-filter-zone .filter-btn button::after {
    position: absolute;
    top: 5px;
    content: url(../icons/filter-icon.svg);
}
.map-filter-zone .filter-selects .select-marques-zone{
    margin-right: 10px;
    display: inline-block;
}
.map-filter-zone .filter-selects .select-pays-zone{
    display: inline-block;
}
.location-item {
    padding: 20px;
    cursor: pointer;
    background: rgba(242, 248, 251, 1);
    margin-bottom: 15px;
}
.leaflet-pane .location-item {
    padding: 0;
    background: none;
    margin: 0;
}
.location-item.active {
    background: rgba(242, 248, 251, 1);
}
.location-item.agence{
    background: rgb(220 75 67 / 10%);
}
.location-item .map-location {
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    max-height: 540px;
}
.location-item .map-location .map-location-item .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.location-item .map-location .map-location-item .header h3 {
    margin: 0;
    color: rgba(0, 114, 167, 1);
    font-family: Sora;
    font-size: 16px;
    font-weight: 700;
    line-height: 26px;
    letter-spacing: -0.23999999463558197px;
    text-align: left;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    max-width: 153px;
}

.location-item .map-location .map-location-item .header .savoir-faire {
    display: flex;
    gap: 10px;
}
.location-item .map-location .map-location-item .header .savoir-faire span {
    border-radius: 100px;
    padding: 7px 48px 7px 17px;
    background-color: #00acaf;
    color: #fff;
    display: block;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.015em;
    text-align: center;
    position: relative;
}
.location-item .map-location .map-location-item .header .savoir-faire span img {
    filter: brightness(0) invert(1);
    width: 20px;
    position: absolute;
    right: 17px;
    bottom: 0;
    top: 0;
    margin: auto;
}
.location-item .map-location .map-location-item .header .savoir-faire span .custom-logo-link {
    display: inline;
}
.location-item .map-location .map-location-item .name, .map-location .map-location-item > a, .map-location .map-location-item .addresse {
    font-family: "Raleway", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 23px;
    letter-spacing: -0.015em;
    text-align: left;
    display: block;
    color: #0072a7;
    text-decoration: none;
}
.location-item .map-location .map-location-item .site {
    font-family: "Raleway", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 23px;
    letter-spacing: -0.015em;
    text-align: left;
    display: block;
    color: #dc4b43;
}
.location-item .map-location .map-location-item .site a {
    font-family: "Raleway", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 23px;
    letter-spacing: -0.015em;
    text-align: left;
    display: block;
    color: #dc4b43;
    display: inline;
}
.map-v2{
    position: relative;
}
.map-v2 .map-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: rgba(0, 0, 0, .231372549);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.map-v2 .select2-container{
    width: 209px !important;
    height: 44px;
}
.map-v2 .select2-container .select2-selection{
    width: 209px;
    height: 44px;
    border: 1px solid rgba(0, 114, 167, 1);
    border-radius: 31px;
    border-bottom-left-radius: 31px !important;
    border-bottom-right-radius: 31px !important;
}
.map-v2 .select2-container--default .select2-selection--single .select2-selection__rendered{
    line-height: 44px;
    color: rgba(0, 114, 167, 1);
    padding-left: 20px;
}
.map-v2 .select2-container--default .select2-selection--single .select2-selection__placeholder{
    color: rgba(0, 114, 167, 1);
}
.map-v2 .select2-container--default .select2-selection--single .select2-selection__arrow{
    top: 10px;
    right: 8px;
}
.map-v2 .select2-container--default .select2-selection--single .select2-selection__arrow b{
    border-color: rgba(0, 114, 167, 1) transparent transparent transparent;
}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{
    border-color: transparent transparent rgba(0, 114, 167, 1) transparent;
}
.leaflet-popup-content{
    min-width: 459px;
}

@media screen and (max-width: 767px) {
    .map-data-zone .zone-1{
        width: 100%;
    }
    .map-data-zone .zone-2{
        display: none;
    }
    .map-filter-zone .filter-btn {
        display: block;
    }
    .map-filter-zone h2 {
        margin-bottom: 25px;
    }
    .map-filter-zone .filter-selects{
        display: none;
    }
    .map-filter-zone .filter-selects .select-marques-zone{
        margin-right: 0px;
        margin-bottom: 10px;
        width: 50%;
    }
    .map-filter-zone .filter-selects .select-pays-zone{
        width: 48%;
    }
    .map-v2 .select2-container{
        width: 100% !important;
    }
    .map-v2 .select2-container .select2-selection{
        width: 100% !important;
    }
}
@media screen and (max-width: 1059px) {
    .leaflet-pane .leaflet-popup-content {
        min-width: inherit;
    }
    .leaflet-pane .location-item .map-location .map-location-item .header {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    .leaflet-pane .location-item .map-location .map-location-item .header .savoir-faire {
        margin-bottom: 12px;
    }
    .leaflet-pane .location-item .map-location .map-location-item .header h3{
        max-width: 100%;
    }
    .leaflet-pane .location-item .map-location .map-location-item .header .savoir-faire span{
        padding: 7px 43px 7px 10px;
    }
}
@media (max-width: 540px) {
    .location-item .map-location .map-location-item .header{
        flex-direction: column;
        align-items: flex-start;
    }
}