/* Procédons dans l'ordre et la discipline :

    - Polices personnalisées.

    - Définition des styles principaux de la page (largeur du site, fond, couleur par défaut du texte).

    - En-tête et liens de navigation.

    - Bannière (représentant le pont de San Francisco).

    - Section principale du corps de page, au centre.

    - Pied de page (footer)

*/


/* Définition des polices */

@font-face /* Titres */
{
	font-family: 'Calligraffiti';
	src: url('fonts/Calligraffiti-webfont.eot') format('eot'),
		url('fonts/Calligraffiti-webfont.svg') format('svg'),
		url('fonts/Calligraffiti-webfont.ttf') format('ttf'),
		url('fonts/Calligraffiti-webfont.woff') format('woff');
}
@font-face /* Corps de texte */
{
	font-family: 'DejaVu';
	src: url('fonts/DejaVuSans-webfont.eot') format('eot'),
		url('fonts/DejaVuSans-webfont.svg') format('svg'),
		url('fonts/DejaVuSans-webfont.ttf') format('ttf'),
		url('fonts/DejaVuSans-webfont.woff') format('woff');
}


/* Définition de l'apparence du contenu global */
body
{
	background: url('images/tn_papillon.jpg')fixed center ;
	font-family: 'DejaVu';
	color: rgb(160,255,255);
}


#main_wrapper
{
	width: 70%;
	/*min-width: 850px;*/
	margin: auto;
	background-color: rgba(10,12,25,0.8);
	overflow: auto;

}

#chat
{
	display: inline-block;
	margin: auto;
}

/* Spécifique aux titres (global)*/


/* Spécifique à mon header */


header h1
{
	font-family: 'Calligraffiti';
	color: rgb(255,70,255);
	font-size: 5em;
	text-align: center;
	line-height: 20%;

}

header h2
{
	color: rgb(255,70,255);
	font-size:1.5em;
	text-align: center;
	line-height: 20%;
}



.logo /* Remplacer la marge par un padding? */
{
	display: inline-block;
	padding: 50px 50px 50px 50px;
	width: 20%
}

.titre_principal
{
	/*display: inline-block;*/
	padding: 10px 10px 10px 10px;
}



/* Menu de navigation */

nav
{
	/*display: inline-block;*/
	vertical-align: bottom;
	text-align: center;
	font-size: 1.5em;
	line-height: 125%;
		
}

/*nav a
{
	color: rgb(160,255,255);
}
nav a:visited
{
	color: rgb(160,255,255);
}


nav ul
{
	display: inline-block;
	vertical-align: top;
}*/
nav li
{
	margin: 5px 20px 5px 20px;
}
nav ul li
{
	display: inline-block;
	vertical-align: top;
}

nav ul li ul
{
	font-size: 0.7em;
	display: block;
}

nav ul li:hover ul
{
	display: block;
	float: none;
	position: relative;
}


/* Listes */

ul
{
	list-style-type: none;
}

li
{
	list-style-type: none;
	margin-right: 25px;
}



/* Sections */

section
{
	/*display: inline-block;
	vertical-align: middle;
	text-align: center;
	margin-left: 50px;*/
	margin: auto;
	width: 70%;

}

section h1
{
	font-family: 'Calligraffiti';
	font-size: 1.5em;
	line-height: 20%;
}
section h1 strong
{
	font-weight: bold;
	font-size: 1.1em;
}

section h2 strong
{
	font-weight: bold;
	font-size: 1.1em;
}



section h2
{
	font-size: 1em;
}

article
{
	margin-top: 50px;
}
section strong
{
	font-weight: normal;
	font-size: 1.05em;
}

.advert
{
	display: inline-block;
	float:right;
	margin-right: 5px;
}



/* Footer */
footer
{
	display: inline-block;
	margin-top: 50px;
	margin-left: 50px;
	margin-right: 50px;
	border-top: 2px solid rgb(255,70,255); 
	font-size: 0.85em;
}

/* Liens */
a
{
	color: rgb(160,255,255);
	text-decoration: none;
}

a:visited
{
	color: rgb(160,255,255);
	text-decoration: none;
}

a.visible:link
{
		color: rgb(255,70,255);
}

a.visible:visited
{
		color: rgb(255,70,255);
}