/* ***** BEGIN LICENSE BLOCK *****
 * This file is part of DotClear.
 * Copyright (c) 2004 Maurice Svay and contributors. All rights
 * reserved.
 *
 * DotClear is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 * 
 * DotClear is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with DotClear; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 * ***** END LICENSE BLOCK *****
 *
 * Contributor(s):
 *  Pixials
 */

/* Ce fichier définit le style visuel pour les différents éléments du blog.
 * Dans l'ordre, vous trouverez les règles qui définissent l'apparence pour:
 * - les éléments HTML en général
 * - la page
 * - l'entête
 * - le prélude
 * - le contenu
 * - la barre de navigation
 * - le pied de page
 *
 
/* Les éléments HTML en général
-------------------------------------------------------- */
body {
	font: 75%/150% "Trebuchet MS", Tahoma, Arial;
	color: #333333;
	background: #FFFFFF url(img/main-bg.gif);
	margin: 0px;
	padding: 0px 0px 30px;
}

a {
	color: #CC6600;
	text-decoration: none;
}
a:visited {
	color: #CC6633;
	text-decoration: none;
}
a:hover {
	color: #FF6600;
	text-decoration: underline;
}
img {
	border: none;
}
p {
	padding: 0px 0px 15px;
	margin: 0px;
}
h1 {
	margin:0px;
	background: url(img/header-icon.gif) no-repeat;
	padding-left: 70px;
	height: 60px;
	font: bold 36px/100% "Trebuchet MS", Tahoma, Arial;
	color: #c9eefe;
}
h1 a, h1 a:visited{
	color: #c9eefe;
	text-decoration: none;
}
h1 a:hover{
	color: #ffffff;
	text-decoration: none;
}
h2 {
	color: #59770e;
	margin: 0px 0px 2px;
	border-bottom: 1px dotted #CCCCCC;
	letter-spacing: -1px;
	font: normal 190%/100% "Trebuchet MS", Tahoma, Arial;
	padding-bottom: 3px;
}
h2 a, h2 a:visited {
	color: #59770e;
	text-decoration: none;
}
h2 a:hover {
	color: #FF6600;
	text-decoration: none;
}
h3 {
	font: normal 140%/100% "Trebuchet MS", Tahoma, Arial;
	color: #758d38;
	margin: 10px 0px 5px;
}
h4 {
	font: normal 130%/100% "Trebuchet MS", Tahoma, Arial;
	color: #758d38;
	margin: 10px 0px 5px;
}
form {
	margin:0px;
	padding:0px;
}

pre {
	overflow: auto;
	width: 95%;
	height: auto;
}

.left {
	float: left;
}

.right {
	float: right;
}

/* La page
-------------------------------------------------------- */
#page {
	margin: 0px auto;
	width: 760px;
	border-bottom: 5px solid #d5e6eb;
	border-left: 5px solid #d5e6eb;
	border-right: 5px solid #d5e6eb;
	background: #FFFFFF url(img/content-bg.gif) repeat-y;
}
 
/* L'entête
-------------------------------------------------------- */
#top {
	background: #0FACEA url(img/header-bg.jpg) no-repeat;
	height: 170px;
	border-bottom: 3px solid #59780a;
	position: relative;
}

#topimg {
	position: relative;
	padding: 30px 0px 0px 40px;
	height: 60px;
}
#top .desc{
	position: absolute;
	left: 110px;
	bottom: 3px;
	color: #c9eefe;
	font-size: 14px;
}

#nav {
	list-style: none;
	margin: 0px;
	position: absolute;
	right: 10px;
	bottom: 0px;
}
#nav li {
	float: left;
	margin-left: 5px;
}

#nav .current_page_item_2 a, #nav .current_page_item_2 a:visited{
	color: #000000;
	text-decoration: none;
}
#nav .page_item_2 a{
	color: #ffffff;
	text-decoration: none;
	background: red;
	padding: 5px 15px;
	font: bold 12px/100% Arial, Helvetica, sans-serif;
	border-top: 1px solid #E6EED0;
	border-left: 1px solid #AFCD69;
	border-right: 1px solid #AFCD69;
	display: block;
}
#nav .page_item_2 a:hover {
	color: #000000;
}

#nav .current_page_item a, #nav .current_page_item a:visited{
	color: #000000;
	text-decoration: none;
}
#nav .page_item a{
	color: #ffffff;
	text-decoration: none;
	background: #5c8d0c url(img/nav-button-bg.gif) repeat-x;
	padding: 5px 15px;
	font: bold 12px/100% Arial, Helvetica, sans-serif;
	border-top: 1px solid #E6EED0;
	border-left: 1px solid #AFCD69;
	border-right: 1px solid #AFCD69;
	display: block;
}
#nav .page_item a:hover {
	color: #000000;
}

