/* Définition des polices personnalisées */

/* @font-face
{
    font-family: 'BallparkWeiner';
    src: url('polices/ballpark.eot');
    src: url('polices/ballpark.eot?#iefix') format('embedded-opentype'),
         url('polices/ballpark.woff') format('woff'),
         url('polices/ballpark.ttf') format('truetype'),
         url('polices/ballpark.svg#BallparkWeiner') format('svg');
    font-weight: normal;
    font-style: normal;
} */

/* @font-face
{
    font-family: 'Dayrom';
    src: url('polices/dayrom.eot');
    src: url('polices/dayrom.eot?#iefix') format('embedded-opentype'),
         url('polices/dayrom.woff') format('woff'),
         url('polices/dayrom.ttf') format('truetype'),
         url('polices/dayrom.svg#Dayrom') format('svg');
    font-weight: normal;
    font-style: normal;
} */

/*Elements principaux de la page*/
body
{
    font-family: 'Trebuchet MS', Arial, sans-serif;
    color: #181818;
}

#bloc_page
{
    width:80%;
    margin:auto;
}

section h1, footer h1, nav a
{
    font-weight: bold;
    text-transform: uppercase;
}

/*Header*/
header
{
    margin-top: 20px;
    background: url("images/separateur.png") repeat-x bottom ;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

#titre_principal
{
    display: flex;
    flex-direction: row;
    text-align: center;
}

#logo
{
    display: flex;
    flex-direction: row;
    align-items: baseline;
    height: 180px; 

}

#logo img
{
    float:right;
    width: 175px;
    height: 170px; 
}

header h1
{
    font-family: 'BallparkWeiner', serif;
    font-size: 3.6em;
    font-weight: normal;
    margin-top: auto;
}

header h2
{
    font-family: Dayrom, serif;
    font-size: 1.1em;
    margin-top: 0px;
    font-weight: normal;
}

/*Navigation*/

nav ul
{

    list-style: none;
    display: flex;
    flex-direction: row;
}

nav li
{
    margin-right: 15px; 
}

nav a
{
    font-size: 1.3em;
    color: #181818;
    padding-bottom: 3px;
    text-decoration: none;
}

nav a:hover
{
    color: #760001;
    border-bottom: 3px solid #760001;
}


/* Bannière */

#banniere_image
{
    margin-top: 15px;
    height: 200px;
    border-radius: 5px;
    background: url('images/annivjsp.jpg') no-repeat center top ;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    box-shadow: 0px 4px 4px #1c1a19;
    margin-bottom: 25px;
}

#banniere_description
{
    position: absolute;
    bottom: 0;
    border-radius: 0px 0px 5px 5px;
    width: 97%;
    height: 33px;
    padding-top: 15px;
    padding-left: 30px;
    background-color: rgba(24,24,24,0.8);
    color: white;
    font-size: 1em;
    
}

.bouton_rouge
{
    height: 25px;
    position: absolute;
    right: 5px;
    bottom: 5px;
    background: url('images/fond_degraderouge.png') repeat-x;
    border: 1px solid #760001;
    border-radius: 5px;
    font-size: 1.2em;
    text-align: center;
    padding: 3px 8px 0px 8px;
    color: white;
    text-decoration: none;
}

.bouton_rouge img
{
    border: 0;
}


/* Corps */


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

.membre
{
   flex-direction: column;
}
.membre div
{
    text-align: right;
}

.membre a
{
    text-decoration: none;

}

.membre a:hover
{
    color: #760001;
    border-bottom: 1px solid #760001;
}

article
{
    text-align: justify;
}

article
{
    margin-right: 20px;
    flex: 3;
}

.ico_categorie
{
    vertical-align: middle;
    margin-right: 8px;
}

article
{
    font-size: 1em;
}

aside
{
    flex:1.6;/* 1.2;*/
    position: relative;
    background-color: #706b64;
    box-shadow: 0px 2px 5px #1c1a19;
    border-radius: 5px;
    padding: 10px;
    color: white;
    font-size: 1em;
    text-align: justify;
}

.module
{
    color: white;
    text-decoration: none;
}

.module:hover
{
    color: #760001;
    border-bottom: 3px solid #760001;
}

#fleche_bulle
{
    position: absolute;
    top: 100px;
    left: -12px;
}

#photo_caserne
{
    text-align: center;
    
}

#photo_caserne img
{
    box-shadow: 0px 4px 4px #1c1a19;
    height:200px;
}

aside img
{
    margin-right: 5px;
}

aside a
{
    color: darkblue;
}

aside ul
{
    padding-left: 20px;
}

/* Footer */

footer
{
    display: flex;
    background: url('images/separateur.png') repeat-x top;
    padding-top: 25px;
    justify-content: center;
}

footer p, footer ul
{
    font-size: 0.8em;

}

footer h1
{
    font-size: 1.1em;
}

#retour
{
    margin-top: 0;
}

@media (max-width: 700px)
{
    header h1
    {
        font-size: 2em;
    }
    section
    {
        flex-direction: column;
    }
    #logo img
    {
        width: 100%;
        height: auto;
    }

    #retour
    {
        display: none;
    }

    #banniere_description
    {
        width: 92%;
    }
}