@import url(http://fonts.googleapis.com/css?family=Oswald&subset=latin&v2);

/* ============================== */
/* ! Layout for desktop version   */
/* ============================== */

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td, article, aside, section, footer, header, nav{ 
	margin: 0; 
	padding: 0;
}
table{ 
	border-collapse: collapse; 
	border-spacing: 0; 
} 
fieldset, img{  
	border: 0; 
}
address, caption, cite, code, dfn, em, strong, th, var{ 
	font-style: normal; 
	font-weight: normal; 
}
ol, ul{ 
	list-style: none;
	text-indent: 0;
} 
caption, th { 
	text-align: left; 
} 
h1, h2, h3, h4, h5, h6 { 
	font-size: 100%; 
	font-weight: normal; 
} 
q:before, q:after { 
	content: ''; 
} 
abbr{
	border-bottom: 1px dotted #777; 
}
a{
	text-decoration: none;
	outline : none; /* enleve les pointilles sous firefox lorsqu'un lien est clique */
}
nav, header, footer, section, article{
	display: block;
}

/* general
-------------------*/
html{
	font-family: Helvetica, Verdana, sans-serif;
	font-size: 14px;
	background: url(../img/bgn4.jpg) #fff top center no-repeat fixed;
	-webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
body{
	margin: 40px auto 80px auto;
	width: 1140px;
	color: #444;
	-moz-box-shadow: 0px 0px 10px #111;
	-o-box-shadow: 0px 0px 10px #111;
	-webkit-box-shadow: 0px 0px 10px #111;
	box-shadow: 0px 0px 10px #111;
}

/* positionement
---------------*/
#header{
	height: 40px;	
	/*margin-bottom: 20px;*/
	color: #333;
	border-bottom: 1px solid #fff;
	background: rgba(60, 60, 60, 0.2);
	line-height: 40px;
}
.top{
	padding-top: 20px;
	background: rgb(221, 218, 212);
	border-bottom: 1px solid #aaa;
}
#logo{
	height: 24px;
	-webkit-transition: all 300ms ease-in;
	-moz-transition: all 300ms ease-in;
	-o-transition: all 300ms ease-in;
	transition: all 300ms ease-in;
	font-size: 1.1em;
	font-weight: bold;
	color: #fff;
	text-transform: uppercase;
}
#logo img{
	vertical-align: middle;
	height: 28px;
}
#nav{
	font-family: "Oswald", Helvetica, serif;
	font-size: 1em;
	font-size: 400;
}
#nav ul{
	list-style-type: none;
	text-align: right;
}
#nav li{
	display: inline;
	margin-right: 25px;
	line-height: 36px;
}
#nav li:last-child{
	margin-right: 0;
}
#nav a{
	color: #fff;
	-webkit-transition: color 700ms ease-in;
	transition: color 700ms ease-in;
}
#nav a:hover{
	color: #0090c6;
	-webkit-transition: color 150ms ease-in;
	transition: color 150ms ease-in;
}
/*#nav a[href*="#bottom"]:before{
	content: url(../img/bottom.png);
	margin-right: 5px;
}*/
nav .scroll img{
	/*margin-top: 10px;*/
	vertical-align: middle;
}

#photo, #slider{
	margin-bottom: 20px;
}
#contact h1, #photo h1, #portfolio h1{
	margin-bottom: 20px;
}
#photo img{
	margin-left: 10px;
	padding: 2px;
	-moz-box-shadow: 0px 0px 5px #222;
	-o-box-shadow: 0px 0px 5px #222;
	-webkit-box-shadow: 0px 0px 5px #222;
	box-shadow: 0px 0px 5px #222;
}
#photo a{
	color: #0090c6;
	font-weight: bold;
}
#photo a:hover{
	
	
}
#slider h1{
	
}
#slider img{
	width: 800px;
}
#nivo-slider{
	width: 100%;
	position:relative;
	background:url(images/loading.gif) no-repeat 50% 50%;
}
#nivo-slider img{
	/*stop flashing image before plugin load*/
	position:absolute;
	top:0px;
	left:0px;
	display:none;
}

