/* CONFIGURATION MOBILE */ 
@media all and (min-width: 0px) and (max-width: 640px)
{
    
    body
    {
        width: auto;
    }

    header img
    {
        height: auto;
        width: 200px;
    }

    .header1
    {
        margin-left: 200px;
        width: auto;
    }

    nav
    {
        width: 200px;
        height: 1500px;
        text-align: left;
        display: block;
    }

    nav ul
    {
        flex-direction: column;
        padding-left: 5px;
        list-style: none;
    }

    nav a
    {
        font-size: 16px;
    }

    nav a:hover
    {
        border-bottom: 0;
    }

    #parent ul
    {
        margin-top: 80px;
    }

    #parent
    {
        display: block;
        position: relative;
        top: 20px;
        height: 5px;
    }

    #enfant
 {
    display: none;
    background-color: white;
    border: 1px solid #8A0808;
    color: black;
    position: absolute;
    z-index: 1000;
 }

#enfant li
{
    padding: 15px;
}

#enfant ul
{
    flex-direction: column;
    margin-top: 0px;
}

#parent:hover #enfant
{
    display: block;
}

#enfant:hover
{
    display: block;
}


    .banniere
    {
        padding-left: 10px;
        margin-top: 0px;
        margin-left: 200px;
        font-size: 16px;
    }

    /* SECTION petit */
    section
    {
        flex-direction: column;
    }

    article, aside
    {
        width: auto;
        margin-top: 20px;
        margin-bottom: 20px;
        margin-left: 200px;
        font-size: 16px;
    }

    #carrousel
    {
        margin-left: 200px;
        margin-top: 20px;
    }

     aside
    {
        background-color: white;
        color: black;
        text-align: center;
    }

    aside p:last-child
    {
        text-align: center;
    }

    aside img
    {
        display: none;
    }

    .lien img
    {
        width: 50px;
        height: 50px;
    }

    .photo
    {
        display: flex;
        width: 150px;
        height: 150px;
    }

    #plan
    {
        display: flex;
        flex-direction: column;
    }

    #connexion
    {
        margin-left: 200px;
        width: 81,5%;
        text-align: center;
    }

    #containeur
    {
        display: column;
        background-color: #f9f9f9;
    }

    #logobis img
    {
        display: none;
    }

    /* FOOTER petit */
    footer p, footer ul
    {
        font-size: 16px;
    }

    footer h1
    {
        font-size: 16px;
    }
}

/* CONFIGURATION TABLETTE / PETITS ECRANS */

@media all and (min-width: 640px) and (max-width: 1250px)
{
    body
    {
        width: auto;
    }

    header img
    {
        height: auto;
        width: 200px;
    }

    .header1
    {
        margin-left: 200px;
        width: auto;
    }

    nav
    {
        width: 200px;
        height: 1500px;
        text-align: left;
        display: block;
    }

    nav ul
    {
        flex-direction: column;
        padding-left: 5px;
        list-style: none;
    }

    nav a
    {
        font-size: 16px;
    }

    nav a:hover
    {
        border-bottom: 0;
    }

    #parent ul
    {
        margin-top: 80px;
    }

    #parent
    {
        display: block;
        position: relative;
        top: 20px;
        height: 5px;
    }

    #enfant
 {
    display: none;
    background-color: white;
    border: 1px solid #8A0808;
    color: black;
    position: absolute;
    z-index: 1000;
 }

#enfant li
{
    padding: 15px;
}

#enfant ul
{
    flex-direction: column;
    margin-top: 0px;
}

#parent:hover #enfant
{
    display: block;
}

#enfant:hover
{
    display: block;
}


    .banniere
    {
        padding-left: 10px;
        margin-top: 0px;
        margin-left: 200px;
        font-size: 16px;
    }

    /* SECTION petit */
    section
    {
        flex-direction: column;
    }

    article, aside
    {
        width: auto;
        margin-top: 20px;
        margin-bottom: 20px;
        margin-left: 200px;
        font-size: 16px;
    }

    #carrousel
    {
        margin-left: 200px;
        margin-top: 20px;
    }

     aside
    {
        background-color: white;
        color: black;
        text-align: center;
    }

    aside p:last-child
    {
        text-align: center;
    }

    aside img
    {
        display: none;
    }

    .lien img
    {
        width: 50px;
        height: 50px;
    }

    .photo
    {
        display: flex;
        width: 150px;
        height: 150px;
    }

    #plan
    {
        display: flex;
        flex-direction: column;
    }

    #connexion
    {
        margin-left: 200px;
        width: 81,5%;
        text-align: center;
    }

    #containeur
    {
        display: column;
        background-color: #f9f9f9;
    }

    #logobis img
    {
        display: none;
    }

    /* FOOTER petit */
    footer p, footer ul
    {
        font-size: 16px;
    }

    footer h1
    {
        font-size: 16px;
    }
}

