/* ***** 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 ***** */
 
 /*
 -----------------
 Nom du theme : Kit (variante pour le guide de Kit, merci
 de ne pas le reutiliser tel quel)
 Auteur : Kozlika http://www.kozlika.org/ pour Dotclear
 Licence : GPL
 ----------------- 

Organisation de la presente feuille de style :

 1. Structure de la page (body, page, top, main, sidebar, footer)
 2. Mise en forme des balises XHTML standard
 3. Les liens
 
 4. Haut de page (top et prelude)
 5. Les billets (content et post)
 6. Les commentaires et trackbacks
 7. Le menu lateral (sidebar)
 
 8. Goodies
        classes supplementaires utilisables dans les billets
        et autres trucs bien utiles...


/* =================================================================
        1. STRUCTURE DE LA PAGE - REGLES DES GRANDS BLOCS
/* ============================================================= */

body {
	font-size : 76%;
	margin : 0;
	padding : 0;
	text-align : center; /* indispensable pour qu'Internet Explorer centre la page dans la fenetre */
	background : #acbabf;
	color:#222;
	font-family:"Lucida Grande", optima, "Trebuchet MS", sans-serif;
    }
#page {
	width : 90%;
	margin : 0 auto 20px auto;
	padding : 0;
	background : #fff;
	text-align : left;
    }
#top {
	margin : 0;
	padding : 0;
	text-align : center;
	border-bottom : 4px solid #a71602;
	}
#main {
	width : 100%;
	margin : 0 -270px 0 0;
	padding : 0;
	float : left;
	background : transparent;
	}
#content {
	padding : 1px 20px 1em 40px;
	margin : 20px 240px 0 0; /* 240px a gauche : cette valeur + margin et padding lateraux 
    ne doivent pas exceder la marge negative appliquee a #main */
	}
#footer {
	background : transparent;
	margin : 0;
	clear : both;
	text-align:center;
	line-height:200%;
	padding : 0 30px;
	border-top : 1px solid #999;
	}
#sidebar {
	width : 160px;
	float : right;
	margin : 20px 0 0 0; /* meme marge haute que sur #content pour alignement */
	padding : 0 20px 40px 20px;
	background : transparent url(images/bas-sidebar.png) no-repeat bottom center;
	border-left:1px solid #acbabf;
	font-size:0.85em;
	color:#666;
	line-height:125%;
	}


/* ==============================================================
        2. BALISES HTML
/*  ============================================================= */

h1 {font-size : 2em; }
h2 { font-size : 1.33em; margin : 0; }
h3 { font-size : 1.25em; margin : 1.5em 0 0 0; }
h4 { font-size : 1em; margin : 1.5em 0 0 0; }
h5 { font-size : 0.83em; margin : 1.5em 0 0 0; }
h6 { font-size : 0.67em; margin : 1.5em 0 0 0; }

p { margin : 1em 0 0 0; }

img { border : none; }

q, cite { 
	font-style : italic; 
	background : #f7f7f7; 
	}

form { 
    display : block; 
    margin : 0; 
    padding : 0; 
    }

code, pre { 
    font-family : "Courier New",monospace; 
    font-size : 1.1em;
    color : #66c;
    }

pre {
	background : #f5f5f5;
	border : 1px solid #A71602;
	margin : 1em 2em;
	padding : 0.5em 1em;
	text-align:left;
	white-space:normal;
		/* cache 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 */
}


/* ==============================================================
        3. LES LIENS
/*  ============================================================= */


/* ********** Regles generales ************* */

a {
	text-decoration : none;
	}
a:link {
	color:#A71602; 
	}
a:visited {
	color:#A71602; 
	}
a:hover, a:focus {
	color:#666; 
	background:#f7f7f7;
	}
/*a[hreflang]:after {
	content: "\0000a0[" attr(hreflang) "]";
	color : #666;
	background : transparent;
	}*/

/* ********** Regles specifiques ************* */

