/*
	Theme Name: brouilletetfils
	Theme URI: http://www.brouilletetfils.fr
	Description: Thème pour le site brouilletetfils.fr
	Version: 1.0
	Author: IRCF
	Author URI: http://ircf.fr
*/

/* Typography and colors */
@font-face {
	font-family: "NeoSansStdBold";
 	src: url("fonts/neosansstd_bold-webfont.ttf") format('truetype');
	font-style: normal;
}
@font-face {
	font-family: "NeoSansStdLight";
 	src: url("fonts/neosansstd_light-webfont.ttf") format('truetype');
	font-style: normal;
}
body {
	font-family: lucida,"lucida sans",sans-serif,sans;
    font-size: 13px;
    line-height: 1.6em;
    color: #333;
    background: #c3c0bb url(images/fond_site.jpg) repeat-x;
}
h1,h2 {
	font-family: "NeoSansStdLight";	
}
h1 {
	font-size: 2.5em;
	text-shadow: 2px 3px 1px #ddd;
	line-height: 1.0em;
	letter-spacing: -0.03em;		
	margin: 20px 0;	
	color: #8d1c1c;	
}
h2,h3,ul{
	margin:10px 0;
	padding:0;
}
h2 {
	font-size: 1.6em;
	line-height: 1.4em;
}
h3 {	
	font-size: 0.9em;
}
p {
	margin: 10px 0 20px 0;
}
a {
	text-decoration: none;
}
a:hover{
}
strong {
	font-weight: bold;
}
em {
	text-decoration: underline;
	font-style: normal;
}

/* Page wrapper */
#page {
	background: url(images/fond_page.jpg) no-repeat;
}
#header,
ul.menu,
#content,
#footer {
	width:960px;
	margin:0 auto;
}

/* Header */
#header {
	height: 183px;
}
#header h1,
#header h2 {	
	margin-top: 40px;
}
#header h1 {
	float: left;
}
#header h1 a {
	display: block;
	background: url(images/logo.png) no-repeat;
	height: 78px;
	width: 361px;	
}
#header h2 {
	float: right;
	font-family: sans-serif;
	font-size: 1.1em!important;
	font-weight: normal;	
	text-align: right;
	color: #751717;
}
#header h1 a span {
	display: none;
}

/* Menu */
#header ul#menu {
	float: left;
	clear: both;	
	height: 55px;
	width: 880px;
	padding: 0 40px;
	background-color: #fff;
	font-size: 1.1em;
  box-sizing: border-box;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
	#header ul#menu {
	width: 960px;	}
}
ul.menu {
	display: table;
	text-align:center;
	padding: 0;
}
ul.menu li {
	display: table-cell;
	vertical-align: middle;
}
ul.menu li a {
	display: block;	
}
#header ul#menu li a {
	color: #7d1210;		
	margin: 0 25px;
	padding: 6px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
#header ul#menu li a:hover,
#header ul#menu li a.hover {
	background-color: #e1deda;
}
#header ul#menu li.current_page_item a {
	color: #f8f8f7;	
	background-color: #9c9385;
}
/* Sous-menu (niveau 2) */
ul.menu li ul {
	display: none;
	position: absolute;
	width: 150px;
	z-index: 999;	
	background-color: #e1deda;
	margin-left: 25px;	
	border-radius : 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px; 	
}
ul.menu li ul li {
	display: block;
	width: 100%;	
}
ul.menu li ul li a {
	display: block;
	float: left;
	text-align: left;
	width: 135px;
	padding-left: 12px!important;	
	margin-left:0px!important;	
	color:#fff;	
	border-top: 1px solid #fff;
	border-radius : 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}
ul.menu li ul li.first a {
	border-top: none;
}
ul.menu li ul li a:hover,
ul.menu  li ul li a.hover {
	color:#fff;	
	background-color: #d5cec4!important;
}
ul.menu li ul li.current_page_item a:hover,
ul.menu li ul li.current_page_item a.hover {
	color: #7d1210!important;
}
	
/* Sous-menu (niveau 3) */	
ul.menu li ul li ul {
	margin-left: 100%;
	margin-top: 35px;
	width: 100%;
}
ul.menu li ul li {
	width: 100%;
}
ul.menu li ul li ul li a {
	display: block;
}


/* Content */
#content {
}
#content .container_12 {	
	float: left;
	background-color: #fff;
	width: 880px;	
	padding: 25px 40px 40px;		
}
#content .alpha {	
	padding-right: 60px;	
}
#content .grid_5 {	
	width: 290px!important;
}
#content .grid_6 {	
	width: 400px!important;
}
#content .grid_7 {	
	width: 510px!important;
}
#content a {
	color: #8d1c1c;
	text-decoration: underline;
}
.alignleft {
	float: left;
	margin: 0px 10px 10px 0;
	border: none;
}
.alignright {
	float: right;
	margin: 0px 0px 10px 10px;
	border: none;
}

