
:root {
    --noir: #000;
    --rouge: #FF0000;
    --blanc: #FFF;
    --gris-clair : #f2f4f7;

    --noir: #262626;
    --orange: #EF7D00;
    --vert-drapeau: #3FA535;
    --vert: #0f7705;
    --vert-fonce:#023A05;
    --blanc: #FFF;
}
.thematique_items {
    position: relative;
    width: 100%;
}

.thematique_items > .titre {
    position: relative;
    width: 100%;
    display: flex;
    margin-bottom: 20px;

}
.thematique_items .liste {
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-evenly;
}
.thematique_items .liste .item {
    background-color: #f5f5f5;
    padding: 0px;
    text-align: center;
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid rgba(236, 236, 236, 0.4);
    width: 32%;
}
.thematique_items .liste .item .item-head{
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}
.thematique_items .liste .item .item-head .inner{
    position: relative;
    width: 100%;
    height: auto;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 0px;
    overflow: hidden;
    z-index: 1;
}
.thematique_items .liste .item .item-head .inner img{
    position: relative;
    width: auto;
    height: auto;
    transition: all 0.3s ease;
}
.thematique_items .liste .item .item-head:hover .inner img{
    transform: scale(1.01);
}
.thematique_items .liste .item .item-head .titre{
    position: relative;
    width: 100%;
    height: auto;
    padding: 10px 15px;
    transition: ease all  0.3s;
    opacity: 1;
}
.thematique_items .liste .item h2{
    position: relative;
    width: 100%;
    text-align: left;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
}
.thematique_items .liste .item h4{
    position: relative;
    width: 100%;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--orange);
}
.thematique_items .liste .item .trait{
    position: relative;
    width: 33%;
    height: 3px;
    background-color: rgb(4, 143, 4);
    content: "";
    margin-bottom: 8px;
    margin-top: 7px;
}
.thematique_items .liste .item .description{
    position: relative;
    width: 100%;
    text-align: left;
    margin: 0 !important;
    padding: 0 !important;

    display: none;
}
.thematique_items .liste .item .description *,
.thematique_items .liste .item .description p,
.thematique_items .liste .item .description p *{
    position: relative;
    width: 100%;
    text-align: center;
    font-size: 12px !important;
    margin: 0 !important;
    color: rgb(85, 85, 85);
    line-height: 12px;
}
.thematique_items .liste .item .item-foot{
    position: absolute;
    top: 25px;
    left: 25px;
    bottom: 25px;
    right: 25px;
    z-index: 0;
    padding: 15px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.055);
    margin-bottom: 0 !important;
    opacity: 0;
    transition: ease 0.2s all;
    transform: scale(0.8);
}
.thematique_items .liste .item:hover .item-foot{
    position: absolute;
    top:0px;
    left:0px;
    bottom:0px;
    right:0px;
    background-color: rgba(219, 219, 219, 0.9);
    opacity: 1;
    transform: scale(1);
    z-index: 10;
}
.thematique_items .liste .item .item-foot h2{
    position: relative;
    color: var(--orange);
    margin-bottom: 5px;
    text-align: center;
}
.thematique_items .liste .item .item-foot p{
    position: relative;
    color: #1d1d1d;
    font-size: 12px;
}
.thematique_items .liste .item .item-foot br{
   display: none;
   visibility: hidden;
   opacity: 0;
}
.thematique_items .liste .item .item-foot .links{
    position: relative;
    margin-top: 15px;
}
.thematique_items .liste .item .item-foot a{
    position: relative;
    width: auto;
    padding: 6px 8px !important;
    color: var(--blanc);
    text-decoration: none;
    font-size: 12px;
    color: rgb(44, 44, 44);
    transition: ease-in-out all 0.3s;
    background-color: var(--vert);
    margin-top: 10px;
    text-align: center;
    border-radius: 2px;
    color: var(--blanc);
    opacity: 0;
}
.thematique_items .liste .item:hover .item-foot a{
    position: relative;
    opacity: 1;
}
.thematique_items .liste .item .item-foot a:hover{
    background-color: var(--orange);
    opacity: 1;
}
.thematique_items .liste .item .item-foot a span{
    position: relative;
}
.thematique_items .liste .item .item-foot a.apercu_bilan{
    position: relative;
    display: none;
}
.thematique_items .liste .item .item-foot a.apercu_bilan:nth-child(1){
    position: relative;
    display: inline-block;
}
@media screen and (max-width: 1400px) {

}
@media screen and (max-width: 1240px) {
    .thematique_items .liste {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

}

@media screen and (max-width: 1024px) {
    .thematique_items .liste {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}
@media screen and (max-width: 992px) {
    .thematique_items .liste {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .thematique_items .liste .item {
        min-height: 300px;
        overflow: hidden;
        border: 1px solid rgba(236, 236, 236, 0.4);
        width: 49%;
    }

    .thematique_items .liste .item h2{
        position: relative;
        width: 100%;
        text-align: left;
        font-size: 13px;
        font-weight: 500;
    }
}

@media screen and (max-width: 768px) {
    .thematique_items .liste .item {
        min-height: 300px;
        overflow: hidden;
        border: 1px solid rgba(236, 236, 236, 0.4);
        width: 47%;
    }
}

/**************       dark mode   ***********/
.dark-mode #page_services .accordion .accordion-label .titre h3,
.dark-mode #page_services .accordion[data-accordion-state="opened"] .accordion-label .titre h3,
.dark-mode .accordion-content .lien a{
    color: yellow !important;
}
.dark-mode #page_institutions .liste .item{
    box-shadow: 0 4px 8px 0 rgba(41, 41, 41, 0.08), 0 6px 20px 0 rgba(223, 223, 223, 0.04);
}
.dark-mode #page_services .accordion,
.dark-mode .accordion-content .lien a{
    border: 1px solid yellow !important;
}
.dark-mode .section_e_services::after{
    border-top: 1px solid yellow !important;
}
.dark-mode #header .items{
    border-bottom: 1px solid yellow !important;
}
.dark-mode #colonne_droite .content .section_grands_dossiers .items .titre{
    border-top: 2px solid yellow;
}
.dark-mode #colonne_droite .content .section_grands_dossiers .items .titre h1::after{
   background-color: yellow !important;
}
.dark-mode #page_institutions{
   background-color: rgb(36, 36, 36) !important;
}
.dark-mode #colonne_droite .content .section_grands_dossiers .items #owl_grands_dossiers.owl-carousel.owl-theme a .caption{
   background-color: rgb(36, 36, 36) !important;
}
.dark-mode #colonne_droite .content .section_grands_dossiers .items #owl_grands_dossiers.owl-carousel.owl-theme a .inner h2{
   background-color: rgb(37, 37, 37) !important;
   background: rgb(36, 36, 36) !important;
}
.dark-mode #colonne_droite .content .gouv_videos .item .inner .icon span{
    background-color: #000 !important;
    background: #000 !important;
}


.dark-mode .thematique_items .liste .item {
    background-color: rgb(37, 37, 37) !important;
}
