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

    --noir: #262626;
    --orange: #EF7D00;
    --vert-drapeau: #3FA535;
    --vert: #0f7705;
    --vert-fonce:#023A05;
    --blanc: #FFF;
}



#gouvernement {
    position: relative;
    width: 100%;
    padding-bottom: 25px;
}
#gouvernement .titre{
    display: flex;
    flex-direction: column;
    padding: 15px;
    width: 100% !important;
    color: var(--blanc);
    margin-top: 15px;
    margin-bottom: 20px;
    background-color: var(--orange);
    border-radius: 4px;
    border-bottom: 3px solid var(--vert-fonce);
}
#gouvernement .titre h2{
    font-size: 16px;
    font-weight: 600;
}
#gouvernement .premier_ministre{
    position: relative;
    width: 100%;
    margin-bottom: 40px;
}
#gouvernement .premier_ministre .grid{
    position: relative;
    width: 100%;
    height: 200px;
    padding: 0px;
    box-shadow: 0 4px 8px 0 rgba(189, 189, 189, 0.2), 0 6px 20px 0 rgba(223, 223, 223, 0.11);
    border: 1px solid rgba(189, 189, 189, 0.2);
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 0px;
    transition: all 0.3s ease-out;
    overflow: hidden;
}
#gouvernement .premier_ministre .grid .inner{
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: rgb(209, 209, 209);
}
#gouvernement .premier_ministre .grid .inner img{
    position: relative;
    margin: auto;
    padding: 0;
    transition: all 0.3s ease-in-out;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: center !important;
}
#gouvernement .premier_ministre .grid .caption{
    position: relative;
    width: 100%;
    height: auto;
    padding: 30px 20px;
    background-color: var(--orange);
}
#gouvernement .premier_ministre .grid .caption .libelle{
    position: relative;
    width: 100%;
    padding: 0;
}
#gouvernement .premier_ministre .grid .caption .libelle h1{
    position: relative;
    font-size: 15px;
    font-weight: 600;
    color: var(--blanc);
    transition: all 0.3s ease;
    margin: 0 !important;
    background-color: rgba(189, 189, 189, 0.001) !important;
    text-transform: uppercase;
}
#gouvernement .premier_ministre .grid .caption .libelle span{
    position: relative;
    font-size: 13px;
    font-weight: 600;
    color: var(--blanc);
    text-transform: uppercase;
}
#gouvernement .premier_ministre .grid .caption .nom {
    position: relative;
    margin-top: 20px;
    max-width: 350px;
}
#gouvernement .premier_ministre .grid .nom h2{
    position: relative;
    font-size: 15px;
    font-weight: 600;
    color: var(--noir);
}
#gouvernement .premier_ministre .grid .nom p{
    position: relative;
    font-size: 12px;
    color: var(--noir);
    text-transform: uppercase;
}

/*                                                    /*** Ministres **/
#gouvernement .groupe {
    position: relative;
    width: 100%;
    margin-top: 15px;
}
#gouvernement .groupe h3{
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: var(--orange);
    text-transform: uppercase;
}
#gouvernement .groupe h3::after{
    display: block;
    position: relative;
   
    background-color: rgba(157, 187, 149, 0.00001);
    border: 1px solid var(--orange);
    border-bottom: 0px solid var(--orange);
    width: 100%;
    content: "";
    height: 15px;
    margin-top: 10px;
}
#gouvernement .groupe .liste_grid{
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 10px;
}
#gouvernement .groupe .item_grid{
    position: relative;
    width: 100%;
    height: 90px;
    padding: 0px;

    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 0px;
    overflow: hidden;
    transition: all 0.3s ease-out;

}
#gouvernement .groupe .item_grid .inner{
    position: relative;
    width: 100%;
    height: 90px;
    background-color: rgb(209, 209, 209);
}
#gouvernement .groupe .item_grid .inner img{
    position: relative;
    transition: all 0.3s ease-in-out;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: center;
}
#gouvernement .groupe .item_grid .caption{
    position: relative;
    width: 100%;
    height: auto;
    padding: 15px;
    background-color: rgba(48, 88, 40, 0.1);
}
#gouvernement .groupe .item_grid .caption .nom {
    position: relative;
}
#gouvernement .groupe .item_grid .nom h2{
    position: relative;
    font-size: 13px;
    font-weight: 600;
    color: var(--noir);
}
#gouvernement .groupe .item_grid .nom p{
    position: relative;
    font-size: 10px;
    color: var(--vert);
    text-transform: uppercase;
    font-weight: 500;
    margin-top: -5px;
}
#gouvernement .groupe .item_grid .nom p.long{
    font-size: 9px;
}


