/*  
Theme Name: Faco Construction
Theme URI: http://www.faco-construction.com/
Description: Thème du site "Faco Construction"
Version: 1.0
Author: Amaury BALMER
Author URI: http://wp-box.fr/
*/

/* Reset */
* {
margin: 0;
padding: 0;
}

/* General */
body {
font-family: Geneva, Helvetica, Verdana, Arial, "Bitstream Vera Sans", sans-serif;
font-size: 11px;
color: #333333;
background: #E8E8E8;
width:100%;
}

.clear {
clear:both;
}

.none, .hidden { 
display: none; 
}

p {
margin: 0 0 10px 0; 
text-align: left;	
}

/* Mise en forme des titres */
h1, h2, h3, h4, h5, h6 {
font-family: Arial, Helvetica, "Bitstream Vera Sans", sans-serif;
}

/* Mise en forme des liens */
a img, img a {
border:0;
}
a {
outline: none;
text-decoration: none;
}
a:link, a:visited{
color: #B3B3B3;
}
a:hover {
color: #666;
text-decoration: underline;
}

h2 a:hover {
text-decoration: none;
}

blockquote {
margin: 1.5em 0 1.5em 1.5em;
color: #666;
overflow: auto;
font-style: italic;
}
blockquote p {
margin:0;
}
strong {
font-weight:700;
}
em {
font-style:italic;
}
pre {
font-size: 1.2em;
font-family: monospace;
border: 1px solid #E0E0E0;
padding: 1em;
margin: 0 auto;
background: #EEE;
color: #000;
width: 90%;
overflow: auto;
}
code {
font: 0.9em Monaco, monospace;
}
label {
cursor: pointer;
}

/* Begin Images */
p img {
padding: 0;
max-width: 100%;
}
img.centered, img.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
img.alignright {
padding: 4px;
margin: 0 0 2px 7px;
display: inline;
}
img.alignleft {
padding: 4px;
margin: 0 7px 2px 0;
display: inline;
}
.alignright {
float: right;
}
.alignleft {
float: left;
}
/* End Images */

/* Captions */
.aligncenter,
div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}

.wp-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}

.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}

.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}
/* End captions */

/* List */
html > body .entry ul {
margin-left: 0px;
padding: 0 0 0 30px;
list-style: none;
padding-left: 10px;
text-indent: -10px;
}
html > body .entry li {
margin: 7px 0 8px 10px;
}
.entry ul li:before, #sidebar ul ul li:before {
content: "\00BB \0020";
}
.entry ol {
padding: 0 0 0 35px;
margin: 0;
}
.entry ol li {
margin: 0;
padding: 0;
}
/* End list */

/* Structure */
#wrap {
background:#fff;
width:889px;
margin:10px auto;
position:relative;
}

/* Header */
#header {
position:relative;
background: url(images/header.jpg) no-repeat 0 0;
height: 290px;
width:889px;
}
#header h4 a {
display:block;
position: absolute;
top: 25px;
left: 25px;
background: url(images/logo.png) no-repeat 0 0;
width: 198px;
height: 71px;
text-indent: -9999px;
}
#header h5 {
display:none;	
}

/* Nav */
#nav {
position:absolute;
top: 190px;
width:844px;
left: 25px;
height: 22px;
}
#nav ul {
list-style: none;
}
#nav ul li {
display: block;
float: left;
position: relative;
}
#nav ul li a {
display: block;
float: left;
text-decoration: none;
padding: 0 50px 0 16px;
height: 22px;
line-height: 22px;
vertical-align: middle;
color: #B3B3B3;
font-size: 15px;
}
#nav ul li.page-item-5 {
background: url(images/nav-bg-1.png) 0 50% no-repeat;
}
#nav ul li.page-item-13 {
background: url(images/nav-bg-2.png) 0 50% no-repeat;
}
#nav ul li.page-item-17 {
background: url(images/nav-bg-3.png) 0 50% no-repeat;
}
#nav ul li.page-item-24 {
background: url(images/nav-bg-4.png) 0 50% no-repeat;
}
#nav ul li.actus {
background: url(images/nav-bg-5.png) 0 50% no-repeat;
}
#nav ul li.current a, #nav ul li a:hover {	
color:#666;
}

/* Menu déroulant */
#nav ul ul {
z-index: 100;
float:none;
visibility: hidden;
position: absolute;
height: 0;
top: 20px;
left: 0;
width: 180px;
padding-top: 2px;
}

#nav ul li:hover ul,
#nav ul a:hover ul {
visibility: visible;
}
#nav ul ul li {
float: none;
background: #A0A0A0;
width: 160px;
height: 24px;
}
#nav ul ul li a {
width: 160px;
height: 24px;
font-size: 11px;
float: none;
height: auto;
line-height:24px;
vertical-align: middle;
margin: 0;
padding: 0;
background: none;
color: #fff;
font-size: 13px;
text-indent: 16px;
}
#nav ul li.current li a:hover, 
#nav ul li:hover li a:hover ,
#nav ul ul li a:hover {
background: #fff;
color: #A0A0A0;
}

/* Content */
#content {
clear:both;
position:relative;
padding: 0 25px 25px 25px;
width:864px;
}

/* Left */
#left {
position:relative;
float:left;
width:200px;
margin-right: 25px;
}

#left #menu ul {
position: relative;
list-style: none;
}

