
    :root {
        --text: #565656;
--links: #666666;
--titles: #333333;
--page-background: #F6F8FB;
--highlight: #398c96;
--boxes-background: #FFFFFF;
--boxes-border: #CBD2DB;
--section-titles: #333333;
--section-titles-background: #ffffff;
--header-background: #214a50;
--header-links: #fafafa;
--footer-background: #FFFFFF;
--footer-links: #666666;
    }
    
.ods-content, .ods-content li, .ods-content ul, button, .ods-content h1, .ods-content h2, .ods-content h3, .ods-content h4, .ods-content a, .ods-content p {
    font-family:Open Sans,Arial,sans-serif;
}
/* ======================================================================== 
  ============================= BANDEAU EN HAUT DE LA PAGE ================
 ========================================================================== */

        .header-banner {
            height: 30px;
            background-color:#398c96;
            color: white;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 15px;
            font-size: 1.2vw;
            white-space: nowrap;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000; 
        }
        .header-banner p {
            margin: 0;
            display: flex;
            align-items: center;
            height: 100%;
        }
        .header-banner a {
            color: white;
            font-family: Open Sans,Arial,sans-serif;
            text-decoration: none;
            font-size: 0.8rem;
            line-height: 40px; 
        }
        .header-banner span {
            color: #cccccc;
        }
         .header-banner img {
            height: 30px;
            width: auto;
            flex-shrink: 0;
            display: block;
            float : right;
        }

.header-left, .header-right {
    width : 30%;
}


/* Ajustement du menu pour éviter de se cacher sous le bandeau */

        .portal-header {
            margin-top: 30px;
        }
        @media (max-width: 768px) {
            .header-banner {
                font-size: 2.5vw;
                padding: 5px 10px;
                text-align: center;
            }
        }

 /*main {
  min-height: calc(100% - 130px - 55px);
}*/


/* =========================== NAVIGATION ========================== */

.portal-header {
    background-color: #214a50;
    border-bottom: 1px solid #DEE5EF;
    height:80px;   
    border:1px solid #214a50;   
    position: fixed;
    width:100%;
    z-index:1000;  
    box-shadow: 0px 6px 6px rgba(33, 74, 80, 0.35); /* Ombre vers le bas uniquement */
}

main  {
    padding-top: 110px; /* 30px (bandeau) + 80px (header) */
}



/* ============================= LOGO =================================== */


.ods-front-header__logo {
    display: block;
    width: auto; /* Logo width */
    height: auto; /* Logo height */
    max-height: 48px;
    padding-left: 13px;
    margin-right: 65px; 
    margin-bottom:10px;
    
}


/* ======================================================================================================== */
/* ============================================  MENU  ==================================================== */
/* ======================================================================================================== */


/* === MENU RESPONSIF === */

.ods-responsive-menu-collapsible {
    padding-top : 10px;
    padding-bottom : 10px;
}
.ods-responsive-menu-collapsible__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center; 
    margin-left:30px;
    
    }

.portal-navigation {
    margin: 0;
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto; 
    text-align: right;
}

/* ========================== MENU PRINCIPAL ============================= */

.ods-front-header__menu {
    margin-left: 5%;
}

.ods-front-header__menu-item-link {
    border: none;
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .8px;
    line-height: 59px;
    padding: 0 13px;
    opacity: 1; 
}

.ods-front-header__menu-item-link:hover,
.ods-front-header__menu-item-link--active {
   
    color: #ea5045; /* Header link color when the link is active */
    text-decoration-line: underline;
    text-decoration-color: white;
    text-decoration-thickness: 25%;
    text-underline-offset: 5px;
}


/*========================== MENU MANAGEMENT ================================== */

.ods-front-header__management-menu {
    position: static;
    top: auto;
    right: auto;
    line-height: 59px;
    font-size: .833rem; 
}
.ods-front-header__management-menu-item {
    margin: 0 0 0 26px; 
}

.ods-front-header__management-menu-item-link--active,
.ods-front-header__management-menu-item-link:hover {
    border: none;
    color: #398c96; 
}


.ods-front-header__account-avatar-container {
    margin-bottom: 0;
    vertical-align: middle;
}
.ods-front-header__management-menu-item--backoffice {
    padding: 0;
    border: none;
    background: none;
}

