/* Created by http://freehtml5templates.com */
/* basics */

/* reset  */
* {
	margin: 0;
	padding: 0;
	}

/* render html5 elements as block */
header, footer, section, aside, nav, article {
	display: block;
	}


/* standard body */
body {
	margin: auto;
	width: 960px;
	font: 14px/20px "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif;
	background-color: rgb(128,128,255); /* Pour les navigateurs anciens */
    background-color: rgba(128,128,255,0.5); /* Pour les navigateurs plus récents */
	}
/* Tableau */
table
{
    border-collapse: collapse;
}
td, th /* Mettre une bordure sur les td ET les th */
{
    border: 1px solid black;
	padding: 1.5px;
}
	
/* standard alignments */
.alignleft {
	float: left;
	}

img.alignleft {
	margin: 5px 10px 0 0; 
	}

.alignright {
	float: right;
	}

img.alignright {
	margin: 5px 0 0 10px; 
	}
	
.center {
	text-align: center;
	}

/* Hx tags */

h1 {
	font-size: 28px;
	padding: 20px 0;
	}

h2 {
	font-size: 24px;
	padding: 20px 0;
	}

h3 {
	font-size: 18px;
	padding: 10px 0;
	}

p {
	padding-bottom: 20px;
	}

/*en tete*/

#enTete {
	position: absolute;
	background: black;
	height:300px;
	width: 960px;
	z-index:1;
}

#enTete header{
	text-align: center;
	height: 60px;
	padding: 0px;
	color: white;
}
#enTete a.deconnect{
	font-size: 0.9em;
	color:white;
	float: right;
}
/* nav */

nav {
	position: absolute;
	width: 960px;
	height: 50px;
	background: red;
	z-index: 2;
	
	/* curved border radius */
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	}

nav ul {
	margin: 0 auto;
	width: 960px;
	list-style: none;
	}

nav ul li {
	float: left;
	}
		
nav ul li a {
	display: block;
	margin-right: 20px;
	width: 140px;
	font-size: 16px;
	font-weight: bold;
	line-height: 44px;
	text-align: center;
	text-decoration: none;
	color:  white ;
	}

nav ul li a.deconnect{
	font-size: 0.8em;
	float: left;
	
}
	
nav ul li a:hover {
	color: black;
	}
			
nav ul li.selected a {
	color: black;
	}
			
nav ul li.subscribe a {
	margin-left: 20px;
	padding-left: 33px;
	text-align: left;
	background: url("images/rss.png") left center no-repeat;
	}

/* intro */

#intro {
	position: relative;
	margin-top: 50px;
	height:170px;
	padding: 10px;
	background: yellow  url("images/introbkg.png") repeat-x;
	/* background size */
	-webkit-background-size: 100%;
	-o-background-size: 100%;
	-khtml-background-size: 100%;

	
	/* curved border radius */
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	}
	
#intro h2, #intro p {
	position: relative;
	z-index: 9999;
	}
	
#intro h2 {
	padding-top: 5px;
	font-weight: normal;
	color: black;
	}
#intro h3 {
	padding-top: 5px;
	font-weight: normal;
	color: black;
	}
	
#intro p  {
	padding: 0;
	color: black;
	}
	
#intro img {
	position: absolute;
	top: 0;
	right: 0;
	width: 653px;
	height: 100%;
	
	/* curved border radius */
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	}
#intro nav {
	position: left;
	background : none
	}
#intro nav ul li a {
	display: inline-block;
	margin-right: 10px;
	width: auto;
	font-size: 16px;
	font-weight: normal;
	line-height: 44px;
	text-align: center;
	text-decoration: none;
	color: black;
	}
#intro nav ul li a.interne {
  float: left;
  position: relative;
  top: -150px !important;
  top: -300px;
}

/* content and sidebar layout */

#content {
	float: left; 
	width: 750px; 
	min-height: 600px;
	margin-top: 305px; 
	padding:5px 20px 5px 20px;
	background-color: #f2f2f2;
	z-index:1;
/* curved border radius */
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
}

aside {
	position: absolute;
	background-image:url('images/logo_cdm.jpg');
	background-repeat:repeat-y;
	text-align: center; 
	width: 180px;
	min-height: 600px;
	margin-top:305px;
	margin-left:795px;
	padding:0;
	z-index: 2;
	}

/* article */

.articlecontent header p, .blogPost header p a {
	font-size: 14px;
	font-style: italic;
	color: #777;
	}

.articlecontent p a {
	color: #4F7E12;
	}
	
.articlecontent p a:hover {
	color: #000;
	}
	
.articlecontent header p a:hover {
	text-decoration: none;
	color: #000;
	}
.articlecontent ol li .articlecontent ul li{
	margin-left: 5px;
	}	


/* sidebar */
aside section {
	margin: 10px 0 0 10px;
	padding: 10px 15px;
	background-color: #f2f2f2;
	
/* curved border radius */
	-moz-border-radius: 20px;
	-webkit-border-radius: 20px;
	}

aside section ul {
	margin: 0 0 0 20px;
	color: #4F7E12;
	}
	
aside section ul li a {
	display: block;
	text-decoration: none;
	color: #000;
	}
		
aside section ul li a:hover {
	text-decoration: underline;
	}

/* footer */
footer {
	clear: both;
	background: #222;
	width: 960px;
	color: #fff;
	margin-bottom: 10px;
	
	/* curved border radius */
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	z-index:2;
	}

footer p {
  text-align: right;
  font-size: 11px;
	padding-right: 20px;
	}

footer a {
	color: #999;
	}
	
footer a:hover {
	color: #FFF;
	text-decoration: none;
	}
	
/* Erreur */
#erreur{
	color: red;
	font-style: italic;
	margin: 0px;
	padding: 0px;
}
#remarque{
	color: blue;
	font-style: italic;
	margin: 0px;
	padding: 0px;
}

