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

    --noir: #262626;
    --orange: #EF7D00;
    --vert-drapeau: #3FA535;
    --vert: #0f7705;
    --vert-fonce:#023A05;
    --blanc: #FFF;
    --bleu: rgb(29 138 240);
}

body{
    margin: 0 !important;
    padding: 0 !important;
}
#footer{
    position: relative;
    width: 1300px;
    padding: 0 !important;
    margin: auto ;
    margin-left: -25px;
}

/**********************************************************************************************    section one   ****/

#footer .section_one{
    position: relative;
    width: 100%;
    padding: 0;
    margin: auto;
    background-color: #2a2a2a;
    width: 100%;
}
#footer .content{
    position: relative;
    width: 100%;
    margin: auto;
    padding: 50px 25px;
}
#footer .section_one .content .items{
    position: relative;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

#footer .section_one .content .items .item{
    position: relative;
    width: 31%;
    padding: 0px;
}
#footer .section_one .content .items .item.gouv_actu {
    position: relative;
}

#footer .section_one .content .items .item h2{
    position: relative;
    font-size: 16px;
    color: var(--blanc);
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: capitalize !important;
}
#footer .section_one .content .items .item.gouv_actu p{
    position: relative;
    font-size: 13px;
    color: lightgray;
    margin-bottom: 20px;
}
#footer .section_one .content .items .item.gouv_actu form{
    position: relative;
    width: 100%;
    margin-bottom: 12px;
}
#footer .section_one .content .items .item.gouv_actu input{
    position: relative;
    width: 100%;
    padding: 8px;
    height: 40px;
    margin: 5px 0;
    border: 1px solid rgb(158, 158, 158);
    background-color: rgba(0, 0, 0, 0.1);
    font-size: 14px;
    color: var(--blanc);
    border-radius: 2px;
}
#footer .section_one .content .items .item.gouv_actu form p {
    position: relative;
    margin-top: 15px;
}
div#captcha{
    border: 1px solid rgb(255, 255, 255) !important;
    background-color: var(--blanc);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto !important;
    overflow: hidden;
    padding: 5px !important;

}
.g-recaptcha div {
    position: relative;
    width: 100%;
}
.g-recaptcha iframe {
    position: relative;
    width: 100%;
}
.g-recaptcha textarea {
    width: 100% !important;
}
#footer .section_one .content .items .item.gouv_actu form .bloc_code {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#footer .section_one .content .items .item.gouv_actu form .bloc_code label{
    position: relative;
    width: 38%;
    height: 35px;
    background-color: rgb(197, 125, 57);

    display: flex;
    justify-content: center;
    align-items: center;
}
#footer .section_one .content .items .item.gouv_actu form .bloc_code input{
    position: relative;
    width: 60%;
    height: 35px;
    margin: 0;
    margin-top: -5px;
}
#footer .section_one .content .items .item.gouv_actu form input.submit{
    position: relative;
    width: 100%;
    height: 45px;
    background-color: gray;
    border: none;
    outline: 0;
    color: var(--blanc);
    font-size: 15px;
    font-weight: 550;
    transition: ease all 0.3s;
}
#footer .section_one .content .items .item.gouv_actu form input.submit:hover{
    position: relative;
    width: 100%;
    height: 45px;
    background-color: var(--vert-drapeau);
}


#footer .section_one .content .items .item .card{
    position: relative;
    width: 100%;
    background-color: var(--blanc);
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 345px;
    overflow: hidden;
    border-radius: 0;
}
#footer .section_one .content .items .item .card .inner{
    position: relative;
    width: 100%;
}
#footer .section_one .content .items .item .flashs.card{
    position: relative;
    width: 100%;
    background-color: var(--blanc);
    height: 450px;
    align-items: flex-start;
    justify-content: flex-start;
}
#footer .section_one .content .items .item .flashs.card .inner{
    position: relative;
    width: 100%;
    height: auto;
    background-color: var(--blanc);
}
#footer .section_one .content .items .item #footer_flash.inner{
    position: relative;
}
.flash-container {
    height: calc(3 * (125px + 10px)); /* 3 éléments visibles, chacun avec 125px + 10px de margin */
    overflow: hidden;
    position: relative;
}

.flash-wrapper {
    display: flex;
    flex-direction: column;
}

.flash-item {
    height: 125px;
    padding: 0px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}
