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

/*********************************************************************/
/* Feuille de style screen */
/*********************************************************************/

/* général */
html {
	font-family: Georgia;
	font-size: 1.1em;
}

body {
	background-color: #f48a24;
	color: #ffffff;
	margin: 20px auto;
	overflow: scroll;	
	padding: 0;
}

/* header */
header {
	margin: 0;
	padding: 0;	
}

h1 {
	border-top: 1px solid #343434;
	border-bottom: 1px solid #343434;
	color: #ffffff;
	font-size: 2.5em;
	margin: 0;
	padding: 10px;
	text-align: center;
}

h2 {
	color: #ffffff;
	font-size: 1.5em;
	letter-spacing: 5px;
	margin: 10px 0 40px 0;
	padding: 0;
	text-align: center;	
}

/* navigation */
nav ul {
	background: #343434;
	list-style: none;
	margin: 0;	
	max-height: 25em;
	opacity: 0.8;
	padding: 0;
	-webkit-transition: max-height .4s;
	-moz-transition: max-height .4s;
	-o-transition: max-height .4s;
	-ms-transition: max-height .4s;
	transition: max-height .4s;
}

nav li a:before {
	content: "» ";
}

nav li  {
	margin-left: 30px;
}

nav li:last-child  {
	border-bottom: 5px solid #343434;
}

nav a, .nav-open, .nav-close {
	border-bottom: 1px solid #f48a24;
	color: #f48a24;
	display: block;
	padding: 5px;
	text-decoration: none;
}

.nav-open, .nav-close {display: none}

/* contenu */
#contenu {
	margin: 0;
	padding: 5px;
	text-align: justify;
}

/* footer */
footer {
	border-top: 1px solid #343434;
	border-bottom: 1px solid #343434;
	margin: 10px 0 10px 0;
	padding: 5px;
	text-align: justify;
}	

/* liens */
a{
	color: #ffffff;
	text-decoration: underline;
}

a:hover {
	color: #ffffff;
	text-decoration: none;
}	

/* max-width: 800px */
@media (max-width: 800px) {
.nav-open, .nav-close {
	background: #343434;
}		

#body:not(:target) nav ul {
	max-height: 0;
	overflow: hidden;
}

#body:not(:target) .nav-open, #body:target .nav-close {display: block;}

#body:not(:target) .nav-close, #body:target .nav-open {display: none;}

}

/* iOS font-size fix */
@media (orientation: landscape) and (max-device-width: 640px) {
html, body {
	-webkit-text-size-adjust: 100%;
}
}