#CarteFrance-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
    height: 100%;
    position: relative;
}

#CarteFrance {
    display: block;
    margin: 0 auto;
    width: 80%;
    height: auto;
    transform-origin: 0 0;
    cursor: grab;
}
  



.point {
    cursor: pointer;
    fill: red; /* Couleur rouge pour les points */
    stroke: black; /* Contour noir pour les points */
    stroke-width: 1;
}

.popup {
    position: absolute;
    background: white;
    border: 1px solid black;
    padding: 5px;
    z-index: 1000;
    pointer-events: none; /* Ajout pour éviter les conflits de clics */
}

.cls-1-partenaire {
    fill: #660899;
    stroke-width: 0px;
}

.cls-2-partenaire {
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.27px;
}

.cls-1-ispa {
    fill: #ec0b43;
    stroke-width: 0px;
}

.cls-2-ispa {
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.27px;
}

.point.selectCity.clicked {
    transform: scale(3);
    transform-origin: center center;
}

/* Ajoutez ceci dans votre CSS */
.scale-item {
    transform: scale(0.9);
    transition: transform 0.3s;
}

#CarteFrance.zoom-transition {
    transition: transform 0.5s ease; /* Ajustez la durée et la courbe de transition selon vos préférences */
  }


  #CarteFrance-container {
    position: relative;
    display: inline-block;
}

/* Styles pour desktop */
#zoom-in-button, #reset-button, #zoom-out-button {
    position: absolute;
    top: 58px;
    right: 90px;
    margin-left: 5px;
    width: 24px; /* Taille des boutons sur desktop */
    height: 24px;
}

#zoom-in-button {
    top: 10px;
}

#reset-button {
    top: 34px;
}

/* Media query pour les mobiles */
@media only screen and (max-width: 768px) {
    #zoom-in-button, #reset-button, #zoom-out-button {
        position: static;
        display: inline-block;
        margin: 5px;
        width: 48px; /* Taille deux fois plus grande sur mobile */
        height: 48px;
    }

    #CarteFrance-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Les boutons seront positionnés en bas sous l'élément CarteFrance */
    #buttons-container {
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }

    #zoom-out-button {
        order: 1; /* Afficher en premier */
    }

    #reset-button {
        order: 2; /* Afficher au milieu */
    }

    #zoom-in-button {
        order: 3; /* Afficher en dernier */
    }

    #CarteFrance {
        width: 100%;
        height: auto;
    }


}


#cityIdNext {
    cursor: pointer;
}

#cityIdPrev {
    cursor: pointer;
}

  

  
/* Réduire l'échelle des éléments aux extrémités */
.scale-down {
    transform: scale(0.9);
    transition: transform 0.3s ease;
  }
  
  /* Assurez-vous que les éléments actifs n'ont pas cette classe */
  .swiper-slide-active .scale-down {
    transform: scale(1);
  }
  
  


/* CSS Lecture des témoigagnes */

/* Modal Styles */
.olk-modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgba(0,0,0,0.4); 
}

.olk-modal-content {
    position: relative;
    /* background-color: #fefefe; */
    margin: auto;
    padding: 0;
    /* border: 1px solid #888; */
    width: 80%;
    max-width: 800px; 
    height: 60%;
    /* box-shadow: 0 5px 15px rgba(0,0,0,0.3); */
    animation-name: animatetop;
    animation-duration: 0.4s;
}

@keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

.olk-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.olk-close:hover,
.olk-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.iframe-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* #map_details {
    position: relative;
    overflow: hidden;
}

#map_details.slide-in {
    transform: translateX(100%);
    transition: transform 0.5s ease-in-out;
}

#map_details.slide-in.show {
    transform: translateX(0);
}
#map_details.slide-in.hide {
    display: none;
} */

/* .header-hidden {
    visibility: hidden;
    opacity: 0;
}
.header-visible {
    visibility: visible;
    opacity: 1;
    transition: opacity 1s ease;
} */

/* .header-hidden {
    display: none;
    opacity: 0;
}
.header-visible {
    display: flex;
    width: 100% !important;
    opacity: 1;
    transition: opacity 1s ease;
} */

.header-hidden {
    opacity: 0;
    display: none; /* On garde display: flex pour assurer la bonne mise en page */
    height: 0;
    overflow: hidden;
    transition: opacity 1s ease, height 1s ease;
}

.header-visible {
    opacity: 1;
    display: flex; /* Maintient l'affichage en flex */
    width: 100% !important;
    height: auto;
    transition: opacity 1s ease, height 1s ease;
    z-index: 1000 !important;
}

.studizz-container {
    bottom: 62px !important;
    right: 25px !important;
    transform: scale(0.87) !important;
}
.studizz-icon {
    background-color: rgba(0, 0, 0, 0) !important;
}
.studizz-icon.studizz-show {
    overflow: hidden;
    opacity: 0 !important;
}
.studizz-exit.studizz-show {
    opacity: 0 !important;
}

.studizz-container {
    z-index: 900 !important;
}

/* Style for the loader */
.loader {
    border: 16px solid #f3f3f3; /* Light grey border */
    border-top: 16px solid #3498db; /* Blue border on top */
    border-radius: 50%; /* Make the loader circular */
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite; /* Animation for rotation */
}

/* Keyframes for rotation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.popup-candidater-waiting {
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dialog-type-lightbox {
    z-index: 800 !important;
}

#map_details {
    cursor: pointer;
  }
  