/*
Theme Name: Bois et lumière
Theme URI: 
Description: Thème principal de www.boisetlumiere.ch
Author: Creative Republic
Author URI: http://www.creative-republic.ch/
Version: 1.0


License:
License URI:

*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul, .home-article ol, .home-article ul {
	list-style: none;
	margin-left: 0;
}

article ol, article ul {
	list-style: disc;
	margin-left: 18px;
}

article li {
	margin-bottom: 15px;
}

article li h3 {
	margin-bottom: 0;
}

blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* fin reset css */

/* Structure */

html {
	margin: 0 !important;
	padding: 0 !important;
}

body {
	font-family: "DIN", Verdana, sans-serif;
	font-weight: normal;
	background: #C6C6C6;
	text-align: justify;
	line-height: 15pt;
}

div#wrapper {
	width: 860px;
	margin: 0 auto;
	padding: 50px;
	background-image: url(img/bl_web_wrapper-bg.gif);
	/*SPECIAL EVENT*/ 
	/* background-image: url(img/bl_web_wrapper-habitat-jardin-2015-bg.jpg); */
	background-repeat: no-repeat;
	background-color: #fff;
}

section#content {
/*	margin-top: 50px;
*/}

article {
	float: left;
	width: 564px;
	margin: 0 25px 0 0;
}	

aside {
	float: left;
	width: 262px;
}

article.home-article  {
	float: left;
	width: 270px;
	margin-right: 25px;
}

article.home-article:last-child {
	margin-right: 0;
}

/* Titres */

h1, h2, h3, h4, h5, h6 {
	letter-spacing: 0px;
	font-weight: bold;
	margin: 0 0 18px 0;
	padding: 0;
	text-align: left;
}

h1 {
	font-size: 2em;
}

h2 {
	font-size: 2em;
}

h3 {
	font-size: 1em;
	letter-spacing: 0;
}

.home-article h1 {
	letter-spacing: 0;
	font-weight: bold;
	margin: 0 0 18px 0;
	padding: 0;
}


section h1 {
	padding-bottom: 18px;
}

.entreprise section h1 {
	border-bottom: 1px solid #333D47;
	color: #333D47;
}

.solatube section h1 {
	color: #8b7d70;
	border-bottom: 1px solid #8b7d70;
}

.solisysteme section h1 {
	color: #003CA6;
	border-bottom: 1px solid #003CA6;
}

section h2 {
	font-size: 1.5em;
}

.entreprise section h2 {
	color: #333D47;
}

.solatube section h2 {
	color: #8b7d70;
}

.solisysteme section h2 {
	color: #003CA6;
}

section h3 {
	font-size: 1.2em;	
}

/* Links */

a, a:link, a:hover, a:active {
	color: #333D47;
	text-decoration: none;
}

a:hover {
	font-weight: bold;
}

section a:link {
	text-decoration: underline;
}

section a:hover {
	background: #fcb73a;
	border-radius: 2px;
	text-decoration: none;
}	

nav .children a, nav .children a:link, nav .children a:hover, nav .children a:active, footer a, footer a:link, footer a:active, footer a:hover {
	color: #fff;
}

/* Généralités */

p, article ul {
	margin-bottom: 18px;
}

article p:first-child {
	border-top: 1px solid;
	margin-top: 25px;
}

strong, b {
	font-weight: bold;
}

section div p.wp-caption-text {
	height: 25px;
	padding: 12px 10px 0 10px;
	color: #fff;
	position: relative;
	top: -17px;
	line-height: 25px;
	font-size: .9em;
}

.entreprise section div p.wp-caption-text {
	background: url("css/img/bl_web_legendes-entreprise-bg.png") no-repeat center 0px;
}

.solatube section div p.wp-caption-text {
	background: url("css/img/bl_web_legendes-solatube-bg.png") no-repeat center 0px;
}

.solisysteme section div p.wp-caption-text {
	background: url("css/img/bl_web_legendes-solisysteme-bg.png") no-repeat center 0px;
}

.left {
	float: left;
	margin-right: 25px;
}

.left p {
	margin-bottom: 0;
}

.clearfloat {
	clear: both;
}

/* WP-CAPTION */

.alignleft {
	float: left;
	margin-right: 24px;
}

.alignleft:last-child {
	margin: 0;
}

.alignright {
	float: right;
}