/* Accueil */
#accueil-3 #content .container_12 {	
	background: url("images/clocher.png") right bottom no-repeat #fff;	
}
#accueil-3 #content .omega {	
	padding-right: 30px;
}
#accueil-3 #content .grid_7 {	
	padding-right: 30px;
	padding-top: 30px;
	width: 480px!important;
}
#accueil-3 #content .container_12 p {	
	margin-bottom: 10px;
}
.prestations {
	position: relative;
	background: url("images/fond_presta.png") no-repeat;	
	width: 460px;
	height: 120px;
	margin-bottom: 30px;
	padding-bottom: 20px;
}
.prestations .button_link {
	position: absolute;
	left: 260px;
	bottom: -20px;
	text-decoration: none!important;
}
.prestations ul {
	padding-left: 0!important;	
	margin: 0!important;
}
.prestations ul li {
	display: block;
	height: 38px;
	line-height: 38px;
	font-family: "NeoSansStdBold";
	font-size: 1.5em;
	color: #fff;
	padding-left: 30px;			
}
.prestations ul li.first {
	border-bottom: solid 1px #9c9385;		
}
.prestations ul li.last {	
	border-top: solid 1px #9c9385;			
}
#metier p strong {
	font-weight: bold;
	font-style: italic;
	font-size: 1.1em;
}

/* Bouton */
.button_link {
	display: block;
	width:177px;
	height:52px;
	padding-top: 14px;
	background: url(images/bouton.png) no-repeat;
	font-family: "NeoSansStdBold";
	font-style: normal!important;	
	font-size: 1.3em;	
	text-align: center;
	text-decoration: none!important;
	color: #fff!important;	
}

/* Listes */ 
#content ul{
	list-style: disc;
	line-height:1.6em;
	padding-left: 25px;
}

/* Accordéon */
#content .toggle {
	margin: 0;
	cursor:pointer;
	text-decoration: underline;
}
/*div.accordion div.section {
	margin: 10px 0;
}*/

/* Logo pdf */
#content .pdf {
	display: block;
	background: url(images/logo-pdf.png) no-repeat top left;
	margin: 10px 0;
	padding-right: 25px;
	text-indent: 30px;
}

/* Formulaires */
form{
}
form ol{
	width:100%;
	padding: 10px 0;
}
form ol li,
form p{
	float:left;
	clear:left;
	width:100%;
	line-height:25px;
	margin:5px 0;
}
form label{
	float:left;
	width:35%;
	height: 30px;
	line-height: 30px;
}
form input {
	height:20px;
	line-height:20px;
}
form select {
	width: 250px!important;
	height:30px;
	line-height:30px;
	background-color: #fff;
}
form input,
form select,
form textarea{
	border:1px solid #9c9385;
	width:60%;
	padding: 4px;
}
form input:focus,
form select:focus,
form textarea:focus{
	border-color: #8d1c1c;
}
form li.cf-box-title,
form li.cf-box-group{
	float:left;
	clear:none;
}
form li.cf-box-title{	
	display:block;
	width:35%;
}
form li.cf-box-group{	
	width: 65%;
	margin-top: 7px;
}
form li.cf-box-group label,
form li.cf-box-group input{	
	float:left;
}
form li.cf-box-group label{
	width: 185px;
	text-align:left;	
	height: 25px;
	line-height: 21px;
}
form li.cf-box-group input{
	width: 14px;
	border:none;
	clear:left;	
	margin-left: 0;
}
form .reqtxt,
form .emailreqtxt{
	font-size:0.8em;
	margin-left:5px;
}
.linklove{
	display:none;
}
p.cf-sb{
	padding-left:140px;
	width:75%;
	margin-bottom: 30px!important;
}
#sendbutton{
	display: inline-block;
	background-color: #8d1c1c;
	color: #fff;	
	margin:0;
	cursor:pointer;
	border:none;
	width:25%;
	height: 30px;	
}
#sendbutton:hover{	
	background-color: #751717;
	color:#fff;
}
div.success {
	color: #8d1c1c;
}

/* Galerie photo (slideshow) */
/* TODO Simplifier */
.gallery{
	float:left;
	width:100%;
	margin:0 0 30px 0;
	position:relative;
}
.gallery div{
	float:left;
	width:100%;
	position:relative; /* Corrige le bogue d'overflow sur IE6/7 */
	overflow:hidden;
}
.gallery div ul{
	float:left;
	position:relative;
	list-style: none!important;	
	padding:0!important;
	margin:0;
}
.gallery div ul li{
	float:left;
	text-align:center;
	margin:0 10px 10px 0;
}
.gallery div ul li .gallery-item{
}
.gallery div ul li .gallery-item .gallery-icon{
}
.gallery div ul li .gallery-item .gallery-icon a{
	display:block;
}
.gallery div ul li .gallery-item .gallery-caption{
	display:block;
	height:20px;
	position:absolute;
	bottom:0;
	background:#000;
	color:#fff;
	padding:10px;
}
.gallery div ul li .gallery-item:hover .gallery-caption{
	display:block;
}
.gallery div ul li a img{
	margin-top: 0;
	margin-bottom: 0;
	border: 1px solid #333;
}
.gallery div ul li a:hover img,
.gallery div ul li a.hover img{
}


/* Footer */
#footer {
	font-size: 0.9em;
	text-align: center;
}
#footer ul.menu {
	background-color: #8d1c1c;
	height: 30px;
	line-height: 30px;
	padding: 0 60px;
	width: 840px;
  box-sizing: border-box;
}
@media screen and (-webkit-min-device-pixel-ratio:0) { /* Corrige le bug sur la longueur du menu sous Chrome */
	#footer ul.menu {
	width: 960px;	}
}
#footer ul.menu li a {
	color: #e4e0d8;
}
#footer ul.menu li a:hover,
#footer ul.menu li a:hover {
	background-color: #751717;
}
#footer address {
	font-style: normal;
	color: #751717;
	padding: 15px 0;
}
#footer address a {
	color: #751717;
}
#footer address span#ircf {
	font-weight: bold;
}
