/*
Theme Name: Carnaval Biarnés 2010
Theme URI: http://www.cyrilbosson.com/
Description: Template pour le Carnaval Biarnés 2010
Author: Cyril Bosson
*/

/* !----- GENERAL ----- */
form, h1{
  margin: 0;
  padding: 0;
}

body {
	font-family: Arial, Helvetica, sans-serif;
	background-color: #A48A43;
	background-image: url(images/bg.png);
	background-repeat: repeat-x;
	margin: 0; padding: 0;
	font-size: 12px;
	color: #333;
}

a, a:link, a:visited {
	color: #333;
	text-decoration: underline;
	font-weight: normal;
}

a:hover {
	text-decoration: underline;
	font-weight: normal;
}

input.button { cursor: pointer; }

p { margin-top: 0; margin-bottom: 5px; }

img { border: 0 none; }

.clear{
	clear: both;
	visibility: hidden;
	height: 1px;
	font-size: 1px;
}

/* !----- HEADER ----- */
#header{
	position: relative;
	height: 165px;
	width: 800px;
	margin: auto;
}
#flyingpig{
	z-index: 10;
	position: absolute;
	left: 600px;
	top: -160px;
	cursor: pointer;
}
#footer_language_list{
	position: absolute;
	top: 0;
	right: 20px;
}
#footer_language_list li{
	display: inline;
}
/* !----- MENU ----- */
.menu > ul {
	height: 31px;
	background-image: url(images/bg_menu.gif);
	background-repeat: repeat-x;
	padding: 0px;
	padding-left: 10px;
	margin: 0px;
	border-left: 1px solid #d86000;
	border-right: 1px solid #d86000;
}

.menu li{
	float: left;
	list-style: none;
	position: relative;
}

.menu li a{
	text-decoration: none;
	color: #FFFFFF;
	font-size: 16px;
	padding: 0 15px;
	display: block;
	float: left;
	height: 31px;
	line-height: 31px;
}
.menu li a:hover{
	text-decoration: none;
	background-color: #fd7200;
}
.menu li.page-item-36{
	margin-left: 30px;
}
.menu li.page-item-39{
	margin-left: 50px;
}


.menu li ul{	
	margin: 0;
    padding: 0;
    position: absolute;
    z-index: 3;
    top: 31px;
    left: 0;
    visibility: hidden;
    border-right: 1px solid #D86000;
    border-left: 1px solid #D86000;
    border-bottom: 1px solid #D86000;
}

.menu li ul li{	
	float: none;
    display: block;
}

.menu li ul li a{	
	background-color: #fd7200;
	font-size: 14px;	
    width: 180px;
	height: auto;
	line-height: 15px;
	padding: 5px 5px;
}

.menu li ul li a:hover{
	background-color: #D86000;
}


/* !----- GLOBAL ----- */
#global {
	position: relative;
	width: 800px;
	margin: auto;
	margin-bottom: 50px;
	background-color: #FFFFFF;
}

/* !----- CONTENU ----- */
.contenu{
	z-index: 2;
	position: absolute;
	width: 580px;
	top: 41px;
	right: 10px;
}
#tweak_hauteur{
	float: right;
	height: 50px;
	width: 1px;
}
.colonne_droite{
	float: left;
	width: 205px;
	margin: 0 0 460px;
}
#fil_ariane{
	margin: 0;
	font-size: 12px;
}
h2{
	color: #AD180D;
	font-size: 18px;
	border-bottom: 1px solid #AD180D;
	margin: 0;
	padding: 0;
}
.navigation{
	width: 100%;
}
.navleft{
	float: left;
}
.navright{
	float: right;
}

/* !----- ACCUEIL ----- */
.accueil div.post{
	float: left;
	background-color: #FDF1E7;
	border: 1px solid #C28C65;
	margin: 10px 0 0 0;
	padding: 10px;
	width: 500px;
}
.accueil div.perso{
	width: 58px; 
	height: 100px;
	margin: 10px 0 0 0;
	float: left;
}
.accueil div.alt{
	float: right;
}
.accueil h3 a{
	text-decoration: none;
	font-weight: bold;
}

