@charset "utf-8";
body, td, th {
    color: #222222;
    font-family: "Georgia", "Times New Roman", Times, serif;
    font-size: 17px;
    text-align: left;
    font-weight: normal;
    font-style: normal;
    line-height: 1.65;
}
img, table, td, blockquote, code, pre, textarea, input, iframe, object, embed, video {
	max-width: 100%;
}
img {
	height: auto;
}
.keyword {
	font-family: "Comic Sans MS", cursive;
	font-size: 16pt;
	font-weight: bolder;
}
a:link {
	color: #00F;
}
textarea, table, td, th, code, pre, samp {
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
	word-wrap: break-word;
}
code, pre, samp {
	white-space: pre-wrap;
}
/* general */
#Global {
	position: relative;
	width: 100%;
    min-width: 320px;
}
#Titre {
	position: relative;
	width: 100%;
	z-index: 1;
	margin-bottom: 30px;
}
h1 {
    font-family: "Georgia", "Times New Roman", Times, serif;
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

h2 {
    display: flow-root;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.6rem;
    font-weight: bold;
    text-align: left;
    padding-top: 30px;
    padding-bottom: 8px;
    margin-bottom: 30px !important;
    border-bottom: 1px solid #e0dcd3;
}

h3 {
    font-family: "Georgia", "Times New Roman", Times, serif;
    font-size: 1.3rem;
    font-weight: bold;
    text-align: left;
    padding-top: 25px;
    padding-bottom: 10px;
}

h4 {
    font-family: "Georgia", "Times New Roman", Times, serif;
    font-size: 1.1rem;
    font-weight: bold;
    font-style: italic;
    text-align: left;
    padding-top: 20px;
    padding-bottom: 10px;
}
.pub {
    clear: both;
    width: 100%;
    text-align: center;
    margin: 30px 0;
}
.keyword {
	font-family: "Comic Sans MS", cursive;
	font-size: 16pt;
	font-weight: bolder;
}
a:link {
	color: #00F;
}
.img_large {
	position: relative;
	width: 100%;
	text-align: center;
    margin-bottom: 20px;
}
.img_quart_d {
	position: relative;
	width: 35%;
	text-align: center;
	padding-right: 10px;
	padding-left: 10px;
	Margin-left: 10pt;
	margin-bottom: 10px;
	float: right;
}
.img_quart_g {
	position: relative;
	width: 35%;
	text-align: center;
	padding-right: 10px;
	padding-left: 10px;
	Margin-Right: 10pt;
	margin-bottom: 10px;
	float: left;
}
.img_tier_g {
	position: relative;
	width: 30%;
	text-align: center;
	padding-right: 10px;
	padding-left: 10px;
	Margin-Right: 10pt;
	margin-bottom: 10px;
	float: left;
}
.img_complete {
	position: relative;
	width: 100%;
	text-align: center;
	padding-top: 10px;
	padding-bottom: 10px;
	float: left;
}
#corps {
	position: relative;
	width: 100%;
	z-index: 1;
	text-align: justify;
	margin-top: 20px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 5px;
	padding-right: 10px;
}
@media screen and (min-width: 600px) {
	#corps {
		width: 90%;
		max-width: 1000px;
		margin-top: 30px;
		padding-left: 0;
		padding-right: 0;
	}
}
.pages {
	position: relative;
	width: 100%;
	z-index: 15;
	text-align: center;
	font-size: 16pt;
	margin-left: auto;
	margin-right: auto;
	margin-top: 50px;
	float: left;
}
figcaption {
    font-family: "Georgia", "Times New Roman", Times, serif;
    font-style: italic;
    font-size: 0.85rem;
    color: #555555;
    text-align: center;
    margin-top: 8px;
}
#Barre {
    display: none;
}
#Barre1 {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    height: 20px;
    z-index: 42;
}
@media (min-width: 600px) {
    #Barre {
        display: block;
        position: relative;
        width: 100%;
        height: 50px;
        z-index: 1000;
        text-align: center;
        margin-bottom: 20px;
    }
    #Barre1 {
        display: none;
    }

}
.img_demi_d {
    position: relative;
    width: 100%;
    text-align: center;   
    margin-bottom: 20px;
}
@media (min-width: 600px) {
    .img_demi_d {
        width: 45%;
        float: right;
        padding: 10pt 10px 10px 10px;
        margin-bottom: 10px;
    }
}
.img_demi_g {
    position: relative;
    width: 100%;
    text-align: center;

    margin-bottom: 20px;
}
@media (min-width: 600px) {
    .img_demi_g {
        width: 45%;
            float: left;
        padding: 10pt 10px 10px 10px;
        margin-bottom: 10px;
    }
}
.player {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 600px;
    border: thin solid #000;
    margin-bottom: 10px;
        clear: both;
}

@media screen and (min-width: 600px) {
    .player {
        width: 440px;  
        height: 650px;
    }
}

.player1 {
	position: relative;
	margin-left: auto;
	margin-right: auto;
	width: 440px;
	height: 500px;
	border: thin solid #000;
	margin-bottom: 10px;
}
.meteo {
	position: relative;
	width: 45%;
	padding-right: 10px;
	padding-left: 10px;
	Margin-left: 10pt;
	margin-bottom: 10px;
	float: right;
}
.monChampSpecial {
	display: none;
}
#lang {
	position: relative;
	width: 100%;
	z-index: 1;
	float: left;
	margin-bottom: 5px;
}
/* Barre principale - Permet le passage sur 2 lignes si la fenêtre rétrécit */
.custom-oaxaca-menu-desktop .navbar-nav {
    display: flex !important;
    flex-wrap: wrap !important; /* Permet de passer à la ligne au lieu de se tasser */
    width: 100%;
    justify-content: space-between;
}

