/*
Theme Name: MoteurCenter
Description: Thème pour MoteurCenter.fr
Version: 1.0
Author: Sylvain Peigney
Author URI: http://www.volpeo.fr
*/

@import "css/reset.css";
@import "css/typography.css";
@import "css/layout.css";


/*
 * 	== Common
 */
body {
	font-family: Arial, sans-serif;
	font-size: 14px;
	background: #f3f3f3;
}
h1, h2, h3, h4 {
	font-family: 'PT Sans Narrow', arial, serif;
	font-weight: normal;
	margin-bottom: 14px;
	padding-top: 6px;
}
a {
	color: #2b6ed3;
	text-decoration: none;
}

h1 a, h2 a, h3 a, h4 a {
	color: #444;
}


h2 {
	font-size: 24px;
}

.wrapper {
	width: 940px;
	margin: auto;
}

.yellow {
	background: url(img/bg-content.png) center top repeat-x;
	min-height: 62px;
}

.page h2, .error404 h2 {
	padding-top: 36px;
}

.clear {
	clear: both;
}

/*
 * 	== Header
 */

#header {
	height: 192px;
	background: url(img/bg-header.png);
}
#header h1 {
	margin: 0;
}
#header p {
	text-transform: uppercase;
	font-size: 12px;
	font-weight: bold;

}

#logo {
	width: 476px;
	text-align:center;
	padding-top: 55px;
	float: left;
	color: black;
}

img.rectifplus {
	float: right;
	margin-top: 40px;
}

/*
 *	== Menu
 */

#the_menu {
	height: 15px;
	background: url(img/brush-dark.png);
	position: relative;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
	z-index: 1;
}
	div.menu {
		position: relative;


	}
		div.menu ul {
			list-style: none;
			margin: 0;
			margin-top: -38px;
			position: absolute
		}
			div.menu ul li {
				display: inline-block;

			}
				div.menu ul li a {
					display: inline-block;
					height: 38px;
					line-height: 38px;
					background: url(img/brush-light.png);
					padding: 0 12px;
					color: black;
					text-decoration: none;
					text-transform: uppercase;
					font-weight: bold;
					-moz-border-radius: 5px 5px 0 0;
					-webkit-border-radius: 5px 5px 0 0;
					border-radius: 5px 5px 0 0;
					text-shadow: 0 1px 0 #cbcbcb;
				}
				div.menu ul li.current-menu-item a {
					background: url(img/brush-dark.png);
					color: white;
					text-shadow: 0 1px 0 black;
				}

/*
 * 	== Intro
 */

#intro {
	height: 300px;
	background: url(img/brush.png);
}
	#about {
		float: right;
		width: 380px;
		margin-top: 14px;
		margin-left: 20px;
		color: #ffffff;
		text-shadow: 0 -1px 0 black;
		line-height: 18px;
	}
	#about h2 {
		padding-top: 6px;
	}
	#about p {
		margin-top: 10px;
	}
	#about a {
		color: #f5dc00;
		text-decoration: none;
	}

/*
 * 	== Slider
 */

#slider {
	height: 300px;
	width: 540px;
	background: #ccc;
	float: left;
	overflow: hidden;
	position: relative;
}
	#slider ul {
		width: 30000px;
		height: 300px;
		list-style: none;
		margin: 0;
	}
		#slider ul li {
			width: 540px;
			height: 300px;
			float: left;
			position:absolute;
		}
		#slider img.slide-bg {
			position: absolute;
			top: 0;
			left: 0;
		}
		#slider div.slide-content {
			position: absolute;
			bottom: 0;
			background: rgba(0,0,0,0.8);
			width: 540px;
			text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.6);
		}
			#slider h3 {
				width: 220px;
				float: left;
				padding: 15px 0 8px 25px;
				color: #ccc4c6;
				font-size: 26px;
				text-align: right;
				margin-bottom: 42px;
				line-height: 26px;
			}
			#slider div.descr {
				width: 260px;
				float: right;
				padding: 18px 20px 8px 0;
				color: #ccc4c6;
				font-size: 14px;
				margin-bottom: 42px;
				line-height: 20px;
			}
			#slider div.descr p {
				margin-top: 4px;
			}
			#slider div.descr a {
				color: #F5DC00;
				text-decoration: none;
			}


	#nav-slide {
		z-index: 100;
		position: absolute;
		bottom: 0;
		height: 42px;
		line-height: 42px;
		background: rgba(0,0,0,0.8);
		width: 540px;
	}
		#nav-slide img {
			position: absolute;
			top: 10px;
			cursor: pointer;
		}
		#nav-slide img.nav-right {
			right: 10px;
		}
		#nav-slide img.nav-left {
			left: 10px;
		}
		#nav-slide p.slides {
			text-align: center;
		}
		#nav-slide span {
			width: 10px;
			height: 10px;
			background: url(img/nav-slide.png) 0 -10px no-repeat;
			display: inline-block;
			margin: 0 6px;
			cursor: pointer;
		}
		#nav-slide span.off {
			background: url(img/nav-slide.png) 0 0 no-repeat;
		}