/* pour #top h1 a et top h1 a:hover tout est regroupe dans la partie 4 suivante */
#prelude a {
	color:#fff;
	}
.post-title a {
	text-transform : none;
	}
#calendar td.active a {
	font-weight : bold;
	}


/* =================================================================
        4. HAUT DE PAGE
            (voir a la fin de cette feuille les styles pour un menu 
            horizontal et/ou un sous-titre)
/* ============================================================= */
#top h1 {
	margin : 0;
	height : 116px;
	}
#top h1 a {
	display : block;
	height : 76px;
	padding : 40px 0 0 0;
	background : #fff url(images/deco-top.png) no-repeat bottom right;
	}

#top h1 a:hover {
	background : transparent url(images/deco-top-a.png) no-repeat bottom right;
	}
#prelude {
	color:#fff;
	text-align:left;
	background : transparent;
	margin : 0;
	padding : 0 0 0 3em;
	}


/* =================================================================
        5. LES BILLETS
/* ============================================================= */

.post {
	background : transparent url(images/icopost.png) no-repeat;
	margin-bottom : 3em;
	}
.day-date {
	display:none;
	}
.post-title {
	text-transform : uppercase;
	font-weight : normal;
	padding-left : 42px;
	}
.post h3, .post h4, .post h5, .post h6 {
	font-weight : normal;
	color : #666;
	margin-top : 2em;
	text-transform : uppercase;
	text-align : left;
	}
.post-info {
	margin : 0.25em 0;
	color : #999;
	padding-left : 42px;
	}
.post-chapo {
	margin : 1em 0;
	text-align : justify;
	}
.post-content {
	text-align : justify;
	margin-top : 0.5em;
	}
.post-content p, .post-chapo p {
	margin-top : 1em;
	line-height : 140%;
	}
.post-info-co {
	margin-bottom:2em;
	margin-top:0.5em;
	}
.post blockquote {
	margin:2em;
	padding:0 2em 0 1em;
	border-left : 4px solid #ddd;
	}
.post img {
	padding : 2em 0;
	}
.footnotes {
	font-size:0.9em;
	}
.footnotes, .footnotes p {
	margin-top : 1em; text-indent : 0;
	}
.post ul {
	list-style-type : none;
	margin-left : 1.5em;
	padding-left : 0;
	}
.post ul li {
	padding-left : 13px;
	background : transparent url(images/puce.png) no-repeat 0 0.4em;
	}

/* =================================================================
        6. COMMENTAIRES, TRACKBACKS
            (voir aussi formulaires en 8)
/* ============================================================= */

#trackbacks, #comments, #comment-preview {
	}
#trackbacks {
	border-top : 4px dotted #ddd;
	background : transparent url(images/comments.png) no-repeat top right;
	}
#comments h3, #trackbacks h3 {
	margin-top : 2em;
	margin-bottom : 1em;
	}
.comment-info {
	margin : 0;
	padding :  2px 1em;
	background : #ddd;
}
#comments blockquote, #trackbacks blockquote {
	background : #eee;
	margin : 0 0 2em 0;
	padding : 2px 1em 0.5em 1em;
}

/* =================================================================
        7. SIDEBAR
/* ============================================================= */
    
#sidebar h2 {
	font-family:Georgia, serif;
	font-size : 1.33em;
	margin-top:1.5em;
	margin-bottom:0.5em;
	color : #999;
	}
#sidebar h3 {
	font-family:Georgia, serif;
	font-weight : normal;
	margin-top: 0.5em;
	margin-bottom:0.33em;
	color : #999;
	font-size : 1.1em;
	}
#sidebar ul {
	list-style:none;
	margin : 0 0 1em 0.66em;
	padding:0;
	}
#sidebar li {
	margin :0;
	padding : 0;
	}
#sidebar li a {
      padding-left : 10px;
      background : transparent url(images/fleche.png) no-repeat 0 0.4em;
      }
#sidebar li a:hover {
      background : transparent url(images/fleche2.png) no-repeat 0 0.4em;
      }
