html
{
    display: flex;
    flex-direction: column;
}
body
{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
#page {
    display: flex;
    flex-direction: column;
    min-height: 99vh;
    margin: 0 auto;
    width: 95%;
}
@media (max-width: 850px)
{
    body
    {
        min-height: 0;
    }
}
body
{
    background: #fdf1b8 url(../img/fond/fond8.jpg);
    font-family: 'Open Sans Condensed', sans-serif;
    color: #2f4f4f;
}
#banniere
{
    display : flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    padding-top: 25px;
}
#banniere .banniereLogoTitre
{
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
}
.banniereTitre h1
{
    font-family: 'Sacramento', cursive;
    font-size: 80px;
    padding-left: 325px;
    font-weight: 500;
    text-align: left;
    color: #2f4f4f;
}
.banniereTitre h2
{
    font-family: 'Sacramento', cursive;
    font-size: 60px;
    padding: 2px 0 0 455px;
    font-weight: 500;
    font-style: normal;
    text-align: left;
    color: #708090;
}
#contenuA
{
    flex: 1 1 auto;
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
}
#navigation
{
    align-self: center;
    width: 300px;
}
.mobile
{
    display: none;
}
#menu li a
{
    display: block;
    padding: .5em 1em;
    color: #2f4f4f;
    font-weight: bolder;
    font-size: 1.4em;
    text-decoration: none;
}
#navigation a:hover,
#menu li a:hover,
#menu li a.pageActive
{
    background-color: snow;
    border-radius: 10px;
    font-size: 1.5em;
    margin-bottom: 5px;
}
#main
{
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
}
#detail
{
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#texteImage
{
    flex: 1 1 auto;
    display: flex;
    flex-flow: row nowrap;
    align-content: center;
    justify-content: space-around;
}
.texte
{
    align-self: center;
    display: flex;
    flex-flow: column nowrap;
    align-content: center;
    font-family: 'Parisienne', cursive;
}
.texte
{
    padding-left: 50px;
    font-size: 24px;
    line-height: 24px;
    font-weight: 500;
    margin-right: 50px;
    width: 450px;
    color: #000000;
}
.texteTitre
{
    font-size: 30px;
    font-weight: 700;
    line-height: 30px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: 'Open Sans Condensed', sans-serif;
}
.miseEnValeur {
    font-size: 25px;
    font-weight: bold;
}
.image
{
    align-self: center;
}
#piedDePage
{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
#navFooter
{
    display: flex;
    flex-direction: row;
    flex: 1 1 auto;
    justify-content: center;
}
.logoMetier img
{
    width: 116px;
    height: 83px;
    align-self: center;
}
#navFooter
{
    padding: 10px;
    list-style: none;
}
#navFooter a
{
    font-size: 1.2em;
    text-decoration: none;
    font-weight: bolder;
    color: #2f4f4f;
    padding-left: 10px;
}
#navFooter a.pageActive,
#navFooter a:hover
{
    font-size: 1.25em;
    background-color: snow;
    border-radius: 10px;
    padding-right: 10px;
}
@media (max-width: 1700px)
{
    #banniere
    {
        padding-top: 18px;
    }
    .banniereTitre h1
    {
        padding-left: 250px;
        font-size: 70px;
    }
    .banniereTitre h2
    {
        padding: 2px 0 0 325px;
        font-size: 50px;
    }
    .logoMetier img
    {
        width: 86px;
        height: 62px;
        align-self: center;
    }
}
@media (max-width: 1370px)
{
    #banniere
    {
        padding-top: 15px;
    }
    .banniereTitre h1
    {
        padding-left: 250px;
        font-size: 53px;
    }
    .banniereTitre h2
    {
        padding: 2px 0 0 325px;
        font-size: 39.5px;
    }
    #navigation
    {
        width: 250px;
    }
    #menu li a
    {
        font-size: 1.15em;
    }
    #navigation a:hover,
    #menu li a:hover,
    #menu li a.pageActive
    {
        font-size: 1.2em;
    }
    .texte
    {
        padding-left: 30px;
        font-size: 18px;
        margin-right: 40px;
        width: 450px;
        padding-right: 10px;
    }
    .texte .texteTitre
    {
        font-size: 20px;
        line-height: 20px;
    }
    .miseEnValeur
    {
        font-size: 19px;
    }
    .logoMetier img
    {
        width: 82px;
        height: 59px;
        align-self: center;
    }
}
@media (max-width: 940px)
{
    .banniereTitre h1
    {
        text-align: center;
        padding-left: 10px;
        font-size: 32px;
    }
    .banniereTitre h2
    {
        text-align: center;
        padding: 0 0 0 40px;
        font-size: 24px;
    }
    #contenuA
    {
        flex-direction: column;
    }
    .mobile
    {
        display: block;
    }
    #navigation
    {
        order: 1;
        width: 100%;
        text-align: center;
    }
    #navigation a
    {
        color: #2f4f4f;
        font-weight: bolder;
        font-size: 1em;
        text-decoration: none;
    }
    #navigation a:hover
    {
        font-size: 1em;
    }
    #menu,
    #menu.masquer
    {
        height: 0;
    }
    #menu.afficher
    {
        height: 100%;
    }
    #menu
    {
        transition: height 1s;
        overflow: hidden;
    }
    #main
    {
        flex-basis: auto;
        order: 2;
    }
    #texteImage
    {
        flex-flow: column;
    }
    .texte
    {
        font-size: 14px;
        margin-right: 0;
        width: auto;
    }
    .texte .texteTitre
    {
        font-size: 16px;
        line-height: 16px;
    }
    .miseEnValeur
    {
        font-size: 15px;
    }
    .image
    {
        align-self: center;
        padding-top: 20px;
    }
    #piedDePage
    {
        padding: 5px;
    }
    #navFooter a
    {
        font-size: 12px;
    }
    #navFooter a:hover
    {
        font-size: 16px;
    }
    .logoMetier img
    {
        width: 39px;
        height: 28px;
        align-self: center;
    }
}