/*********************************************************************/
/*
/* Feuille de style screen */
/* Powered by Patrick Joly - Contact : patrickjoly@free.fr */
/*
/*********************************************************************/
body {
	background: #eeeeee;
	color: #eeeeee;	
	font-family: "trebuchet ms", helvetica, arial, sans-serif;
	font-size: 1.1em;
	line-height: 1.5;
	margin: 20px auto;
	overflow: scroll;
	padding: 0;
	width: 80%;
}

/* header & titres */
header {
	display: flex;
	flex-flow: row;
}

.logo {
	background: #40bc99;
	border-radius: 10px;
	flex: 30%;
	margin: 5px;
	order: 1;	
	padding: 10px;
	text-align: center;
}

h1 {
	font-size: 2.25em;
}

.slogan {
	background: #40bc99;
	border-radius: 10px;
	flex: 70%;
	font-style: italic;	
	margin: 5px;
	order: 1;	
	padding: 10px;
}

h2 {
	font-size: 1.5em;
}

/* navigation */
nav {
	background: #40bc99;
	border-radius: 10px;
	display: flex;
	margin: 4px;
	padding: 5px;
	order: 1;
}

nav ul {
	margin: 0;
	padding: 0;
}

nav li {
	display: inline-block;
}

nav a {
	background : #eeeeee;
	border: 1px solid #eeeeee;
	border-radius: 10px;
	color: #40bc99;
	display: block;
	padding: 10px;
	text-decoration: none;
}

nav a:hover {
	background : #40bc99;
	color: #eeeeee;
}

/* contenu */
#contenu {
	display: flex;
	flex-flow: row;
}

h3 {
	border-bottom: 1px dotted #eeeeee;
	font-size: 1.2em;
	margin: 10px 0 10px 0;
	padding: 0;
}

article {
	background: #40bc99;	
	border-radius: 10px;	
	flex: 70%;
	margin: 5px;
	order: 1;
	padding: 10px;	
}
  
aside {
	background: #40bc99;
	border-radius: 10px;	
	flex: 30%;
	margin: 5px;
	order: 2;
	padding: 10px;
}

a {
	color : #ffffff;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
} 

/* contenu */
footer {
	background: #40bc99;
	border-radius: 10px;
	display: flex;
	flex-flow: row;
	margin: 5px;
	padding: 5px;		
}

footer a {
	color : #40bc99;
	text-decoration: underline;
}

.footer-rub-a {
	background: #eeeeee;
	border-radius: 10px;
	color: #40bc99;
	flex: 25%;
	margin: 5px;
	order: 1;
	padding: 5px;	
}

.footer-rub-b {
	background: #eeeeee;
	border-radius: 10px;
	color: #40bc99;
	flex: 25%;
	margin: 5px;
	order: 2;
	padding: 5px;	
}

.footer-rub-c {
	background: #eeeeee;
	border-radius: 10px;
	color: #40bc99;
	flex: 25%;
	margin: 5px;
	order: 3;
	padding: 5px;	
}

.footer-rub-d {
	background: #eeeeee;
	border-radius: 10px;
	color: #40bc99;
	flex: 25%;
	margin: 5px;
	order: 4;
	padding: 5px;	
}

h4 {
	border-bottom: 1px solid #40bc99;
	font-size: 1em;
	margin: 0;
	padding: 0;
}
   
/*********************************************************************/
/*
/* Feuille de style responsive */
/* Powered by Patrick Joly - Contact : patrickjoly@free.fr */
/*
/*********************************************************************/
@media (max-width:768px) {
body {
	font-size: 1.25em;
	overflow: scroll;
	width: 95%;	
}

header, nav, #contenu, aside, footer {
	flex-flow: column;
}

article {
	border: 0;
}

nav li {
	display: block;
	margin: 5px;
}
}