p.wp-caption-text {
	text-align: center;
	overflow: hidden;
	margin: 0;
}

/* Header */

header h1 {
	margin-bottom: 50px;
}

/* Navigation */

nav h3 {
	font-weight: normal;
	color: #666666;
}

nav ul {
	margin: 50px 0;
	padding: 0;
	position: relative;
}

nav li {
	float: left;
	display: inline;
	width: 195px;
	padding-left: 50px;
	margin: 0 25px 0 25px;
	position: relative;
	height: 70px; /* 50px si ligne unique */
	color: #333D47;
	-webkit-transition: height .2s ease-in-out;
/*	-webkit-transition-delay: .2s;
*/	-moz-transition: height .2s ease-in-out;
/*	-moz-transition-delay: .2s;
*/	transition: height .2s ease-in-out;
}

nav li ul.children {
	position: relative;
	z-index: 99;
	left: -75px;
	width: 270px;
	height: 50px;
	margin:0;
	padding: 10px;
	border-bottom: 1px solid #fff;
	-webkit-transition: opacity .2s ease-in-out;
	-moz-transition: opacity .2s ease-in-out;
	transition: opacity .2s ease-in-out;
	opacity: 0;
/*	text-align: center;*/
}

nav #entreprise .children {
	background-image: url("css/img/bl_web_home-article-h1-dark-grey-bg.png");
	background-repeat: no-repeat;
	background-color: #303e48;
}

nav #solatube .children {
	background-image: url("css/img/bl_web_home-article-h1-light-grey-bg.png");
	background-repeat: no-repeat;
	background-color: #8b7d70; 
}

nav #solisysteme .children {
	background: url("css/img/bl_web_home-article-h1-blue-bg.png");
	background-repeat: no-repeat;
	background-color: #003CA6;
}

ul.children li {
	width: auto;
	float: left !important;
	margin:7px 0 0 0;
	line-height: 25px;
	padding: 0 15px 0 0;
	font-size: .9em;
	text-align: center;
}

nav h2 {
	margin: 4px 0 9px 0;
}

nav li:last-child {
	margin: 0 0 0 25px;
}

nav .children li:last-child {
	margin:7px 0 0 0;
}

nav li#entreprise {
	background: url("css/img/bl_web_nav-menuiserie-bg.png") no-repeat;
}

nav li#solatube {
	background: url("css/img/bl_web_nav-solatube-bg.png") no-repeat;
}

nav li#solisysteme {
	background: url("css/img/bl_web_nav-solisysteme-bg.png") no-repeat;
}

nav li:hover {
	-webkit-transition: height .2s ease-in-out;
	-moz-transition: height .2s ease-in-out;
	-ms-transition: height .2s ease-in-out;
	transition: height .2s ease-in-out;
	height: 110px; /* 90px si h3 est une ligne unique */
	overflow: visible;
}

nav li:hover .children {
	-webkit-transition: opacity .2s ease-in-out;
	-moz-transition: opacity .2s ease-in-out;
	-ms-transition: opacity .2s ease-in-out;
	transition: opacity .2s ease-in-out;
	-webkit-transition-delay: .2s;
	-moz-transition-delay: .2s;
	-ms-transition-delay: .2s;
	transition-delay: .2s;
	opacity: 1;
}

nav li.current_page_parent {
	height: 165px; /* Si h3 sur 1 ligne = 140px*/
}

nav li.current_page_parent ul.children {
	opacity: 1 !important;
}

nav li.current_page_item {
	font-weight: bold;
}

/* Footer */

footer {
	padding: 25px;
	background: url(css/img/bl_web_footer-bg.png) no-repeat right #333d47;
	font-size: .9em;
	color: #fff;
}

footer.solatube {
	background: url(css/img/bl_web_footer-solatube-bg.png) no-repeat right #8b7d70;
}

footer.solisysteme {
	background: url(css/img/bl_web_footer-solisysteme-bg.png) no-repeat right #003CA6;
}

footer ul {
	float: left;
	margin-right: 25px;
}

#footer-nav {
	float: left;
	border-right: 1px solid white; 
}

#footer-address {
	float: left;
	margin-left: 25px;
}

/* HOME PAGE */

section {
	position: relative;
/*	top: -25px;
*/	z-index: 1;
}

