/* Couleurs : 

Voir commun.css

 */

/* PAGE ACCUEIL --------------------------------------------------------------------- */

body{
    background: #F2F6F7;
    height: auto;
}

header{
    width: 100%;
    height: 7.5em;
    background: #fff; 
    z-index: 999;
}

.header{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.container{
    max-width: 85.375em;
    padding: 0;
}

.row{
    margin: 0;
}

.div-evitement{
    width: 100%;
    height: auto;
    background: #3D566E;
    top: 0;
    left: 0;
}

.div-evitement ul{
    margin: 0;
    padding: 0;
}

.div-evitement li{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.div-evitement a{
    position: absolute;
    left: -437.5em;
    padding: 0;
    margin-left: 0.625em;
    color: #fff;
    text-decoration: none;
}

.div-evitement a:focus{
    position: static;
    top: .2em;
    left: 0;
}

#logomarianne {
    width: 5.3125em;
    height: 100%;
    margin-right: 1.25em;
}

#logopsup {
    width: 15.625em;
    height: 100%;
}

.psup-header{
    width: auto;
    margin-left: 1.875em;
    margin-right: 1.6875em;
    padding: 0;
    box-sizing: border-box;
}

.psup-header a:hover{
    text-decoration: none;
}

.reseaux-sociaux{
    height: 100%;
    display: flex;
    flex-direction: row;
    padding: 0;
}

.reseaux-sociaux ul{
    width: 100%;
    height: 100%;
    display: flex;
    margin-right: 0.625em;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 0;
    padding: 0;
}

.reseaux-sociaux ul li{
    display: inline-block;
    list-style: none;
    margin-right: 1em;
}

.reseaux-sociaux ul li a{
    font-size: 1.125em; 
    color: #3D566E;
    font-weight: 600;
}

.reseaux-sociaux ul li a:hover{
    color: #8B97A9;
    text-decoration: none;
    transition: .2s;
}

#liens-fb{
    margin: 0 0.1875em 0 0;
}

#se-connecter{
    width: 10.625rem;
    height: auto;
    border: 0;
    box-shadow: 0 0.125em 0.625em rgba(0, 0, 0, 0.16), 0 0.125em 0.3125em rgba(0, 0, 0, 0.26);
    border-radius: 0.3125em;
    background-color: #ffffff;
    font-family: Arial;
    font-size: 1.125em;
    font-weight: 700;
    color: #3d566e;
    padding: 0.625rem;
}

#dropdown-menu-se-connecter{
	position: relative;
	display: inline-block;
}
#dropdown-menu-se-connecter .dropdown-content {
	display: none;
	position: absolute;
	min-width: auto;
	z-index: 1;
	right : 0;
	border: 0;
	box-shadow: 0 0.125em 0.625em rgba(0, 0, 0, 0.16), 0 0.125em 0.3125em rgba(0, 0, 0, 0.26);
	border-radius: 0.3125em;
	background-color: #ffffff;
	font-family: Arial;
	font-size: 1rem;
	font-weight: 700;
	color: #3d566e;
}
#ul-dropdown{
	display: flex;
	flex-direction: column;
	padding: 0.625rem 0.625rem 0.625rem 0;
}

#ul-dropdown li{
	margin-left: auto;
	margin-right: 0.625rem;
}

#ul-dropdown li:nth-of-type(1){
	padding-bottom: 0.3125rem;
}

#ul-dropdown li a{
	display: inline-block;
	width : auto;
	text-align: right;
	white-space : nowrap;
	background-color : transparent;
	padding: 0 0 0.15rem 0;
	
}

#ul-dropdown li a span{
	margin-top: 0.1875rem;
} 

main{
    padding-left: 2.5em;
    padding-right: 2.5em;
}

#main{
    background: #fff;
} 


footer{
    width: 100%;
    background-color: #3D566E;
}

footer div ul li h2{
    color: #ffffff;
    font-family: Arial;
    font-size: 1.25em;
    font-weight: 700;
}

.footer-main div{
    padding: 0;
}

