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

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


#carousel{
    position: relative;
    width: 100%;
    padding: 0 !important;
}
#carousel > .row{
    margin: 0 !important;
    padding: 0 !important;
}

/**********************************************************************************************    la  une   ****/
#carousel .la_une{
    position: relative;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
}


#carousel .la_une .content{
    position: relative;
    width: 100%;
    margin-top: 15px !important;

    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 25px;
    padding: 0 !important;
    margin: 0 !important;
}
#carousel .la_une .content .left{
    position: relative;
    width: 58%;
}
#carousel .la_une .content #owl_une.owl-carousel.owl-theme .owl-item .item{
    cursor: pointer;
    /* border: 2px solid blue; */
    position: relative;
}
#carousel .la_une .content #owl_une.owl-carousel.owl-theme .owl-item a{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    /* overflow: hidden; */
    border-radius: 8px !important; 
    text-decoration: none;
}
#carousel .la_une .content #owl_une.owl-carousel.owl-theme .owl-item a .inner{
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}
#carousel .la_une .content #owl_une.owl-carousel.owl-theme .owl-item a .inner img{
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top right; 
    transition: all 0.3s ease;
    transform: scale(1);
}
#carousel .la_une .content #owl_une.owl-carousel.owl-theme .owl-item a:hover .inner img{
    transform: scale(1.01);
}
#carousel .la_une .content #owl_une.owl-carousel.owl-theme .owl-item a .inner::after{
    content: '';
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(to top, rgba(0, 0, 0, 0.99), transparent);*/
    opacity: 1;
    transition: ease-out 0.3s;
    z-index: 5;
}
#carousel .la_une .content #owl_une.owl-carousel.owl-theme .owl-item a:hover .inner::after{
    background: linear-gradient(to top, rgba(37, 37, 37, 0.5), transparent);
}

#carousel .la_une .content #owl_une.owl-carousel.owl-theme a .caption{
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    top: 0;
    left: 0;
    right: 50;
    bottom: 0;
    z-index: 30;
    padding: 0px !important;
    padding-bottom: 0px !important;
}
#carousel .la_une .content #owl_une.owl-carousel.owl-theme a .caption h2{
    position: relative;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 8px 10px;
    font-size: 14px;
    font-weight: 550;
    text-transform: uppercase;
    color: var(--blanc);
    background-color: var(--vert);
    margin-bottom: 10px;
    transition: ease 0.3s all;
}
#carousel .la_une .content #owl_une.owl-carousel.owl-theme a:hover .caption h2{
    background-color: var(--orange);
    color: var(--blanc);
}

#carousel .la_une .content #owl_une.owl-carousel.owl-theme a .caption h3{
    position: relative;
    width: 99% ;
    font-size: 20px;
    font-weight: 550;
    color: var(--blanc);
    margin-bottom: 10px;
}
#carousel .la_une .content #owl_une.owl-carousel.owl-theme a .caption .foot{
    position: relative;
    display: flex;
}
#carousel .la_une .content #owl_une.owl-carousel.owl-theme a .caption .foot div{
    position: relative;
    display: inline-block;
    width: auto;
}
#carousel .la_une .content #owl_une.owl-carousel.owl-theme a .caption .foot .left{
    font-size: 16px;
    font-weight: 650;
    color: var(--orange);
    text-transform: capitalize;
}
#carousel .la_une .content #owl_une.owl-carousel.owl-theme a .caption .foot .right{
    font-size: 16px;
    color: var(--blanc);
    margin-left: 7px;
    display: none;
}


#carousel .la_une .content .owl-carousel.owl-theme .owl-dots{  /** Les controles **/
    display: flex;
    position: none !important;
}
#carousel .la_une .content .owl-carousel.owl-theme .owl-nav{  
    position: absolute !important; 
    top: 30%;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    left: -12px;
    right: -12px;

    z-index: 115;

    /* border: 1px solid red; */
}
#carousel .la_une .content .owl-carousel.owl-theme .owl-nav button{
    position: relative;
    width: 33px;
    height: 33px;
    background-color: var(--blanc);

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 22px;
    color: #272727;
    font-weight: 650;
    margin: 0px;
    border-radius: 50%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


#carousel .la_une .content .owl-carousel.owl-theme .owl-nav button.owl-prev:focus,
#carousel .la_une .content .owl-carousel.owl-theme .owl-nav button.owl-next:focus{
    outline: 0;
}



#carousel .la_une .content .owl-carousel.owl-theme .owl-nav button:hover{
    background-color: var(--orange);
}



#carousel .la_une .content .right{
    position: relative;
    width: 38%;
    display: flex;
    flex-direction: column;
}

