﻿/* 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
{
	background-color: rgb(255,255,223);
    font-family: 'Time New Roman','Trebuchet MS', Arial, sans-serif;
}
#page
{
    width: 1080px;
    margin: auto;
}
/* Bannière */
#banniere
{
    margin-top: 15px;
    height: 345px;
    border-radius: 5px;
    background: url('images/adam.png') no-repeat;
    position: relative;
    box-shadow: 0px 4px 4px #1c1a19;    
}
nav a, footer a,h1 ,h2
{
    font-family: Dayrom, serif;
    font-weight: normal;
	text-transform: uppercase;
	color: black;
}
/* Header */
header, section
{	
    background: url('images/separateur.png') repeat-x bottom;
}
section
{
	width: 1000px;
    margin: auto;
} 
/* Navigation */
nav ul
{
	list-style-type: none;
}
nav li
{
    display: inline-block;	
	margin-left: 10px;
	margin-bottom: 20px;	
}
nav a
{
	font-size: 24px;
}

nav a, footer a, section a
{
	text-decoration: none;

}
p
{
	font-family: Dayrom, serif;
	text-indent: 50px;
	line-height: 30px;
	text-align:justify;
	font-style: italic;
	color: black;
	font-size: 24px;
}
h1, h2
{
    font-weight: normal;
	text-align: center;
	font-size:  3.5em;
	color: black;	
	line-height: 60px;
	margin-top: 60px;
}
h2 a
{
	color: black;	
}
p a
{
	text-decoration: none;
	color: black;
}

h3
{
	margin-left: 750px;
}
h4
{
	margin-left: 100px;
}
h5
{
	margin-left: 600px;
}
figure
{
	margin-left: 400px;
	width: 184px;	
}
footer a
{
	font-size: 20px;	
	font-weight: normal;
}

h1 a:hover
{
    color: green;
}
h2 a:hover
{
    color: grey;
}
footer h3 a:hover
{
    color: grey;
}
nav li a:hover
{
    color: grey;
}
p a:hover
{
    color: grey;
}

/* Correctifs pour les vieilles versions d'Internet Explorer */

/* Pour activer un positionnement type inline-block sur les vieilles versions d'IE */

.old_ie #titre_principal, .old_ie #logo, .old_ie header h1, .old_ie nav, .old_ie nav li, .old_ie .bouton_rouge, .old_ie article, .old_ie aside, .old_ie #tweet, .old_ie #mes_photos, .old_ie #mes_amis, .old_ie #mes_amis ul
{
    display: inline;
    zoom: 1;
}

/* Quelques ajustements pour les vieilles versions d'IE */
0
.old_ie section h1, .ie8 section h1
{
    font-size: 1.1em;
}

.old_ie footer div, .ie8 footer div
{
    margin-top: 30px;
    background: url('images/separateur.png') repeat-x top;
}