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

/* 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
 *
 * L'agengement des blocs est défini dans le fichier layout.css
 * Pour mettre la barre de navigation à gauche, décommentez l'appel à 
 * layout-gauche.css
 */

@import "layout.css";
/* @import "layout-gauche.css"; */
 
/* Les éléments HTML en général
-------------------------------------------------------- */
body{
	background: #FFF repeat-y center top;
	color: #000;
	font-size: x-small;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	border: 1px none #000;
}

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

h1{font-size: 1.5em;}
h2{
	font-size: small;
	font-weight: bold;
	padding-left: 4px;
	border-left-width: 4px;
	border-left-style: none;
}
h3{font-size: 1.3em;}
h4{font-size: 1.2em;}
h5{font-size: 1.1em;}
h6{font-size: 1em;}

pre, code{
	font-size: 1em;
}

pre{
	width: 100%;
	overflow: auto;
	border: 1px none #CCC;
}

fieldset{
	border: none;
}

label{
	cursor: pointer;
	cursor: hand;
}

.field label{
	display: block;
}

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

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

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

a:visited{
	font-weight: bold;
	text-decoration: none;
}

a:hover{
	text-decoration: none;
	background: #ede1c3;
	border-bottom: none;
	border-bottom-width: 1px;
}

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

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

/* La page
-------------------------------------------------------- */
#page{
	background: #FFF;
	color: inherit;
}
 
/* L'entête
-------------------------------------------------------- */
#top{
	background: #FFF url(img/top.gif) no-repeat center center;
	height: 220px;
}

#top h1{
	margin: 20px 0 0 10px;
	display: none;
}

#top h1 a{
	text-decoration: none;
	font-size: small;
	color: #061975;
}

#top h1 a:hover{
	text-decoration: none;
	border: none;
	background: transparent;
	color: #663399;
}


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

#prelude a{
	background: transparent;
}

#prelude a:hover{
	color: #666;
	border: none;
	background: transparent;
}

/* Le contenu
-------------------------------------------------------- */

#main{
	background-color: #FFF;
}

.day-date{
	padding-left: 20px;
	margin-left: -25px;
	color: #888;
	background: transparent;
	font-style: italic;
	border: 1px solid #000;
	display: none;
}

.post-title{
	color: #061975;
	height: 30px;
	background: #FFF url(img/post-title.gif) no-repeat left top;
	padding-top: 12px;
	padding-left: 10px;
}

.post-title a{
	color: #061975;
	background: transparent;
	text-decoration: none;
	border-bottom: none;
}

.post-title a:visited{
	color: #061975;
}

.post-info{
	padding: 0 4px 3px 0;
	text-align: right;
	color: #152351;
	background:  #FFF url(img/post-info.gif) no-repeat right bottom;
	width: 100%;
	margin-bottom: 1ex;
}

.post-info a{
	color: #6a2225;
	background: transparent;
	text-decoration: none;
	font-weight: bold; 
}

.post-info a:visited{
	color: #6a2225;
}

.post-content{
	background: #FFF;
	text-align: justify;
	width: 100%;
	padding: 10px 0 0 0;
	margin: 0 3px 0 3px;
}

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

.post-info-co{
	text-align: right;
	padding: 0 2px 0 0;
	border-right: 1px solid #152351;
	border-bottom: 1px solid #152351;
}

.post-info-co a{
	color: #061975;
}

.post-info-co a:visited{
	color: #061975;
}

.tag{
	text-align: right;
	padding-top: 3px;
}

#trackbacks blockquote, #comments blockquote{
	border: 1px solid #d8d4cb;
	margin: 1em 0;
	padding: 1ex 1em;
}

.comment-info a{
	border-bottom: 1px dotted #000;
	color: #5A2305;
}

/* La barre de navigation
-------------------------------------------------------- */
#sidebar div{
	color: #555;
}

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


#sidebar h2{
	color: #061975;
	height: 23px;
	margin: 0 0 1ex;
	font: small/1.4em Verdana, Arial, Helvetica, sans-serif;
	font-variant: small-caps;
	font-weight: bold;
	padding-left: 6px;
	padding-top: 7px;
	padding-bottom: 2px;
	background: #FFF url(img/sidebar_h2.gif) no-repeat left bottom;
}

#sidebar h3{
	color: #000000;
	font: small/1em Verdana, Arial, Helvetica, sans-serif;
	font-variant: small-caps;
	padding-left: 4px;
	padding-top: 2px;
	padding-bottom: 2px;
	
	margin: 1ex 0 1ex;
	background: none;
	border-left: 3px solid #000000;
	border-bottom: 1px solid #000000;
}

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

#search fieldset, #search p{
	margin: 0;
	padding: 0;
}

#q{
	padding-left: 18px;
	background: #EEE url(img/q.png) no-repeat 4px center;
}

#sidebar div#calendar{
	/*border-top: 1px solid #F0F0F0;*/
}

#sidebar div#categories{

}

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

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

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

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

#sidebar div#calendar table td a{
	display: block;
	background: #5A2305;
	color: #DCDCDC;
	font-weight: bold;
	text-decoration: none;
}

#sidebar div#calendar table td a:hover{
	background: #DBB8DC;
	color: #636;
	border-bottom: dashed;
	border-bottom-width: 0px;
}

/* ADS
--------------------------------------------------------*/
.ads {
	padding: 20px 0 0 0;
}

/* TAGS
--------------------------------------------------------*/
.level-1{
	font-size:9px
}
.level-2{
	font-size:12px
}
.level-3{
	font-size:15px
}
.level-4{
	font-size:18px
}
.level-5{
	font-size:21px
}

.tag-post {
	margin: 0 0 2em 0;
	text-align: right;
}

.tag-list {
	margin: 2em 0 0 0;
	text-align: right;
}



/* TOC
-------------------------------------------------------- */

#toc h2{
	color: #000000;
	margin: 0 0 1ex;
	font: small/1.3em Verdana, Arial, Helvetica, sans-serif;
	font-variant: small-caps;
	padding-left: 4px;
	padding-top: 2px;
	padding-bottom: 2px;
	background: #eddfc2;
	border-left: 1px solid #000000;
}

#toc h3{
	margin: 0 0 1ex;
	font: small/1.2em Verdana, Arial, Helvetica, sans-serif;
	padding-left: 4px;
	padding-top: 2px;
	padding-bottom: 2px;
	background: #eddfc2;
	border-left: 0px solid #000000;
}



/* Le pied de page
-------------------------------------------------------- */
#footer{
	height: 80px;
	color: #555;
	padding: 90px 0 0 50px;
	background: #FFF url(img/footer.gif) no-repeat center top;
	line-height: 1.4em;
	border: 1px #FFF solid;
}

#footer a{
	color: #999;
}