.flash-item a {
    position: relative;
    width: 100%;
    height: 100%;
    color: #333;
    text-decoration: none;
    width: 100%;
    padding: 0px; padding-top: 10px;
}
.flash-item a b{
   background-color: #e8e8e8;
   padding: 10px;
   min-width: 75px;
   height: 10%;
   font-size: 13px;
   font-weight: 500;
   border-radius: 4px 4px 0px 0px;
}
.flash-item a span{
    display: inline-block;
   background-color: #e8e8e8;
   padding: 10px;
   width: 100%;
   height: 90%;
   font-size: 13px;
   border-radius: 5px;
   overflow-y: hidden;
}
.flash-item.active a b{
   /* background-color: rgb(29 138 240); */
   color: var(--blanc);
   background-color: var(--orange);
}
.flash-item.active a span{
    background-color: var(--orange);
    color: var(--blanc);
}
#footer .section_one .content .items .item .facebook.card{
    height: 445px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding-bottom: 10px !important;
    overflow: hidden;
}
#footer .section_one .content .items .item .facebook.card .inner{
    position: relative;
    width: 100%;
    padding: 0 !important;
    display: flex;
    justify-content: center !important;
}
#footer .section_one .content .items .item .facebook.card .inner .fb-social-plugin {
    width: 100%;
    height: 400px !important;
    overflow: hidden;
    padding: 0 !important;
    margin: auto;
    margin-top: -13px;
}
#footer .section_one .content .items .item .facebook.card .inner .fb-social-plugin div{
   width: 100% !important;
}
#footer .section_one .content .items .item .facebook.card .inner .fb-social-plugin span{
  display: block;
  width: 100% !important;
  min-width: 400px !important;
}
#footer .section_one .content .items .item .facebook.card .inner .fb-social-plugin ._2p3a {
    display: none !important;
    width: 100% !important;
}
/********************************************************          Section two    ********************************/

#footer .section_two{ 
    position: relative;
    background-color: #070707;
    padding: 0px;  
    margin: auto;
    width: 100%;
    /* display: none !important; */
}
#footer .section_two .content {
    opacity: 1;
}

#footer .section_two .logo {
    width: 100% !important;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom: 45px;
}
#footer .section_two .logo a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 250px;
    margin: auto;
}
#footer .section_two .logo img{
    position: relative;
    width: 250px;
    margin: auto;
}
#footer .section_two .content .items{
    position: relative;
    width: 100%;
    display: flex;
}
#footer .section_two .content .items .image{
    position: relative;
    width: 300px;
    margin-right: 50px;
    display: flex;
    flex-direction: column;
}
#footer .section_two .content .items .image .inner{
    position: relative;
    width: 100%;
    display: flex;
    margin-bottom: 35px;
}
#footer .section_two .content .items .image .reseaux{
    position: relative;
    width: 100%;
    background-color: rgb(45, 177, 80);
    padding: 18px 8px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


#footer .section_two .content .items .image .reseaux p{
    position: relative;
    font-size: 16px;
    font-weight: 500;
    color: var(--blanc);
    margin: 0 !important;
    text-transform: uppercase;
}
#footer .section_two .content .items .image .reseaux .links{
    position: relative;
    color: var(--blanc);   
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    min-width: 55%;
}
#footer .section_two .content .items .image .reseaux a{
    position: relative;
    color: var(--blanc);
    margin-right: 0;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
}


#footer .section_two .content .items .image .annuaire{
    position: relative;
    width: 100%;
}
#footer .section_two .content .items .image .annuaire h1{
    position: relative;
    width: 100%;
    font-size: 13px;
    color: var(--blanc);
    margin-top: 20px;
    margin-bottom: 25px;
    /* color: red; */
}
#footer .section_two .content .items .image .annuaire section{
    position: relative;
    width: 100%;
}
#footer .section_two .content .items .image .annuaire section .links{
    position: relative;
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(244, 244, 244, 0.4);
    margin-bottom: 10px;
    z-index: 2;
    cursor: pointer;
}
#footer .section_two .content .items .image .annuaire section .links h2{
    position: relative;
    width: 100%;
    font-size: 15px;
    color: var(--blanc);
}
#footer .section_two .content .items .image .annuaire section .links.active h2 {
    color: var(--orange);
}