/* Le contenu
-------------------------------------------------------- */
#wrapper {
	width: 760px;
	overflow: hidden;
	margin: 0 auto 0 auto;
	padding: 20px 0;
}

#main {
	width: 510px;
	float: left;
}

#content {
	padding: 0 25px;
}

#sidebar {
	float: right;
	padding: 0px 10px 20px 0px;
	width: 220px;
	color: #666666;
	overflow: hidden;
}

#footer {
	clear: both;
	padding: 30px 0 0 0;
	background: transparent url(img/page-b.png) no-repeat top center;
}
#footer p {
	margin: 0 auto;
	padding: 10px 0 20px;
	background: #e0e0e0;
	color: #9ac528;
	text-align: center;
	font-size: 1.2em;
}
#footer p a {
	color: #6d8824;
}

.day-date{
	display: none;
}

.post-date {
	width: 45px;
	height: 50px;
	text-align: center;
	padding: 2px 2px 0 0;
	line-height: 140%;
	float: left;
	background: url(img/date-bg.gif) no-repeat;
	font-size: 1.4em;
	color: #999999;
}

.post-date span {
	height: 16px;
	display: block;
	font: normal 8px Arial, Helvetica, sans-serif;
	color: #ffffff;
	text-align: center;
	padding-top: 0px;
}

.post {
	margin: 0 0 2em 0;
}
.post-title {
	color: #758d38;
	font-size:1.8em;
}

.post-info {
	margin-top: 4px;
	background: transparent url(img/mini-category.gif) no-repeat left top;
	padding-bottom: 1ex;
	margin-left: 50px;
	padding-left: 18px;
	margin-bottom: 10px;
}

#content-info{
	margin-bottom: 20px;
}

.post-info-comment{
	text-align: right;
	float: right;
	margin-top: 4px;
	color: #aaaaaa;
	background: transparent url(img/mini-comments.gif) no-repeat left top;
	padding-bottom: 1ex;
	padding-left: 20px;
}

.post-info-addcomment{
	text-align: right;
	float: right;
	margin-top: 4px;
	color: #aaaaaa;
	background: transparent url(img/mini-down-arrow.gif) no-repeat left top;
	padding-bottom: 1ex;
	padding-left: 20px;
}

.read-it {
	font-weight: bold;
	clear: left;
}

.post-chapo, .post-content{
	line-height:1.4em;
}

.post-content blockquote{
	font-family: Georgia, serif;
	font-style: italic;
}

#trackbacks blockquote, #comments blockquote{
	margin: 0;
	padding: 1px 1em 0.5em 1em;
	background: #f1fedb;
	color:#6b6b6b;
	margin-bottom: 20px;
}

#trackbacks blockquote p, #comments blockquote p{
	margin: 0.5em 0;
	line-height: 1.5em;
}

#tb, #co{
	margin-bottom: 20px;
	border-bottom: 1px dotted #CCCCCC;
}

form{
	padding-top: 10px;
}

form p.field label {
	font-weight: bold;
	display: block;
	padding: 0 1% 0 0;
	width: 29%;
	float: left;
	text-align: right;
}

form p.form-help {
	width: 60%;
	margin: 0 0 0 30%;
	font-style: italic;
}

form fieldset {
	border: none;
}
form fieldset p {
	padding: 5px 0;
}
form fieldset p.field {
	padding: 5px 0;
	width: auto;
	margin: 0;
	clear: left;
}

form p label {
	width: auto;
}
form p.field label {
	font-weight: bold;
	display: block;
	padding: 0 1% 0 0;
	width: 29%;
	float: left;
	text-align: right;
}

form input{
	width: 200px;
	background:#f1fedb;
	border: 1px solid #bdd77f;
	padding: 3px;
	margin-top: 3px;
}

form textarea{
	height: 115px;
	background:#f1fedb;
	border: 1px solid #bdd77f;
	padding: 2px;
	margin-top: 3px;
}

form input#c_remember{
	width: auto;
	border: 0;
	margin: 0 5px 0 30%;
}

form input.preview, form input.submit {
	background: url(img/btn-bg.gif) no-repeat;
	font: bold 12px Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	border: none;
	width: 144px;
	height: 28px;
	cursor: pointer;
}

form textarea:focus, form input[type="text"]:focus {
	background: #ffffff;
}

.sub{
	text-align: right;
	margin-top: 16px;
}

/* La barre de navigation
-------------------------------------------------------- */
#sidebar h2 {
	margin: 0;
	color: #758d38;
	border: 0px;
}
#sidebar h3 {
	margin: 1em 0 0.5em;
	color: #758d38;
	border: 0px;
}

#sidebar div{
	margin-bottom: 2em;
}

