/* début Styles CONSTANTES */
/* ======================= */
 
    /* voir style_root.css */
	
    /* fin Styles CONSTANTES */
    /* = = = = = = = = = */

        /* Styles de base */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        body, html {
            height: 100%;
           /*font-family: var(--PromoFontFamily);*/
        }
        .container_mandat {
            display: flex;
            flex-direction: column;
            height: 100vh;
        }

        /* Espace 1 => LIGNE DU HAUT  */
        .espace1 {
            display: flex;
            height: calc( 100% - var(--PromoRatioVz));
            background-color: var(--PromoColorFondClair);
        }
.espace1 .colA {
    position: relative; /* Nécessaire pour le positionnement de l'élément pseudo */
    width: var(--PromoRatioHz);
    background-color: var(--PromoColorFondClair);
    padding-top: 0px; /* Ajoute une marge intérieure */
    padding-bottom: 0px; /* Ajoute une marge intérieure */
    padding-left: 30px; /* Ajoute une marge intérieure */
    padding-right: 30px; /* Ajoute une marge intérieure */
    overflow-y: auto;
    transition: height 0.5s, padding 0.5s;
}

.espace1 .colA.hidden {
    width: 0;
    padding: 0;
}

/* Pseudo-élément pour l'arrière-plan filtré */
.espace1 .colA::before {
    content: ""; /* Nécessaire pour afficher un élément */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-image: url("logo/logo_fond.png");*/
    background-repeat: no-repeat;
    background-position: center;
    background-size: calc(100% - 80px); /* Réduit la taille de l'image pour simuler une marge */
    filter: opacity(10%); /* Applique la saturation et la luminosité */
   /* filter: saturate(0%) brightness(200%) contrast(200%); /* Applique la saturation et la luminosité */
    z-index: 0; /* Place cet élément en dessous du contenu */
}

/* Assurez-vous que le contenu de la colonne A soit au-dessus de l'arrière-plan */
.espace1 .colA > * {
    position: relative;
    z-index: 1; /* Rend le contenu visible par-dessus l'arrière-plan */
}

        .espace1 .colB {
            width: calc( 100% - var(--PromoRatioHz));
            background-color: var(--PromoColorFondFonce);
            padding: 0;
            position: relative;
            overflow: hidden;
            transition: height 0.5s;
        }

        .espace1 .colB.full-width {
            width: 100%;
        }

        /* Slideshow Styles */
        .slideshow-container {
            position: relative;
            width: 100%;
            height: 100%;
        }
        .slide {
            display: none;
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
        }
        .active-slide {
            display: block;
        }

        /* Navigation Arrows */
        .nav-arrows {
            position: absolute;
            bottom: 0%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            opacity: 0; /* Masque par défaut */
            transition: opacity 0.3s;
        }
        .nav-arrows button {
            background-color: rgba(0, 0, 0, 0.5);
            color: #fff;
            border: none;
            padding: 10px 20px;
            cursor: pointer;
            font-size: 1.2em;
        }
        .colB:hover .nav-arrows {
            opacity: 1; /* Affiche les flèches au survol */
        }



/* Style pour le bouton V2 */
#toggleColA {
    position: absolute;
    top: 50%;
    left: 0px;
    height: 100px;
   /* width: 10px;*/
    background-color: var(--PromoColorFondFonce);
    color: var(--PromoColorTextClair);
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 92;
	opacity: 0.7;
	text-align: center;
	transform: translate(0px,0px);
	margin-left:-5px;
	margin-right:3px;
}
#toggleColA:hover {
    opacity: 1; /* Affiche les flèches au survol */
}

/* Style pour masquer colB1 et élargir colB2 */
.hidden {
    display: none !important;
}

.expandedHeight {
    height: 100% !important;
}

.espace1 .colB .colB1, .espace1 .colB .colB2 {
    transition: height 0.5s;
}


/* Etiquette */
.etiquette {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--PromoColorVert);
    color: white;
   /* padding: 10px; /* Utiliser un padding uniforme pour assurer la rondeur */
    border-radius: 50%; /* Garder la bordure arrondie */
    font-size: 1em;
    font-family: var(--PromoFontFamily);
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-width: 50px; /* Optionnel : pour éviter que l'étiquette ne soit trop petite */
    max-width: 100px; /* Optionnel : pour éviter que l'étiquette ne soit trop petite */
    min-height: 50px; /* Optionnel : pour éviter que l'étiquette ne soit trop petite */
    max-height: 100px; /* Optionnel : pour éviter que l'étiquette ne soit trop petite */
	/* z-index: 999; */
	padding: 70px;
	margin: 10px;
}





/* ColB1 et ColB2 dans ColB */
.espace1 .colB {
    display: flex;
    flex-direction: column; /* Permet d'empiler colB1 et colB2 */
    width: calc(100% - var(--PromoRatioHz));
    background-color: var(--PromoColorFondFonce);
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: height 0.5s;
}

.espace1 .colB.full-width {
    width: 100%;
}

/* ColB1 - Diaporama */
.colB1 {
    height: 60%; /* Ajustez la hauteur selon la proportion souhaitée */
    background-color: var(--PromoColorFondMoyen);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Diaporama - Style inchangé */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}
.slide {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}
.active-slide {
    display: block;
}

.nav-arrows {
    position: absolute;
    bottom: 0%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    opacity: 0; /* Masque par défaut */
    transition: opacity 0.3s;
}
.nav-arrows button {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1.2em;
}
.colB1:hover .nav-arrows {
    opacity: 1; /* Affiche les flèches au survol */
}



/* Ajout de marges et ajustement des transitions pour les deux sections */
.espace1 .colB .colB1, .espace1 .colB .colB2 {
    transition: height 0.5s;
}


/* Style pour le bouton toggleColB1 */
#toggleColB1 {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 20px;
  /*  background-color: var(--PromoColorFondFonce);*/
 /*   color: var(--PromoColorTextClair);*/
   /* border: none; */
    cursor: pointer;
    text-align: center;
    font-size: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
	text-decoration: none;
    z-index: 9999; /* Assurez-vous que le bouton est devant la carte */
}




#toggleColB1 abbr {
    text-decoration: none;
    border: none;
}

/* Assurez-vous que le conteneur de la carte a une position relative pour que le bouton soit positionné correctement */
#osm-map {
    position: relative;
    height: calc(100% - 0px); /* Ajustez la hauteur pour tenir compte du bouton */
    width: 100%;
}
/* ColB2 - Carte */
.colB2 {
    height: 40%; /* Ajustez la hauteur selon la proportion souhaitée */
    background-color: var(--PromoColorFondClair);
    display: flex;
    align-items: center;
    justify-content: center;
	    position: relative;
}