
    :root {
        --text: #565656;
--links: #252bbe;
--titles: #000000;
--page-background: #fcf6f1;
--highlight: #ffffff;
--boxes-background: #FFFFFF;
--boxes-border: #CBD2DB;
--section-titles: #142E7B;
--section-titles-background: #F6F8FB;
--header-background: #252BBE;
--header-links: #000000;
--footer-background: #FFFFFF;
--footer-links: #0F79D0;
    }
    
:root { --react-body-font-family: "Degular", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }

/* --- IMPORTATION DES POLICES --- */

.ods-mapbuilder__container {
margin-top: 100px;
}

.ods-front-header__languages {
    background: #ffffff;
    border-radius: 64px;
    padding: 6px 8px;
    border: solid 1px #E5E5E5;
}
.ods-front-header__language {
    color: #ffffff;
}
.ods-front-header__language__choice {
    color: grey;
    padding: 4px 12px;
}
.ods-front-header__link--active{ 
    color: white;
    background: #BCA12A;
    padding: 4px 12px;
    border-radius: 64px;
    
}
    
.ods-front-header__menu-item-link {
    opacity: 1;
    color: #fff;
}
.ods-front-header__menu-item-link:hover {
    opacity: 1;
    font-weight:bold;
}



.ods-front-header__management-menu-item-link {
    padding-bottom: .33rem;
    color: #FFF;
}

/* --- RESET ET STRUCTURE GLOBALE --- */
.custom-header-container {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 0;
    margin-bottom: 100px;
}

.ods-responsive-menu-collapsible__content {
    display: flex;
    flex-direction: column; /* Force l'affichage en deux lignes (étages) */
    width: 100%;
}

/* --- ÉTAGE 1 : BANDEAU DU HAUT (FIN) --- */
.header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px; /* Hauteur fine */
    background-color: #f8f8f8; /* Gris très clair pour distinguer */
    padding: 0 40px;
    border-bottom: 1px solid #e0e0e0;
}


.top-row-left, .top-row-right {
    display: flex;
    align-items: center;
    gap: 15px; /* Espace entre les icones */
}

/* Images et Icones du haut */
.bnetza-link img {
    height: 30px; /* Taille du logo BNetzA */
    width: auto;
    margin-right: 15px;
}

.top-icon-link {
    color: #373737;
    font-size: 1.6rem;
    text-decoration: none;
    transition: color 0.2s;
}



/* Gestion du menu profil ODS (secondary-menu) */
.ods-profile-wrapper .ods-front-header__management-menu {
    position: static !important; /* Annule le positionnement absolu d'ODS */
    margin: 0 !important;
    line-height: normal !important;
}

/* --- ÉTAGE 2 : BANDEAU DU BAS (MENU + LOGO + RECHERCHE) --- */
.header-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px; /* Plus haut pour le logo principal */
    padding: 0 40px;
    background-color: #252BBE;
        border-bottom: 1px solid #e0e0e0;
}




/* Force le menu ODS à être propre */
.header-bottom-row .ods-front-header__menu {
    margin: 0;
    display: flex;
    align-items: center;
}
.header-bottom-row .ods-front-header__menu-item-link {
    font-size: 16px;
    padding: 10px 15px;
}

/* Zone 2 : Logo Centre (SMARD) */
.bottom-row-center {
    flex: 1;
    display: flex;
    justify-content: left;
}

.smard-logo {
    max-height: 60px;
    width: auto;
    padding-top: 10px;
}

/* Zone 3 : Recherche (Droite) */
.bottom-row-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* Ajustement de la barre de recherche ODS (quick-find) */
.ods-search-box {
    margin-bottom: 0 !important;
}

.header-bottom-row .ods-front-header__menu {
    margin: 0;
    display: inline;
    align-items: center;
}

.ods-front-header__menu-item-link {
    line-height: normal;
    border-radius: 12px;
}

.ods-front-header__menu-item-link--active {
    border-bottom: solid 1px #fff;
    text-decoration: bold;
    opacity: 1;
}

.header-bottom-row .ods-front-header__menu-item-link {
    font-weight: 500;
    opacity: 0.8;
    font-size: 16px;
    padding: 12px 12px;
}
.header-bottom-row .ods-front-header__menu-item-link:hover {
    color: #fff;
    opacity: 1;
}
.header-bottom-row .ods-front-header__menu-item-link:active {
    color: #fff;
    opacity: 1;
}
.ods-front-header__management-menu-item {
    display: inline-block;
    margin: 0 10px;
    line-height: 0;
}


.JPfOh4yNzXLA_hpQ490Z.bA52P6cV06oSiEcmfI3A {
    position: sticky;
    top: 0px;
    z-index: 1020;
    margin-top: 70px;
}

.k5IvYAfq8yJGeFSXlPp6 {
    margin-top: 70px;
}
.ods-responsive-menu-collapsible .ods-front-header__languages { 
    display: block;
}

.main--chartbuilder {
    margin: 100px 10px;
}
.ods-tabs__pane--active{
    margin-top:50px;
}




































.site-header {
    background-color: #252BBE;
    padding: 15px 40px;
}
.ods-front-header__menu-item-link {
    font-size: 15px;
    padding: 0px;
    padding-right: 20px;
}
.ods-front-header__languages {
    background: #ffffff;
    border-radius: 64px;
    padding: 6px 8px;
    border: solid 1px #E5E5E5;
}
.ods-front-header__language {
    color: #ffffff;
}
.ods-front-header__language__choice {
    color: grey;
    padding: 4px 12px;
}
.ods-front-header__link--active{ 
    color: white;
    background: #FC5E3C;
    padding: 4px 12px;
    border-radius: 64px; 
}

.site-header nav {
    display: flex;
    justify-content: flex-end; /* alignement à droite */
    align-items: center;
}
.ods-responsive-menu-collapsible .ods-front-header__languages {
    display: block;
}

.ods-front-header__management-menu-item--backoffice {
    background: white;
    color: black;
}

.ods-front-header__management-menu-item-link {
    color: black;
}
.site-header a {
    font-size: 2px;
    font-weight: 700; /* gras */
    color: #FCF6F1;
    text-decoration: none;
    margin-left: 24px;
    font-family: inherit;
}


.ods-front-header__menu-item--active {
    text-decoration: bold;
}

.ods-front-header__menu {
    margin-left: 32px;
}
.ods-front-header__menu-item-link--active{
    border-bottom: none;
}
ods-front-header__languages ng-scope{
    display: inline-block;
}
.ods-front-header__menu-item-link--active{
    opacity: 1 !important;
}
.ods-responsive-menu-collapsible .ods-front-header__languages {
    display: inline-block;
    margin-left:64px;
}