/*********************************************************************/
/* = Site : http://patrickjoly.free.fr/ */
/* = Version : 1.0 */
/* = Date de la version : 05/10/2012 */
/* = Auteur : Patrick Joly */
/* = Contact : patrickjoly@free.fr */
/*********************************************************************/

/*********************************************************************/
/* général - feuille de style screen */
/*********************************************************************/
body {
	background: #888070;
	color: #ffffff;
	font-family: Georgia;
	font-size: 1em;
	margin: 20px auto;
	overflow: scroll;
	padding: 0;
	text-align: justify;
	width: 750px;
}

#nav {
	text-align: center;
}

#nav ul {
	margin: 0;
	padding: 0;
}
	
#nav ul ,li {
	display: inline;
}

.item {
	display: inline-block;
}

#nav a {
	background: #78a8a8;
	color: #ffffff; 
	display: block; 
	padding: 10px;
	text-decoration: none;
    -ms-border-radius: 5px;
    -moz-border-radius: 15px;
    -o-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

#nav a:hover {
	background: #ffffff;
	color: #78a8a8;
	text-decoration: none;
}

/* contenu */
#contenu{
	line-height: 1.5!important;
}

footer {
	border-top: 1px solid #ffffff;	
	font-size: 0.9em;
	margin: 5px 0 0 0;
	padding: 5px 0 5px 0;
	text-align: center;	
}
	
/* gestion des titres */
h1, h2, h3 {
	text-align: center;
}

h1 {
	font-size: 3em;
	margin: 0;
	padding: 0;
}

h2 {
	font-size: 1.6em;
	letter-spacing: 15px;
	margin: 0 0 20px 0;
	padding: 0;
}

h3 {
	border-bottom: 1px solid #ffffff;
	border-top: 1px solid #ffffff;
	font-size: 1.4em;
	margin: 30px 0 10px 0;
	padding: 0;	
}

h4 {
	border-bottom: 1px dotted #ffffff;
	padding: 0;	
}

/* gestion des liens */
a {
	color: #78a8a8;
	text-decoration: underline
}

a:hover {
	color: #ffffff;
}

/*********************************************************************/
/* général - feuille de style mobile */
/*********************************************************************/
@media (max-width: 640px) {

body {
	overflow: scroll;
	padding: 10px;
	text-align: justify;
	width: auto;
}

h1 {
	font-size: 2.5em;
}

h2 {
	font-size: 1.5em;
	letter-spacing: 0;
}

h3 {
	font-size: 1.2em;
}

#nav ul, li {
	display: block;	
	margin-bottom: 5px;
	width: auto!important;
}

#nav a {
	padding: 2px;
}

.item {
	display: block;
}
		
#contenu {
	display: block;
	line-height: 1.5!important;	
}
}

@media only screen and (max-device-width:640px) and (orientation:landscape){
body{
	-webkit-text-size-adjust:80% !important
}

#contenu {
	line-height: 1.5!important;
}
}