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

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


/****                    Content page items ...                     ****/

#page_secondaire ._content.ministere_item .items{
    position: relative;
    width: 100%;
    margin-bottom: 40px;
    padding: 0px;
    background-color: var(--blanc);
}
#page_secondaire ._content.ministere_item .items a{
    position: relative;
    display: inline-block;
    width: auto;
    padding: 2px 15px;
    color: var(--orange);
    text-decoration: underline;
    font-style: italic;
}
#page_secondaire ._content.ministere_item .items h2{
    position: relative;
    font-size: 16px;
    color: var(--noir);
    font-weight: 650;
    margin-bottom: 15px;
}
#page_secondaire ._content.ministere_item .items h3{
    position: relative;
    font-size: 11px;
    color: rgb(122, 122, 122);
    font-weight: normal;
    margin-bottom: 15px;
}


#page_secondaire ._content.ministere_item .items .inner{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 4px;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.111);
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 20px;
    margin-top: 20px;
}
#page_secondaire ._content.ministere_item .items .inner img{
    position: relative;
    width: 100%;
   transition: ease all 0.3s;
}
#page_secondaire ._content.ministere_item .items .inner:hover img{
   transform: scale(1.02);
}
#page_secondaire ._content.ministere_item .items p{
    position: relative;
    width: 100%;
    text-align: justify !important;
    font-size: 14px;
}



#page_secondaire ._content.ministere_item .items{
    position: relative;
    width: 100%;
    padding: 0 !important;
    margin-left: 10px;
}
#page_secondaire ._content.ministere_item .items .item{
    position: relative;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    overflow: hidden;
}
#page_secondaire ._content.ministere_item .items .item a .inner{
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
}
#page_secondaire ._content.ministere_item .items .item a .inner img{
    position: relative;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: top right; 
    transition: all 0.3s ease;
    transform: scale(1);
}
#page_secondaire ._content.ministere_item .items .item a:hover .inner img{
    transform: scale(1.01);
}
#page_secondaire ._content.ministere_item .corps{
    position: relative;
}
#page_secondaire ._content.ministere_item .corps ul{
    position: relative;
    margin: 0px;
    padding-left: 15px;

}




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

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

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

}
@media screen and (max-width: 1350px) {
    
}
@media screen and (max-width: 1250px) {
}
@media screen and (max-width: 992px) {
    #page_secondaire ._content.ministere_item .items h2{
        position: relative;
        color: var(--noir);
    }
}

@media screen and (max-width: 768px) {
    
}
@media screen and (max-width: 640px) {
    #page_secondaire ._content.ministere_item .items p{
        position: relative;
        width: 100%;
        text-align: justify;
        font-size: 13px;
    }
}
@media screen and (max-width: 480px) {
    #page_secondaire ._content.ministere_item .items .item{
        position: relative;
        width: 48%;
        background-color: rgb(214, 214, 214);

        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        margin-bottom: 15px;
        overflow: hidden;
    }
    #page_secondaire ._content.ministere_item .items .item a .inner{
        position: relative;
        width: 100%;
        height: 100px;
        overflow: hidden;
    }

}


/**************       dark mode   ***********/
.dark-mode #page_secondaire ._content.ministere_item .items a,
.dark-mode #page_secondaire ._content.ministere_item .items h2,
#page_secondaire ._content.ministere_item .items h3{
    color: yellow;
}
.dark-mode .section_e_services a{
    color: yellow !important;
    /* border: 1px solid red; */
    background-color: rgba(31, 31, 31, 0.9) !important;
}
.dark-mode .section_e_services{
    border: 1px solid yellow !important;
}
.dark-mode .section_e_services::before,
.dark-mode .section_e_services::after{
    border-top: 1px solid yellow !important;
}
.dark-mode #page_secondaire ._content.ministere_item .items .inner{
    border-top: 2px solid yellow;
}
.dark-mode #page_secondaire ._content.ministere_item .items{
   background-color: rgb(19, 19, 19) !important;
   background: rgb(19, 19, 19) !important;
}
.dark-mode .section_e_services .content #owl_e_services.owl-carousel.owl-theme .owl-nav button{
    background-color: #000 !important;
    background: #000 !important;
    color: yellow !important;
}
.dark-mode .section_e_services .content .titre h1{
    color: yellow !important;
}