/* !----- ARTICLE ----- */
.post, .page{
	margin: 5px 0;
	padding-bottom: 15px;
	border-bottom: 1px solid #CCCCCC;
}
.post h2, .page h2{
	margin: 0 0 10px;
}
.post h2 a, .page h2 a{
	font-size: 25px;
	font-weight: bold;
	color: inherit;
	text-decoration: none;
}
.postmetadata, .postmetadatafooter{
	font-size: 11px;
	color: #666666;
	margin-top: 5px;
	text-align: right;
}
.postmetadatafooter{
	text-align: right;
}
.post_content{
	text-align: justify;
}
.post_content h3{
	color: #AD180D;
	font-size: 18px;
	/*border-bottom: 1px solid #AD180D;*/
	margin: 10px 0;
	padding: 0;
}
.post_content h4{
	font-size: 15px;
	margin: 5px 0;
	clear: both;
}
.post_content p{
	margin: 10px 0;
}
.post_content a{
	font-weight: bold;
}
.post_content blockquote{
	margin: 0px 10px;
	padding: 5px;
	background-color: #FDF1E7;
	border: 1px solid #C28C65;
}
.post_content a:hover{
	border-bottom: none;
	text-decoration: none;
}
.more-link{
	font-size: 12px;
	color: #0C3A6D;
	font-weight: bold;
}
a.telechargement{
	display: block;
	margin-top: 10px;
	padding: 10px;
	background-color: #E6E6E6;
	border: 1px solid #808080;
	text-decoration: none;
}
a.telechargement:hover{ text-decoration: none; border: 1px solid #808080; background-color: #CCC; }
h3{
	margin: 0;
}
#related-posts{
	margin-top: 30px;
}
#related-posts ul{
	margin: 0;
	margin-top: 5px;
}
#related-posts a{
	border-bottom: none;
	font-weight: normal;
}
#subpages{
	float: right;
	width: 200px;
	margin: 0 0 5px 5px;
	padding: 5px;
	background-color: #FDF1E7;
	border: 1px solid #C28C65;
}
#subpages ul{
	margin-top: 5px;
	margin-bottom: 5px;
}
#subpages h4{
	margin: 0;
	font-size: 14px;
	text-decoration: underline;
}
#subpages li a{
	font-weight: bold;
	text-decoration: none;
}

/* !----- LIENS ----- */
#liens{
	list-style: none;
	padding: 0;
}
#liens li{
	background-color: #FDF1E7;
	border: 1px solid #C28C65;
	padding: 10px;
	margin: 5px 0;
}
#liens h3{ color: #AD180D; text-transform: uppercase; }

/* !----- COMMENTAIRES ----- */
.cadre_commentaires h3{
	margin-bottom: 5px;
}
label{
	font-size: 12px;
}
div.comment{
	padding: 10px;
	margin: 5px;
	position: relative;
	background-color: #FDF1E7;
	border: 1px solid #C28C65;
}
.alt{
}
.commentID{
	position: absolute;
	top: 5px;
	right: 5px;
	font-size: 25px;
}
.commentID a{
	text-decoration: none;
}
.commentAvatar{
	float: left;
	margin: 0 10px 3px 0;
}
.commentAuthor{
	float: left;
	font-size: 18px;
	width: 400px;
}
.commentAuthor a{
	text-decoration: none;
}
.commentDate{
	float: left;
	width: 470px;
	color: #666;
	border-bottom: 1px solid #666;
	padding-bottom: 2px;
	font-size: 11px;
}
.commentText{
	float: left;
	width: 470px;
	margin: 8px 0 0 50px;
}
input#author, input#email, input#url{
	border: 1px solid #999999;
}
textarea#comment{
	margin-top: 5px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	border: 1px solid #999999;
	width: 520px;
}

/* !----- COLONNE WIDGETS ----- */
.colonne_droite ul{
	list-style-type: none;
	margin: 0;
	padding: 0 0 0 5px;
}
.colonne_droite h2.widgettitle{
	margin: 15px 0 0 0;
	font-size: 18px;
	font-weight: bold;
	color: #0C3A6D;
}

#social_links{
	text-align: right;
	margin-right: 5px;
}

#compteur{
	margin: 10px 5px;
	font-size: 12px;
	font-weight: bold;
}

/* !----- WIDGET CATEGORIES ----- */
.widget_categories ul{
	padding: 0;
	margin: 5px 0 0 10px;
}
.widget_categories li{
	font-size: 12px;
	list-style: none;
}

/* !----- MODULE SEARCH ----- */
#search{
	margin-top: 30px;
}

/* !----- FOOTER ----- */
#footer{
	z-index: 1;
	
	position: relative;
	float: left;
	width: 780px;
	text-align: center;
	margin-bottom: 10px;
	margin-top: 20px;
	font-size: 11px;
}
#footer p{
	width: 500px;
	float: right;
}
#sent-pancard{
	position: absolute;
	width: 413px;
	height: 543px;
	left: -120px;
	bottom: -35px;
	background-image: url(images/sent-pancard.png);
}

/*	Using 'class="alignright"' on an image will (who would've
thought?!) align the image to the right. And using 'class="centered',
will of course center the image. This is much better than using
align="center", being much more futureproof (and valid) */
img.centered {
	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 */