.home-article h1 {
	font-size: 1.5em;
	line-height: 2em;
	color: #fff;
	padding-top: 15px;
	text-align: center;
	margin: 13px 0 25px 0;
/*	height: 62px;
*/}

.home-menuiserie h1 {
	background: url("css/img/bl_web_home-article-h1-dark-grey-bg.png") no-repeat #303e48;
}

.home-solatube h1 {
	background: url("css/img/bl_web_home-article-h1-light-grey-bg.png") no-repeat #8b7d70;
}

.home-solisysteme h1 {
	background: url("css/img/bl_web_home-article-h1-blue-bg.png") no-repeat #013ca6;
}

/* NIVO SLIDER */

img.flash {
	position: absolute;
	top:149px;
	z-index: 99;
}

.nivo-caption {
	background: none !important;
}

.nivo-caption p {
	text-align: right;
	text-transform: uppercase;
	font-family: DIN, Verdana, sans-serif;
	font-size: 1.5em !important;
	color: #fff;
	text-shadow: #303e48 0.1em 0.1em 0.2em;
	opacity: 1 !important;
}

/* GALERIE D'IMAGES*/

.ngg-galleryoverview {
	margin-top: 0 !important;
}

.ngg-gallery-thumbnail-box {
	margin: 0 20px 25px 0 !important;
	padding: 0 !important;
	border: none !important;
}

.ngg-gallery-thumbnail img {
	padding: 0 !important;
	border: none !important;
	margin: 0 !important;
}

.ngg-gallery-thumbnail img:hover {
	opacity: .5;
	-webkit-transition: opacity .2s ease-in-out;
	-moz-transition: opacity .2s ease-in-out;
	-ms-transition: opacity .2s ease-in-out;
	transition: opacity .2s ease-in-out;
}


.solisysteme .ngg-gallery-thumbnail {
	background-color: #013ca6 !important;
}

.solatube .ngg-gallery-thumbnail {
	background-color: #8b7d70 !important;
}

.entreprise .ngg-gallery-thumbnail {
	background-color: #303e48 !important;
}

/* TABLES */

table {
	text-align: left;
	margin-bottom: 20px;
}

table tr {
	border-bottom: 1px dotted #303e48;
	border-top: 1px dotted #303e48;
}

table td {
	line-height: 40px;
}

/* VIDEO */

.video-js {
	margin-bottom: 20px;
}

/* FORMULAIRE */

.wpcf7 {
	border-bottom: 1px solid #303e48;
	margin-bottom: 20px !important;
}

input.wpcf7-text {
/*	height: 24px;
*/	width: 50%;

  }

input.wpcf7-text, textarea {
	padding: 3px;
	font-size: 1em;
  	color: #303e48;
}

input.wpcf7-text:focus, textarea:focus {
	background: #303e48;
  	color: #fff;
}

textarea {
	width: 98%;
}

.wpcf7-submit {
	width: 25%;
	background: #C6C6C6;
	border: 1px solid #303e48;
	line-height: 25px;
	font-family: "DIN", Verdana, sans-serif;
	font-size: 1em;
}

.wpcf7-submit:hover {
	background: #303e48;
	color: #fff;
	font-weight: bold;
}

.wpcf7-submit:active {
	background: #fcb73a;
}


.wpcf7 .required-fields {
	font-size: 0.8em;
}

.wpcf7 input.wpcf7-captchar {
	width: 70%;
	height: 20px;
	margin-left: 15px;
	position: relative;
	top: -8px;
}

table.captcha {
	border-bottom: 1px dotted #303e48;
	border-top: 1px dotted #303e48;
	margin-bottom: 20px;
	width: 100%;
}

table.captcha td{
	padding-top: 20px;
	padding-bottom: 10px;
	padding-left: 0 !important;
}

table.captcha input {
	width: 100% !important;
	position: relative;
	left: -20px;
} 

/* formulaires devis */

.checkbox-970 .wpcf7-list-item, .checkbox-451 .wpcf7-list-item, .checkbox-193 .wpcf7-list-item, .checkbox-419 .wpcf7-list-item, .checkbox-653 .wpcf7-list-item, .checkbox-236 .wpcf7-list-item  {
	display: block;
}

.formulaire-cases tr {
	border: none;
}

.formulaire-cases td {
		line-height:.8em; 

}

/* MAPS */

.mapp-layout {
	margin: 0 0 20px 0 !important;
}