/* Distributed by http://freehtml5templates.com */

/*** The All So Important RESET! ***/

html, body, div, span, h1, h2, h3, h4, h5, h6, p, ol, ul, li, form, label, legend, caption, aside, details, figcaption, figure, footer,header, hgroup, menu, nav, section, summary {
    border-style: none;
    border-color: inherit;
    border-width: 0;
    margin: 0 0px 0 0;
    padding: 0;
    outline: 0;
    font-weight: inherit;
	font-style: inherit;
	font-size: 98%;
	font-family: Arial;
	vertical-align: baseline;
}

article {
overflow-wrap:break-word; /* retour a la ligne si l'article depasse la largeur */
}

ol, ul {
	list-style: none;
}

a img {border-style: none;
    border-color: inherit;
    border-width: medium;
    height: 67px;
    width: 160px;
}

aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {display: block}

html {
	width:100%;
	height:100%;
}

 body{
     /* La taille de base sera de 10px avec les valeurs par défaut de police du navigateur */
    font: 1.1em/1em Verdana, Trebuchet MS, Geneva, Arial, Helvetica, sans-serif;
	background-color:#cccccc; /* fond sur sidebar1 et 2 */
	color:#333;
	margin:0 0 1px; height:100%; 
    line-height: 1.5;
    width:100%; /*largeur utilisé par le site sur l'ecran*/
}
	

/* layout */

#wrapper {
width: 55%;
margin: 0 auto;
margin-top: 10px;  /* marge en haut et en bas du wrapper*/
margin-bottom: 0px;
background: #fff;
}

/* barre au dessus qui contient logo*/
#container{
			position:relative;
			width:55%;
			margin:0 auto;
			background-color:transparent;
}

.container1{
    width:100%; /* largeur bandeau qui contient logo et recherche*/
    margin: 0 auto;
	background-color:transparent;
	padding-top: 5px;
	color:#333;
	position: relative;
    top: 0px;
    left: 0px;
    height: 98px; /* regler hauteur du logo*/
}

/* div qui contient le footer*/
.container2{
    width:100%;
	background-color:#666666;
	padding-top: 5px;
	color:#333;
	position: relative;
    top: 0px;
    left: 0px;
    height: 158px; /*hauteur du footer*/
    margin-left:auto;
    margin-right:auto;
}

.logo {
    position:relative;
    margin-bottom:0px;
    margin-left:22%;
    float:left;
}

.recherche {
    position:relative;
    margin-right:20%;
    float:right;
}

.menu{
    width:65%;
    margin: 0 auto;
	background-color:transparent;
	position: relative;
    height: 26px;
}

.menuul {
    position: relative;
    margin-top:auto;
    margin-bottom:auto;
    margin-left:6%;
    width:65%;
}

.group2rt{   /* pas utilisé*/
	float: right;
	width: 200px;
	position: relative;
	background:transparent;
	padding:15px;
	margin-bottom:10px;
}
.group2 {
	float: left;
	width: 300px;
	position: relative;
	background:transparent;
	padding:15px;
	margin-bottom:10px;
}
	
.group3 {
	float: left;
	width: 90%;
	position: relative;
	background:transparent;
	padding:10px;
	margin-bottom:10px;
    margin-left:0px;
	font-size: 12px;
	display:block;
	height: 85px;
    top: 0px;
    left: 0px;
}

.group4 {
	float: left;
	width: 420px;
	position: relative;
	background:transparent;
	padding:60px 15px 15px;
	margin-bottom:10px;
}
.newsbox {
	float: left;
	width: 425px;
	position: relative;
	background:transparent;
	padding:15px;
	margin:0 auto;
}

.footer-outer-block {
    margin-left:auto;
    margin-right:auto;
}

.centrer {
    text-align: center;
}

#main {
width: 98%; /* largeur de la page web principale*/
margin-left:auto; 
margin-right:auto;
padding-top: 30px;
overflow: hidden;
}

#content {
float: left;
width: 100%;
margin-left: 20px;/*gere la marge a gauche du contenu*/
margin-right:10px;
}

#sidebar1 {
float: left;
padding-left: 20px;
width: 155px;
background-color:blue;
}

#sidebar2 {
float: right;
padding-right: 15px;
margin-top: 5px;
width: 155px;
background-color:blue;
}

footer{
	height:15%; /* hauteur du bas de page */
	clear:both;
	width:55%;
    margin-left:auto;   /* centrer le footer sur la page */
    margin-right:auto;
	background-color:#e2e1dd;
	color:black;
    font-family:Arial;
    font-size:15px;
    overflow: hidden;  /* si footer deborde, couleur sera maintenue, ne pas effacer */
}

/* basics */

h1,h2,h3,h4,h5,h6 {
font-weight: bold;
clear: both;
}

a:link, a:visited {
color: #15627A;
}

a:hover, a:active {
color: #555;
}

h1{
	font-size: 30px;
	line-height:0.9;
	color:#fff;
	text-align:left;
	margin-bottom:10px;
	padding-bottom:10px;
}
	
h2{
	font-size: 20px;
	line-height:1.3;
	color:#fff;
	text-transform:none;
	font-style:bold;
	text-align:center;
	margin-top:7px;
	padding-bottom:6px;
}
	

