/* ***** BEGIN LICENSE BLOCK *****
 * This file is part of DotClear.
 * Copyright (c) 2004 Olivier Meunier 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 *****
 /* Author : Kozlika - http://www.kozlika.org/
 
 
REGLES PAR DEFAUT
------------------------------------------------------------------- */
body {
	margin : 0;
	padding : 0;
	background : #e9eee6 url(images/fondgauche.png) repeat-y 10% 0%;
	font-family: "Lucida grande",Verdana,arial,"Bitstream Vera Sans", sans-serif; 
	font-size : x-small;
	color : #000;
	text-align : center;
}

* {
    margin : 0;
    padding : 0;
}
/* == BALISES XHTML == */

p, td, ul, ol, li, dl, dt, dd { /* Pour compatibilite Netscape 4 */
		font-family: "Lucida grande",Verdana,arial, "Bitstream Vera Sans", sans-serif; 
}

/* Hierarchie des titres */

h1, h2, h3 { font-weight : normal ; 	font-family : Georgia,"Times New Roman","New York",serif; }
h4, h5, h6 { font-weight : bold; }
h1 { font-size : 2.5em; margin : 0; }
h2 { font-size : 1.4em; margin : 0.8em 0; }
h3 { font-size : 1.2em; margin : 0.8em 0; }
h4 { font-size : 1em; margin : 1em 0; }
h5 { font-size : 0.9em; margin : 1.25em 0; }
h6 { font-size : 0.8em; margin : 1.75em 0; }

/* Comportement des liens */
/* DECO DES LIENS */
.post-content a, .post-chapo a, #comments a, #comments-preview a, #trackbacks a {
padding-right : 16px;
background : transparent url(images/fleche.png) no-repeat center right;
}
#comments span.comment-number a {
padding : 0;
background-image : none;
}
a { text-decoration : none; }
a:link { color: #690a00 /*be6d0e*/; }
a:visited { color : #690a00 /*be6d0e*/; }
a:hover { background-color : #e9cc54; }
#sidebar a:hover { background-color : #690a00; color : #e9eee6;}
a:active, a:focus { text-decoration : underline; }

/* Mention de la langue d'un lien */

a[hreflang]:after {
	content: "\0000a0[" attr(hreflang) "]";
	color : #690a00 /*be6d0e*/;
	background : transparent;
}

/* Regles des balises courantes */

p { margin : 0 0 1em 0; } /* paragraphes */
img { border : none; } /* images */
form { display : block; margin : 0; padding : 0; } /* formulaires */
q, cite {  /* citations */
    font-style : italic; 
    margin : 1em; 
}
cite {
    padding : 1em;
    border-top : 1px solid #ccc;
    border-bottom : 1px solid #ccc;
}
ul, ol { margin-left : 1em; padding-left : 1em; margin-bottom : 1em; }
sup { padding-left : 0.15em; font-size : 80%; }

abbr, acronym {
	border-bottom: 1px dashed #999;
	cursor: help;
}
blockquote {
    margin-left : 2em;
    padding-left : 1em;
    border-left : 3px solid #999;
}

/* Presentation des lignes de code */
code,pre { font-family : "Courier New",monospace; font-size : 1em; }
pre {
    background : #e9eee6;
	margin : 0 auto;
	margin-bottom : 1em;
	padding : 1em;
	text-align:left;
	white-space:normal;
	border : 1px dashed #406f08;
		/* cachŽ pour IE 5 Mac qui sait pas faire - Ne pas supprimer cette ligne  \*/
		white-space:pre;
		width: 90%;
		overflow : auto;
	/* Fin hack Ne pas supprimer cette ligne */
}

/* TRUCS EN PLUS. Lors de la saisie des billets vous pouvez utiliser 
/* ces classes pour enrichir votre presentation 
/* centrer, aligner a droite, petites majuscules */
.center {
	text-align : center;
}
.right {
	text-align : right;
}
.petites-cap {
	font-size : 0.82em;
	text-transform : uppercase;
}

/* --------------------------------------------------------
STRUCTURE
-------------------------------------------------------- */
#page {
    position : relative;
    width : 85%;
    margin : 0 auto;
    text-align : left;
    background : transparent url(images/fonddroit.png) repeat-y top right;
    padding : 2em 0 0 0;
}
#top, #prelude, #main, #content, #extranav, #sidebar, #footer {
    text-align : left;
    margin : 0;
}
#top {
    z-index : 10;
    position : relative;
    width : 170px;
    float : right;
    margin : 0;
    padding : 0 0 220px 0;
    background : transparent url(images/vignette.png) no-repeat bottom left;
}
#top h1 {
    position : relative;
    padding : 0 0 0 0;
}