.custom-oaxaca-menu-desktop .nav-item {
    /* Évite qu’un mot principal soit coupé en deux lors du passage à la ligne */
    white-space: nowrap; 
}

/* Écriture principale - Niveau 1 */
.custom-oaxaca-menu-desktop .nav-link {
    font-size: 17px !important;
    font-weight: 600;
    color: #2b2b2b !important;
    padding: 10px 15px !important;
}

/* --- SOUS-MENUS : Élargissement pour bloquer les retours à la ligne --- */
.custom-oaxaca-menu-desktop .dropdown-menu {
    position: absolute;
    border: 1px solid #dcdcdc;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 8px 0;
    
    /* LARGEUR SÉCURISÉE : Empêche le texte et les flèches de s'écraser */
    min-width: 270px !important; 
}

.custom-oaxaca-menu-desktop .dropdown-item {
    font-size: 16px !important;
    color: #444444 !important;
    padding: 8px 20px !important;
    position: relative;
    
    /* Force le texte de l'élément à rester sur une seule ligne */
    white-space: nowrap; 
}

/* Changement de fond au survol */
.custom-oaxaca-menu-desktop .dropdown-item:hover {
    background-color: #f8f9fa !important;
    color: #000000 !important;
}

/* --- GESTION DE LA CASCADE (NIVEAU 3) --- */
.custom-oaxaca-menu-desktop .dropdown-submenu {
    position: relative;
}

.custom-oaxaca-menu-desktop .dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
}

/* OUVERTURE AUTOMATIQUE AU SURVOL */
.custom-oaxaca-menu-desktop .dropdown:hover > .dropdown-menu {
    display: block;
}

.custom-oaxaca-menu-desktop .dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

/* Alignement parfait de la flèche tout à droite */
.custom-oaxaca-menu-desktop .dropdown-submenu > .dropdown-toggle::after {
    display: inline-block;
    position: absolute;
    right: 15px; /* Fixée sur le bord droit du rectangle */
    top: 50%;
    transform: translateY(-50%); /* Centrée verticalement */
    border-top: 0.3em solid transparent;
    border-bottom: 0.3em solid transparent;
    border-left: 0.3em solid #666;
}
#sousmenu {
    display: flow-root;
    margin: 20px 0;
    padding: 15px 20px;
    background: #f8f8f8;
    border-left: 4px solid #7b5a3c;
}

#sousmenu p {
    margin: 0 0 10px;
    font-size: 1.1rem;
}

#sousmenu ul {
    margin: 0;
    padding-left: 20px;
}

#sousmenu li {
    margin: 6px 0;
}

#sousmenu a {
    color: #7b5a3c;
    text-decoration: none;
}

#sousmenu a:hover,
#sousmenu a:focus {
    text-decoration: underline;
}
.footer-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 40px 0 20px;
}

.btn-footer {
    display: inline-block;
    padding: 10px 18px;
    background: #f7f3ec;
    border: 1px solid #cdbb9a;
    border-radius: 4px;
    color: #6d5235;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background-color .2s ease,
                border-color .2s ease;
}

.btn-footer:hover,
.btn-footer:focus {
    background: #efe6d7;
    border-color: #a98253;
    text-decoration: none;
}
.btn-footer,
.btn-footer:link,
.btn-footer:visited {
    color: #333;
    text-decoration: none;
}

.btn-footer:hover,
.btn-footer:focus {
    color: #333;
    text-decoration: none;
}
.center {
    text-align: center;
}
/* Style pour l'encadré esprit Journal */
.themes-associes {
    background-color: #fcfcf9; /* Un blanc cassé très léger, comme du papier journal ou de carnet */
    border-top: 2px solid #343a40; /* Ligne sombre rappelant l'encre */
    border-bottom: 2px solid #343a40;
    padding: 20px 15px;
    margin: 30px 0;
    font-style: italic; /* Donne le ton d’une note ou d’une réflexion */
}

.themes-associes .keyword {
    font-family: "Georgia", "Times New Roman", serif; /* Une police à empattement très journal */
    font-size: 1.2rem;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #343a40;
    margin-bottom: 15px;
}

.themes-associes p {
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.themes-associes ul {
    list-style-type: "— "; /* Remplace les puces rondes par de vrais tirets d'imprimerie */
    padding-left: 20px;
    margin-bottom: 15px;
}

.themes-associes ul li {
    margin-bottom: 5px;
}

.themes-associes a {
    color: #0056b3;
    text-decoration: underline;
}

.themes-associes a:hover {
    color: #343a40;
    text-decoration: none; /* Le lien perd son soulignement au survol, esprit papier */
}
.carousel-caption {
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 15px;
    border-radius: 5px;
    bottom: 20px;
    z-index: 10; /* S'assure que la légende reste au-dessus de l'image */
}
.carousel-caption p {
    margin: 0;
    color: #fff;
    font-size: 14px;
}

/* On force le conteneur à prendre toute la hauteur du bloc .player */
.player .carousel,
.player .carousel-inner,
.player .carousel-item {
    height: 100%;
}

/* On prépare le conteneur pour un positionnement absolu de l'image */
.player .carousel-item {
    background-color: #000;
    position: relative;
}

/* Centrage vertical et horizontal parfait sans casser le JavaScript */
.player .carousel-item img {
    max-height: 100%;
    width: auto !important;
    object-fit: contain;
    
    /* Technique du positionnement absolu + translate */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}