/*
 * 	== Accueil
 */
#activite ul {
	list-style: none;
	margin: 0;
}
	#activite ul li {
		display: inline-block;
		margin-right: 16px;
	}
	#activite ul li:last-child {
		margin-right: 0px;
	}

#histoire {
	width: 380px;
	float: left;
}
	#histoire ul {
		list-style: none;
		margin: 0;
	}
		#histoire ul li {
			min-height: 45px;
			padding-left: 80px;
			position: relative;
			margin-top: 20px;
		}
			#histoire ul span {
				width: 70px;
				height: 45px;
				display: block;
				position: absolute;
				background: url(img/date.png) no-repeat;
				top: 0;
				left: 0;
				color: white;
				line-height: 40px;
				padding-top: 5px;
				text-align: center;
				font-weight: bold;
				font-size: 20px;
				text-shadow: 0 1px 0 black;
			}

#realisations {
	width: 540px;
	float: left;
	margin-left: 20px;
}
	#realisations div.rea-post {
		clear: both;
		margin-top: 10px;
	}
	#realisations img {
		float: left;
		margin-right: 10px;
		margin-top: 0px;
		border: 4px solid #747474;
	}
	#realisations h3 {
		font-family: arial, sans-serif;
		padding-top: 0px;
		margin-bottom: 5px;
		font-size: 18px;
	}

	.readmore {
		text-align: right;
	}

#partenaires {
	clear: both;
	height: 186px;
	padding: 56px 0 0px;
	background: url(img/bg-partenaires.png) left top repeat-x;
}
	#partenaires div.brush {
		height: 130px;
		background: url(img/brush.png);
	}
		#content #partenaires h2 {
			padding-top: 48px;
			font-family: Arial, sans-serif;
			font-size: 14px;
			font-weight: bold;
			color: white;
			text-shadow: none;
			width: 140px;
			padding-right: 10px;
			float: left;
		}
		#partenaires div.logos {
			float: left;
			width: 790px;
			overflow: hidden;
		}
		#partenaires ul.overflow {
			width: 4000px;
			margin: 0;
		}
			#partenaires ul.overflow li {
				float: left;
				height: 130px;
				list-style: none;
				width: 190px;
				margin-right: 10px;
				text-align: center;
				line-height: 130px;
			}
			#partenaires ul.overflow li img {
				vertical-align: middle;

			}


/*
 * 	== Content
 */

#content {
	background: url(img/bg-content.png) center top repeat-x;
}
	#content h2 {
		padding-top: 36px;
		text-shadow: 0 1px 0 white;
	}



/*
 *	== Footer
 */

#footer {
	padding-bottom: 50px;
	clear: both;
	margin-top: -30px;
}

#footer .left-part {
	float: left;
}

#footer .right-part {
	float: right;
}
	#footer .right-part li {
		float: left;
		list-style: none;
		margin-left: 8px;
	}
#bar-footer {
	height: 127px;
	background: url(img/bar-foot.png) left top;
	clear: both;
}

/*
 *	== Liste des réalisations
 */
#list-rea {
	width: 620px;
	float: left;
	margin-top: 36px;
}
#list-rea p {
	margin: 10px 0;
}

#list-rea p img {
	padding: 8px;
	background: white;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
	margin: 5px

}
#list-rea p img.aligncenter {
	display: inline;
}

#list-rea dt.gallery-icon img {
	padding: 8px;
	background: white;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
	margin: 5px
}

#list-rea dt.gallery-icon, #list-rea dl.gallery-item {
	display: inline;
}
div.gallery {
    text-align: center;
}

/*
 *	== Sidebar
 */
#sidebar {
	width: 300px;
	float: left;
	margin-left: 20px;
	margin-top: 36px;
}
	#sidebar h3 {
		font-size: 20px;
		margin-top: 10px;
		margin-bottom: 6px;
	}
	#sidebar ul.xoxo {
		margin-left: 20px;

	}
	#sidebar ul li.widget-container {
		list-style: none;

	}

/*
 *	== Contact
 */
#w40 {
	float: left;
	width: 360px;
	margin-right: 40px;
}
#w60 {
	float: left;
	width: 540px;
}

	#w60 p {
		margin: 0 0 20px;
	}

div.wpcf7 input.wpcf7-text, div.wpcf7 textarea {
	width: 100%;
	padding: 2px 3px;
	font-size: 12px;
}
span.nom, span.prenom, span.immat {
	width: 200px;
	display: block;
}
span.tel  {
	width: 100px;
	display: block;
}

div.wpcf7 em, #respond span.required {
	color: red;
}

