.cta-black {
    background: #000;
    border: 1px solid #000!important;
    color: #FFF;
}
.cta.cta-black::after {
    color: #000
}
a.cta.cta-black:hover {
    background-color: #FFFFFF;
    border: 1px solid #000;
}
span.city {
    border: 1px solid #013A74;
    padding: 5px 20px;
    border-radius: 25px;
}

#map {
    /*width: 100%;*/
    height: calc(100vw * 0.62);
    max-height: 740px;
}
a[aria-label="Improve this map"] {
    display: none;
}

.marker {
    background-image: url(../images/marker_shiva_gold.svg);
    background-size: cover;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    z-index: 8;
}

.boxSearch {
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9;
}


.boxSearch .box-50 {
    background-color: #fff;
    pointer-events: all;
}
.resultatBox {
    border-bottom: 2px solid #E0E1E3;
    padding: 20px 0;
    min-height: 95px;
}
.resultatBox:last-of-type{ border-bottom: none; }

a.voirHoraires {
    width: 100%;
    max-width: 250px;
    cursor: pointer;
}
a.voirHoraires span{pointer-events: none;}
.boxHoraires {
    padding: 20px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #E0E1E3;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    bottom: -90px;
    box-shadow: 0px 3px 30px rgba(0,0,0,0.29);
    min-height: 70px;
    z-index: 99;
}
.boxHoraires::before {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    background: white;
    position: absolute;
    left: 50%;
    top: -8px;
    transform: translateX(-50%) rotate(45deg);
}
.formContainer {width: 100%;}
.boxSearch input.input_text {
    border: none;
    background-color: #afafaf;
    width: 100%;
    padding-left: 30px;
    color: #262626;
}
.boxSearch input.input_text::placeholder{color: #262626;}
.boxSearch .cta {
    width: 100%;
    max-width: 200px;
}
/* .boxSearch .cta {
    max-width: 180px;
} */
ul.regions {
    width: 80%;
    margin: 0 auto;
    overflow-x: visible;
}

ul.regions div.region {
    width: 100%;
    height: 34px;
    margin-top: 30px;
    text-align: left;
    cursor: pointer;
    border-bottom: 1px solid #afafaf;
}

ul.regions div.region::after {
    content: "";
    background-image: url(../images/bt_open_beige.svg);
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    z-index: 8;
    top: 0;
    right: 20px;
    position: absolute;
}
ul.regions li.open div.region::after{background-image: url(../images/bt_close_beige.svg);}

ul.regions li ul.sublist_agences{
    height: 0;
    overflow: hidden;
    width: 100%;
}
ul.regions li.open ul.sublist_agences{
    height: auto;
    overflow: hidden;
    margin-top: 25px;
    margin-bottom: 25px;
}
.mapboxgl-popup{
    z-index: 1000000000;
}

.mapboxgl-popup-content {
    position: relative;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 5px 10px rgba(0,0,0,.5);
    padding: 20px 20px 10px;
    pointer-events: auto;
    transform: translateY(-20px);
}
.mapboxgl-popup-tip {
    transform: translateY(-20px);
}
.mapboxgl-popup-close-button {
    position: absolute;
    right: 5px;
    top: 0;
    border: 0;
    border-radius: 0 3px 0 0;
    cursor: pointer;
    background-color: transparent;
    font-size: 25px;
}
.inputForm {
    width: 100%;
}
ul.listVilles {
    position: absolute;
    z-index: 100;
    background-color: #afafaf;
    border: 1px solid #ccc;
    max-height: 200PX;
    overflow-y: scroll;
    text-align: left;
    width: 100%;
    top: 48px;
    scrollbar-color: rgba(0, 0, 0, .5) rgba(0, 0, 0, 0);
    scrollbar-width: thin;
}
.mapbox-improve-map {
    display: none;
}
a.cta-beige.mb15.absolute {
    height: 48px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    background: #796D62;
    color: white;
    cursor: pointer;
}
a.cta-gold.mb15.absolute {
    height: 48px;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    background: #B19E7B;
    color: white;
    cursor: pointer;
}
.cluster {
    transform: translateY(-20px);
}
.cluster div {
    transform: translateY(-8px);
}

.gmnoprint.gm-bundled-control.gm-bundled-control-on-bottom {
    top: 15px;
    left: 15px;
    width: 40px;
    height: 81px;
}
@media (max-width:991px){
    #map{display: none;}

    .boxSearch {
        top: 0;
        transform: none;
    }
    .formContainer{padding: 5%}
    .boxSearch h1, .boxSearch h2{margin-bottom: 30px!important;}

    ul.regions div.region::after{right: -5px;}
    ul.regions {
        width: 90%;
    }
    .boxHoraires{transform: translateX(-50%);}
    .boxHoraires::before {left:40%}
    div#mapMobile {
        height: calc(100vw * 0.7);
        margin-bottom: 40px;
    }
    .formContainer.flexColumnCenter.padding5p{padding: 0;}
}
@media (max-width:640px){
    ul.regions div.region span {
        font-size: 14px;
    }
    .boxSearch .cta {
        max-width: none;
    }

}

@media (min-width:992px){
    .boxSearch .mauto.flexVertCenter.flexJustifyEnd > .box-50 {
        box-shadow: 0px 3px 30px rgba(0,0,0,0.29);
    }

    ul.sublist_agences li {
        width: 30%;
    }
    .boxSearch .box-50.allHeightMap {
        height: 740px;
        overflow-y: scroll;
    }
}
@media (min-width:992px) and (max-width:1439px){
    section.mt120.rel.mb80.mt40mob{
        margin-top: 110px;
    }
    .boxSearch .flexCenter.flexColumnMobile.box-80{flex-direction: column;}
    p.upper.separator.mr40.text_center.flexCenter{margin-bottom: 20px;margin-top: 20px;}
    .formContainer .flexCenter.flexColumnMobile.box-90.box-80mob.box-80tab.mautotab.mautomob.mb40mob {
        flex-direction: column;
    }
    p.upper.separator.mr40.text_center.flexCenter.mr0mob.mb20mob.mr0tab {
        margin-right: 0;
    }
    h1.fs30.dark_bleu.font-chalet.text_bold.text_center.mb25.box-100.mauto.box-90mob.mautomob {
        width: 80%;
    }
}
@media (min-width:992px) and (max-width: 1540px){
    .gmnoprint.gm-bundled-control.gm-bundled-control-on-bottom {
        top: 60px;
    }
}
