/*
	H Bélanger Électricien
*/


/*---------------------------------
	Layout
-----------------------------------*/
.wrap {
	width: 1170px;
	position: relative;
	margin: 0 auto;
}

body {
	background: #f9f9f9 url('../img/body-bg.jpg') top left repeat-x;
	font-size: 1em;
}

header {
	height: 270px;
	background: transparent url('../img/header-bg.png') top center no-repeat;
}

a {
	color: #39c;
}

a:hover {
	color: #069;
}

h1, h2, h3, h4, h5, h6, blockquote{
	font-family: 'Open Sans', Arial, sans-serif;
	font-weight: 400;
	line-height: 1em;
}

h1 {
	width: 596px;
	font-size: 2.25em;
}

h2 {
	font-size: 1.75em;
	color: #339966;
}

h1, h2, h3 {
	margin-bottom: 40px;
	letter-spacing: 0.05em;
	line-height: 1.1em;
}

h3 {
	font-size: 1.375em;
}

h4 {
	display: inline-block;
	font-size: 0.813em;
	font-weight: 600;
	text-transform: uppercase;
	border-bottom: 2px solid #e3e3e3;
	margin-bottom: 23px;
	padding-bottom: 5px;
	letter-spacing: 0.05em;
}

h5, h6, strong {
	margin-bottom: 28px;
	font-weight: 700;
}

h5 {
	font-size: 1.063em;
	color: #396;
}

h6, strong {
	font-size: 0.938em;
	color: #222;
}

hr {
	border: none;
	background: #f2f2f2;
	height: 1px;
	margin: 17px 0;
}

p{
	font-size: 0.938em;
	color: #666;
	line-height: 22px;
}

ul {
	margin-bottom: 13px;
	color: #666;
}

p.small {
	font-size: 0.813em;
}

blockquote {
	font-size: 1.375em;
	quotes:"\AB""\BB""\2018""\2019";
	line-height: 32px;
	margin-bottom: 23px;
}

blockquote:before {
  content:open-quote;
  margin-right: 8px;
}

blockquote:after {
  content:close-quote;
  margin-left: 8px;
}

.alignright {
	float: right;
	margin: 15px 0 15px 15px;
}

.alignleft {
	float: left;
	margin: 15px 15px 15px 0;
}

.aligncenter {
	text-align: center;
	margin: 0 auto;
	margin: 0 auto;
}

.hidden {
	display: none;
}

.error {
	display: none;
}

/* ------ Form ------ */

form {
	width: 100%;
}

form > div {
	zoom: 1;
}

form > hr {
	width: 550px;
}

form > h3 {
	margin: 50px 0 35px;
}

form > div:before,
form > div:after {
    content: "";
    display: table;
} 

form > div:after {
    clear: both;
}

form .required {
	position: relative;
	top: 5px;
	color: #d00;
	font-weight: bold;
	font-size: 1.125em;
}

form > div label {
	display: block;
	width: 35%;
	float: left;
	line-height: 30px;
	font-weight: bold;
}

form > div input,
form > div select,
form > div textarea {
	border: 1px solid #e2e2e2;
	border-radius: 2px;
}

form > div input {
	width: 57%;
	height: 30px;
	float: left;
	padding: 0 1%;
	text-indent: 5px;
}

form > div select {
	width: 57%;
	padding: 0 0 0 1%;
	position: relative;
	top: 5px;
}

form > div textarea {
	width: 57%;
	padding: 1%;
	height: 190px;
}

form button, a.button{
	display: block;
	margin: 0 auto;	
	border:1px solid #0984B0; -webkit-border-radius: 3px; -moz-border-radius: 3px;border-radius:3px;
	font-size:0.938em;
	font-family: 'Open Sans', Arial, sans-serif;
	padding: 12px 40px 12px 15px;
	text-decoration:none;
	text-shadow: -1px -1px 0 rgba(0,0,0,0.3);font-weight:bold; color: #FFFFFF;
	background: #40AAD2 url('../img/button-bg.png') right -6px repeat-x;
	cursor: pointer;
	text-align: center;
}

.middle.column a.button {
	color: #fff;
	display: inline-block;
	margin: 0 0 30px 45px;
	
}


a.button.slim,
a:hover.button.slim {
	padding: 5px 40px 6px 8px;
	background-position: right center;
	font-size: 0.8em;
	text-align: left;
}

form button:hover, a.button:hover {
	border:1px solid #2e9bc9;
	background: #40AAD2 url('../img/button-bg-hover.png') right -6px no-repeat;
}

/* ------ Header ------ */

