/*************************************
Auteur du tutoriel : JML
**************************************/
/*-------------RESET CSS----------------*/
html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset {
	margin: 0;
	padding: 0;
}

img, fieldset {
	border: 0;
}

img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
}

/*-------------CSS GENERAL---------------*/
body {
	/*background: #8B22F1 url(images/body-bg.jpg) no-repeat center top;*/
	font: .81em/150% Arial, Helvetica, sans-serif;
	color: #666666;
}
a {
	color: #1e8f69;
	text-decoration: none;
	outline: none;
}
a:hover {
	text-decoration: underline;
}
p {
	margin: 0 0 1.2em;
	padding: 0;
}

ul {
	margin: 1em 0 1.4em 24px;
	padding: 0;
	line-height: 140%;
}
li {
	margin: 0 0 .5em 0;
	padding: 0;
}

h1, h2 {
	line-height: 1.4em;
	margin: 20px 0 .4em;
	color: #000;
}
h1 {
	font-size: 2em;
}
h2 {
	font-size: 1.6em;
}

label { display:block; }

/*-------------RESET DU INPUT STYLE----------------*/
input[type=search] {
	-webkit-appearance: none;
	outline: none;
}
input[type="search"]::-webkit-search-decoration, 
input[type="search"]::-webkit-search-cancel-button {
	display: none;
}

/*-------------CSS STRUCTURE DU SITE----------------*/
#site {
	width: 980px;
	margin: 0 auto;
}

/*-------------EN TETE----------------*/
#header {
	position: relative;
	height: 125px;
}

/* Logo */
#site-logo {
	/*background:url(images/logo.png) no-repeat;
	
	background:url(images/logoserveur-jm.png) no-repeat;*/
	margin:0;
 width:100%;
height:100%;
	text-indent:-9999px;
	position: absolute;
	top: 5px;bottom:10px;
	left:5%;
}
#site-description {
	font: italic 100%/130% "Times New Roman", Times, serif;
	color: #231f20;
	position: absolute;
	top: 100px;
	left:36%;
}

/* searchform */
#searchform {
	position: absolute;
	right: 10px;
	bottom: 6px;
	z-index: 100;
	width: 160px;
	
}
#searchform #rech {
	width: 140px;
	float: right;
	background: #fff;
	border: none;
	padding: 6px 10px;
	font-family:Georgia; 
	font-style:italic; 
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	-webkit-transition: width .7s;
	-moz-transition: width .7s;
	transition: width .7s;
}

/*-------------MENU PRINCIPAL----------------*/
#main-nav {
	width: 100%;
	margin: 0;
	padding: 0;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 100;
	/*background-color:#231f20;*/
		background-color:#006600;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
#main-nav li {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	position: relative;
}
#main-nav li:first-child {
	margin-left: 10px;
}
#main-nav a {
	line-height: 100%;
	font-weight: bold;
	color: #fff;
	display: block;
	padding: 14px 15px;
	text-decoration: none;
}
#main-nav a:hover {
	color: #231f20;
	background-color:#fff;
}

/*-------------CONTENT----------------*/

#content {
	background: #fff;
	margin: 30px 0 30px;
	padding: 20px 35px;
	width: 600px;
	float: right;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	box-shadow: 0 1px 3px rgba(0,0,0,.4);
}

.post {
	margin-bottom: 15px;
}
.post-title {
	margin: 0 0 5px;
	padding: 0;
	font: bold 26px/120% Arial, Helvetica, sans-serif;
}
.post-title a {
	text-decoration: none;
	color: #231f20;
}
.post-meta {
	margin: 0 0 10px;
	font-size: 90%;
}

.post-image {
	margin:15px; padding:5px; border:1px solid #dedede;
}

/*-------------SIDE BAR----------------*/
aside {
	width: 280px;
	float: left;
	margin: 30px 0 30px;
}
.widget {
	background: #fff;
	margin: 0 0 30px;
	padding: 10px 20px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	box-shadow: 0 1px 3px rgba(0,0,0,.4);
}
.widgettitle {
	margin: 0 0 5px;
	padding: 0;	
}
.widget ul {
	margin: 0;
	padding: 0;
}
.widget li {
	margin: 0;
	padding: 6px 0;
	list-style: none;
	clear: both;
	border-top: dotted 1px #231f20;
}
.widget ul li a {
	-webkit-transition:0.5s; 
	-moz-transition:0.5s; 
	transition-duration:0.5s; 
	-ms-transition-duration:0.5s;
}
.widget ul li a:hover {
	background-color:#231f20; 
	color:#fff; 
	padding:5px 10px 5px 15px; 
	-webkit-border-radius: 0px 8px 8px 0px; 
	-moz-border-radius: 0px 8px 8px 0px; 
	border-radius: 0px 8px 8px 0px; 
	text-decoration:none;
}
.widget ul li a:hover:before {
	content:'+ '; 
	color:#fff;
}

/*-------------fOOTER----------------*/
#footer {
	clear: both;
	color: #002c42;
	font-size: 85%;
	/*background-color:#231f20;*/
	background-color:#006600;

	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
#footer p{text-align:center;
color: #fff;

}
#footer p a {
	color: #fff;
	font-weight:bold;
	font-size:14px;
}
#footer p a:hover {
	color: Yellow;
	font-weight:bold;
	font-size:14px;
}

/*-------------CLASS CLEAR POUR LES FLOAT----------------*/
.clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.clearfix { display: inline-block; }
.clearfix { display: block; zoom: 1; }


/*------------***************-LES MEDIAS QUERIES-***************---------------*/

/*-------------POUR UNE FENETRE NAVIGATEUR < 980PX----------------*/
@media screen and (max-width: 980px) {

	#site {
		width: 95%;
	}
	#content {
		width: 60%;
		padding: 3% 4%;
	}
	aside {
		width: 30%;
	}
	aside .widget {
		padding: 8% 7%;
		margin-bottom: 10px;
	}

}

/*-------------POUR UNE FENETRE NAVIGATEUR < 650PX----------------*/
@media screen and (max-width: 650px) {

	#header {
		height: auto;
	}
	#searchform {
		position: absolute;
		top: 157px;
		right: 0;
		z-index: 100;
		height: 40px;
	}
	#searchform #rech {
		width: 74px;
	}
	#searchform #rech:focus {
		width: 150px;
	}
	#main-nav {
		position: static;
	}
	#site-logo {
		margin: 15px 100px 5px 0;
		position: static;
	}
	#site-description {
		margin: 0 0 15px;
		position: static;
	}
	#content {
		width: auto;
		float: none;
		margin: 20px 0;
	}
	aside {
		width: 100%;
		margin: 0;
		float: none;
	}
	aside .widget {
		padding: 3% 4%;
		margin: 0 0 10px;
	}
	.widget li{ text-align: center;}
	.widget ul li a:hover{padding:5px 10px 5px 10px; -webkit-border-radius: 8px 8px 8px 8px; -moz-border-radius: 8px 8px 8px 8px; border-radius: 8px 8px 8px 8px;}


}

/*-------------POUR UNE FENETRE NAVIGATEUR < 480PX----------------*/
@media screen and (max-width: 480px) {

	/* INGORER L'AJUSTEMENT AUTO POUR iPhone */
	html {
		-webkit-text-size-adjust: none;
	}

	#main-nav a {
		font-size: 90%;
		padding: 10px 8px;
	}

}