/******************************************* Responsive********************/

@media screen and (max-width: 1520px) {

}
@media screen and (max-width: 1400px) {
    #gouvernement .premier_ministre{
        position: relative;
       /* border: 1px solid red; */

    }
    #gouvernement .groupe .item_grid .nom h2{
        position: relative;
        font-size: 12px;
        font-weight: 550;
    }
    #gouvernement .groupe .item_grid .nom p{
        font-size: 9px;
    }
}
@media screen and (max-width: 1200px) {
    #gouvernement .groupe .item_grid{
        position: relative;
        width: 100%;
        height: 75px;
        padding: 0px;

        display: grid;
        grid-template-columns: 75px 1fr;
        gap: 0px;
        overflow: hidden;
        transition: all 0.3s ease-out;

    }
    #gouvernement .groupe .item_grid .inner{
        position: relative;
        width: 100%;
        height: 75px;
        background-color: rgb(209, 209, 209);
    }
    #gouvernement .groupe .item_grid .caption{
        position: relative;
        padding: 5px;
    }
        #gouvernement .groupe .item_grid .nom h2{
        position: relative;
        font-size: 10px;
        font-weight: 600;
    }
    #gouvernement .groupe .item_grid .nom p{
        position: relative;
        font-size: 9px;
    }
    #gouvernement .groupe .item_grid .nom p.long{
        position: relative;
        font-size: 7px;
    }
}
@media screen and (max-width: 1100px) {
     #gouvernement .premier_ministre{
        position: relative;
       /* border: 1px solid rgb(0, 102, 255); */
    }

     #gouvernement .groupe .item_grid{
        position: relative;
    }

}
@media screen and (max-width: 992px) {
    #gouvernement .premier_ministre{
        position: relative;
       /* border: 1px solid rgb(0, 255, 21); */
    }
    #gouvernement .groupe .item_grid{
        position: relative;
    }
       #gouvernement .groupe .item_grid{
        position: relative;
        width: 100%;
        height: 100px;
        padding: 0px;

        display: grid;
        grid-template-columns: 100px 1fr;
        gap: 0px;
        overflow: hidden;
        transition: all 0.3s ease-out;

    }
    #gouvernement .groupe .item_grid .inner{
        position: relative;
        width: 100%;
        height: 100px;
        background-color: rgb(209, 209, 209);
    }
    #gouvernement .groupe .item_grid .caption{
        position: relative;
        padding: 10px;
    }
        #gouvernement .groupe .item_grid .nom h2{
        position: relative;
        font-size: 13px;
        font-weight: 600;
    }
    #gouvernement .groupe .item_grid .nom p{
        position: relative;
        font-size: 10px;
    }
    #gouvernement .groupe .item_grid .nom p.long{
        position: relative;
        font-size: 9px;
    }
    
}


