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

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

body{
    margin: 0 !important;
    padding: 0 !important;
    font-family: Poppins, Helvetica, sans-serif;
}
#footer{
    position: relative;
    width: 1300px;
    padding: 0 !important;
    font-family: 'Poppins', sans-serif !important;
    margin: auto ;
    margin-left: -25px;
}



/********************************************************          Section two    ********************************/

#footer .section_two{
    position: relative;
    background-color: #070707;
    padding: 0px 25px;  
    margin: auto;
    width: 100%;
    padding-top: 50px;
}
#footer .section_two .content {
    opacity: 1;
}
#footer .section_two .content .items{
    position: relative;
    width: 100%;
    display: flex;
}
#footer .section_two .content .items .image{ /* Log & reseaux **/
    position: relative;
    width: 580px;
    margin-right: 5px;
    display: flex;
    flex-direction: column;
}
#footer .section_two .content .items .image .logo{
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    /* border: 1px solid red; */
}
#footer .section_two .content .items .image .logo img{
    position: relative;
    width: 120px !important;
    margin-right: 0px;
    margin-top: -15px;
}
#footer .section_two .content .items .image .logo h2{
    position: relative;
    font-size: 14px;
    color: var(--blanc);
    margin-left: 15px;
    text-transform: uppercase;
}


#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 .thematiques{
    position: relative;
    width: auto;

    display: flex;
    flex-direction: column;
    margin-left: 40px;
}
#footer .section_two .content .items .thematiques h2{
    position: relative;
    width: 100%;
    border-bottom: 1px solid rgba(167, 167, 167, 0.3);
    font-size: 20px;
    color: rgb(228, 228, 228);
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-bottom: 10px;
}
#footer .section_two .content .items .thematiques .liste{
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px 25px;
}
#footer .section_two .content .items .thematiques .liste li{
    position: relative;
    margin: 0;
    padding: 0 !important;
    margin-bottom: 6px !important;
    padding-bottom: 6px !important;
    list-style: none;
    border-bottom: 1px dotted rgba(167, 167, 167, 0.3);
}
#footer .section_two .content .items .thematiques .liste li a{
    position: relative;
    display: flex;
    align-items: flex-start;
    font-size: 11px;
    color: rgb(195, 195, 195);
    transition: all ease-in 0.3s;
    text-decoration: none;
    padding: 0 !important;
    text-transform: uppercase;
}
#footer .section_two .content .items .thematiques .liste li a span{
    font-size: 9px;
    margin-right: 4px;
    margin-top: 1px;
}
#footer .section_two .content .items .thematiques .liste 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;
    text-decoration: none;
    transition: ease all 0.3s;
}
#footer .section_two .content .links_gouv a:hover{
    position: relative;
    text-decoration: underline;
}
#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: 25px 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: 30px;
        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;
        width: 100%;
        margin: auto;
        padding: 0px;
    }
    #footer .section_one .content .items .item h2{
        position: relative;
        font-size: 25px;
        color: var(--blanc);
        font-weight: 600;
        margin-bottom: 25px;
    }

}
@media screen and (max-width: 1150px) {
    #footer .content{
        position: relative;
        width: 100%;
        margin: auto;
        padding: 0px;
    }
    #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;
    }
    #footer .section_two .content .items{
        position: relative;
        width: 100%;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        /* border: 1px solid rgb(43, 255, 0); */
        padding: 0px;
    }
    #footer .section_two .content .items .image{
        position: relative;
        width: 100%;
        margin-right: 0px;
        display: flex;
        flex-direction: column;
        margin-bottom: 35px;
    }
    #footer .section_two .content .items .image .logo{
        position: relative;
        width: 100%;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
    }
    #footer .section_two .content .items .thematiques{
        position: relative;
        width: 100%;
        margin-left: 25px;
        margin-right: 25px;
        padding-right: 25px;
    }
    #footer .section_two .content .items .thematiques .item{
        position: relative;
        width: 49%;
        margin-bottom: 40px;
        border: 1px solid rgba(213, 213, 213, 0.0);
    }
}

@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;
    }

    #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 .thematiques{
        position: relative;
        width: 100%;
        margin-left: 0px;
    }

    #footer .section_two .content .items .thematiques .liste{
        position: relative;
        width: 100%;
        margin: 0;
        padding: 0;

        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px 15px;
    }





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

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

    #footer .section_two .content .items .image .reseaux p{
        position: relative;
        font-size: 13px;
        margin: 0 !important;
        margin-bottom: 5px !important;
    }


    #footer .section_two .content .items .thematiques .liste{
        position: relative;
        width: 100%;
        margin: 0;
        padding: 0;

        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 5px 15px;

        overflow-y: scroll;
        max-height: 500px;
        scroll-behavior: smooth;
        padding-top: 3px;
    }

    /* WebKit-based browsers */
    #footer .section_two .content .items .thematiques .liste::-webkit-scrollbar {
        width: 1px;
    }

    #footer .section_two .content .items .thematiques .liste::-webkit-scrollbar-track {
        background: #c5c5c5;
        border-radius: 5px;
    }

    #footer .section_two .content .items .thematiques .liste::-webkit-scrollbar-thumb {
        background: var(--orange); /* red color for example */
        border-radius: 5px;
    }

    #footer .section_two .content .items .thematiques .liste::-webkit-scrollbar-thumb:hover {
        background: #900; /* darker red on hover */
    }

}
@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 .thematiques .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 .thematiques .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 .thematiques .item h2,
.dark-mode #footer .section_two .content .items .thematiques .liste 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;
}
