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

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

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

/* Eléments principaux de la page */

h3
{
	font-weight: bold;
	color: #006600;
}

body
{
    background: url('images/tn_piscine.jpg') ; 
    font-family: 'champagne_limousines', Arial, sans-serif;
    color: #181818;
		font-weight: bold;
}

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

section h1, footer h1, nav a
{
    font-family: champagne_limousines, sans-serif;
	font-size: large;
    text-transform: uppercase;
}

/* Header */

header
{
    background: url('images/separateur.png') repeat-x bottom;
}

#titre_principal
{	
	margin-left: 170px;
    display: inline-block;
	position: relative;
}

header h1
{
    font-family: 'johnhancockcp', serif;
    font-size: 2.5em;
    font-weight: normal;
}

#logo, header h1
{
    display: inline-block;
    margin-bottom: 0px;
}

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

/* Navigation */

#navi
{	
	background: url('images/background-nav.jpg') no-repeat;
    text-align: justify;
	position: relative;
	top: 118px;
	box-shadow: 0px 4px 4px #1c1a19;
	border-radius: 5px;
	width: 150px;
	z-index: 3;
	float: left;
	
}

nav ul
{
    list-style-type: none;
	list-style-position: inside;
	
}

nav li
{
    display:block;

}

nav a
{	
	font-size: 1.2em;
	font-style: italic;
    color: #252525;
    padding-bottom: 3px;
    text-decoration: none;
	margin-left: -10px;
}

nav a:hover
{
    color: #017601;
}

/* Bannière */

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

#banniere_description
{
    position: absolute;
    bottom: 0;
    border-radius: 0px 0px 5px 5px;
    width: 99.5%;
    height: 33px;
    padding-top: 15px;
    padding-left: 4px;
    background-color: rgb(24,24,24); /* Pour les anciens navigateurs */
    background-color: rgba(24,24,24,0.8);
    color: white;
    font-size: 0.8em;
    
}



/* Corps */

article
{
    display: inline-block;
    vertical-align: top;
    text-align: justify;
}

article
{
    width: 900px;
    margin-right: 15px;
}

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

article p
{
    font-size: 1.2em;
}

#corps
{
	background: url('images/tn_metal-texture.jpg'); 
	margin-left: 160px;
	padding-bottom: 20px;
	margin-top: -8px;
	margin-bottom: -10px;
	padding-left: 10px;
	padding-right: 10px;
	overflow: auto;
	background-position: top left;
	width: 1000px;
}

/* Footer */

footer

{	
	
	background: url('images/nouvfooter.jpg') repeat-x;
	border-radius: 5px 5px 5px 5px;
    padding-top: 10px;
	padding-left: 70px;
	box-shadow: 0px 2px 5px #1c1a19;
	color: white;
	text-shadow: 0px 2px 2px #000000;
	font-weight: bold;
}

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

footer h1
{
    font-size: 1.3em;
}

#createurs, #contacts, #liens
{
    display: inline-block;
    vertical-align: top;
}

#createurs
{
    width: 28%;
}

#contacts
{
    width: 35%;
}

#liens
{
    width: 31%;
	
}

/* 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 */

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