.logo {
	width: 234px;
	height: 66px;
	float: left;
	margin: 43px 0 0 -22px;
	background: transparent url('../img/hbelanger-logo.png') center center no-repeat;
}

.rbq {
	position: relative;
	top: 60px;
	left: 80px;
	color: #fff;
	font-size: 13px;
}

header nav,
header nav a {
	color: #fff;
	text-decoration: none;
}

header nav a:hover {
	color: #bae5ff;
}

nav.primary {
	width: 600px;
	float: left;
	margin: 75px 0 0 62px;
	font-size: 0.938em;
}

nav.primary li {
	float: left;
	margin-left: 28px;
}

nav.primary li a {
	border-bottom: 2px solid #3b8ab5;
	padding-bottom: 7px;
}

nav.primary li a:hover {
	border-bottom: 2px solid #85c9f3;
}

header nav.services {
	position: relative;
	top: 33px;
	clear: both;
	margin: 35px 0 0 235px;
	font-size: 17px;
	font-family: "Open sans", Arial, sans-serif;
	font-size: 0.938em;
	font-weight: 500;
	text-shadow: 2px 2px 2px #0a5d7f;
}

header nav.services li {
	display: block;
	float: left;
	margin-left: 65px;
	padding-right: 20px;
	font-size: 1.125em;
	font-weight: 600;
	background: transparent url('../img/nav-services-arrow.png') right 20px no-repeat;
}

header .telephone {
	float: right;
	margin: 71px 40px 0 0; 
	font-family: "Open sans", Arial, sans-serif;
	font-size: 1.75em;
	font-weight: 300;
	color: #fff;
}

/* ------ Left rail ------ */

.left.column .services {
	margin-bottom: 25px;
}

.left.column .services h3 {
	font-size: 1.063em;
	border-bottom: 1px solid #d5d5d5;
	padding-bottom: 15px;
	margin-bottom: 25px;
	color: #069;
	font-weight: 600;
}

.left.column .services ul {
	color: #39c;
	font-size: 0.813em;
}

.left.column .services li a {
	color: #39c;
}

.left.column .services li {
	margin-bottom: 10px;
	line-height: 1.2em;
}

.left.column .services a:hover {
	border-bottom: 1px solid #069;
}

.left.column .services .button {
	margin: 0 0 10px 0;
}

/* ------ Right rail ------ */

.right.column h2 {
	margin-bottom: 15px;
	font-size: 1.063em;
	color: #000;
}

nav.social {
	margin-bottom: 30px;
}

nav.social a {
	margin-right: 6px;
}

.ad {
	margin-bottom: 30px;
}

.ad.medium {
	width: 180px;
	/*height: 355px;
	background: #349a67;*/
}

.ad.small {
	width: 180px;
	/*height: 175px;
	background: #68accd;*/
}

.right.column .cmeq {
	margin-bottom: 25px;
}

/* ------ Contenu ------ */

.main {
	position: relative;
	/*background: transparent url('../img/main-bg.gif') repeat-y;*/
}

.main .column {
	float: left;
}

.main .column {
	width: 239px;
	background: #f9f9f9 url('../img/main-column-bg.jpg') repeat-x;
	min-height: 560px;
}

.main .column .content  {
	position: relative;
	padding: 30px;
}

.left.column .content,
.right.column .content {
	border-top: 4px solid #89d2ad;
}

.middle.column {
	width: 690px;
	min-height: 560px;
	position: relative;
	top: -50px;
	background: #fff;
	border-bottom: 2px solid #e1e1e1;
	border-top: 4px solid #89d2ad;
	font-size: 0.938em;
	color: #666;
	line-height: 1.4em;
		border-left: 1px solid #e1e1e1;
	border-right: 1px solid #e1e1e1;
}

.middle.column .content {
	padding: 45px 45px 22px;
}

.middle .content article {
	padding-bottom: 23px;
	position: relative;
}

.couverture.slider {
	display: none;
}

.middle .content p,
.middle .content img,
.middle .content .slider {
	margin-bottom: 28px;
}

.middle .content p:last-child {
	margin-bottom: 0;
}

.middle .content li {
	margin: 15px 0 0 25px;
	padding-left: 5px;
	list-style: url(../img/bullet.gif);
	font-size: 0.938em;
}

#tabs-container > div {
	display: none;
}

#tabs-container > div.showscale {
	display: block;
}

/* ------ Services ------ */

.content .service {
	display: inline-block;
	color: #ccc;
	position: relative;
	top: -20px;
}

.service-detail .couverture img {
	width: 580px;
}