#carousel .la_une .content .right .actualites{
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* border: 1px solid gray; */
    margin-bottom: 20px;
    
    padding: 0px;
    /* background-color: rgba(239, 173, 73, 0.1); */
    border-bottom: 1px solid rgba(218, 218, 218, 0.111);
}
#carousel .la_une .content .right .actualites h2{
    position: relative;
    width: 100%;
    font-size: 30px;
    font-weight: 700;
    color: var(--orange);
}
#carousel .la_une .content .right .actualites .categories{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
#carousel .la_une .content .right .actualites .categories a{
    position: relative;
    width: 30%;
    display: flex;
    align-items: center;
    padding: 0px 5px;
    margin-bottom: 10px;
    color: gray;
    font-size: 14px;
    cursor: pointer;
}
#carousel .la_une .content .right .actualites .categories a.active{
    font-weight: 600;
    color: rgb(227, 139, 6);
}
#carousel .la_une .content .right .actualites .categories a::before{
    position: relative;
    display: flex;
    justify-content: space-between;
    content: "";
    width: 3px;
    height: 10px;
    background-color: var(--vert);
    margin-right: 8px;
}




#carousel .la_une .content .right .item{
    position: relative;
    width: 100%;
    height: 135px;
    overflow: hidden;
    margin-top: 10px;
    box-shadow: 0 4px 8px 0 rgba(189, 189, 189, 0.2), 0 6px 20px 0 rgba(223, 223, 223, 0.11);
}
#carousel .la_une .content .right .item a{
    position: relative;
    display: flex;
    flex-wrap: wrap;
    text-decoration: none;
}
#carousel .la_une .content .right .item a .inner{
    position: relative;
    width: 40%;
    height: 135px;
    overflow: hidden;

    border: 2px solid var(--orange);
}
#carousel .la_une .content .right .item a .inner img{
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top right; 
    transition: all 0.3s ease;
    transform: scale(1);
}
#carousel .la_une .content .right .item a:hover .inner img{
    transform: scale(1.02);
}
#carousel .la_une .content .right .item a .caption{
    position: relative;
    width: 60%;
    background-color: var(--blanc);
    padding: 2px 12px;
}
#carousel .la_une .content .right .item a .caption h2{
    position: relative;
    display: inline-flex;
    width: auto;
    justify-content: center;
    align-items: center;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--blanc);
    background-color: var(--vert);
    margin-bottom: 6px;
    transition: all 0.3s ease;
}
#carousel .la_une .content .right .item a:hover .caption h2{
    background-color: var(--orange);
}

#carousel .la_une .content .right .item a .caption h3{
    position: relative;
    width: 100%;
    font-size: 12px;
    font-weight: normal;
    color: var(--noir);
    margin-bottom: 6px;
}
#carousel .la_une .content .right .item a .caption .foot{
    position: relative;
    display: flex;
}
#carousel .la_une .content .right .item a .caption .foot div{
    position: relative;
    display: inline-block;
    width: auto;
}
#carousel .la_une .content .right .item a .caption .foot .left{
    font-size: 11px;
    color: var(--orange);
    text-transform: capitalize;
}
#carousel .la_une .content .right .item a .caption .foot .right{
    font-size: 16px;
    color: var(--blanc);
    margin-left: 7px;
    display: none;
}

/*******     item coordonnees  *****/

#carousel .la_une .content .right .trait{
    position: relative;
    display: block;
    content: "";
    width: 100%;
    height: 1px;
    margin-top: 20px;
    margin-bottom: 15px;
    background-color: var(--orange);
}
#carousel .la_une .content .right .item.coordonnees a .caption h2{
    position: relative;
    display: inline-flex;
    width: auto;
    justify-content: center;
    align-items: center;
    padding: 0px 0px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--vert);
    background-color: rgba(0, 0, 0, 0.0);
}
#carousel .la_une .content .right .item.coordonnees a:hover .caption h2{
    background-color: rgba(0, 0, 0, 0.0);
}
#carousel .la_une .content .right .item.coordonnees a .caption h3 span{
    position: relative;
    width: 100%;
    font-size: 11px;
    font-weight: normal;
    color: var(--noir);
    margin-bottom: 4px;
    font-weight: 550;
}




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

