/*
Theme Name: 23PC
Theme URI: http://www.bzzz.be
Description: Theme personnalise pour 2 ou 3 petites choses asbl.
Version: 1.0
Author: Bzzz
Author URI: http://www.bzzz.be/

*/

/* ---------------------------------------------------------------------------
   RESET : Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
------------------------------------------------------------------------------ */ 
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, font, 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 {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	background: transparent;
}
body {line-height: 1;}
h1, h2, h3, h4, h5, h6 {font-weight: normal;clear: both;}
ol, ul {list-style: none;}
blockquote {quotes: none;}
blockquote:before, blockquote:after {content: '';content: none;}
del {text-decoration: line-through;}
/* tables still need 'cellspacing="0"' in the markup */
table {border-collapse: collapse;border-spacing: 0;}
a {text-decoration: none;}
a img { border: none; }

/* ---------------------------------------------------------------------------
   HTML ELEMENTS
------------------------------------------------------------------------------ */ 

body {
	font: 13px/1.35em 'Trebuchet MS', Tahoma, Arial, Sans-serif;
	color: #666; 	
	background: #fff url(images/bg_23pc_body.jpg) repeat-x top;
	text-align: center;
}
h1, h2, h3, h4 {color: #8c161b;padding:10px 0px;line-height: 1.2em;}
h1 {font-size: 2.0em;clear: both;}
h2 {font-size: 1.8em;clear: both;}
h3 {font-size: 1.3em;color:#d88310;}
h4 {font-size: 1.1em;color:#d88310;}
h6 {margin: 30px 0px;font-size: 1.2em;}
h6 a {background: url(images/h1bg.jpg);padding: 5px 15px;-moz-border-radius: 5px;-webkit-border-radius:5px;}
h6 a:hover {background: #8c161b;color: #fff;}
p {padding: 10px 0px;}
a {color: #8c161b;}
a:hover {color:#d88310;}
small {font-size: .8em;color: #bbb;line-height: .8em;}

.left {float: left;}
.right {float: right;}
img.alignleft {float:left;margin: 0px 10px 0px 0px;}
img.alignright {float:right;margin: 0px 0px 0px 10px;}

blockquote {
	margin: 10px 0px;
 	padding: 20px;  
	background: #eee;
	font: italic normal 1em/1.5em Georgia, 'Times New Roman', Times, serif;	
}

/* ---------------------------------------------------------------------------
   Sticky footer
------------------------------------------------------------------------------ */ 

html, body, #wrap {height: 100%;}
body > #wrap2 {height: auto; min-height: 100%;}
#main2 {padding-bottom: 300px;background: url(images/bg_23pc_head.jpg) no-repeat;}  /* must be same height as the footer */
#footerwrap {position: relative;
	margin-top: -300px; /* negative value of footer height */
	background: #8c161b;
	height: 300px;
	clear:both;} 

/* CLEAR FIX*/
.clearfix:after {content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;}
.clearfix {display: inline-block;}

/* ------------------------------------------
   LAYOUT
------------------------------------------- */ 

#wrap {position: relative;width: 960px;margin: 0 auto;text-align: left;}
#header {position: relative;width: 960px;height: 170px;}
#content-wrap {position: relative;clear: both;width: 960px;float: left;}
#main {float:left;width: 600px;padding: 65px 30px 30px;}
#sidebar {float: right;width: 280px;padding: 65px 10px;}	

/* ------------------------------------------
   HEADER
------------------------------------------- */ 

#header h1 {margin:0;padding: 0;}
#header h1#logo-text a {display: block;width:500px;height:170px;text-indent: -9999px;}
#header form#quick-search {
	position: absolute;
	top: 20px; right: 20px;
	border: none;
	width: 262px; height: 29px;
	background: url(images/header-search.jpg) no-repeat;	
	z-index: 9999;
	margin:0;padding:0;
}
#header form#quick-search p {padding:0;}
#header form#quick-search .tbox {
	font-size: 1.3em;
	margin: 5px 0 0 10px; 
	width: 210px;
	background: none;
	border: none;
	padding:0;
}
#header form#quick-search label,#header form#quick-search .btn {display: none;	}

/* ------------------------------------------
   NAVIGATION
------------------------------------------- */ 

#nav {display: block;float: right;margin: 0 auto;}
#nav ul {list-style: none;margin: 0;}
#nav li {float: left;position: relative;}
#nav a {color: #8c161b;display: block;line-height: 31px;padding: 0 10px;}
#nav ul ul {
	box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	display: none;
	position: absolute;
/* 	top: 38px; */
	left: 0;
	float: left;
	width: 180px;
	z-index: 99999;
}
#nav ul ul li {min-width: 180px;}
#nav ul ul ul {left: 100%;top: 0;}
#nav ul ul a {color:#d88310;background: #8c161b;line-height: 1em;padding: 10px;width: 160px;height: auto;border-bottom: #d88310 solid 1px;}
#nav li:hover > a, #nav ul ul :hover > a {background: #fff;color: #8c161b;}
#nav ul li:hover > ul {display: block;}
#nav ul li.current_page_item > a,
#nav ul li.current-menu-ancestor > a,
#nav ul li.current-menu-item > a,
#nav ul li.current-menu-parent > a {
	background: #fff;
	color: #8c161b;
}
* html #nav ul li.current_page_item a,
* html #nav ul li.current-menu-ancestor a,
* html #nav ul li.current-menu-item a,
* html #nav ul li.current-menu-parent a,
* html #nav ul li a:hover {
	background: #fff;
	color: #8c161b;
}

/* ------------------------------------------
   MAIN
------------------------------------------- */ 

#crumbs {font-size:.8em;}
#main h1 {
	background: url(images/h1bg.jpg);
	margin:10px 0;
	padding: 5px 15px;
	-moz-border-radius: 5px;
	-webkit-border-radius:5px;
}
#main h1 a:hover{color: #fff;}
#main ul, #main ol {padding: 10px 30px;overflow: auto;list-style-type: disc;}
.postmeta {	
	padding: 7px 15px; 
	margin: 5px 0 20px;
	width: 570px;
	font-size: .8em;
	text-align: right;
	color: #8c161b;
	background: #fdb url(images/degrade_blanc_leger.png) top repeat-x;
	-moz-border-radius-bottomleft: 5px;
	-moz-border-radius-bottomright: 5px;
	-webkit-border-bottom-left-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
}
.postmeta .date {margin: 0 10px 0 5px;}
.postmeta a.comments {margin: 0 10px 0 5px;}
.postmeta a.readmore {margin: 0 10px 0 5px;}
.postmeta img {background:none;border:none;padding:0px 0px 0px 5px;margin: 0px 0px -5px 0px;}

