/* ***** 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):
 *  Bebop
 */

@import "layout.css";

/* Les éléments HTML en général
-------------------------------------------------------- */
body{
	background: #819800;
	color: #552025;
	font-size: 80%;
	line-height: 1.6em;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

h1, h2, h3, h4, h5, h6{
	font-family: "Trebuchet MS", sans-serif;
}

h1{font-size: 3em;}
h2{font-size: 1.4em;}
h3{font-size: 1.3em;}
h4{font-size: 1.2em;}
h5{font-size: 1.1em;}
h6{font-size: 1em;}

img{
	background-color: #FFF;
	padding: 9px;
	border: 1px solid #819800;
}

img a:hover{
	border: 1px solid red;
}

pre, code{
	font-size: 1.1em;
	line-height: 1.4em;
}

pre{
	width: 100%;
	overflow: auto;
	border: 1px solid #999;
}

fieldset{
	border: none;
}

label{
	cursor: pointer;
}

.field label{
	display: block;
}

acronym, abbr {
	cursor: help;
}

input,textarea{
	border: 1px solid #999;
}

textarea{
	width: 100%;
	font-size: 1em;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

a{
	color: #819800;
	font-weight: bold;
	text-decoration: none;
}

a:visited{
	color: #663;
}

a:hover{
	color: red;
}

.smiley{
	background: transparent;
	padding: 0;
	border: none;
}

.left{
	float: left;
	margin-right: 1em;
}

.right{
	float: right;
	margin-left: 1em;
}

.page{
	color: inherit;
}

/* L'entête
-------------------------------------------------------- */
#haut{
	background-color: #455200;
}

#top{
	background-color: transparent;
	border-top: 1px solid #552025;
}

#top h1{
	margin: 0;
	padding: 15px 15px 0 15px;
	color: #FFFFFF;
}

#top h1 a{
	text-decoration: none;
	color: #FFFFFF;
}

#top img{
	margin: 10px auto 10px auto !important;
	margin: 10px auto 25px auto;
}

/* Le prélude
-------------------------------------------------------- */ 
#prelude{
	background-color: #DDE189;
}

#prelude p{
	margin-bottom: 0;
	padding: 15px;
}

#prelude blockquote{
	font-style: italic;
	margin-bottom: 0;
	margin-top: 0;
	padding-bottom: 15px;
}

#prelude cite{
	display: block; 
	margin-top: 10px; 
	text-align: right;
	font-style: normal;
}

/* Le contenu
-------------------------------------------------------- */
#main{
	background-color: #DDE189;
}

.day-date{
	border-top: 1px solid #552025;
	padding-right: 10px;
	margin: 0 -15px 0 -15px;
	color: #666;
	font-style: italic;
	text-align: right;
	text-transform: capitalize;
}

#main h2{
	font-size: 1.7em;
	margin-top: 5px;
}

.post-title{
	color: #819800;
	background: transparent;
	margin-bottom: 0;
}

.post-title a:link, .post-title a:visited, .post-title a:hover{
	color: #819800;
	background: transparent;
	text-decoration: none;
	font-weight: bold;
}

.post-info {
	margin-top: 0;
	color: #525210;
	background: transparent;
	padding-bottom: 0.5ex;
	font-size: 0.89em;
}

.post-info a{
	color: #525210;
	background: transparent;
	text-decoration: none;
	font-weight: normal;
}

.post-info a:hover{
	color: #525210;
	text-decoration: underline;
}

.post-content, .post-chapo{
	text-align: justify;
	font-size: 1em;
}

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

.post-info-co{
	font-size: 0.89em;
	text-align: right;
	color: #525210;
}

.post-info-co a, .post-info-co a:visited{
	color: #525210;
	font-weight: normal;
}

.post-info-co a:hover{
	color: #525210;
	text-decoration: underline;
}

.error{
	border-top: 1px solid #552025;
	padding: 15px;
}

.error-com{
	border-top: none;
}

/* Les commentaires et les tracbacks 
-------------------------------------------------------- */
#trackbacks, #comments{
	padding: 0 15px;
}

#trackbacks blockquote, #comments blockquote{
	background-color: #EBEDBA;
	margin: 5px 0 1em 0;
	padding: 5px 1em;
}

.comment-number a{
	font-size: 2em;
	font-weight: normal;
	vertical-align: middle;
}

#apercu {
	padding: 0 15px;
}

#titreapercu {
	border-top: 1px solid #552025;
	padding: 10px 15px 0 15px;
	margin: 0;
}

#comment-form fieldset{
	width: 450px;
	margin: 0;
}

#comment-form input, #comment-form textarea{
	border: 1px solid #552025;
	background-color: #EBEDBA;
}

#comment-form input:hover, #comment-form textarea:hover, #comment-form input:focus, #comment-form textarea:focus{
	background-color: #F7F8DB;
}

/* La barre de navigation
-------------------------------------------------------- */
#sidebar div{
	color: #EEE;
	background : transparent;
	border-top: 1px solid #DDE189;
	margin-top: 1em;
	line-height: 1.2em;
}

#sidebar a{
	color: #EEE;
	font-weight: normal;
}

#sidebar a:hover{
	font-weight: bold;
}

#sidebar div ul{
	margin: 5px 0 0 0;
	padding: 0 0 0 7px;
	list-style: none;
}

#archives li{
	text-transform: capitalize;
}

#sidebar h2, #sidebar h3{
	color: #DDE189;
	margin: 2px 0 0 0;
	text-align: center;
}

#sidebar h3{
	font-size: 1em;
	margin: 0;
}

#sidebar div#search{
	background: transparent;
	color: inherit;
}

#search form {
	margin: 0;
	padding: 0;
}

#search input, #search textarea{
	border: 1px solid #BBB;
	background-color: #9DB322;
	color: #DDD;
}

#search input:hover, #search textarea:hover, #search input:focus, #search textarea:focus{
	border: 1px solid #EEE;
	background-color: #B4C652;
	color: #FFF;
}

#search fieldset, #search p{
	margin: 0;
	padding: 10px 0 0 1em;
}

#sidebar div#calendar{
	border-top: none;
	margin-top: 0;
}

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

#sidebar div#calendar a{
	font-weight: bold;
} 

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

#sidebar div#calendar table th{
	color: #EEE;
	background: transparent;
	font-weight: normal;
}

#sidebar div#calendar table td{
	width: 14%;
	line-height: 2em;
}

#sidebar div#calendar table td a{
	display: block;
	background: transparent;
	border: 1px solid #BBB;
	color: #EEE;
	text-decoration: none;
}

#sidebar div#calendar table td a:hover{
	background: #DDE189;
	color: #552025;
}

/* Le pied de page
-------------------------------------------------------- */
#footer{
	padding: 1em;
	background-color: #455200;
	color: #999;
}

#footer a, #footer a:visited{
	color: #999;
}

#footer a:hover{
	color: #EEE;
}