.content .service li {
	float: left;
	list-style: none;
	margin: 15px 7px 0;
	padding-left: 22px;
	font-size: 0.938em;
	line-height: 1.2em;
}

.content .service li:first-child {
	float: left;
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}

.content .service li.residentiel,
.content .service li.commercial,
.content .service li.restauration {
	color: #39c;
	background: transparent url(../img/check-green.gif) 0 0 no-repeat;
}

/* ------ Page liste services ------ */

.middle .tabs-nav {
	width: 100%;
}

.middle .tabs-nav li {
	float: left;
	list-style: none inside none;
	margin: 0; padding: 0;
	text-align: center;
	background: #fbfbfb;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #eee;
}

.middle .tabs-nav li:first-child {
	border-left: 1px solid #eee;
}

.middle .tabs-nav li a {
	display: block;
	width: 148px;
	height: 45px;
	background: #fbfbfb;
	line-height: 45px;
	color: #39c;
}

.middle .tabs-nav li a:hover {
	color: #069;
}

.middle .tabs-nav li a.selected {
	position: relative;
	margin-top: -4px;
	color: #666;
	border-top: 4px solid #89d2ad;
}

.middle .tabs-container {
	width: 100%;
	border-top: 1px solid #eee;
	margin-top: 20px;
}

.middle .service-list .tabs-container li {
	zoom: 1;
	list-style: none inside none;
	margin: 0; padding: 10px 0;
	border-bottom: 1px solid #eee;
}

.middle .service-list .tabs-container li:before,
.middle .service-list .tabs-container li:after {
    content: "";
    display: table;
} 

.middle .service-list .tabs-container li:after {
    clear: both;
}

.middle .service-list .tabs-container li a {
	height: 45px;
	display: block;
	clear: both;
	background: transparent url('../img/circle-check.png') right center no-repeat;
}

.middle .service-list .tabs-container li a:hover {
	background: transparent url('../img/circle-check-hover.png') right center no-repeat;
}

.middle .service-list .tabs-container li a img,
.middle .service-list .tabs-container li a span {
	float: left;
	margin: 0;
}

.middle .service-list .tabs-container li a span {
	width: 475px;
	line-height: 45px;
	margin-left: 15px;
	padding-right: 32px;
	font-size: 1.375em;
	color: #39c;
}

.middle .service-list .tabs-container li a:hover span {
	color: #069;
}

/* ------ Témoignages ------ */

.temoignages h5 {
	margin-bottom: 15px;
}

/* ------ Contact ------ */

.info-contact {
	margin: 40px 0 20px;
}

.info-contact .adresse,
.info-contact .telephone,
.info-contact .courriel {
	float: left;
}

.info-contact .adresse {
	width: 300px;
} 

.info-contact .telephone {
	clear: right;
} 

.info-contact .adresse p,
.info-contact .telephone p {
	margin-bottom: 3px;
} 

.contact form button {
	margin: 17px 0 0 35%;
}

/* ------ Footer ------ */
.fournisseur-detail .couverture  {
	width: 155px;
	height: 65px;
}

/* ------ Footer ------ */

.footer-bg {
	border-top: 1px solid #e3e3e3;
	background: #fff;
	padding-bottom: 20px;
}

footer {
	background: #fff;
	text-align: center;
}

footer h4{
	display: inline-block;
	margin: 45px auto;
	font-size: 0.813em;
	text-transform: uppercase;
}

.partners {
	border-bottom: 1px solid #f2f2f2;
}

.partners li {
	display: inline-block;
	margin: 0 35px;
	height: 100px;
}

.partners li  img {
	vertical-align: middle;
}

.footer-nav {
	margin: 60px 0 0 20px;
}

.footer-nav nav li a{
	margin: 0 0 0 20px;
}

.footer-nav nav li:first-child{
	width: 180px;
}

.bottom.footer-extra {
	padding-left: 219.5px;
	width: 800px;
}

.footer-extra nav li a {
	margin: 0 25px 0 0;
}

.footer-extra nav li:first-child {
	border: 0;
}

.bottom {
	width: 100%;
	padding-bottom: 8px;
}

.bottom nav  {
	font-size: 0.813em;
	color: #333;
}

.bottom nav li {
	float: left;
}

.bottom nav li a {
	color: #39c;
}

.bottom nav li a:hover {
	color: #069;
	text-decoration: underline;
}

.credits {
	float: right;
	margin-right: 20px;
	font-size: 0.813em;
	color: #ccc;
}

.credits a {
	color: #c00;
	font-weight: bold;
}