#content, #content-page, #contact{
	padding-top: 20px;
	background: #fff;
	background: rgba(255, 255, 255, 0.9);
}
#content .fourcol{
	cursor: pointer;
	margin-right: 0;
	margin-left: 0;
	padding: 20px 20px 0 20px;
	border-left: #aaa 1px solid;
	border-bottom: #aaa 1px solid;
	-webkit-transition: all 300ms ease-in 0; /* paramètres = propriété durée "fonction-temps" delai */
	-moz-transition: all 300ms ease-in 0;
	-o-transition: all 300ms ease-in 0;
	transition: all 300ms ease-in 0;
}
#content .fourcol:hover{
	border-bottom-color: #0090c6;
	-webkit-transition: all 300ms ease-in 0; /* paramètres = propriété durée "fonction-temps" delai */
	-moz-transition: all 300ms ease-in 0;
	-o-transition: all 300ms ease-in 0;
	transition: all 300ms ease-in 0;
	
}
#content .row .fourcol:first-child{
	padding-left: 0;
	border-left: none;
}
#content .row .fourcol:last-child{
	padding-right: 0;
}
#content article{
	height: 600px;
	overflow: hidden;
}
#content article.single{
	height: inherit;
	margin-bottom: 60px;
}
#content img{
	margin: 5px;
}
#content-page, #page-404, #portfolio, #contact{
	padding-bottom: 60px;
}

.pagination{
	padding: 20px 0;
	text-align: center;
	background: #fff;
	background: rgba(255, 255, 255, 0.9);
}
.pagination a{
	margin: 0 10px;
	opacity: 0.6;
	-webkit-transition: all 300ms ease-in;
	-moz-transition: all 300ms ease-in;
	-o-transition: all 300ms ease-in;
	transition: all 300ms ease-in;
}
.pagination a:hover{
	opacity: 1;
	-webkit-transition: all 300ms ease-in;
	-moz-transition: all 300ms ease-in;
	-o-transition: all 300ms ease-in;
	transition: all 300ms ease-in;
}

.pub{
	font-size: 0.9em;
	margin-bottom: 20px;
}
#comments{
	border-top: 1px #bbb dotted;
	padding-top: 25px;
}
#comments li{
	padding: 10px;
	display: block;
}
#comments > ol > li{
	border-bottom: 1px dotted #bbb;
}
.vcard{
	background: #efefef;
	padding: 10px 0 0 10px;
	border-bottom: 1px #d5d5d5 solid;
}
.comment-avatar{
	float: left;
	margin-right: 10px;
}
comment-info{
	float: left;
}
.comment-author{
	font-size: 1.4em;
	vertical-align: top;
	background: none;
	color: #222;
}
.comment-text{
	margin-top: 10px;
}
#comments > ol > li li{
	margin-left: 25px;
	border-left: 1px #bbb dotted;
}

#sidebar{
	margin-bottom: 20px;
	font-size: 0.9em;
}
#sidebar label, #sidebar header{
	font-family: 'Oswald', sans-serif;
	font-size: 2em;
	line-height: 1.2em;
	text-transform: uppercase;
	color: #333;
	margin-bottom: 0.35em;
	display: block;
}
#sidebar section, #sidebar form{
	margin-bottom: 20px;
}
#sidebar li{
	border-bottom: 1px dotted #bbb;
	line-height: 2em;
}
#sidebar a{
	color: #888;
	border: 0;
}
#sidebar a:hover{
	color: #0090c6;
}
input#search{
	width: 175px;
	display: inline;
	color:#888;
	border: #888 1px solid;
}
input#search:focus{
	border: #0090c6 1px solid;
	outline: none;
}
#sidebar input[type="image"], #page-404 input[type="image"], #content input[type="image"], #content-page input[type="image"]{
	position: relative;
	top: 7px;
	margin-left: 10px;
	margin-bottom: 0;
}