#prelude, #prelude a {
    font-size : 0.33em;
    margin:0;
    color : #f4f4f4;
}
#main {
    position : relative;
    width : 100%;
    float : left;
    margin-right : -180px;
    padding : 0;
}
#content {
    position : relative;
    padding : 0 330px 1em 2em;
    margin-right : 0;
}
#sidebar {
    position : relative;
    width : 170px;
    float : right;
}
#footer {
    clear : both;
    line-height : 140%;
    padding : 1em 320px 1em 0;
    margin : 0;
    text-align : center;
    text-transform : uppercase;
    background : transparent;
    }
/* ---------------------------------------------------------
BILLETS
---------------------------------------------------------- */
.post {
    margin-bottom : 4em;
    padding-top : 0;
    line-height : 130%;
    font-size : 1.2em;
}
.day-date {
    text-transform : uppercase;
    letter-spacing : 1px;
    font-size : 0.8em;
    text-align : right;
}
.post-title {
    margin-top : 0;
    font-size : 1.55em;
    color : #352717;
    margin-bottom : 0.33em;
}
.post-title a {
    color : #690a00;
    margin-bottom : 0.33em;
}
.post-chapo, .post-content {
    text-align : justify;
}
.post img {
    padding : 0.5em;
    border : 3px solid #9cc0c1;
}
.post .footnotes h4 {
	text-transform : capitalize;
	font-weight : bold;
	margin-top : 2em;
}
.post-info, .post-info-co, .post-info-url {
    font-size : x-small;
}
.post-info {
    margin-bottom : 1.5em;
}

/* ---------------------------------------------------------
MENU
---------------------------------------------------------- */
#sidebar {
    background : transparent;
    padding-bottom : 300px;
}
#sidebar h2 {
    text-transform : uppercase;
    letter-spacing : 1px;
    font-size : 0.9em;
    margin-top : 3em;
}
#sidebar ul { 
    margin-left : 0; 
    padding-left : 0; 
    list-style : none; 
}
#categories {
    margin-top : 0;
}

/* -------------------------------------------------------------
TRACBACKS ET COMMENTAIRES
---------------------------------------------------------- */
#trackbacks, #comments, #comment-preview {
    font-size : 1.1em;
}
#trackbacks {
    background : transparent;
}
#trackbacks h3, #comments h3, #comment-preview h3 {
    text-transform : uppercase;
    letter-spacing : 1px;
    font-size : 0.9em;
    margin-top : 3em;
    margin-bottom : 2em;
    text-align : center;
}
.comment-info {
    margin-top : 2em;
}
.comment-number {
    font-size : 1.66em;
	font-family : Georgia,"Times New Roman","New York",serif;
}
#comments form, #comment-preview {
    background : transparent;
    padding : 1em;
    border : 1px solid #dedede;
}
/* Formulaires
-------------------------------------------------------- */
fieldset {
	display : block;
	border : none;
	margin : 0.5em 0 0 0;
	padding : 0;
}

input, textarea {
	font-size : 1.2em;
	border : 1px solid #999;
}

input[type], textarea[name] {
	background : #e9cc54;
}

input[type=submit], input[type=reset] {
	background : #9cc0c1 /*ddd*/;
	color : #333;
}

input[type=submit]:hover {
	background : #406f08;
	color : #fff;
}

textarea {
	width : 100%;
}

p.field, .form-help {
	margin : 0.5em 0 0 0;
}

p.field label {
	display : block;
	margin : 1.5em 0 0 0;
	padding-bottom : 0.5em;
	color : #406f08;
}
/* Error messages
-------------------------------------------------------- */
.error {
	border : 1px solid #333;
	background : #ccc;
	padding : 0.5em;
}
.error ul {
	padding-left : 20px;
}
.error li {
	list-style : square;
}