/*Affichage intermédiaire*/
@media all and (min-width: 1250px) and (max-width: 1480px)
{
    /* Header Moyen */
    header
    {
        background-color: white;
        font-size: 16px;
        background-color: white;
        border-width: 2px;
        border-color: #8A0808;
        border-style: none none solid none;
    }

    header img
    {
        height: 42px;
        width: auto;
    }

    nav
{
    display: flex;
    flex-direction: row;
    font-family: 'BallparkWeiner', serif;
    font-size: 14px;
    font-weight: normal;
}

nav ul
{
    list-style: none;
}

#parent
{
    height: 51px;
}

#enfant
 {
    display: none;
    position: fixed;
    background-color: white;
    border: 1px solid #8A0808;
    color: black;
    top: 51px;
    padding-bottom: 5px;
    padding-top: 5px;
 }

#enfant li
{
    padding-left: 0px;
    padding-right: 30px;
    margin-bottom: 5px;
}

#enfant ul
{
    flex-direction: column;

}

#parent:hover #enfant
{
    display: block;
}

#enfant:hover
{
    display: block;
}

.gasprom
{
    padding-left: 130px;
}

    .banniere
    {
        padding-left: 60px;
        margin-top: 60px;
    }

    /* Section Moyen */
    article
    {
        margin-top: 20px;
        width: 70%;
        margin-right: 50px;
    }

    #carrousel
    {
        margin-top: 20px;
    }

    aside
    {
        width: 30%;
        height: 30%;
        text-align: center;
        margin-top: 20px;
    }

    #connexion
    {
        margin-right: 10%;
        margin-left: 10%;
        width: 80%;
    }

    #containeur
    {
        display: flex;
        background-color: #f9f9f9;
        margin-bottom: 20px;
    }

    #logobis img
    {
        width: 100%;
        height: 20%;
    }

    #plan
    {
        display: none;
    }

    #plan img
    {
        width: 100%;
        height: 20%; 
    }

    .emission img
    {
        width: 40%;
        height: 40%;
    }

    .lien img
    {    
        width: 50px;
        height: 50px;
    }

    /* Footer Moyen*/
    footer p, footer ul
    {
        font-size: 16px;
    }

    footer h1
    {
        font-size: 16px;
    }
}

/* AFFICHAGE GRAND */
@media screen and (min-width: 1480px)
{
    /*HEADER Grand*/
    header
    {
        font-size: 16px;
        background-color: white;
        border-width: 2px;
        border-color: #1e212b;
        border-style: none none solid none;
    }

    header img
    {
        height: 42px;
        width: auto;
    }

    section header
    {
        border-width: none; 
        border-style: none;
        text-align: center;
    }

    .header1
    {
        font-size: 16px;
    }

    /* MENU Grand*/

    nav
    {
        display: flex;
        flex-direction: row;
        font-family: 'BallparkWeiner', serif;
        font-size: 18px;
        font-weight: normal;
    }

    nav ul
    {
        list-style: none;
    }

    #parent
    {
        height: 51px;
    }

    #enfant
    {
        display: none;
        position: fixed;
        background-color: white;
        border: 1px solid #8A0808;
        color: black;
        top: 51px;
        padding-bottom: 5px;
        padding-top: 5px;
    }

    #enfant li
    {
        padding-left: 0px;
        padding-right: 30px;
        margin-bottom: 5px;
    }

    #enfant ul
    {
        flex-direction: column;
    }

    #parent:hover #enfant
    {
        display: block;
    }

    #enfant:hover
    {
        display: block;
    }
    
    .gasprom
    {
        padding-left: 130px;
    }

    .banniere
    {
        padding-left: 60px;
        margin-top: 60px;
    }

    /* Section Grand */
    #plan
    {
        display: none;
    }

    article
    {
        margin-top: 20px;
        width: 70%;
        margin-right: 50px;
    }

    #carrousel
    {
        margin-top: 20px;
    }

    aside
    {
        width: 30%;
        height: 30%;
        text-align: center;
        margin-top: 20px;
    }

    #connexion
    {
        margin-right: 10%;
        margin-left: 10%;
        width: 80%;
    }

    #containeur
    {
        display: flex;
        background-color: #f9f9f9;
        margin-bottom: 20px;
    }

    #logobis img
    {
        width: 100%;
        height: 20%;
    }

    #plan img
    {
        width: 100%;
        height: 20%; 
    }

    .emission img
    {
        width: 40%;
        height: 40%;
    }

    .lien img
    {    
        width: 50px;
        height: 50px;
    }
    /* Footer Grand*/
    footer p, footer ul
    {
        font-size: 16px;
    }

    footer h1
    {
        font-size: 16px;
    }

}


