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

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

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

.item {
	display: inline-block;
}

#nav a {
	background: #bf2282;
	color: #ffffff;
	font-weight: bold;	
	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: #bf2282;
	text-decoration: none;
}

#nav-mobile {
	display: none;
}


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

#contenu section {
	border-bottom: 4px dotted #ffffff;
	clear: left;
	min-height: 90px;
	margin-bottom: 20px;
	padding-bottom: 20px
}

#contenu section:last-child {
	border-bottom:0
}

#contenu img {
	border: 4px solid #ffffff;
	float: left;
	margin: 5px 0 20px 0;
	width: 150px;
	-ms-border-radius: 10px;	
	-moz-border-radius: 10px;
	-o-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
}

#contenu article p {
	margin-left: 180px;
}

footer {
	border-top: 4px solid #ffffff;	
	font-size: 0.9em;
	margin: 5px 0 0 0;
	padding: 5px 0 5px 0;
}
	
/* gestion des titres */
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: 4px solid #ffffff;
	border-top: 4px solid #ffffff;
	font-size: 1.4em;
	margin: 30px 0 10px 0;
	padding: 0;	
}

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

/* gestion des liens */
a {
	color: #bf2282;
	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 {
	display: none !important;
} 

#nav-mobile {
	display: inline-block !important;
	margin: 5px 0 0 0;
	padding: 0;
	width: 100% !important;
}
		
#contenu {
	display: block;
	line-height: 1.5 !important;	
}

@media only screen and (max-device-width:640px) and (orientation:landscape)  {
body, html {
	-webkit-text-size-adjust: 100%;
	text-align: justify !important;
}
}

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