#footer{
	font-family: Helvetica, serif;
	font-size: 0.8em;
	border-top: 1px solid #aaa;
	background: rgb(221, 218, 212);
	height: 45px;
}
#footer *{
	line-height: 40px; /*?? peut peut etre etre déplacé au dessus*/
	vertical-align: middle;
}
#footer .right li{
	line-height: 40px;
	float: left;
	margin-left: 15px;
}
#footer .left li{
	float: left;
	margin-right: 25px;
}
#footer a{
	color: #888;
	-webkit-transition: color 700ms ease-in, border-bottom-color 700ms ease-in;
	transition: color 700ms ease-in, border-bottom-color 700ms ease-in;
}
#footer a:hover{
	color: #0090c6;
	-webkit-transition: color 200ms ease-out, border-bottom-color 200ms ease-in;
	transition: color 200ms ease-out, border-bottom-color 200ms ease-in;
}
#footer a[href*="mailto"]:before{
	margin-right: 5px;
}
footer a[href*="mailto"] img{
	padding-bottom: 2px;
}
#footer a[href*="#top"]:before{
	margin-right: 5px;
}
#footer a[href*="google"]:before{
	margin-right: 5px;
}
#footer a[href*="youtube"]:before{
	margin-right: 5px;
}
#footer a[href*="facebook"]:before{
	margin-right: 5px;
}
#footer a[href*="twitter"]:before{
	margin-right: 5px;
}
#footer a[href*="tumblr"]:before{
	margin-right: 5px;
}


/* mise en page general
----------------------*/
#content article h1 a{
	color: #222;
	font-weight: normal;
}
#content article h1 a:hover{
	color: #0090c6;
}
#content a, .info a, #comments a, #reply a, #content-page a, #page-404 a{
	color: #0090c6;
}
#content a:hover, .info a:hover, .more-link:hover, #comments a:hover, #content-page a:hover, #page-404 a:hover{
	color: #888;
}
#content article ul{
	list-style-type: disc;
	list-style-position: inside;
	text-indent: 1.4em;
}
h1{
	font-family: 'Oswald', sans-serif;
	font-size: 1.8em;
	line-height: 1.2em;
	text-transform: uppercase;
	color: #333;
	margin-bottom: 1em;
}
h2{
	font-family: Helvetica, serif;
	font-size: 1.4em;
	color: #0090c6;
	margin-bottom: 10px;
}
h3{
	font-size: 1.15em;
	color: #111;
	margin-bottom: 10px;
}
.info{
	margin-top: -1.2em;
	border-bottom: 1px #111 solid;
	border-top: 1px #111 solid;
	padding: 0;
	text-align: center;
	color: #999;
	font-family: Helvetica, serif;
	font-size: 0.85em;
}
.info img{
	width: 16px;
	vertical-align: middle;
}
p, ul, ol, dl, blockquote, code, table{
	line-height: 1.5em;
	margin-bottom: 1.3em;
}
blockquote{
	background: #efefef;
	color: #888;
	padding: 1em;
}
blockquote *:before{
	content: url(../img/quote.png);
	margin-right: 10px;
}
label, input[type="button"], input[type="submit"]{
	display: block;
	margin-bottom: 12px;
}
input[type="text"],  input[type="password"], input[type="email"], textarea{
	display: block;
	font-size: 1em;
	color:#888;
	line-height: 2em;
	text-indent: 10px;
	margin-bottom: 12px;
	background: #fff;
	border: 1px solid #888;
}
input[type="search"]{
	-webkit-appearance: textfield;
}
textarea{
	line-height: 1.6em;	
}
input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, textarea:focus{
	color: #0090c6;
	outline: none;
	border-color: #0090c6;
}
input[type="submit"], input[type="button"]{
	background: #222;
	color: #fff;
	padding: 10px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	border: 0;
	font-size: 1.1em;
	cursor: pointer;
}
input[type="submit"]:hover, input[type="button"]:hover{
	background: #0090c6;
	color: #fff;
}
strong{
	font-weight: bold;
}
em{
	font-style: italic;
}
code{
	display: block;
	font-size: 0.85em;
	overflow: auto;
}

