header {

    position: relative;

    height: 120px;

    z-index: 331;

    margin: 0;

}
nav .close {
    display: none; /* Caché par défaut */
    color: var(--cream) !important;
    cursor: pointer;
    font-size: 50px;
}
nav .menu.active ~ .close {
    display: block;
}
/* header i.close.fa-xmark {

    display: none !important;

    visibility: hidden;

    opacity: 0;

    width: 0;

    height: 0;

    pointer-events: none;

    position: absolute;

} */



header .top,

header nav {

    position: relative;

    box-shadow: 3px 3px 7px #4e4e4e;

}



header .top {

    height: 30px;

}



header.fixed nav {

    position: fixed;

    top: 0;

    width: 100%;

}



header nav ul li a:focus {

    /* color: var(--yellow); */

}



.top a {

    /* padding: 0 0 0 20px; */

}



.top a i {

    font-size: 20px;

}



.top a i.text {

    padding: 0 10px;

    font-size: 15px;

}

   .hidden {

    display: none !important;

}



.nav-item * {

    /* text-transform: capitalize; */

    font-family: sans-serif;

    font-size: 15px;

}



#about {

    box-sizing: border-box;

    border: solid 1px var(--cream);

}



footer {

    position: relative;

    border: solid 1px var(--green-3-o);

    background: #e2e2e2;

    padding: 0;

}



.dropdown-menu {

    position: absolute !important;

    width: 100% !important;

}



nav * {

    display: flex;

    align-items: center;

    justify-content: center;

}



nav {

    padding: 0 20px;

    background: var(--blue-2);

    width: 100%;

    height: 90px;

    display: flex;

    align-items: center;

    justify-content: space-between;



}



nav .icon {

    display: none;

}

nav .head-menu {

    display: none;

}

nav a{

    color: var(--cream) !important;

}

nav .logo {

    margin: 0;

}

/* nav .menu {

    display: flex;

    height: 100%;

} */

nav ul {

    align-items: center;

    display: flex;

    justify-content: space-between;

    margin: 0;

    height: 100%;

    background-color: var(--blue-2);



}



nav ul li {

    list-style: none;

    padding: 10px 25px;

    font-weight: 600;

    height: 100%;

    border-bottom: var(--blue-2) solid;

}



nav ul li:hover {

    border-bottom: solid var(--yellow);

}



nav li a {

    cursor: pointer;

    color: var(--cream);

    text-decoration: none;

}



nav li .sub-menu {

    top: 100%;

    left: 0;

    width: 100%;

    height: 0px;

    position: absolute;

    background: var(--cream);

    overflow: hidden;

    box-shadow: 3px 3px 7px #9b9b9b;

}



nav li .sub-menu a{

    color: var(--blue-2) !important;

}



nav li .sub-menu.active{

    height: 200px;

}



nav li .sub-menu .btn{

    color: var(--blue-2) !important;

    border: var(--blue-2) solid 1px!important;

    border-radius: 1px;

    padding: 7px 30px;

}

nav li .sub-menu .btn:hover{

    background: var(--blue-2);

    color: var(--cream) !important;

}



nav li .sub-menu .desc{

    color: var(--blue-2);

    font-size: 14px;

    font-weight: 100;

    text-align: justify;

}

nav li .sub-menu a{

    margin: 3px 0;

}

 /* font size pour les lien du navbar */

    nav ul li a{

    font-size: 0.8rem;

}



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

/* Disposition de la barre de navigation pour ecran<1024px */

   nav{

    display: flex;

    justify-content: space-between;

    align-items: center;



   }

   

   /* Masque le menu */

     nav ul {

        display: none;  

    } 

    nav .icon, nav .head-menu {

        color: var(--cream);

        display: flex;

        cursor: pointer;

        /* padding-right: 1em; */

    }
    nav .icon, nav .close {
        color: var(--cream);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 50px;
    }

    nav .close {

        color: var(--cream) !important;
        cursor: pointer;
        display: none;
        font-size: 40px;

    }
    nav.close.show {

        display: flex;

    }

    nav .head-menu img{

        width: 60px;

        height: 60px;

    }

    nav .icon{

       font-size: 50px;

    }

    /* nav .close{

       font-size: 50px;

    } */

     nav .head-menu{

        flex-direction: row;

        justify-content: space-between;

        padding: 0;

        z-index: 5;

        height: 80px;

        

        

    } 

    

     nav .menu{

        display: block;

        position: absolute;

        top: -30px !important;

        width: max-content;

        height: 100vh;

        left: -1000px;

        top: 100%;

        width: 300px;

        transition: 500ms;

        background: var(--blue-2);

        overflow: auto;

        z-index: 1000;

    }

    nav .menu.active{

        left: 0;

    }

     nav .head-menu{

        flex-direction: row;

        justify-content: space-between;

        padding: 0;

        z-index: 5;

        height: 80px;

        /* padding: 0 15px; */

        

    } 

    nav .head-menu *{

        width: max-content;

    }

    nav ul li {

        border-bottom: var(--blue-2) solid;

        height: max-content;

        position: relative;

        display: flex;

        flex-direction: column;

        width: 100%;

        padding: 0;

        margin: 0;

        border: solid 1px var(--cream);

    }

   

    nav li a {

        padding: 10px 0;

    }



    nav ul li:hover {

        border-bottom: unset;

    }



    nav li .sub-menu {

        position: unset;

        top: 100%;

        width: 100%;

    }

    nav li .sub-menu.active{

        height: max-content;

        padding: 10px 0;

        display: flex;

        flex-direction: column;

    }

 

    /* Alignement du texte du pied de page */

    footer .foot-center {

        text-align: center;

    }

    /* alignement de la derniere partie du footer pour ecran<1024px */

    .foot{

        display: flex;

        flex-direction: column;

    }

   

} 



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

/* taille de police pour ecran entre 1024px et 1200 */

nav ul li a{

    font-size: 0.5rem;

}

/* alignement de la derniere partie du footer */

.foot{

        display: flex;

        flex-direction: column;

    }

    /* taille de police pour ecran entre 1024px et 1200 dans le pied de page */

    footer{

        font-size: 0.7rem;

    }

    



}




/*MON CODE*/

#index_carousel_mini{

    display: none;

}

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

    /*Enlever le logo du campus pour les petits-apareils*/

    #footer_logo_chcl {

        display: none;

    }

}