p span.wpcf7-not-valid-tip {
    background: #FFCCCC;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    color: #CC0000;
    display: block;
    font-size: 12px;
    left: -130px;
    padding: 3px 6px 5px;
    position: absolute;
    top: 10px;
    width: 110px;
    border: none;
    text-shadow: 0 -1px 0 rgba(255,255,255,0.2);
}

p span.wpcf7-not-valid-tip:after {
    background: none repeat scroll 0 0 transparent;
    border-color: transparent #FFCCCC;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    content: "";
    display: block;
    position: absolute;
    right: -5px;
    top: 50%;
    width: 0;
    margin-top: -3px;
}


div.wpcf7 p {
	margin-top: 10px;
	position: relative;
}
p span.wpcf7-form-control-wrap {
    position: static;
}

ul.tabs {
	margin: 0;
	margin-top: 28px;
	border-bottom: 1px solid #CCC	;
}

ul.tabs li {
	float: left;
	list-style: none;
	margin: 0 5px;
	margin-top: 1px;
	position: relative;
	bottom: -1px;
	-moz-border-radius: 5px 5px 0 0;
	-webkit-border-radius: 5px 5px 0 0;
	border-radius: 5px 5px 0 0;
	border: 1px solid #CCC;
	background: #eeeeee;
	background: -moz-linear-gradient(top, #eeeeee 0%, #e0e0e0 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#e0e0e0));
	background: -webkit-linear-gradient(top, #eeeeee 0%,#e0e0e0 100%);
	-moz-box-shadow: inset 0 -1px 1px rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 0 -1px 1px rgba(0,0,0,0.1);
	box-shadow: inset 0 -1px 1px rgba(0,0,0,0.1);
}
ul.tabs li.current {
	background: #F3F3F3;
	border-bottom: 1px solid #F3F3F3;
	background: -moz-linear-gradient(top, #ffffff 0%, #f3f3f3 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f3f3f3));
	background: -webkit-linear-gradient(top, #ffffff 0%,#f3f3f3 100%);
	box-shadow: 0 -1px 1px rgba(0,0,0,0.1);
}
ul.tabs li a {
	color: #444;
	outline: none;
}
ul.tabs li a h2 {
	padding: 6px 12px;
	margin: 0;
}

/*
 *	== Listes 50-50
 */

div.notre-reseau p {
	margin: 15px 0;
}

#wleft {
	float: left;
	width: 460px;
	margin-right: 20px;
}

#wright {
	float: left;
	width: 460px;
}

div.nos-prestations ul li {
	list-style-image: url(img/services.png);
	margin-bottom: 10px;
}

div.pieces-detachees ul li {
	list-style-image: url(img/pieces.png);
	margin-bottom: 10px;
}

h3#reply-title, h3#comments-title {
	margin-top: 20px;
	font-size: 20px;
}

#respond input, #respond textarea {
	display: block;
}
p.form-allowed-tags {
	display: none;
}

p.infos {
	background: #E3E9EB;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	padding: 3px 8px 5px;
	clear: both;
}
#list-rea p.mini-list {
	float: left;
	margin: 0;
	margin-right: 10px;
	margin-top: -5px;
}

ol.the_comments {
	margin-left: 0;
}
li.comment {
	list-style: none;
	padding-left: 50px;
	position: relative;
	margin-top: 20px;
}

div.comment-author {
	font-weight: bold;
}

div.comment-author img.avatar {
	position: absolute;
	top: 0;
	left: 0;
}

#list-rea h2 {
	margin-bottom: 0px;
}

#list-rea p.postmeta {
	color: #AAA;
	margin-top: 0;
}
p.postmeta a {
	color: #AAA;
}


div.comment-meta a {
	color: #AAA;
	font-size: 12px;
}
p.modo {
	background: #E3E9EB;
	color: #444444;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	padding: 1px 6px 4px;
}

div.comment-body {
	line-height: 1.5em;
}

#list-rea div.comment-body img {
	background: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	padding: 0;
}

hr {
	border-top: 1px solid #E6E6E6;
	border-bottom: 1px solid #F8F8F8;
}
a.def {
	position: relative;
}
div.content-def {
	position: absolute;
	width: 400px;
	top: 24px;
	left: -190px;
	background: white;
	padding: 10px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.6);
	border-radius: 5px;
	color: #444;
	font-size: 12px;
	display: none;
	z-index: 100;
}

div.content-def img {
	margin: 5px 10px;
	border-right: 1px solid #CCC;
	padding-right: 5px;
}
div.content-def h4 {
	margin: 0;
	padding: 0;
	font-size: 13px;
	font-weight: bold;
	font-family: Arial, sans-serif;
}
div.content-def:after {
	content:"";
	width: 14px;
	height: 7px;
	position: absolute;
	display: block;
	top: -7px;
	height: 10px;
	right: 50%;
	margin-right: 5px;
	background: transparent url(img/def-tick.png) no-repeat;
}

a.def img {
	vertical-align: text-bottom;;
}


