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

@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;
}

/* Eléments principaux de la page */

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

#bloc_page
{
    width: 900px;
    margin: auto;
}

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

/* Header */

header

#logo
{
    display: flex;
    flex-direction: row;
    
}
#logo img
{
    width: 12%;
    height: 16%;
	border-radius: 5px 5px 5px 5px;
	margin-top: 10px;
}

#titre_principal
{
    display: flex;
    flex-direction: row;
    	
}


header h1
{
    font-family: Dayrom, serif;
    font-size: 2.5em;
    font-weight: normal;
	margin-left:50px;
   

}

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

/* Navigation */

nav ul
{
    list-style-type: none;
    display: flex;
}

nav li
{
    margin: auto;
}

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

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

/* Bannière */

#banniere_image
{
    margin-top: 1px;
    height: 117px;
    border-radius: 5px;
   
    position: relative;
    box-shadow: 0px 4px 4px 10px #c1b9ae;
    margin-bottom: 25px;
}

#banniere_description
{
    position: absolute;
    bottom: 0;
   
    width: 100%;
    height: 28px;
    padding-top: 15px;
    padding-left: 4px;
    background-color: #c1b9ae;
    color: white;
    font-size: 0.8em;
  
}

.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 */
{
	font-weight: bold;
	font-size: 1.5em;
}

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

figure
{
	font-family: Times New Roman, serif;   
    font-size: 1.em;
	margin-left: 0px;
	
    
}



article,aside
{
    text-align: justify;
    
}

article
{
    margin-right: 20px;
    text-align: justify;
}



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

article p
{font-family: Times New Roman, serif;
    font-weight: normal;
    font-size: 1em;
}

article ul
{
	display: flex;
    flex-direction: row-reverse;
    list-style-type: none;
    
}

nav a
{
    font-size: 0.9em;
    color: #173777;
    padding-bottom: 3px;
    text-decoration: none;
}
aside
{
    width: 400px;
    position: relative;
    background-color: #a09990;
    box-shadow: 0px 2px 5px #1c1a19;
    border-radius: 5px;
    padding: 10px;
    color: white;
    font-size: 0.9em;
	
}
aside h2
{
    font-family: Times New Roman, serif;
    font-size: 1.2em;
    margin-top: 0px;
    font-weight: bold;
	
}

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


aside img
{
    margin-right: 5px;
	border-radius: 5px;
}

/* Footer */

footer
{
    display: flex;
    justify-content: space-between;
    background-color: #706b64;
    padding-top: 25px;
    box-shadow: 0px 2px 5px #1c1a19;
    border-radius: 5px;
    font-size: 1.2em;
    text-align: left;
    padding: 3px 8px 0px 8px;
    color: white;
    text-decoration: none;
}


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

footer h1 
{
    font-size: 1.1em;
}


#A
{
    width: 31%;
	
}

#B p
{
	

   	width: 35%;
	text-decoration: none;
    
}
    


#C
{
    width: 28%;
}

#B ul
{
	display: flex;
    flex-direction: row-reverse;
    list-style-type: none;
	width: 28%;
	text-decoration: none;
   
    margin-top: 0;
}

#A
{
    
    margin-top: 0;
}

#C ul
{
    
   width: 28%;  
}

#C a
{
    text-decoration: none;
    
}