@media screen and (min-width: 992px) {
    .row-equal-height {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin-bottom: 20px;
        z-index: 1;
        position: relative;
    }
.container {

    position: relative;

    width: 100%;

    height: auto;

    min-height: 300px;

    background-color: #e8e8e8;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 80px 20px 40px;

    box-sizing: border-box;

    overflow: visible;

    z-index: 999;

}
 
/*============== Button "Back Office" in header ================*/

.ods-front-header__management-menu-item--backoffice .ods-front-header__management-menu-item-link--backoffice {
    display: inline-block;
    color: #FFFFFF;
    border: 1px solid #398c96;
    padding: 5px;     
    background-color: transparent;
    border-radius: 4px;
}
.ods-front-header__management-menu-item-link--backoffice:hover {
    color: #FFFFFF;
    background-color:#398c96;
    border: 1px solid #398c96;
}
.ods-front-header__management-menu-item-link {
    padding-bottom: 0;
}

/* =================== BOUTONS ADMIN ==================== */

.rods-button-text.rods-button-text--variant-primary {
    background-color: transparent!important;
    color: #ffffff !important;
}
.rods-button-text.rods-button-text--size-200 {
    border: 0px solid transparent!important;
    border-radius: none!important;
    font-size: 0.8rem!important;
   
    line-height: 1.3!important;
    line-height: 30px!important;
    padding: 0 5px!important; 
   
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
    height: 100%!important;
    
}

.UCO47WGQVJnvQnwWmnTq{
    margin-left: 0px!important;   
    height:28px!important;
    margin-top:17px!important;
        
}


/*============================ HEADER - MOBILE (small screens) ============================== */


.ods-responsive-menu-placeholder.ods-responsive-menu-placeholder--active {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}
.ods-responsive-menu--collapsed .ods-responsive-menu-collapsible__content {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}
.ods-responsive-menu-collapsible--collapsed .ods-front-header__menu-item-link {
    width: 100%;
    border-left: none;
}
.ods-responsive-menu-collapsible--collapsed .portal-navigation,
.ods-responsive-menu-collapsible--collapsed .ods-front-header__menu,
.ods-responsive-menu-collapsible--collapsed .portal-management-menu {
    width: 100%;
}
.ods-responsive-menu-collapsible--collapsed .ods-front-header__logo {
    display: none;
}



/*============================== MANAGEMENT MENU - MOBILE (small screens) =============================== */



.ods-responsive-menu-collapsible--collapsed .ods-front-header__management-menu {
    padding: 13px;
}
.ods-responsive-menu-collapsible--collapsed .ods-front-header__management-menu-item {
    padding-left: 0;
}
.ods-responsive-menu-collapsible--collapsed .ods-front-header__management-menu-item--backoffice {
    padding: 0;
}
.ods-responsive-menu-collapsible--collapsed .ods-front-header__management-menu-item-link--backoffice {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}


@media (max-width: 768px) {
    .header-banner {
        display: none; /* supprime le bandeau du haut pour le mode small */
    }

    .portal-header {
        margin-top: 0; /* Remonte pour occuper l’espace libéré */
    }
}



/* ======================================================================== 
  ============================= Footer Structure ==========================
 ========================================================================== */


footer {
    display: block; /* Le footer empile les sections */
}


/* ============================== Section 1 : Menu ============================ */

.section-1 {
    width: 100%;
    height: 85px;
    background-color: #ea5045; /* Rouge */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Empêche le menu de dépasser */
}

/* =========================== Liste du menu ======================= */

.nav-list {
    display: flex;
    justify-content: space-between; /* Espacement équilibré */
    align-items: center;
    width: 90%; /* Empêche le débordement */
    max-width: 1200px; /* Largeur max */
    list-style: none;
    padding: 0;
    margin: 0;
    white-space: nowrap; /* Empêche le retour à la ligne */
    overflow: hidden; /* Assure que tout reste visible */
}

/* =================== Éléments du menu ============================= */

/* =================== Réduction de l'espace entre chaque élément du menu ================= */

.nav-list li {
    display: inline-block; /* Force les éléments à rester sur une ligne */
    margin: 0 5px; /* Réduit l'espace horizontal */
}

.nav-list a {
    text-decoration: none;
    color: #FFFFFF;
    font-size: 10px;
    text-transform: uppercase;
    padding: 3px 4px; /* Réduction du padding pour gagner de l'espace */
    transition: 0.3s ease-in-out;
    display: inline-block; 
}

.nav-list a:hover {    
    color: #fa9f98;
}


/* ========================= Mode Responsive =================== */

@media screen and (max-width: 768px) {
    .nav-list {
        width: 100%;
        justify-content: space-around; /* Répartit les éléments */
        flex-wrap: nowrap; /* Empêche la mise à la ligne */
        overflow-x: auto; /* Active le scroll horizontal si nécessaire */
    }

    .nav-list li {
        flex: 0 0 auto; /* Assure que les liens ne se rétrécissent pas */
    }
}

@media screen and (max-width: 500px) {
    .section-1 {
        height: auto; /* Permet de s’adapter en hauteur si besoin */
        padding: 10px 0;
    }

    .nav_footer {
        width: 100%;
        overflow-x: auto; /* Scroll horizontal */
    }

    .nav-list {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* scroll fluide sur mobile iOS */
        padding: 0 10px;
        margin: 0;
        gap: 8px;
        scrollbar-width: none; /* Firefox */
    }

    .nav-list::-webkit-scrollbar {
        display: none; /* Chrome, Safari, etc. */
    }

    .nav-list li {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .nav-list a {
        font-size: 11px;
        padding: 4px 6px;
    }
}


/* ==================== Section 2 - Conteneur principal ===================== */

.section-2 {
    width: 100%;
    height: 203px;
    background-color: #333333; /* Fond noir */
    border-bottom: 1px solid #545454;
    display: flex;
    justify-content: center; /* Centre horizontalement */
    align-items: center; /* Centre verticalement */
    padding: 15px;
}

/* ====================== Conteneur bleu avec l’image et l’adresse centrées ==================== */

.content-container {
    display: flex;
    align-items: center; /* Centre verticalement */
    justify-content: space-between; /* Image à gauche, texte à droite */
    width: 90%; /* Largeur ajustée */
    max-width: 900px; /* Largeur max pour éviter le dépassement */
    height: 100%; /* Assure un alignement parfait */
    padding-left:10%;
}

/* =========================== Image à gauche et centrée verticalement ======================= */

.image-container {
    flex: 0 0 120px; /* Taille fixe */
    display: flex;
    justify-content: center; /* Centre horizontalement */
    align-items: center; /* Centre verticalement */
    height: 100%; /* Permet de centrer l'image dans le cadre bleu */
    padding-right:30px;
}

.image-container img {
    max-width: 220px; /* Taille fixe */
    height: auto;
    display: block;
}

/* ======================= Adresse à droite et centrée verticalement ====================== */

.ad {
    flex: 1; /* Prend tout l’espace restant */
    color: white;
    font-size: 14px;
    text-align: left;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centre parfaitement le texte */
    height: 100%;
}

/* ====================== Style des textes et liens ================ */

.ad p {
    margin: 5px 0;
}

.ad a {
    color: #FFDD57; /* Couleur du lien */
    text-decoration: none;
    font-weight: bold;
}

.ad a:hover {
    color: #FFFFFF; /* Changement au survol */
}

/* ===================== Mode Responsive ====================== */

@media screen and (max-width: 768px) {
    .section-2 {
        height: auto; /* Permet à la section de s’adapter */
        padding: 20px;
    }

    .content-container {
        flex-direction: column; /* Passe en colonne */
        align-items: center; /* Centre les éléments */
        text-align: center;
    }

    .image-container {
        margin-bottom: 10px;
    }

    .ad {
        text-align: center;
        padding-left: 0;
    }
}



/* ====================== Section 3 - Centrage texte à gauche et image à droite ====================== */

.section-3 {
    width: 100%;
    height: 45px;
    background-color: #333333; /* Fond noir */
    display: flex;
    justify-content: center; /* Centre horizontalement */
    align-items: center; /* Centre verticalement */
    padding: 10px;
}

/* =================== Conteneur principal ================== */

.content-container-3 {
    display: flex;
    align-items: center; /* Centre verticalement */
    justify-content: space-between; /* Texte à gauche, image à droite */
    width: 90%;
    max-width: 900px; /* Empêche de dépasser */
}

/* =================== Texte (à gauche) ==================== */

  .footer {
    display: flex;
    flex-direction: column; /* Pour que les éléments soient l'un en dessous de l'autre */
    align-items: center;     /* Centre horizontalement les éléments */
    background-color: #333;
    width: max-content; /* S'adapte à la taille du contenu */
    margin: 0 auto;     /* Centre horizontalement */
    text-align: center;   
  
}

.footer-text {
    color: white;
    font-size: 14px;
    margin: 5px 0;
    text-align: center;
   
}

.footer-text a {
    color: white;
    font-size: 14px;
    text-decoration: underline; text-align: center;
}


/* =================== Image (à droite) ===================== */

.datacorsica-footer__partners {
    flex: 0; /* Garde l'image à droite */
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.datacorsica-footer__partner img {
    max-height: 40px; /* Ajuste la hauteur */
    width: auto;
    display: block;
}


/* ======================= Mode Responsive ===================== */

@media screen and (max-width: 768px) {
    .content-container-3 {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        gap: 10px;
    }

   .footer-text {
    color: white;
    font-size: 14px;
    margin: 0;
    flex: 1; /* Permet de prendre l'espace à gauche */
    text-align: center;
}


    .datacorsica-footer__partners {
        flex: 0 0 auto;
        justify-content: flex-end;
    }

    .datacorsica-footer__partner img {
        max-height: 30px; /* Réduction du logo pour mobile */
        width: auto;
    }
}



/*============================= EXPLORE =====================================*/

.ods-filters {
  background-color: white;
  padding: 10px 0;
}
.ods-filters__count-number {
  font-weight: bold;
  color: #666;
}
.odswidget-facet__facet-title {
  text-align: center;
  border:1px solid #C0C0C0;
  color: #12909E;
  padding: 0 10px;
  font-weight: bold;
  box-shadow: 0 4px 8px -3px rgba(0, 0, 0, 0.5);
}
.odswidget-facet__category-list {
  padding: 0 10px;
}
.odswidget-text-search {
  padding: 0 10px;
}
.ods-filters__export-catalog {
  padding: 0 10px;
}
.ods-filters__filters {
  border-top: 20px solid #f5f5f5;
}
.ods-filters__export-catalog-title {
  margin-top: 10px;
  border-top: 20px solid #f5f5f5;
}
    
/*=============================== IMAGE MOTEUR DE RECHERCHE===============*/
    .bg-image img{
        opacity : 0.1;
    }

/*=============================== CATALOG CARD ===========================*/


/*======================= Explore Page - Catalog Cards ====================*/

.ods-catalog-card {
    display: block;
    border-radius: 12px;
    padding: 26px;
    transition: all .2s;
}
@media screen and (min-width: 749px) {
    .ods-catalog-card {
        display: flex;
    }
}
.ods-catalog-card:hover {
    box-shadow: 0 0 10px 0 #e3e9f1;
}
.ods-catalog-card:hover:before {
    display: none;
}
.ods-catalog-card:hover .catalog-card-description {
    opacity: 0;
    top: 30px;
}
.ods-catalog-card:hover .catalog-card-info {
    opacity: 1;
    top: 0;
}
.catalog-card-content {
    position: relative;
}
.catalog-card-info {
    position: absolute;
    top: 30px;
    opacity: 0;
    transition: opacity .3s .1s, top .3s;
}
.catalog-card-metrics {
    font-size: 1rem;
    margin-left: 42px;
    margin-bottom: 1rem;
}
.catalog-card-description {
    min-height: 120px;
    margin-top: .5rem;
    position: relative;
    top: 0;
    left: 0;
    opacity: 1;
    transition: opacity .5s, top .4s;
}
.ods-catalog-card__theme-icon {
    position: absolute;
    top: 26px;
    left: 26px;
}
.ods-catalog-card__title {
    color: #333333;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 1.2;
    transition: color .3s;
}
.ods-catalog-card:hover .ods-catalog-card__title {
    color: #398c96;
}
.ods-catalog-card__metadata-item {
    font-size: .833rem;
    line-height: 1.4;
    margin-bottom: 4px;
}
.ods-catalog-card__visualization {
    color: #565656;
    padding: 0 0 4px 0;
}
.ods-dataset-visualization__dataset-title-text {
    font-size: 1.5rem;
    line-height: 0rem;
    font-weight: bold;
}
.ods-catalog-card__body {
    width: 100%;
}
@media screen and (min-width: 749px) {
    .ods-catalog-card__body {
        width: calc(100% - 136px);
        padding-right: 5px;
    }
}
@media screen and (min-width: 749px) {
    .ods-catalog-card__visualizations {
        display: flex;
        flex-direction: column;
        border-left: none;
        padding-left: 0;
        margin-left: 0;
    }
}


/*================ display: none; pour ne pas afficher les mots-clés en mode mobile ==================*/


.catalog-card-sidebar {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding-left: 0;
}
@media screen and (min-width: 749px) {
    .catalog-card-sidebar {
        padding-left: 10px;
        flex-direction: column;
        border-left: 1px solid #CBD2DB;
        width: 136px;
        justify-content: flex-start;
    }
}
@media screen and (min-width: 749px) {
    .ods-catalog-card__visualizations {
        order: 0;
        height: auto;
        border-left: none;
        padding-left: 0;
        margin-left: 0;
    }
}

.ods-catalog-card-keywords {
  
    flex-grow: 1;
    transition: all 0.5s ease; 
    padding-top: 20px;
}

.ods-catalog-card__keyword {
    color: #565656;
    font-size: 0.833rem;
    padding: .15rem .35rem; 
    background-color: #CBD2DB;
    border-radius: 7px; 
}
.ods-catalog-card__keyword:hover {
    color: #FFFFFF;
    background-color: #666666; 
}
.ods-catalog-card__visualization-icon {
    text-align: center;
}
.metadata-publisher .ods-catalog-card__metadata-item-label:before {
    content: '\f2bd';
    font-family: 'FontAwesome';
    margin-right: 5px;
}
.metadata-license .ods-catalog-card__metadata-item-label:before {
    content: '\f132';
    font-family: 'FontAwesome';
    margin-right: 5px;
}


/*======================= EXPLORE DATASET ==============================*/


.odswidget-filter-summary__active-filter {
  padding: 0 10px;
}
.odswidget-filter-summary__active-filter-label {
  background-color: #E78C62;
  color: white;
}

/*======================= search bar dans le header ==============================*/