@media screen and (max-width: 768px) {
    #gouvernement .premier_ministre .grid{
        position: relative;
        display: grid;
        grid-template-columns: 155px 1fr;
    }
    #gouvernement .premier_ministre{
        position: relative;
       /* border: 1px solid rgb(255, 0, 170); */
    }
    #gouvernement .premier_ministre .grid,
    #gouvernement .premier_ministre .grid .inner{
        height: 210px;
    }

    #gouvernement .groupe .item_grid{
        position: relative;;
    }

}
@media screen and (max-width: 640px) {
    #gouvernement .premier_ministre{
        position: relative;
       /* border: 1px solid rgb(0, 255, 225); */
    }
    #gouvernement .premier_ministre .grid .caption .libelle h1{
        position: relative;
        font-size: 16px;
        font-weight: 600;
    }
    #gouvernement .premier_ministre .grid .nom h2{
        position: relative;
        font-size: 16px;
        font-weight: 500;
    }
    #gouvernement .premier_ministre .grid .nom p{
        position: relative;
        font-size: 12px;
    }

    #gouvernement .groupe .item_grid{
        position: relative;
    }
    #gouvernement .groupe .liste_grid{
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
    padding: 10px;
}

}
@media screen and (max-width: 520px) {
    
   #gouvernement .premier_ministre .grid{
        position: relative;
        display: grid;
        grid-template-columns: 125px 1fr;
    }
    #gouvernement .premier_ministre{
        position: relative;
       /* border: 1px solid rgb(255, 0, 170); */
    }
    #gouvernement .premier_ministre .grid,
    #gouvernement .premier_ministre .grid .inner{
        height: 180px;
    }
    #gouvernement .premier_ministre .grid .caption{
        position: relative;
        padding: 15px;
    }
    #gouvernement .premier_ministre .grid .caption .libelle h1{
        position: relative;
        font-size: 13px;
        font-weight: 500;
    }
    #gouvernement .premier_ministre .grid .caption .libelle span{
        position: relative;
        font-size: 11px;
        font-weight: 500;
    }
    #gouvernement .premier_ministre .grid .caption .nom {
        position: relative;
        margin-top: 20px;
        max-width: auto;
    }
    #gouvernement .premier_ministre .grid .nom h2{
        position: relative;
        font-size: 13px;
        font-weight: 500;
    }
    #gouvernement .premier_ministre .grid .nom p{
        position: relative;
        font-size: 12px;
    }
}

@media screen and (max-width: 360px) {
    #gouvernement .premier_ministre .grid,
    #gouvernement .premier_ministre .grid .inner,
    #gouvernement .premier_ministre .grid .caption{
        position: relative;
        width: 100%;
        height: 120px;
    }

    #gouvernement .premier_ministre .grid .caption .libelle h1{
        position: relative;
        font-size: 13px;
        font-weight: 500;
    }
    #gouvernement .premier_ministre .grid .caption .libelle span{
        position: relative;
        font-size: 10px;
        font-weight: 400;
        margin-top: -15px !important;
    }
    #gouvernement .premier_ministre .grid .caption{
        padding: 12px;
        padding-top: 5px;
    }
        #gouvernement .premier_ministre .grid .nom{
        position: relative;
        margin-top: -1px !important;
    }
    #gouvernement .premier_ministre .grid .nom h2{
        position: relative;
        font-size: 12px;
        font-weight: 500;
    }
    #gouvernement .premier_ministre .grid .nom p{
        position: relative;
        font-size: 10px;
        line-height: 12px;
        margin-top: 0px;
    }
}



/**************       dark mode   ***********/
.dark-mode #gouvernement .titre h2,
.dark-mode #gouvernement .premier_ministre a h2,
.dark-mode #gouvernement .premier_ministre a p{
    color: yellow !important;
}
.dark-mode #gouvernement .premier_ministre .grid{
    box-shadow: 0 4px 8px 0 rgba(189, 189, 189, 0.01), 0 6px 20px 0 rgba(223, 223, 223, 0.01);
}
.dark-mode #colonne_droite .content .gouv_videos .item a .caption p{
    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 #gouvernement .titre{
   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 #gouvernement *,
.dark-mode #gouvernement .groupe .liste_grid .item_grid .inner,
.dark-mode #gouvernement .groupe .liste_grid .item_grid .caption{
    color: yellow !important;
    background: #000 !important;
}