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

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

header, nav, footer {
	display: block;
}

/* header */
header {
	background: #c4bd97;
	border: 1px solid #ffffff;
	margin: 10px 0 10px 0;
	padding: 0;
	text-align: center;
}

h1 {
	font-size: 3em;
	letter-spacing: 5px;
}

/* navigation */
nav {
	border-bottom: 1px solid #ffffff;
	border-top: 1px solid #ffffff;
	margin: 20px 0 20px 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: #c4bd97;	
	display: block;
	text-decoration: none;
}

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

nav a:hover {
	color: #ffffff;
}

/* fil */
#fil {
	font-size: 0.9em;
	margin: 20px 0 0 0;
	padding: 0;
}

#fil a {
	color: #c4bd97;	
	text-decoration: none;
}

#fil a:before {
	content: "» ";
}

#fil a:hover {
	color: #ffffff;
}

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

.row {
	border: 1px solid #ffffff;
	display: table;
	margin: 20px 0 0 0;
	padding : 0;
	table-layout: fixed;
	width: 100%;	
	
}

.col {
	border: 1px solid #948a54;
	display: table-cell;
	margin: 0;
	padding : 10px;	
	vertical-align: top;
}

h3 {
	border-bottom: 1px dotted #ffffff;
	font-size: 1.2em;
	margin: 0;
	padding: 0;
}

/* footer */
footer {
	margin: 20px 0 0 0;
	padding: 0;
	font-size: 0.9em;
}

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

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

/*********************************************************************/
/* feuille de style mobile */
/*********************************************************************/
@media (max-width: 640px) {
	.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;
	}
}


@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;
}


		
#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%;
	}
}