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

/*********************************************************************/
/* feuille de style screen */
/*********************************************************************/
body {
	color: #000000;
	font-family: Georgia;
	font-size: 1em;
	margin: 20px auto;
	overflow: scroll;
	padding: 0;
	width: 750px;
} 

header, nav, footer {
	display: block;
}

/* navigation */
nav {
	margin: 0;
	padding: 10px 0 10px 0;
}

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

.item {
	display: inline-block;
}

nav a {
	background: transparent;
	color: #000000;	
	display: block;
	text-decoration: none;
}

nav a:after {
	color: #000000;
	content: " |";
}

nav a:hover {
	color: #008888;
}


/* header */
header {
	background: #ffffff;
	margin: 0;
	padding: 0;
	text-align: left;
}

h1 {
	background: #008888;
	color: #ffffff;
	font-size: 3em;
	margin: 0;
	padding: 10px;
	-ms-border-radius: 10px; 
	-moz-border-radius: 10px;
	-o-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;	
}

/* contenu */
#contenu {
	text-align: justify;
}

.row {
	display: table;
	margin: 20px 0 0 0;
	padding : 0;
	table-layout: fixed;
	width: 100%;	
	
}

.col {
	display: table-cell;
	margin: 0;
	padding : 10px;	
	vertical-align: top;
}

.slogan {
	border: 1px solid #008888;
	color: #008888;
	display: table-cell;
	font-size: 2em;
	font-weight: bold;
	margin: 0;
	padding : 10px;	
	vertical-align: top;
	text-align: left;
	-ms-border-radius: 10px; 
	-moz-border-radius: 10px;
	-o-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
}

h3 {
	color: #008888;
	font-size: 2em;
	margin: 0;
	padding: 10px;
	text-align: center;
}

h4 {
	border-bottom: 1px solid #008888;
	color: #008888;
	font-size: 1.5em;
	margin: 0;
	padding: 10px;
	text-align: center;
}

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

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

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

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

.col {
	display: block !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	border: 0;
	float: none !important;
	width: auto !important;
}
	
.row { 
	display: block !important;
	width: 100% !important;
}

#contenu {
	display: block;
}
}

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











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