#footer .section_two .content .items .image .annuaire section .links ul{
    position: absolute;
    display: none;
    top: 50px;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0 !important;
    padding: 0px !important;
    height: 150px !important;
    background-color: var(--blanc);
    overflow-y: scroll;
    z-index: 1;
    transition: ease 0.3s all;

    list-style: none !important;

    scrollbar-color: #346abf rgb(240, 106, 106); /* ascensseur bleu sur fond blanc */
    scrollbar-width: 3px !important;
}
#footer .section_two .content .items .image .annuaire section .links.active{
   z-index: 3 !important;
   background-color: var(--gris-clair);
   border: 1px solid rgba(244, 244, 244, 0.0);
}
#footer .section_two .content .items .image .annuaire section .links.active ul{
    display: block;
    z-index: 4 !important;
}
#footer .section_two .content .items .image .annuaire section .links ul li a{
    position: relative;
    display: block;
    font-size: 13px;
    color: rgb(48, 48, 48);
    transition: all ease-in 0.3s;
    padding: 4px 6px;
    border-bottom: 1px solid rgba(248, 183, 123, 0.2);
}
#footer .section_two .content .items .image .annuaire section .links ul li a:hover{
    position: relative;
    background-color: var(--orange);
    transition: all ease-in 0.3s;
    color: var(--blanc);
}


/* Change the main select box */
.select2-container .select2-selection {
    border: 0.5px solid rgba(153, 153, 153, 0.2) !important;
    border-radius:0px !important;
    height: 40px !important;
    padding: 5px 10px !important;
    color: rgba(158, 158, 158, 0.5) !important;

    background-color: rgba(39, 39, 39, 0.1) !important;
    margin-bottom: 6px !important;
}

/* Change dropdown arrow */
.select2-selection__arrow {
    height: 38px !important;
}

/* Change dropdown menu style */
.select2-dropdown {
    border: 2px solid rgba(244, 244, 244, 0.1) !important;
    border-radius: 0px !important;
    font-size: 13px !important;
    padding: 2px !important;
    background-color: var(--blanc) !important;
}

/* Hover effect on options */
.select2-results__option--highlighted {
    background-color: #f0f0f0 !important;
    color: #333 !important;
}
.select2-container--default .select2-search--inline .select2-search__field {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

/* If using a dropdown search (non-inline) */
.select2-container--default .select2-search__field:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #aaa !important; /* Optional: Keep a subtle border */
}
.select2-container--default .select2-search__field {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%23999" stroke-width="2"><circle cx="11" cy="11" r="8"/><path d="M21 21l-4.35-4.35"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 30px !important;
}

/* Selected option highlight */
.select2-results__option[aria-selected=true] {
    background-color: var(--orange) !important;
    color: var(--blanc) !important;
    font-size: 13px !important;
}

/* For WebKit (Chrome, Safari, Edge) */
.select2-results__options::-webkit-scrollbar {
    width: 5px; /* Scrollbar width */
}

.select2-results__options::-webkit-scrollbar-track {
    background: #f1f1f1; /* Track color */
    border-radius: 4px;
}

.select2-results__options::-webkit-scrollbar-thumb {
    background: #888; /* Thumb color */
    border-radius: 10px;
}

.select2-results__options::-webkit-scrollbar-thumb:hover {
    background: #555; /* Hover effect */
}

/* For Firefox */
.select2-results__options {
    scrollbar-width: thin; /* "auto" or "thin" */
    scrollbar-color: #888 #f1f1f1; /* thumb and track */
}




#footer .section_two .content .items .institutions{
    position: relative;
    width: auto;

    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-left: 75px;
}
#footer .section_two .content .items .institutions .item{
    position: relative;
    width: 30%;
    margin-bottom: 40px;
    border: 1px solid rgba(213, 213, 213, 0.0);
}
#footer .section_two .content .items .institutions .item h2{
    position: relative;
    font-size: 20px;
    color: rgb(228, 228, 228);
    text-transform: uppercase;
    margin-bottom: 25px;
}
#footer .section_two .content .items .institutions .item ul{
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}
#footer .section_two .content .items .institutions .item > ul{
    position: relative;
    max-height: 250px;
    overflow-y: hidden;
    padding-bottom: 10px;
    padding-right: 5px;
    transition: ease all 0.2s;

}#footer .section_two .content .items .institutions .item:hover > ul{
    overflow-y: scroll;
}
#footer .section_two .content .items .institutions .item > ul::-webkit-scrollbar {
    width: 2px;
}

#footer .section_two .content .items .institutions .item > ul::-webkit-scrollbar-track {
    background: #b6b6b6;
    border-radius: 4px;
}

#footer .section_two .content .items .institutions .item > ul::-webkit-scrollbar-thumb {
    background: #888; 
    border-radius: 10px;
}

#footer .section_two .content .items .institutions .item > ul::-webkit-scrollbar-thumb:hover {
    background: #d4d4d4; 
}