#sidebar div ul{
	list-style: none;
	margin: 5px 0;
	padding: 0;
	border-top: 1px solid #CFE1AC;
}

#sidebar div li {
	display: block;
	margin: 0;
	padding: 4px 0;
	border-bottom: 1px solid #CFE1AC;
}
#sidebar div li a {
	color: #6B6B6B;
	text-decoration: none;
}
#sidebar div li a:hover, #sidebar div li a:focus, #sidebar div li a:active {
	color: #9ac528;
}

.field{
	margin-top: 15px;
}

#search fieldset {
	margin: 15px 0 0;
	border: 0px;
}

#q {
	border:1px solid #203346;
	width: 145px;
	height: 22px;
	padding: 4px 5px 0px 5px;
	border: 1px solid #bed881;
	background: #fff;
	margin-right: 2px;
	color: #000000;
	font-weight: normal;
}
#search .submit {
	background: url(img/search-btn-bg.gif) no-repeat;
	border: none;
	width: 37px;
	height: 26px;
	font: bold 12px Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	vertical-align: baseline;
}

#sidebar div#calendar table{
	font-size: 0.8em;
	text-align: center;
	margin: 0 auto;
	border-collapse: collapse;
}

#sidebar div#calendar table caption{
	margin: 0 auto;
}

#sidebar div#calendar table th{
	color: #758d38;
	background: transparent;
}

#sidebar div#calendar table td{
	width: 14%;
	line-height: 2em;
	border: 1px solid #EEE;
}

#sidebar div#calendar table td a{
	display: block;
	background: #758d38;
	color: #efefef;
	font-weight: bold;
	text-decoration: none;
}

#sidebar div#calendar table td a:hover{
	background: #efefef;
	color: #758d38;
}

#sidebar div li a{
	margin-left: 22px;
}

#selection li {
	background: url(img/mini-page.gif) no-repeat;
}

#categories li {
	background: url(img/mini-category.gif) no-repeat;
}

#archives li {
	background: url(img/mini-monthly-archive.gif) no-repeat;
}

#syndicate li {
	background: url(img/mini-rss.gif) no-repeat;
}

#links li {
	background: url(img/mini-blogroll.gif) no-repeat;
}

/* Le pied de page
-------------------------------------------------------- */

#footer {
	clear: both;
	background: #048DB4 url(img/footer-bg.gif) no-repeat;
	color: #ACD7EE;
	font-size: 95%;
	line-height: 130%;
	padding-bottom: 10px;
	padding-top: 0px;
}
#footer a, #footer a:visited {
	color: #ffffff;
}
#footer h4 {
	font: normal 146%/100% "Trebuchet MS", Tahoma, Arial;
	color: #9cdbfb;
	margin: 10px 0px 5px;
}

#footer p{
	background: transparent;
	margin: 0;
	padding: 0;
	color: #ACD7EE;
	font-size: 95%;
	text-align: left;
	
}
.footer-recent-comments {
	width: 240px;
	float: left;
	margin-left: 10px;
}
.footer-recent-comments ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
}
.footer-recent-comments ul li {
	background: url(img/mini-footer-comments.gif) no-repeat;
	padding: 0px 0px 10px 20px;
}
.footer-recent-posts {
	width: 240px;
	float: left;
	margin-left: 10px;
}
.footer-recent-posts strong {
	font-size: 107%;
	line-height: 135%;
	font-weight: bold;
}
.footer-recent-posts ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
	font-size: 92%;
	line-height: 110%;
}
.footer-recent-posts ul li {
	background: url(img/mini-footer-post.gif) no-repeat;
	padding: 0px 0px 10px 20px;
}
.footer-about {
	width: 220px;
	float: right;
	padding-right: 10px;
	padding-left: 10px;
	background: url(img/footer-right-bg.gif) no-repeat;
}

#credits {
	margin: 0px auto;
	width: 760px;
	color: #7a9299;
	font-size: 85%;
	line-height: 120%;
}
#credits a, #credit a:visited {
	color: #048db4;
}
.rss {
	background: url(img/mini-rss-footer.gif) no-repeat left center;
	padding-left: 18px;
	padding-bottom: 2px;
	margin-left: 8px;
}
.loginout {
	background: url(img/mini-loginout.gif) no-repeat left center;
	padding-left: 18px;
	padding-bottom: 2px;
	margin-left: 8px;
}

.center {
	text-align: center;
}
img.center, img[align="center"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	float: left;
}
img.alignleft, img[align="left"] {
	float:left;
	margin: 2px 10px 5px 0px;
}
.alignright {
	float: right;
}
img.alignright, img[align="right"] {
	float:right;
	margin: 2px 0px 5px 10px;
}
.clear {
	clear:both;
}
hr.clear {
	clear:both;
	visibility: hidden;
	margin: 0px;
	padding: 0px;
}