@media screen and (max-width: 1520px) {
    
}
@media screen and (max-width: 1400px) {
    #carousel .page-wrapper{
        position: relative;
        width: 1100px;
    }
}
@media screen and (max-width: 1250px) {
    #carousel .la_une .content #owl_une.owl-carousel.owl-theme .owl-item a{
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 500px;
        /* overflow: hidden; */
        border-radius: 8px !important; 
        text-decoration: none;

        /* border: 2px solid green; */
    }

    #carousel .la_une .content #owl_une.owl-carousel.owl-theme a .caption h3{
        position: relative;
        width: 100% ;
        font-size: 20px;
        font-weight: 600;
        color: var(--blanc);
        margin-bottom: 10px;
    }
    #carousel .la_une .content #owl_une.owl-carousel.owl-theme .owl-dots{  /** Les controles **/
        display: flex;
        position: absolute;
        justify-content: center;
        align-items: center;
        bottom: 25px;
        left: 45%;
    }
}
@media screen and (max-width: 992px) {
    #carousel .la_une .content #owl_une.owl-carousel.owl-theme .owl-item a{
        height: 450px;
        overflow: hidden;
    }



    #carousel .la_une .content .right .item{
        position: relative;
        width: 100%;
        height: 120px;
    }
    
}

@media screen and (max-width: 768px) {
    #carousel .la_une .content{
        position: relative;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        /* border: 1px solid rgb(234, 255, 0); */
        margin-bottom: 25px;
    }
    #carousel .la_une .content > .left,
    #carousel .la_une .content .right{
        position: relative;
        width: 100%;
        padding: 0 !important;
    }

    #carousel .la_une .content #owl_une.owl-carousel.owl-theme .owl-item a{
        height: auto;
        overflow: hidden;
    }

    #carousel .la_une .content #owl_une.owl-carousel.owl-theme .owl-item a .inner img{
        position: relative;
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: center; 
        transition: all 0.3s ease;
        transform: scale(.9999);
    }
    #carousel .la_une .content #owl_une.owl-carousel.owl-theme .owl-item a:hover .inner img{
        transform: scale(1) !important;
    }

    #carousel .la_une .content #owl_une.owl-carousel.owl-theme a .caption h2{
        
        font-size: 11px;
        font-weight: normal;
    }


    

    
    #carousel .la_une .content .right{
        margin-top: 75px !important;
    }

    #carousel .la_une .content .right .actualites h2{
        position: relative;
        width: 100%;
        font-size: 20px;
        font-weight: 600;
        color: var(--orange);
    }
    #carousel .la_une .content .right .item{
        position: relative;
        width: 100%;
        height: 160px;
        overflow: hidden;
        margin-bottom: 7px;
    }
    #carousel .la_une .content .right .item a .caption h2{

        font-size: 13px;
    }
    #carousel .la_une .content .right .item a .caption h3{
        position: relative;
        width: 100%;
        font-size: 12px;
    }

    #carousel .la_une .content .right .item a .caption .foot{
        display: none;
      }
}
@media screen and (max-width: 680px) {

    #carousel .flash .items .owl-carousel.owl-theme  .owl-item p{
        opacity: 1;
        margin-top: -40px;
        transition: ease-in-out 0.7s all;
        line-height: 1em;
    }
    
    #carousel .la_une .content .left,
    #carousel .la_une .content .right{
        position: relative;
        width: 100%;
    }
    #carousel .la_une .content #owl_une.owl-carousel.owl-theme a .caption{
        padding: 12px !important;
        padding-bottom: 20px !important;
    }


    #carousel .la_une .content .right{
        margin-top: 15px;
        padding: 10px;
    }
    #carousel .la_une .content .right .item{
        position: relative;
        width: 100%;
        height: 140px;
        /* border: 1px solid red; */
        overflow: hidden;
        margin-bottom: 7px;
    }
    #carousel .la_une .content .right .item a{
        position: relative;
        display: flex;
        text-decoration: none;
    }
    #carousel .la_une .content .right .item a .inner{
        position: relative;
        width: 35%;
        height: 140px;
        overflow: hidden;
    }
    #carousel .la_une .content .right .item a .caption{
        padding: 10px;
        width: 65%;
    }
    #carousel .la_une .content .right .item a .caption .foot{
        position: relative;
        display: none;
    }


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

    #carousel .la_une .content .right .item{
        position: relative;
        width: 100%;
        height: 160px;
        overflow: hidden;
        margin-bottom: 7px;
    }

}
@media screen and (max-width: 480px) {
    #carousel .la_une .content .right .item{
        position: relative;
        width: 100%;
        height: auto;
        overflow: hidden;
        margin-bottom: 15px;
    }

    #carousel .la_une .content .right .item a .inner{
        position: relative;
        width: 100%;
        height: 185px;
        overflow: hidden;

        border: 1px solid var(--orange);
    }

    #carousel .la_une .content .right .item a:hover .inner img{
        transform: scale(1.02);
    }
    #carousel .la_une .content .right .item a .caption{
        position: relative;
        width: 100%;
        background-color: var(--blanc);
        padding: 20px 10px;
    }
}
@media screen and (max-width: 360px) {
    #carousel .la_une .content .right .item{
        position: relative;
        width: 100%;
        overflow: hidden;
        margin-bottom: 7px;
    }
}