/* MISE EN PAGE GENERALE*/
/* Eléments principaux de la page */

body
{
    background-color: #f9f9f9;
    font-family: 'Trebuchet MS', Arial, sans-serif;
}

body a
{
    color: #181818;
    padding-bottom: 3px;
    text-decoration: none;
}

body a:hover
{
    color: #A20021;
    border-bottom: 3px solid #A20021;
}


section h1, footer h1, nav a
{
    font-family: 'bebasneue', Dayrom, serif;
    font-weight: normal;
    text-transform: uppercase;
}

/* Header G*/

header
{
    position: fixed;
    background-color: white;
    z-index: 1;
    top: 0px;
    width: 98.85%;
    height: 50px;
    left: 8px;
}

header img
{
    position: fixed;
    top: 8px;
    left: 8px;
}

section header
{
    position: static;
    height: 60px;
    width: 100%;
    margin-top: 10px;
    text-align: center;
}

.header1
{
    display: flex;
    background: linear-gradient(#A20021, #F52F57);
    color: white;
    height: 60px;
}

/* MENU G*/

/* Corps G*/
section h2
{
    color: #A20021;
}

section
{
    display: flex;
    margin-bottom: 20px;
}

#main
{
    display: inline;
    margin-bottom: 20px;
}

section section
{
    display: inline;
}

.banniere
{
    color: white;
    background: linear-gradient(#A20021, #F52F57);
    text-align: left;
    padding-top: 20px;
    display: flex;
}

.banniere img
{
    height: 100px;
    width: auto;
    margin-left: 10%;
}

#carrousel
{
    position:relative;
    height:300px;
    width:50%;
}

#carrousel ul li
{
    position:absolute;
    top:0;
    left:0;
}

.photocarrousel
{
    height: 300px;
    width: auto;
    max-width: 100%;
}

#carrousel2
{
    height: auto;
    width: 50%;
}

#carrousel2 ul li
{
    position: absolute;
    top: 0;
    left: 0;
}

.histoire
{
    height: auto;
    width: 250px;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.radio
{
    width: 100%;
}

mark
{
    background-color: #CCA43B;
}

article
{
    padding: 10px;
    background-color: white;
    border-style: solid;
    border-color: #dedede;
    flex: 3;
    text-align: left;
    text-align: justify;
}

.EspaceM
{
    margin-right: 0px;
    background-color: #f9f9f9;
}

.forum
{
    text-align: left;
}

.forum img
{
    width: auto;
    height: 130px;
}

.forum ul
{
    list-style-type: circle;
}

article table
{
    border-collapse: collapse;
}

article thead
{
    text-align: center; 
    background-color: white;
}

article thead th
{
    border-style: solid;
    border-color: #f9f9f9;
    background-color: #f9f9f9;
    border-width: 25px;
    width: 33%;
    height: auto;
}

article tbody td
{
    width: 33%;
    height: auto;
    vertical-align: top;
    padding: 10px;
    border-style: solid;
    border-color: #f9f9f9;
    border-width: 25px;
    background-color: #E6E18F;
}

.titre
{
    color: #8A0808;
}

.article
{
    text-align: left;
    text-align: justify;
    padding-left: 5%;
    padding-right: 5%;
}

.invisible
{
    visibility: hidden;
}

.imgarticle
{
    width: 640px;
    height: 360px;
}

.numerointer
{
    width: 15%;
    height: auto;
}

.photoactu
{
    height: 200px;
    width: auto;
}

.photo
{
    display: flex;
    justify-content: space-between;
}

.cadena
{
    width: 100px;
    height: auto;
}

aside
{
    background-color: white;
    color: black;
    border-style: solid;
    border-color: #dedede;
    padding: 10px;
}


#connexion
{
    border-style: solid;
    border-width: 2px;
    border-color: #8A0808;
    background-color: white;
    height: 50%;
    margin-top: 20px;
    margin-bottom: 100px;
    box-shadow: none;
    color: black;
                    
}

#connexion1
{
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-style: none;
    background-color: #f9f9f9;
    width: 50%;
    color: black;
    text-align: left;
    max-width: 50%;
}

#semantique
{
    width: 300px;
    height: auto;
    padding: 10px;
}

.valeurs
{
    width: auto;
    height: auto;
}

.valeurs li
{
    list-style: none;
    color: white;
    font-size: 16px;
    background-color: #8A0808;
    margin: 10px;
    border-style: solid;
    border-width: 2px;
    border-color: #1e212b;
}


/* Footer G */

footer
{
    display: flex;
    background: linear-gradient(#F52F57, #A20021);
    color: white;
}

#contact
{
    width: 100%;
    text-align: center;
}