.select2-results__options {
    scrollbar-width: thin; 
    scrollbar-color: #888 #8f8f8f; 
}
#footer .section_two .content .items .institutions .item ul li{
    position: relative;
    list-style: none;
}
#footer .section_two .content .items .institutions .item ul li a{
    position: relative;
    font-size: 13px;
    color: lightgray;
    transition: all ease-in 0.3s;
}
#footer .section_two .content .items .institutions .item ul li a:hover{
    position: relative;
    color: var(--orange);
    transition: all ease-in 0.3s;
    text-decoration: underline;
}

#footer .section_two .content .links_gouv{
    position: relative;
    width: 100%;
    padding: 20px;
    margin-top: 55px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgb(93, 93, 93);
    border-bottom: 1px solid rgb(94, 94, 94);
}
#footer .section_two .content .links_gouv a{
    position: relative;
    display: block;
    font-size: 14px;
    color: lightgray;
    font-weight: normal;
    margin: 10px 15px;
}
#footer .section_two .content .links_gouv span{
    position: relative;
    display: block;
    content: "";
    background-color: #fff;
    width: 4px;
    height: 2px;
    
}


#footer .section_two .content .copyright{
    position: relative;
    margin: 0 !important;
    padding: 75px 50px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#footer .section_two .content .copyright h2{
    position: relative;
    font-size: 14px;
    color: lightgray;
    font-weight: 500;
}

#footer .section_two .content .copyright .conception{
    position: relative;
    display: flex;
    justify-content: flex-end; 
    align-items: center;
}
#footer .section_two .content .copyright .conception img{
    position: relative;
    width: 50px;
    margin-left: 5px;
}





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

@media screen and (max-width: 1520px) {
    #footer .section_one{
        /* border: 1px solid rgb(251, 112, 48); */
        position: relative;
    }
}
@media screen and (max-width: 1400px) {
    #footer{
        position: relative;
        width: 100%;
        overflow: hidden;
        margin-left: 0px !important;
        margin-right: 0px !important;
    }
    #footer .section_one{
        position: relative;
    }


    #footer .section_one .content .items .item h2{
        position: relative;
        font-size: 16px;
        color: var(--blanc);
        font-weight: 650;
        margin-bottom: 25px;
    }
}
@media screen and (max-width: 1350px) {

    #footer{
        position: relative;
        width: 100%;
        overflow: hidden;
    }
}
@media screen and (max-width: 1280px) {

    #footer .content{
        position: relative;
    }
    #footer .section_one .content .items .item h2{
        position: relative;
        font-size: 18px;
        color: var(--blanc);
        font-weight: 600;
        margin-bottom: 25px;
    }
    #footer .section_two .content .items .image .reseaux p{
        position: relative;
        font-size: 13px;
        font-weight: 500;
    }

}
@media screen and (max-width: 1150px) {
    #footer .content{
        position: relative;
        width: 100%;
        margin: auto;
        padding: 75px 10px;
    }
    #footer .section_two .content .items{
        position: relative;
        width: 100%;
        display: flex;
        padding: 25px;
    }
    #footer .section_two .content .items .image{
        position: relative;
        width: 200px;
        margin-right: 50px;
        display: flex;
        flex-direction: column;
    }
  }
@media screen and (max-width: 1024px) {
    #footer .content{
        position: relative;
        width: 100%;
        margin: auto;
        padding: 75px 10px;
    }

    #footer .section_two .logo img{
        position: relative;
        width: 200px;
        margin: auto;
    }
    #footer .section_two .content .items{
        position: relative;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        /* border: 1px solid rgb(43, 255, 0); */
        padding: 25px;
    }
    #footer .section_two .content .items .image{
        position: relative;
        width: 650px !important;
        margin-right: 0px;
        display: flex;
        flex-direction: column;
    }
    #footer .section_two .content .items .institutions{
        position: relative;
        width: 550px;
        margin-left: 25px;
    }
    #footer .section_two .content .items .institutions .item{
        position: relative;
        width: 49%;
        margin-bottom: 40px;
        border: 1px solid rgba(213, 213, 213, 0.0);
    }


    #footer .section_one .content .items .item.gouv_actu p{
        position: relative;
        font-size: 12px;
    }
    #footer .section_two .content .items .image .reseaux p{
        position: relative;
        font-size: 13px;
        font-weight: 500;
    }
}


