/*------------------------------
=BASIC SETUP
------------------------------*/

/* Makeshift CSS Reset */
* {
	margin: 0;
	padding: 0;
}

/* Tell the browser to render HTML 5 elements as block */
header, footer, section, aside, nav, article {
	display: block;
}

body {
	margin: 0 auto;
	padding: 22px 0;
	width: 90%;
	font: 100% Helvetica, Arial, sans-serif;
	background: #F0F0F0;
	color:#333333;

}

header.entete h1 {
	text-align:right;

}

#logo {
	position:absolute;
	z-index:1000;
	width:150px;
	height:150px;
	left:4%;
	top:.8%;
	background-image:url(../images/logo.png);
	background-position:top left;
	background-repeat:no-repeat;
}

#page {
	position:relative;
	width:70%;
	height:auto;
	margin:auto;
	top:0px;
	text-align:justify;
	display:block;
}



h1 , h2, h3 {
	text-align:left;
	font-weight:bold;
}

h1 {
	font-size: 150%;
	line-height: 150%;
	padding: 0.5em 0 0.5em 0;
	letter-spacing:.15em;
}

h2 {
	font-size: 130%;
	line-height: 150%;
	padding: 1.5em 0 0.5em 0;
	letter-spacing:.1em;
}

h3 {
	font-size: 110%;
	line-height: 150%;
	padding: 0.5em 0 0.5em 0;
	font-weight:normal;
}

p {
	padding-bottom: 22px;
}

#lien {
	font-weight:bold;
	font-size:.7em;
	position:relative;
	width:80%;
	margin:auto;
	margin-top:20px;
	text-align:center;	
}

.gras {
	font-weight:bold;
}

/*------------------------------
=NAVIGATION
------------------------------*/

nav {
	position: relative;
	width:auto;
	background: url("../images/nav_background.png");
	background-repeat:repeat-x;
	margin:auto;
	height:auto;
	text-align:center;
	margin-top:3%;
}

	nav ul {
		margin:auto;
		width:auto;
		height:auto;
		list-style: none;
		position:relative;
		text-align:center;
		white-space:nowrap;
		padding-left:9%;
	}

		nav ul li {

			white-space:nowrap;
			text-align:center;
			display:inline;
			width:auto;
		}
		
			nav ul li a {
				padding:15px;
				padding-right: 20px;
				padding-left: 20px;				
				width:auto;
				font-size: .8em;
				line-height: 250%;
				text-align: center;
				text-decoration: none;
				color: #fff;
			}
			
				nav ul li a:hover {
					color: #fff;
					line-height: 250%;
					background-image:url(../images/menu_over.png);
					font-weight:bold;
				}
			
			nav ul li.selected a {
				color: #fff;
			}
			
			nav ul li.subscribe a {
				margin-left: 22px;
				padding-left: 33px;
				text-align: left;
				background: url("../images/rss.png") left center no-repeat;
			}



/*------------------------------
=INTRODUCTION
------------------------------*/

#intro {
	display: table;
	padding-top:20px;
}

/*------------------------------
=CONTENT AREA AND SIDEBAR LAYOUT
------------------------------*/

#content {
	display: table;
}

	#mainContent {
		display: table-cell;
		width: 620px;
		padding-right: 22px;
	}
	
	#aside {
		display: table-cell;
		width: 300px;
		background: url("images/sidebar_background.png") top left;
	}



/*------------------------------
=BLOG POST
------------------------------*/
.blogPost header article p, .blogPost header p a, .blogPost header article p a {
		font-size: 14px;
		font-style: italic;
		color: #777;
	}
	
		.blogPost header p a:hover {
			text-decoration: none;
			color: #000;
		}
		
		.blogPost article p a:hover {
			text-decoration: none;
			color: #000;
		}		

.blogPost div {
	/* Column-count not implemented yet */
	-moz-column-count: 2;
	-webkit-column-count: 2;
	
	/* Column-gap not implemented yet */
	-moz-column-gap: 22px;
	-webkit-column-gap: 22px;
}
	
.blogPost img {
	margin: 22px 0;
	-webkit-box-shadow: 3px 3px 7px #777;
}

