/*Page entière*/
:root{
    --RC-bleu-fonce: rgb(0,106,179);
    --RC-bleu-fonce-transparent50: rgba(0,106,179, 50%);
    --RC-bleu-fonce-transparent25: rgba(0,106,179, 25%);
    --RC-bleu-clair: rgb(0,167,231);
    --RC-bleu-clair-transparent50: rgba(0,167,231,50%);
    --RC-bleu-clair-transparent25: rgba(0,167,231,25%);
    --RC-rose: rgb(230,0,126);
    --fond-blanc: ghostwhite;
}

html, body{
    width: 100%;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    box-sizing: border-box;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}
body{
    display: flex;
    flex-direction: column;
}

/*Barre navigation*/
header{
    width:100%;
    height: 7%;
    background-color:var(--fond-blanc);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
#header-logo{
    height: 100%;
    width: 20%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
#logo-eva{
    height: 100%;
    width: auto;
}
.headerOrdi{
    display: none;
}
#menu{
    width: 15%;
    height: 90%;
    color:var(--RC-bleu-fonce);
    font-weight: bold;
    background-color: var(--fond-blanc);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}
#navBar{
    width: 100%;
    height: 88%;
    display: none;
    position: absolute;
    top: 7%;
    right: 0;
    background-color: var(--fond-blanc);
    z-index: 2;
    overflow-y: scroll;
    border-top: 5px solid var(--RC-bleu-fonce);
}
.navList{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
}
.navList li{
    width: 100%;
    height: 7%;
    list-style-type: none;
    border-bottom: 2px solid var(--RC-bleu-clair);
    padding: 0.5em 0;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
#reseauxNav{
    border-bottom: none;
}
.navTitre{
    width: 100%;
    color: var(--RC-bleu-fonce);
    font-size: large;
    font-weight: bold;
    text-align: center;
    background-color: var(--RC-bleu-clair-transparent50);
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
i{
    padding: 2%;
}
.navTitre a{
    width: 100%;
    text-decoration: none;
    color: var(--RC-bleu-fonce);
    font-size: large;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.btn_nav a{
    text-decoration: none;
    color: var(--RC-bleu-fonce);
    width: 100%;
    height: 100%;
    display : flex;
    justify-content: center;
    align-items: center;
}
.fab{
    font-size: 2em;
}
.diviseur{
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--RC-bleu-clair),var(--RC-bleu-fonce));
}
.haut{
    position: sticky;
    top: 0;
    z-index: 1;
}

/*main et section mise en page globale*/
main, section{
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    margin: 0;
    padding: 0;
}
main{
    height: 88%;
    background-color: var(--fond-blanc);
    justify-content: center;
    overflow-y: scroll;
}
section{
    justify-content: space-evenly;
}

h1, h2{
    width: 100%;
    color: var(--RC-bleu-fonce);
    text-align: center;
    padding: 0 5%;
}
h2{
    font-family: Arial, Helvetica, sans-serif;
}
h3{
    width: 100%;
    text-align: center;
}

h1, h2, p, a, ul, div, address, figure, li{
    box-sizing: border-box;
}
p, a, ul, li, div, address, figure, footer{
    margin: 0;
}
.gras{
    font-weight: bold;
}

/*Banderole*/
.banderole{
    width: 100%;
}

/*Haut de page*/
#haut-de-page p{
    width: 100%;
    padding: 0 10%;
    background-color: var(--RC-bleu-clair-transparent25);
    text-indent: 1em;
    text-align: justify;
    line-height: 2em;
    font-family: Arial, Helvetica, sans-serif;
}
#haut-de-page p a{
    text-decoration: none;
    color: var(--RC-bleu-fonce);
    font-weight: bold;
}
#haut-de-page p:first-of-type{
    padding-top: 5%;
}
#haut-de-page p:last-of-type{
    padding-bottom: 5%;
}

/*section pied de page*/
.pied-de-page{
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    background: linear-gradient(var(--fond-blanc) 0%, var(--RC-bleu-clair) ,var(--RC-bleu-fonce) 100%);
    font-size: small;
}
.pied-de-page > div{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 1em;
}
#menuBas{
    width: 100%;
    display:flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: flex-start;
}
#menuBas ul{
    width: 40%;
    padding: 0;
}
.pied-de-page .droite{
    text-align: right;
}
.pied-de-page .gauche{
    text-align: left;
}
.pied-de-page li{
    list-style-type: none;
}
.pied-de-page a{
    color: black;
}
.pied-de-page address{
    color: black;
    font-style: normal;
}
footer{
    width: 100%;
    height: 5%;
    background: var(--RC-bleu-fonce);
    display: flex;
    align-items: center;
}
footer address{
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
}
footer a{
    width: 100%;
    text-decoration: none;
    color: var(--fond-blanc);
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}
footer p{
    width: 40%;
    color: var(--fond-blanc);
    font-size: x-small;
    text-align: right;
}

/*Format telephones en paysage*/
@media (min-width: 567px){

}

/*Format tablettes*/
@media (min-width: 768px){
    .pied-de-page > div{
        width: 40%;
    }
}

/*Format ordis*/
@media (min-width: 992px){
    .headerOrdi{
        display: flex;
        justify-content: center;
        height: 90%;
        width: 5%;
    }
    #menu{
        font-size: large;
    }
    #menu:hover{
        cursor: pointer;
    }
    #navBar{
        width: 30%;
    }
    .btn_nav:hover{
        background-color: var(--RC-bleu-clair-transparent25);
        cursor: pointer;
    }
    #haut-de-page p{
        font-size: large;
        text-align: center;
    }
    #haut-de-page p:first-of-type{
        padding-top: 2%;
    }
    #haut-de-page p:last-of-type{
        padding-bottom: 2%;
    }
}