.post-info {font-size: .8em; color: #999;margin-bottom: 20px;}
#gallery-1 {margin: auto;}
#gallery-1 .gallery-item {float: left;margin: 10px 20px 0 0 !important;text-align: center;width: auto !important;}
#gallery-1 img {border: 2px solid #cfcfcf;}
#gallery-1 .gallery-caption {margin-left: 0;}
.excerpt {overflow: hidden;}
.excerpt img {float: left;margin: 10px 10px 10px 0px;}
.excerpt h2 {clear: none;}
.gallery {clear: both;}
.intro {font-family: Georgia, 'Times New Roman', Times, serif;font-style: italic;padding-left: 50px;font-size: 1.2em;line-height: 1.5em;}

li.comment {margin-top: 10px;}
.prevnext  {display:block;margin:10px 20px 20px 20px;}

#main ul#listeliens {list-style-type: none; padding: 0;}

/* ------------------------------------------
   SIDEBAR
------------------------------------------- */ 

#sidebar h3 {
	padding: 5px 10px;
	font-size: 1.3em;
	background: url(images/h3bg.jpg);
	color: #8c161b;
	-moz-border-radius-topleft: 8px;
	-moz-border-radius-topright: 8px;
	-webkit-border-top-left-radius: 8px;
	-webkit-border-top-right-radius: 8px;
}
#sidebar ul {margin: 0px 0px 20px 0px;background:#fdb url(images/degrade_blanc_bas.png) bottom repeat-x;}
#sidebar ul li {list-style: none;padding: 6px 10px;border-bottom: 1px solid #fff;}
#sidebar ul li a {border: none;}
#sidebar ul li a:hover {color: #444;}
#sidebar ul ul {margin: 0 0 0 5px;}
#sidebar ul ul li {border:none;}
#sidebar div {padding: 15px;margin-bottom: 20px;background:#fdb url(images/degrade_blanc_bas.png) bottom repeat-x;}

#sidebar ul, #sidebar div {
	-moz-border-radius-bottomleft: 8px;
	-moz-border-radius-bottomright: 8px;
	-webkit-border-bottom-left-radius: 8px;
	-webkit-border-bottom-right-radius: 8px;
}

/* ------------------------------------------
   FOOTER
------------------------------------------- */ 

#footer {margin:0 auto;height: 300px;color: #ca8;width: 960px;text-align: left;}
.footercol {float:left;width: 300px;margin: 10px;}
#footer h3 {color: #D0690D;padding:10px;}
#footer h4 {color:#ca8;padding:3px 0;}
#footer p {padding:4px 10px;}
#footer a {color:#ca8;}
#footer a:hover {color:#fff;}
#footer div div {padding:0px 10px;}
#footer ul {border-top: 1px solid #D0690D;}
#footer ul li {list-style: none;padding:4px 10px;border-bottom: 1px solid #D0690D;}
#footer ul li a {display: block;}
#footer ul li a.url, #footer ul li a span {font-style: italic;color: #ca8;}
#footer p a {color:#fff;}
#credits {width:920px;margin:20px;text-align: center;color:#D0690D;font-size: 0.8em;clear:both;float: left;}

/* ------------------------------------------
   TABLEAUX
------------------------------------------- */ 

table {margin: 15px 10px; }
td {padding: 3px 12px;}

/* ------------------------------------------
   FORMULAIRES
------------------------------------------- */ 

form {margin:10px 0;padding:10px 20px;background: #fdb;}
label {display: block;margin: 8px 0;float:left;clear: both;width: 50%;}
input, select, textarea {padding: 5px;color: #777;background: #fff;border: 1px solid #777;}
textarea {width: 95%;height: 100px;display: block;}
input.button {height: 24px;color: #fff;background: #444;cursor: pointer;}
.sideform {padding: 0;margin: 0;background: none;}
.sideform p {margin: 0; padding: 0 0 10px 0;}
.sideform input.textbox {width: 185px;height: 18px;padding: 2px;vertical-align: top;}

/* Widget recherche Bzzz */
form#quick-search {
	width: 252px; height: 29px;
	background: url(images/search_white.jpg) no-repeat right;	
	margin:10px;padding:0;
}
form#quick-search p {padding:0;}
form#quick-search .tbox {
	font-size: 1.2em;
	margin: 5px 0 0 10px; 
	width: 200px;
	background: none;
	border: none;
	padding:0;
}
form#quick-search label, form#quick-search .btn {display: none;}

/* ------------------------------------------
   DIVERS
------------------------------------------- */ 

.clearer { clear: both; }
.clear {display:inline-block;}
.clear:after {
	display:block; 
	visibility:hidden; 
	clear:both; 
	height:0; 
	content: "."; 
}
dl.gallery-item {padding:0px 0px 0px 20px;width: 150px!important;}