#search, #search h2 {
	margin-top:0;
	}
#archives {
    display : none;
    }

/* Le calendrier
------------------------------------------- */
#calendar {
    display : none;
	}
#calendar h2 {
	display : none;
	}
#calendar table {
	border-collapse : collapse;
	font-size : x-small;
	margin : 0 auto;
	}
#calendar caption { /* nom des mois */
	margin : 0 auto;
	padding : 0 0 0.3em 0;
	font-size : 1.2em;
	}
#calendar abbr { /* nom des jours */
	border : none;
	}
#calendar th, #calendar td { /* th : cellules d'entete vertical (jours) - td : cellules */
	border : none;
	padding : 1px;
	text-align : center;
	}
#calendar td.active { /* cellules du jour actif */
	background : #ddd;
	}

/* =================================================================
        8. FORMULAIRES (recherche et depot commentaire)
            interactions (messages d'erreur)
/* ============================================================= */

fieldset {
	display : block;
	border : none;
	margin : 0 0 0.5em 0;
	padding : 0;
	}
fieldset p {
	margin-bottom : 1em;
	}
.form-help {
	margin : 1em 0;
	}
input, textarea {
	font-family : Verdana,Arial,Geneva,Helvetica,sans-serif;
	font-size : 1em;
	border-width : 1px;
	border-color : #999;
	}
input[type], textarea[name] {
	background : #eee;
	}
input[type=submit], input[type=reset] {
	background : #ccc;
	color : #000;
	}
input[type=submit]:hover {
	background : #ccc;
	color : #fff;
	}
textarea {
	width : 95%;
	}
p.field {
	margin : 1em 0 0 0;
	}
p.field label {
	display : block;
	font-weight : bold;
	font-size : 0.85em;
	width : 12em;
	float : left;
	color : #666;
	}
.form-help {
	}
#comment-form {
	}
input.preview {
	}
input.submit {
	}
#c_nom {
	}
#c_mail {
	}
#c_site {
	margin-bottom : 1em;
	}
#c_content {
	}
#c_remember {
	}


/* Error messages
-------------------------------------------------------- */
.error {
	border : 1px solid #c00;
	background : #fee;
	padding : 0.5em;
	}
.error ul {
	padding-left : 20px;
	}
.error li {
	list-style : square;
	}


/* =================================================================
        9. TRUCS EN PLUS
/* ============================================================= */

/* des classes supplementaires reutilisables dans les billets :
---------------------------------------------------- */
.petit {
	font-size:0.9em;
	}
.center {
	text-align : center;
	}
.right {
	text-align : right;
	}
.left {
	text-align : left;
	}

/*
Extra nav pour un menu horizontal 
(code source a placer avant prelude)
----------------------------------------------------------- */
#top {
    border-bottom : 2px solid #bbb;
    }

ul#extranav {
	margin : 0;
	padding : 1px 34px;
	list-style-type : none;
	text-align: left;
	color : #666;
}

ul#extranav li {
	display: inline;
	padding : 1px 0;
}
	
ul#extranav li a {
	padding : 1px 6px 2px 6px;
	color: #fff;
	text-decoration: none;
    	background : #bbb;
    	border-left : 4px solid #fff;
}
	
ul#extranav li a:hover {
	color: #A71602;
}
	
ul#extranav a.active { 
	background-color: #fff;
	color: #A71602;
	border-bottom : 1px solid #bbb;
}

/* 
Pour related
----------------------------------------------------------- */
.related h2 {
    text-transform : uppercase;
    font-weight:normal;
    padding-left : 44px;
    }
.related .post-content {
    margin-top : 3em;
    }

/* si table des matieres
---------------------------------------------------- */
#toc ul {
	list-style-type : none;
	margin : 0 0 0 2em;
	padding : 0;
	line-height : 130%;
}
.tocdate {
	font-family:"Lucida Grande", optima, "Trebuchet MS", sans-serif;
	font-size:0.85em;
}
#toc .post-title {
	padding-left : 0;
}