/* selon les pages
------------------*/
/* CONTACT */
#contact label{
	display: block;
	margin-top: 1.5em;
}
#contact textarea{
	height: 200px;
}
#contact #left a{
	font-family: 'Oswald', sans-serif;
	text-transform: uppercase;
	font-weight: 400;
	font-size: 2.4em;
}
#contact #left a[href*="mailto"]:before{
	content: url(../img/mail72.png);
	margin-right: 10px;
}
#contact #left a[href*="facebook"]:before{
	content: url(../img/facebook72.png);
	margin-right: 10px;
}
#contact #left a[href*="twitter"]:before{
	content: url(../img/twitter72.png);
	margin-right: 10px;
}
#contact #left a[href*="google"]:before{
	content: url(../img/google72.png);
	margin-right: 10px;
}
#contact li{
	margin-bottom: 1.1em;
}
#contact li a{
	background: none;
	color: #222222;
}
#contact li a:hover{
	color: #0090c6;
}
#contact #left, #contact #right{/*bug fix*/
}
#contact input, #contact textarea{
	margin: 0;	
}
#contact input[type="submit"]{
	margin-top: 1.5em;	
}

/* PORTFOLIO
------------*/
#portfolio img{
	cursor: pointer;
}


/* divers
--------*/
.left{
	float: left;
}
.right{
	float: right;
}
.clear{
	clear: both;
}
br.clear{
	height: 0;
}
.tright{
	text-align: right;	
}
.tcenter{
	text-align: center;
}
.validateIt-error{
	color: #d63d29;
	font-style: italic;
	line-height: 1.5em;
	margin-top: -2em;
}
#footer small{
	font-size: 1em;
}
#page-404 .big{
	font-size: 4.5em;
}




/* ============================= */
/* ! Layout for mobile version   */
/* ============================= */

@media handheld, only screen and (max-width: 767px) {

	body {
		font-size: 13px;
		width: 100%;
	}
	#header{
		text-align: center;
		height: none;
		margin-bottom: 56px;
	}
	#logo{
		position: relative;
	}
	#nav{
		position: relative;
		margin-top: 3px;
		margin-bottom: 20px;
		background: #333;
		font-size: 1em;
	}
	#nav ul{
		text-align: center;
	}
	#nav li{
		margin-right: 10px;
	}
	#nav a{
		color: #aaa;
	}
	#nav a[href*="#bottom"]{
		padding-top: 5px;
	}
	input#search{
		width: 300px;
	}
	#content .container, #content .container img, #content .row .fourcol, #content article{
		padding: none;
	}
	#content .row .fourcol:first-child{
		padding-left: 20px;
	}
	#content .row .fourcol:last-child{
		padding-right: 20px;
	}
	#content .row .fourcol{
		height: 400px;
		overflow: hidden;
		border: 0;
		border-bottom: #aaa 1px solid;
	}
	#content .row .fourcol:hover{
		border-bottom-color: #0090c6;
	}
	#footer{
		position: relative;
		top: auto;
		margin-top: -45px;
		text-align: center;
	}
	#footer small{
		font-size: 1em;
	}
	#footer ul{
		margin-bottom: 0;
	}
	#footer .right li, #footer .left li{
		display: inline;
		margin: 3px;
	}
	#footer .right, #footer .left{
		position: relative;
	}

}


/* ========================================== */
/* ! Provide higher res assets for iPhone 4   */
/* ========================================== */

@media only screen and (-webkit-min-device-pixel-ratio: 2) { 

	body{
		width: 100%;	
	}
/*	.logo {
		background: url(logo2x.jpg) no-repeat;
		background-size: 212px 303px;
	}*/

}