footer div div img{
    width: 24em;
    height: 4.375em;
    margin-left: 2.5em;
}

.logo-ministere{
    display: flex;
    align-items: center;
}

.logo-ministere img{
     width: 72.5%;
}

.lien-ministere1{
    display: flex;
}

.liste_gauche{
    width: 55%;
}

#liste_milieu{
   width: 45%;
   padding-left: 4%; 
}

.liste_gauche ul, .liste_droite ul{
    list-style: none;
    padding-left: 5%;
}

#liste_milieu ul{
    list-style: none;
    padding-left: 5%;
}

#liste_milieu a, .liste_gauche a, .liste_droite a{
    color: #ffffff;
    font-family: Arial;
    font-size: 0.875em;
}

.liste_gauche li:nth-of-type(1), .liste_droite li:nth-of-type(1){
    margin: 1.25em auto;
}

.li-footer{
    margin-top: -0.1875em;
}

#liste_milieu{
    margin-top: 4.0625em;
}

#hamburger{
    padding: 0;
    border: none;
    background: none;
    color: #3D566E;
}

#hamburger:hover{
    cursor: pointer;
}

#close{
    padding: 0;
    border: none;
    background: none;
    color: #8B97A9;
}

#close:hover{
    cursor: pointer;
}

.div-hamburger{
    width: auto;
    height: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: flex-end;
    right: 1.875em;
    z-index: 9999;
}

.contenu-hamburger{
    width: 70%;
    height: 100vh;
    display: none;
    right: 0;
    top: 0;
    justify-content: flex-end;
    position: absolute;
}

.contenu-hamburger ul{
    width: 70%;
    height: 100vh;
    padding-top: 5.625em;
    z-index: 999;
    background: #fff;
    text-align: left;
}

.contenu-hamburger ul li{
    list-style: none;
    margin-right: 2.5em;
    padding: 0.625em 0;
}

.contenu-hamburger ul li a{
    color: #3D566E;
    font-weight: 500;
}

.contenu-hamburger ul li:nth-of-type(1){
    text-align: left;
    border-top: 0.125em solid #EA7152;
    border-bottom: 0.125em solid #EA7152;
}

.highlighted-a-menu{
	background-color: #ed7454;
}

@keyframes slideIn{
    from{
        transform:translateX(3.125em);opacity:0;
    }
    to{
        transform:translateX(0);opacity:1;
    }
}

.menu-actif{
    display: flex !important;
    animation: slideIn .4s forwards;
}

@keyframes slideOut{
    from{
        right:0;opacity:1;
    }
    to{
        right:-40.625em;
        opacity:0.8;
    }
}

.menu-out{
    animation: slideOut .2s forwards;
}

.blur{
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.hover-center{
    display: flex;
    justify-content: center;
}


#li-questions-frequentes{
	height: 100%;
}

#link-dropdown-questions-frequentes{
	width: 100%;
    height: 100%;
    align-items: center;
    display: flex;
    justify-content: center;
}


/** RESPONSIVE PAGE ACCUEIL -------------------------------------------------------------------------**/

@media (min-width : 1334px) {
    .menu-hamburger{
        display: none;
    }
    
/*     a.evitement-mobile{ */
/*         display: none; */
/*     } */
    
    .nav-skip-mobile{
        display: none;
    }
}

@media (max-width: 1333px) {
    
    header{
        position: fixed;
        top: 0;
        height: 5.625em;
    }
    
    main{
        padding-left: 3.125em;
        padding-right: 3.125em;
    }
    
    .reseaux-sociaux{
        display: none;
    }
    
/*     a.evitement{ */
/*         display: none; */
/*     } */
    
    .div-evitement-mobile{
        width: 100%;
        height: auto;
        background: #3D566E;
        top: 0;
        left: 0;
    }

    .div-evitement-mobile ul{
        margin: 0;
        padding: 0;
    }

    .div-evitement-mobile li{
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

    .div-evitement-mobile a{
        position: fixed;
        height: auto;
        left: -437.5em;
        padding: 0;
        margin-left: 0.625em;
        color: #fff;
        text-decoration: none;
    }

    .div-evitement-mobile a:focus{
        position: absolute;
        top: .2em;
        left: 0;
    }

   .lien-ministere1{
        justify-content: space-around;
    }

    #liste_milieu ul{
        margin: -6%;
    }
    
    .liste_gauche {
        width: 50%;
    }
    
    #logomarianne {
        width: 5em;
    }
    
    #logopsup {
        width: 14.375em;
    }
    
}