h3{
	font-size: 16px;
	line-height:0.9;
	color:#fff;
	text-align:left;
	margin-bottom:10px;
	padding-bottom:10px;
	}

h4{
	font-size: 23px;
	line-height:0.9;
	color:black;
	text-align:left;
	margin-bottom:12px;
	padding-bottom:10px;
    margin-left:0px;
}


a:hover, a:active {
color: rgba(5,171,224,1);
}

p {
margin-bottom: 18px;
overflow-wrap:break-word; /* retour a la ligne si l'article depasse la largeur */
}

li {
padding-left: 5px;
}

/************************ Navigation Menu ************************/
aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {display: block}

nav{
	position:relative;
	width:100%;
	height:45px;
	margin: 0 auto;
	padding-top: 20px;
	background:#666666;
	border-bottom: 1px solid #333;
    top: 0px;
    left: 0px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
}

nav li a:link{
	color:#fff;
    font-size:15px;
	text-decoration: none;
}

nav li a:hover{
	color:#cccccc;
    font-size:15px;
	text-decoration: none;
}

nav ul li{
	float: left;
	line-height:normal;
	margin-left:15px;
	list-style:none;
}

.clearing{
	clear: both;
	display: inline;
	width: 100%;
	height: 0;
	overflow:hidden;
}

/** HEADER */

header{
/*#336699*/
    background: #336699;
	margin-top:auto;
	margin-bottom:auto;	   
}

header>h1 {
	float: left;
	margin: 0 0 1px 5px;
	width: 600px;
	font-size: 40px;
	line-height: 36px;
}

header>h1 a {
	color: #333;
	font-weight: bold;
	text-decoration: none;
	text-shadow: 0px 2px 3px #555;
}

header>h2 {
	color: #777;
	clear: right;
	float: right;
	font-style: italic;
	font-size: 14px;
	margin: 14px 10px 18px 0;
}

header a:visited { 
color:  white; /* changer couleur lien hypertexte menu */
}

/** ARTICLES **/
article img {
border: none;
-webkit-box-shadow: 3px 3px 7px #777;
-moz-box-shadow: 3px 3px 7px #777;
}

#content p, ul, ol, hr {
margin-bottom: 24px;
}

#content ul ul, ol ol, ul ol, ol ul {
margin-bottom: 0;
}

#content h1, h2, h3, h4, h5, h6 {
color: #333;
margin: 0 0 20px 0;
line-height: 1.5em;
}

.alignleft, img.alignleft {
display: inline;
float: left;
margin-right: 10px;
}

.alignright, img.alignright {
display: inline;
float: right;
margin-left: 10px;
width: 200px;
}

.aligncenter, img.aligncenter {
clear: both;
display: block;
margin-left: auto;
margin-right: auto;
}

img.alignleft, img.alignright, img.aligncenter {
margin-bottom: 12px;
}

/* sidebar and footer widget blocks */

aside h3 {
font-size: 18px;
text-shadow: 0px 2px 3px #ddd;
}

aside ul {
list-style: square;
color: #aaa;
margin: -15px 0 15px 25px;
}

aside li a{
color:#191919;
font-size:10px;
}

#footer-area {

color: #191919;
font-size: 90%;
margin-left: auto;
margin-right: auto;
height:auto;
padding: 15px 0;  /* descend titres du footer */

}

.footer-segment {
float: left;
margin-right: 3px;
margin-left: 3px;
width: 24%;
}

footer aside h4 {
color: #191919;
font-size: 16px;
line-height: 1.5em;
margin-left0px;
}

footer ul {
list-style: none;
}

footer a:link, footer a:visited {
color: #ccc;
}

footer a:hover { 
text-decoration: underline; 
}

footer p {
margin-top: -15px;
color: #faf0e6;
}

/************************ Specifics ************************/
 

 #title{
	position:relative;
   	float:left;
   	top:-10px;
	left:100px;
	width:401px;
	height:58px;
	background-image: url(images/intro.png);
	margin: 0 auto;
	display: block;
	color:#fff;
}

.button {
	width: 80px;
	height:20px;
	position:relative;
	margin-top:12px;
	padding:5px;
	background: rgb(135,224,253); /* Old browsers */
	background: -moz-linear-gradient(45deg, rgba(135,224,253,1) 0%, rgba(83,203,241,1) 40%, rgba(5,171,224,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,rgba(135,224,253,1)), color-stop(40%,rgba(83,203,241,1)), color-stop(100%,rgba(5,171,224,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(45deg, rgba(135,224,253,1) 0%,rgba(83,203,241,1) 40%,rgba(5,171,224,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(45deg, rgba(135,224,253,1) 0%,rgba(83,203,241,1) 40%,rgba(5,171,224,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(45deg, rgba(135,224,253,1) 0%,rgba(83,203,241,1) 40%,rgba(5,171,224,1) 100%); /* IE10+ */
	background: linear-gradient(45deg, rgba(135,224,253,1) 0%,rgba(83,203,241,1) 40%,rgba(5,171,224,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#87e0fd', endColorstr='#05abe0',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
	display: inline-block;
	color:#ccc;
	font-weight:bold;
	cursor: pointer;
	text-align: center;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	float:left;
	text-decoration:none;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
	
.button:hover {
	color:#cccccc;
}

.yellow {
color:#ffff00;
}
.red {
color:#8b0000 ;
}
.black { 
color:#191919;
}
