/*********************************************************************/
/* = Site : http://patrickjoly.free.fr/ */
/* = Version : 1.0 */
/* = Date de la version : 20/10/2013 */
/* = Auteur : Patrick Joly */
/* = Contact : patrickjoly@free.fr */
/*********************************************************************/

/* feuille de style générale */
/*********************************************************************/
body {
	background-image: url(image-home.jpg);
	background-attachment: fixed;
	color: #ffffff;
	font-family: Georgia;
	font-size: 1em;
	line-height: 1.5;
	margin: 40px auto;
	overflow: scroll;
	padding: 0;
	text-align: justify;
}

.page {
	margin: 0 auto; 
	padding: 0;
	width: 75%;
}

/* navigation */
nav {
	margin: 10px 0 30px 0;
	text-align: right;
	-ms-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;		
}

nav ul {
	margin: 0;
	padding: 0;	
}

.item {
	display: inline-block;
}

nav a {
	border: 2px solid #ffffff;
	color: #ffffff; 
	display: block; 
	padding: 10px;
	text-decoration: none;
	-ms-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;		
}

nav a:hover {
	background: #ffffff;
	color: #010409;
	text-decoration: none;
}

footer {
	border-top: 1px solid #ffffff;
	margin: 10px 0 0 0;
	padding: 0;
}

/* titres */
h1 {
	color: #ffffff;
	font-size: 3em;
	font-weight: bold;
	margin: 0;
	padding: 0;
}

h2 {
	font-size: 1.5em;
	letter-spacing: 5px;
	margin: 0;
	padding: 10px 0 10px 0;
}

h3 {
	background: #ffffff;
	color: #010409;
	font-size: 1em;	
	margin: 20px 0 0 0;
	padding: 5px;
	-ms-border-radius: 5px; 
	-moz-border-radius: 5px;
	-o-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;	
}

/* rangee */
.rangee:before, .rangee:after {
	content: "";
	clear: both;	
	display: table;
}

/* liens */
a {
	color: #ffffff;
	text-decoration: underline;
}

a:hover {
	background: #ffffff;
	color: #010409;
	text-decoration: none;
}

/* tailles des colonnes */
.w20 {
	display: inline;
	float: left;
	width: 20%;
}

.w80 {
	display: inline;
	float: left;
	margin-left: 2%;
	width: 78%;
}

.w40 {
	display: inline;
	float: left;
	width: 40%;
}

.w60 {
	display: inline;
	float: left;
	margin-left: 2%;
	width: 58%;
}

.w33 {
	display: inline;
	float: left;
	width: 33%;
}

.w33 + .w33 {
	display: inline;
	float: left;
	margin-left: 2%;
	width: 32%;
}

.w33 + .w33 + .w33 {
	display: inline;
	float: left;
	margin-left: 2%;
	width: 31%;
}

/*********************************************************************/
/* feuille de style mobile */
/*********************************************************************/
@media (max-width: 640px) {
body {
	margin: 10px auto;
	overflow: scroll;
	padding: 10px;
	text-align: justify;
	width: auto;
}

.page {
	width: 100%;
}

nav {
	background: transparent;
}	

nav ul, li {
	margin-bottom: 5px;
	width: auto!important;
}

nav a {
	background: transparent;
	color: #ffffff;
	padding: 10px;
	text-align: center;   
	-ms-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

nav a:hover {
	background: #ffffff;
	color: #010409;
	text-decoration: none;
}

.item {
	display: block;
}

h1 {
	font-size: 2em;
}

h2 {
	font-size: 1.2em;
	letter-spacing: 0;
}

.w20, .w33, .w33+.w33, .w33+.w33+.w33, .w40, .w60, .w80 {
	margin: 0;
	padding: 0;
	width: 100%;
}
}

@media only screen and (max-device-width:640px) and (orientation:landscape)  {
body, html {
	-webkit-text-size-adjust: 100%;	
}
}