#left #menu li {
display: block;
margin:10px 0;
}
#left #menu li a {
color: #838383;
font-size: 14px;
text-decoration: none;
}
#left #menu li.arrow {
width: 120px;
height: 24px;
background: #b5b4b5 url(images/arrow.png) no-repeat right center;
}
#left #menu li.arrow a {
display: block;
font-size: 10px;
padding: 6px 0 0 6px;
}

/* Center */
#center{
position: relative;
float: left;
width: 389px;
}

.home #center h2 {
margin-bottom: 0;
}
#center h2 {
font-size: 30px;
color: #B3B3B3;
font-weight: 400;
border-bottom:2px solid #B3B3B3;
margin-bottom: 15px;
line-height: 80%;
}

#center #dossier {
position: relative;
display: block;
margin-top: -10px;
text-align: left;
}
#center #dossier h3 {
color: #B3B3B3;
font-weight: 400;
font-size:16px;
}
#center #dossier ul {
list-style: none;
}
#center #dossier ul li {
display: block;
float: left;
width: 47%;
height: auto !important;
height:139px;
min-height: 139px;
padding:5px 5px 5px 0;
border-bottom:2px solid #B3B3B3;
}

#center #dossier ul li.alt {
border-left:2px solid #B3B3B3;
padding:5px;
}

#center #dossier a {
float: right;
}

/* Right */
#right {
position:relative;
float:left;
width:200px;
padding-left: 25px;
margin-top: 14px;
}

#right ul {
border:2px solid #B3B3B3;
width: 200px;
padding: 5px 0;
list-style: none;
}
#right ul ul {
border: 0;
width: auto;
list-style: square;
margin-left: 25px;
}

#right ul li.widget {
position: relative;
display: block;
padding: 0 10px;
}

#right ul li.widget p {
margin-bottom: 5px;
}

#right ul li.widget .widget-inner {
border-bottom: 1px solid #ccc;
margin-bottom: 10px;
padding-bottom: 10px;
}

#right ul li.widget h2,
#right ul li.widget h3 {
color:#B3B3B3;
font-size:16px;
font-weight:400;
margin: 5px 0 5px;
}

#right ul li#latest-pos a {
float: right;
}
#right ul li.widget_calendar table {
text-align: center;
margin: 0 auto;
}

/* Main */
#main {
display: block;
position: relative;
float: left;
width: 589px;
}

#main h2 {
font-size: 30px;
color: #B3B3B3;
font-weight: 400;
border-bottom:2px solid #B3B3B3;
margin-bottom: 15px;
line-height: 80%;
}

#main #box {
display: block;
border:10px solid #E8E8E8;
padding: 10px;
margin-top: 10px;
}

#main #adress {
background: #E8E8E8;
padding: 10px;
width: 270px;
} 
#main #adress p {
color: #666;
margin: 0 0 15px 0;
}

/* Footer */
#footer {
clear:both;
position:relative;
}
#footer p {
margin:5px 0;
text-align: center;
}

/* Posts */
.post {
margin-bottom: 20px;
}

.post .entry img {
border: 0;
}
.post .entry ul, .post .entry ol {
margin: 0 0 15px 25px;
}
.post .entry h1 {
margin: 0.5em 0;
font-size: 3em;
}
.post .entry h2 {
margin: 0.5em 0;
font-size: 2em;
}
.post .entry h3 {
margin: 0.3em 0;
font-size: 1.6em;
font-weight: 700;
}
.post .entry h4 {
margin: 0.2em 0;
font-size: 1.4em;
font-weight: 700;
}
.post .entry h5 {
margin: 0.2em 0;
font-size: 1.2em;
font-weight: 700;
}
.post .entry h6 {
margin: 0.1em 0;
font-size: 1.1em;
font-weight: 700;
}

/* Cforms */
.linklove {
position: absolute;
display: block;
left: -9999px;
top:-9999px;
}

/* Comments */
.comments_template {
position:relative;
padding:20px;
}
.comments_template h3 {
font-size:18px;
font-weight:400;
margin-bottom:10px;
line-height:0.9;
color:#E3241C;
}
.comments_template h3 a {
color:#E3241C;
text-decoration: none;
}
.comments_template h3 a:hover {
color:#3C3C3E;
}
.comments_template ol {
list-style:none;
margin-bottom:25px;
}
.comments_template ol li {
display:block;
margin:5px 0 0;
border-bottom:1px solid #eee;
}
.comments_template ol li .avatar {
border:1px solid #ccc;
display:block;
float:right;
}
.comments_template ol li cite {
font-style:normal;
font-weight:700;
}
.comments_template ol li .commentmetadata {
display:block;
margin-bottom:5px;
}
.comments_template form label {
display:block;
}
.comments_template form input, .comments_template form textarea {
width:80%;
border:1px solid #ccc;
padding:3px 5px;
}
.comments_template form input#submit {
width:auto;
}

/*	table			*/


.entry table			{width:99%; margin:0 0 10px 0; background:#f2f1ee; border:0px solid #fff; border-collapse:collapse;}
.entry table caption		{font-size:12px; line-height:15px; font-family:arial; font-weight:bold; color:#a11003; text-align:left; text-transform:uppercase;margin-bottom:10px; padding:20px 0 0 0;}

.entry table th			{border:2px solid #fff; padding:5px 5px 5px 5px; background:#d5c7b7; color:#000;}
.entry table td			{border:2px solid #fff; padding:5px 5px 5px 5px; color:#514c4c; text-align:left;}
.entry table .tr-even td		{background:#e3e2df;}
.entry table td.td-last		{}

/* Personalisation Yann */
.gallery img {
 	border:1px solid grey!important;
}