@media (max-width: 1100px) {
    
    header{
        height: 4.6875em;
    }
    
    #logomarianne {
        width: 4.375em;
    }
    
    #logopsup {
        width: 13.125em;
    }
    
    .contenu-hamburger ul{
        padding-top: 4.6875em;
    }

}

@media (min-width: 992px) {

    .footer-main-tablette{
        display: none;
    }
    
    .footer-main{
        display: flex;
    }
}

@media (max-width: 991px) {
    
    .footer-main-tablette{
        display: flex;
    }
    
    .footer-main{
        display: none;
    }
    
    main{
        padding-left: 0.3125em;
        padding-right: 0.3125em;
    }
    
    .contenu-hamburger ul{
        width: 80%;
        height: 100vh;
        z-index: 999;
        background: #fff;
        text-align: left;
    }
    
    #logomarianne {
        width: 3.75em;
    }
    
    #logopsup {
        width: 12.5em;
    }

    footer div div img{
        margin: auto;
        padding-top: 0.625em;
        height: 6.25em;
    }
    
    .liste_gauche {
        width: auto;
        margin: auto;
    }
    
    .liste_gauche ul{
        padding: 0;
        text-align: center;
    }

    .liste_droite {
        width: auto;
        margin: auto;
    }
    
    .liste_droite ul{
        padding: 0;
        text-align: center;
    }
    
    @keyframes slideOut{
        from{
            right:0;opacity:1;
        }
        to{
            right:-37.5em;opacity:0.8;
        }
    }
}

@media (max-width: 767px) {
    
     header{
        height: 4.375em;
    }
    
    .psup-header{
        margin: auto;
    }
    
    .contenu-hamburger ul {
        width: 100%;
        padding-left: 0.9375em;
        padding-top: 4.375em;
    }
    
    #logomarianne{
        display: none;
    }
    
    #logopsup{
        width: 12.5em;
    }

    footer div div img {
        height: 6.25em;
    }
    
    .lien-ministere1{
        justify-content: space-around;
    }
    
    .liens-reseaux-sociaux div:nth-of-type(1){
       text-align: center;
       margin-bottom: 0.6875em;
   }

   .reseaux-etudiant-gouv p{
       text-align: center;
       width: 100%;
   }

   .reseaux-etudiant-gouv p img{
       width: auto;
   }
    
    .div-hamburger {
        right: 1.25em;
    }
    
}

@media (max-width: 700px) {
    
    @keyframes slideOut{
        from{
            right:0;opacity:1;
        }
        to{
            right:-28.125em;opacity:0.8;
        }
    }
    
}

@media (max-width: 600px) {
    
    @keyframes slideOut{
        from{
            right:0;opacity:1;
        }
        to{
            right:-21.875em;opacity:0.8;
        }
    }
    
}

@media (max-width: 500px) {
    
    @keyframes slideOut{
        from{
            right:0;opacity:1;
        }
        to{
            right:-18.75em;opacity:0.8;
        }
    }
    
    #logopsup{
        width: 11.25em;
    }
    
    #hamburger {
        font-size: 1.875em;
    }
    
}

@media (max-width: 400px) {

    .baniere{
        height: 12.5em;
    }
    
    @keyframes slideOut{
        from{
            right:0;opacity:1;
        }
        to{
            right:-15.625em;opacity:0.8;
        }
    }
    
    #hamburger {
        font-size: 1.625em;
    }
    
    #logopsup{
        width: 10em;
    }
    
}
