/*********************************************************************/
/* = Version : 1.0 */
/* = Date de la version : xx/05/2014 */
/* = Feuille de style screen */
/*********************************************************************/
body {
  	background-color: #99d800;
	color: #000000;
	font-family: "trebuchet ms", helvetica, arial, sans-serif;
	font-size: 1em;
	margin: 20px auto;
	overflow: scroll;
	padding: 0;
	text-align: justify;	
	max-width: 700px;
} 

header, nav, footer {
	display: block;
}

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

/* navigation */
nav {
	background: #99d800;
	font-size: 1em;
	margin: 30px 0 30px 0;
	text-align: left;
}

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

.item {
	display: inline-block;
}

nav a {
	background: #000000;
	border-right: 3px solid #99d800;	
	color: #99d800; 
	display: block; 
	padding: 8px;
	text-decoration: none;
}

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

/* contenu */
#contenu {
	margin: 0;
	padding: 0;
}

/* formulaire */
form {
	margin: 0;
	padding: 0;
}

fieldset {
	border: 1px solid #000000;
}

legend  {
	margin: 0;
	padding: 5px;
}
 
select, option {
	font-family: "trebuchet ms", helvetica, arial, sans-serif;
	font-size: 1em;
	margin: 0;
	padding: 0;
}

input[type=submit] {
	background-color: #000000;
	border: 1px solid #99d800;
	color: #99d800;
	font-family: "trebuchet ms", helvetica, arial, sans-serif;
	font-size: 1em;
	margin: 0;
	padding: 5px;
}
 
input[type=submit]:hover {
	background-color: #ffffff;
	color: #000000;
	font-family: "trebuchet ms", helvetica, arial, sans-serif;
	font-size: 1em;
	margin: 0;
	padding: 5px;
}

/* titres */
h1 {
	font-size: 4em;
	margin: 0;
	padding: 0;
}

h2 {
	font-size: 1.5em;
	margin: 0;
	padding: 0;
}

h3 {
    border-bottom: 1px solid #000000;
	font-size: 1.2em;
	font-weight: bold;
    margin: 0;
    padding: 0;
}

/* footer */
footer {
	border-top: 1px solid #000000;
	margin: 20px 0 0 0;
	padding: 0;
	font-size: 0.9em;
}

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

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

/*********************************************************************/
/* feuille de style mobile */
/*********************************************************************/
@media (max-width: 640px) {
body {
	overflow: scroll;
	padding: 10px;
	width: auto;
}

h1 {
	font-size: 2em;
	text-align: center;
}

h2 {
	font-size: 1.2em;
	text-align: center;
}

h3 {
	text-align: center;
}

nav {
	background: transparent;
	border: none;		
}	

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

nav a {
	padding: 10px;
	text-align: center;   
	-ms-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.item {
	display: block;
}

#contenu {
	display: block;
	float: none !important;
}

footer {
	text-align: center;
}
}

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