/* Reset
---------------------------------------------------------*/
/* generic ----------- */
address,
article,
aside,
body,
dd,
details,
dl,
figcaption,
figure,
footer,
header,
h1,
h2,
h3,
nav,
p,
section,
ul {
	margin: 0;
	padding: 0;
}


/* Importing font ----------- */
@font-face {
    font-family: "QlassikMediumRegular";
    src: url('../medias/font/Qlassik_TB-webfont.eot');
    src: url('../medias/font/Qlassik_TB-webfont.eot?') format('eot'),
         url('../medias/font/Qlassik_TB-webfont.woff') format('woff'),
         url('../medias/font/Qlassik_TB-webfont.ttf') format('truetype'),
         url('../medias/font/Qlassik_TB-webfont.svg#webfontdLeQUlTY') format('svg');
    font-weight: normal;
    font-style: normal;
}


/* titles ----------- */
h1,
h2,
h3 {
	font-weight: normal;
}

h1 {
	color: #444;
}
h2,
h3 {
	color: #478902;
}

/* HTML5 elements ----------- */
figcaption,
figure,
footer,
header,
nav,
section {
	display:block;
}
 
 
/* links ----------- */

a {
	-moz-transition-property: color, opacity;
	-moz-transition-duration: .6s;
	-o-transition-property: color, opacity;
	-o-transition-duration: .6s;
	-webkit-transition-property: color, opacity;
	-webkit-transition-duration: .6s;
	color: #478902;
	transition-property: color, opacity;
	transition-duration: .6s;
}
	a:hover {
		color: #212121;
		text-decoration: none;
	}

/* lists ----------- */
ul {
	list-style-type: none;
}

/* miscelleanous ----------- */
img {
	border-width: 0;
}
abbr {
	border-bottom: 1px dotted;
	cursor: help;
}



/* // End reset */


/* clearing floats ----------- */
header:after,
header nav ul:after{
	clear: both;
	content: ".";
	display: block;
	height: 0;
	visibility: hidden;
}


/* General styles
---------------------------------------------------------*/
body {
	background-color: #eaeaea;
	background-image: url(../medias/img/background.jpg);
	color: #212121;
	font: 1.5em/1.2em "QlassikMediumRegular", Helvetica, Arial, sans-serif;
}


header,
section,
footer {
	margin: 0 auto;
	width: 980px;
}


/* header ----------- */
header {
	padding-bottom: 45px;
}
		header h1 {
			float: left;
			padding-top: 18px;
			padding-left: 20px;
		}

/* #encart ----------- */
#encart {
	-moz-box-shadow: 0 -1px 0 rgba(0,0,0,.10), 0 1px 0 rgba(0,0,0,.10);
	-webkit-box-shadow: 0 -1px 0 rgba(0,0,0,.10), 0 1px 0 rgba(0,0,0,.10);
	background-color: #fff;
	border-color: #aeadad;
	border-style: solid;
	border-width: 1px 0;
	box-shadow: 0 -1px 0 rgba(0,0,0,.10), 0 1px 0 rgba(0,0,0,.10);
	color: #444;
	font-size: 1.5em;
	line-height: 1em;
	margin-bottom: 54px;
}
		#encart div {
			margin: 0 auto;
			padding-bottom: 25px;
			position: relative;
			width: 980px;
		}
				#encart p {
					padding: 25px 20px 0;
					width: 670px;
				}
				#encart p + p {
					width: 500px;
				}
						#encart b {
							color: #478902;
							font-weight: normal;
						}
				#encart svg {
					position: absolute;
					right: 0;
					top: -47px;
				}
						/* image de secours, hein Safari. */
						#encart img {
							padding-top: 17px;
						}


/* sections ----------- */
section {
	padding: 10px 20px 100px;
	width: 940px;
}
		section h1 {
			border-left: 9px solid #478902;
			font-size: 1.5em;
			line-height: .8em;
			margin: 0 0 45px -22px;
			padding: 3px 0 0 13px;
		}


/* #futur ----------- */
#futur p {
	padding-bottom: 20px;
}



/* #contact ----------- */
#contact ul {
	color: #444;
	font-size: .875em;
	line-height: 1.2em;
	padding-top: 30px;
}
		#contact li {
			padding-top: 20px;
		}
				#contact strong {
					color: #478902;
					font-weight: normal;
				}
				#contact .twitter {
					background: url(../medias/img/twitter.png) no-repeat 100% 0;
					padding-right: 30px;
				}

/* footer ----------- */
footer {
	background: url(../medias/img/trois-cubes.png) no-repeat 100% 0;
	color: #444;
	font-size: .75em;
	padding: 110px 0 5px;
	text-align: right;
}
		footer strong {
			color: #478902;
			font-weight: normal;
		}



/* Screens >= 980px ----------- */
@media only screen 
and (min-width : 980px) {
	header,
	footer,
	#encart div {
		width: 980px;
	}
	section {
		width: 940px;
	}
}

/* Screens < 994px ----------- */
@media only screen 
and (max-width : 994px) {
	header,
	section,
	footer,
	#encart div {
		width: auto;
	}
	header h1 {
		float: none;
	}
	
	#encart {
		font-size: 1.3em;
	}
			#encart div p {
				width: auto;
			}
			#encart svg {
				-moz-transform: translate(80px, -280px) scale(.5);
				-ms-transform: translate(80px, -280px) scale(.5);
				-o-transform: translate(80px, -280px) scale(.5);
				-webkit-transform: translate(80px, -280px) scale(.5);
				top: -17px;
				transform: translate(80px, -280px) scale(.5);
			}
					/* image de secours, hein Safari. */
					#encart img {
						padding-top: 0;
					}
	
	
	section {
		margin: 0;
		padding: 10px 20px 100px;
	}
			section h1 {
				border-left-width: 6px;
				margin-left: -16px;
				padding-left: 9px;
			}
}


/* Screens <= 740px ----------- */
@media only screen 
and (max-width : 740px) {

	#encart svg {
		visibility: hidden;
	}

	footer {
		padding-right: 2%;
	}
}


/* Smartphones (portrait and landscape) ----------- */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
	h1 img {
		max-width: 280px;
	}
}