.blogPost ul {
	margin:auto;
	width:80%;
	height:auto;
	list-style-type:disc;
	position:relative;
	text-align:left;
}

	.blogPost ul li {
		display: list-item;
		width:auto;
		height:100%;
		line-height:150%;
	}
	
		.blogPost ul li a {
			padding-right: 20px;
			padding-left: 20px;
			width:auto;
			font-size: .8em;
			line-height: 250%;
			text-align: center;
			text-decoration: none;
		}
		
			.blogPost ul li a:hover {
				background-color:#000000;
				line-height: 250%;
			}

/*------------------------------
=COMMENTS
------------------------------*/

#comments {
	margin-top: 21px;
	padding-top: 22px;
	border-top: 1px solid #d7d7d7;
}

	#comments article {
		display: table;
		padding: 22px;
	}
	
	#comments article:nth-child(odd) {
		padding: 21px;
		background: #E3E3E3;
		border: 1px solid #d7d7d7;
		-moz-border-radius: 11px;
		-webkit-border-radius: 11px;
	}
	
		#comments article header {
			display: table-cell;
			width: 220px;
			padding-right: 22px;
		}
		
			#comments article header a {
				display: block;
				font-weight: bold;
				color: #000;
			}
			
				#comments article header a:hover {
					text-decoration: none;
				}
		
		#comments article p {
			padding: 0;
		}


#contact {
	position:relative;
	width:80%;
	margin:auto;
	height:auto;
}

/*------------------------------
=COMMENT FORM
------------------------------*/
form {
	margin:auto;
	margin-top: 40px;
	padding: 19px;
	padding-right:0px;
	border-top: 1px solid #d7d7d7;
	background-image:url(../images/intro_background400M.png);
	background-repeat:repeat-x;
	height:auto;
	width:auto;
	
	/* Background-size not implemented yet */
	-webkit-background-size: 100%;
	-o-background-size: 100%;
	-khtml-background-size: 100%;

	
	/* Border-radius not implemented yet */
	-moz-border-radius: 22px;
	-webkit-border-radius: 22px;	
}

	form p {
		display: block;
		margin-bottom: 22px;
		padding: 0 22px;
		text-align: right;
	}

		form label {
			display: inline;
			width: 40%;
			padding-right: 20px;
			text-align: right;
			font-weight: bold;
			vertical-align: top;
			color:#fff;
		}

		form h2 {
			color: #333333;
			padding-bottom:20px;
			padding-top:0px;
		}	
	
		form input[type="text"], form input[type="email"], form input[type="url"] {
			display: inline;
			width: 60%;
			height: 20px;
			border: 1px solid #d7d7d7;
		}
		
		form textarea {
			width:60%;
			height: 100px;
			border: 1px solid #d7d7d7;
			overflow:hidden;
			display:inline;
		}
		
		form input[type="submit"] {
			margin-left: 162px;
		}

		form input[type="button"] {
			margin-left: 162px;
			padding:3px;
		}		



/*------------------------------
=SIDEBAR
------------------------------*/
aside section {
	margin: 22px 0 0 22px;
	padding: 11px 22px;
	background: url("images/sidebar_section_background.png") repeat-x;
	
	/* Border-radius not implemented yet */
	-moz-border-radius: 11px;
	-webkit-border-radius: 11px;
}

	aside section ul {
		margin: 0 0 0 22px;
		list-style: none;
	}
	
		aside section ul li a {
			display: block;
			text-decoration: none;
			color: #000;
		}
		
			aside section ul li a:hover {
				text-decoration: underline;
			}



/*------------------------------
=FOOTER
------------------------------*/
footer {
	position: relative;
	width: 90%;
	margin:auto;
	display:block;
}

	footer p {
		padding: 20px 0;
		padding-bottom:20px;
		width: 100%;
		color: #333333;
		font-size:.8em;
		text-align:center;
	}

	footer div {
		display: table;
		margin: 0 auto;
		padding: 44px 0;
		width: 940px;
		color: #777;
	}
	
		footer div section {
			display: table-cell;
			width: 300px;
		}
		
		footer div #about, footer div #blogroll {
			padding-right: 20px;
		}
		
	footer a {
		color: #999;
		cursor:pointer;
	}
	
		footer a:hover {
			color: #000;
			text-decoration: none;
		}
	
	footer ul {
		margin: 0 0 0 40px;
		list-style: square;
		color: #565656;
	}
	
		footer ul li a {
			display: block;
		}