@media screen and (max-width: 992px) {
    #footer{
        width: auto !important;
        /* border: 2px solid rgb(111, 255, 0); */
        margin-left: -25px !important;
        margin-right: -25px !important;
    }
    #footer .content{
        position: relative;
        width: 100%;
        margin: auto;
        padding: 75px 10px;
    }
    #footer .section_one .content .items .item{
        position: relative;
        width: 49%;
        padding: 15px;
    }
    #footer .section_one .content .items .item.gouv_actu{
        position: relative;
        width: 100%;
        padding: 15px;
        margin-bottom: 25px;
    }
    

    #footer .section_two .content .items .image{
        position: relative;
        width: 100% !important;
        margin-right: 0px;
        display: flex;
        flex-direction: column;
        margin-bottom: 35px;
    }
    #footer .section_two .content .items .institutions{
        position: relative;
        width: 100%;
        margin-left: 0px;
    }

    #footer .section_two .content .items .institutions .item{
        position: relative;
        width: 31%;
        margin-bottom: 40px;
        border: 1px solid rgba(213, 213, 213, 0.0);
    }

    #footer .section_one .content .items .item.gouv_actu p{
        position: relative;
        font-size: 12px;
    }

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

    #footer .section_one .content .items .item{
        position: relative;
        width: 49%;
        padding: 15px;
    }
    #footer .section_two .content .items .institutions .item{
        position: relative;
        width: 49%;
        margin-bottom: 40px;
        border: 1px solid rgba(213, 213, 213, 0.0);
    }
}
@media screen and (max-width: 680px) {

    #footer .section_one .content .items .item{
        position: relative;
        width: 100%;
        padding: 10px;
        margin-bottom: 30px;
        border-radius: 5px !important;
        background-color: rgba(63, 63, 63, 0.1);
    }

    #footer .section_two .content .items .institutions .item h2{
        position: relative;
        font-size: 16px;
        margin-bottom: 15px;
      }

      #footer .section_two .content .copyright{
        position: relative;
        margin: 0 !important;
        padding: 45px 25px !important;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }
    #footer .section_two .content .copyright h2{
        position: relative;
        font-size: 12px;
        font-weight: 400;
    }

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

    #footer .section_one .content .items .item{
        position: relative;
        width: 100%;
        padding: 10px;
        margin-bottom: 30px;
        border-radius: 5px !important;
        background-color: rgba(63, 63, 63, 0.1);
    }

    #footer .section_two .content .items .institutions .item h2{
        position: relative;
        font-size: 16px;
        margin-bottom: 15px;
      }

      #footer .section_two .content .copyright{
        position: relative;
        margin: 0 !important;
        padding: 45px 25px !important;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }
    #footer .section_two .content .copyright h2{
        position: relative;
        font-size: 12px;
        font-weight: normal;
    }

}





/**************       dark mode   ***********/
.dark-mode #footer .section_two .content img{
    filter: grayscale(100%) !important;
}
.dark-mode #footer .section_one .content .items .item h2,
.dark-mode #footer .section_one .content .items .item.gouv_actu p,
.dark-mode #footer .section_one .content .items .item.gouv_actu input,
.dark-mode #footer .section_two .content .items .image .annuaire h1,
.dark-mode #footer .section_two .content .items .image .annuaire section .links h2,
.dark-mode #footer .section_two .content .items .image .reseaux p,
.dark-mode #footer .section_two .content .items .image .annuaire h1,
.dark-mode #footer .section_two .content .items .institutions .item h2,
.dark-mode #footer .section_two .content .items .institutions .item ul li a,
.dark-mode #footer .section_two .content .links_gouv a,
.dark-mode #footer .section_two .content .copyright h2,
.dark-mode #footer .section_two .content .items .image .reseaux a{
    color: yellow !important;
}
.dark-mode #footer .section_two .content .items .image .annuaire section .links,
.dark-mode #footer .section_one .content .items .item.gouv_actu input{
    border: 1px solid yellow !important;
}
.dark-mode #footer .section_two .content .links_gouv{
    border-top: 1px solid yellow !important;
    border-bottom: 1px solid yellow !important;
}
.dark-mode .section_grands_dossiers .content .titre{
    border-top: 2px solid yellow;
}

.dark-mode .section_chiffres_cles .content .liste .titre h1::after{
   background-color: yellow !important;
}
.dark-mode #footer .section_two .content .items .image .reseaux,
.dark-mode #footer .section_one .content .items .item .card{
   background-color: rgb(48, 48, 48) !important;
}
.dark-mode .section_chiffres_cles .content #agenda h1,
.dark-mode .section_chiffres_cles .content #agenda .items .item.active{
   background-color: rgb(19, 19, 19) !important;
   background: rgb(19, 19, 19) !important;
}
.dark-mode .section_chiffres_cles .content h3,
.dark-mode .section_chiffres_cles .content{
    background-color: #000 !important;
    background: #000 !important;
}
