/* ***** 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: #EEE;
	color: #000;
	line-height: 1.4em;
	/* font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;*/
	/* font-family : Tahoma,Arial,Helvetica,sans-serif; */
	font-family: arial, verdana, sans-serif;
	font-size : 80%;
	border-top: 10px solid #DDD;
}

h1, h2, h3, h4, h5, h6{
	font-family: "Tahoma,Arial,Helvetica,sans-serif", sans-serif;
}

h1{font-size: 1.5em;}
h2{font-size: 1.4em;}
h3{font-size: 1.3em;}
h4{font-size: 1.2em;}
h5{font-size: 1.1em;}
h6{font-size: 1em;}

pre, code{
	font-size: 1.2em;
}

pre{
	width: 100%;
	overflow: auto;
	border: 1px solid #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 : Tahoma,Arial,Helvetica,sans-serif; */
	font-family: arial, verdana, sans-serif;

}

a{
	color: #000;
}

a:visited{
	/* color: #663; */
}

a:hover{
	color: #888;
}

.left{
	float: left;
	margin-right: 1em;
}

.right{
	float: right;
	margin-left: 1em;
}

/* La page
-------------------------------------------------------- */
#page{
	background: #fff url(img/page.png) repeat-y center top;
	color: inherit;
}
 
/* L'entête
-------------------------------------------------------- */
#top{
	height: 120px;
	/*padding-top: 20px;*/
	background: #FFF url(img/top4.png) no-repeat left top;
}

#top h1{
	height: 80px;
	line-height: 80px;
	margin: 0 0 0 40px;
	padding-top: 34px;
	color: #FFFFFF;
	font-weight: bolder;

}

#top h1 a{
	text-decoration: none;
	color: #FFFFFF;
}

/* Le prélude
-------------------------------------------------------- */ 
#prelude{
	background: transparent;
	color: #999999;
	text-align: center;
}

#prelude a{
	color: #999999;
	background: transparent;
}

#prelude a:hover{
	color: #000000;
	background: transparent;
}

/* Le contenu
-------------------------------------------------------- */
.day-date{
	padding-left: 20px;
	margin-left: -25px;
	color: #888;
	background: transparent url(img/day-date.png) no-repeat left center;
	font-style: italic;
}

.post-title{
	color: #669999; /* #9ED200 */
	background: transparent;
	margin-bottom: 0;
}

.post-title a{
	color: #669999;
	background: transparent;
	text-decoration: none;
}

.post-info{
	margin-top: 0;
	color: #669999;
	background: transparent;
	padding-bottom: 1ex;
	/*border-bottom: 1px solid #FC0;*/
}

.post-info a{
	color: #669999;
	background: transparent;
	text-decoration: none;
}

.post-content{
	text-align: justify;
}

.post-content blockquote{
	font-family: Georgia, serif;
	font-style: italic;
}

.post-info-co{
	text-align: right;
}

#trackbacks blockquote, #comments blockquote{
	border: 1px solid #EEE;
	margin: 1em 0;
	padding: 1ex 1em;
}

.post .post_cal {
	border: 1px solid #A6A6A6;
	text-align: center;
	width: 50px;
	float: left;
	margin: 0 10px 5px 0;
}

.post_cal .dayname {
	background-color: #366881; /*#638400*/
	border-bottom: 1px solid #A6A6A6;
	color: #FFFFFF;
	font-size: smaller;
	font-weight: bolder;
	width: 100%;
}

.post_cal .daynum {
	border-bottom: 1px solid #A6A6A6;
	font-size: large;
	font-weight: bold;
	width: 100%;
}

.post_cal .month {
	font-size: smaller;
	width: 100%;
}

/* La pagination
-------------------------------------------------------- */
.pagenav {
	font: 0.9em;
}

p.pagenav a {
	background : #ddd;
	color: black;
	padding:4px;
	border: 1px solid #bbb;
	text-decoration: none;
	font-size:90%;
}

p.pagenav a:hover {
	background:#669999;
	color:white;
}

p.pagenav strong {
	color: black;
	padding:4px;
	border: 1px solid #bbb;
}

/* Sidebar
-------------------------------------------------------- */

#sidebar {
	font-family: arial, verdana, sans-serif;
        width: 210px;
	color: #000000;
	font-size: x-small;
	font-weight: normal;
  	background: #B5CDE6; /* #9ED245 */
  	line-height: 140%;	
        float : left;
        margin : 0.3em 0 0 1.9em;	

}	

#sidebar h2{
	font-family: arial, verdana, sans-serif;
	color: #FFFFFF;
	font-size: X-small;
	font-weight: heavy;
  	background: #366881; /* #669900 */
  	line-height: 24px;
  	padding-left: 6px;
  	margin-top: 14px;
  	border-bottom: 1px solid #366881;
  	text-transform: uppercase;
	letter-spacing: .2em;	
}

#sidebar ul {
	 padding-left : 4px;
	 margin : 0 0 0 0;
	list-style : none;
}

#sidebar li { 
	margin-top : 0.15em;
	padding-left : 1px; 
}
#sidebar div#calendar{
	/*border-top: 1px solid #F0F0F0;*/
}

#sidebar div#calendar table{
	font-size: 1em;
	text-align: center;
	margin: 0 auto;
	border-collapse: collapse;
}

#sidebar div#calendar table caption{
	margin: 0 auto;
}

#sidebar div#calendar table th{
	color: #000;
	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: #366881;
	color: #FFFFFF;
	font-weight: bold;
	text-decoration: none;
}

#sidebar div#calendar table td a:hover{
	background: #B5CDE6;
	color: #FFFFFF;
	text-decoration:underline;
}


/* Tags cloud
------------------------------------------ */
#tagcloud ul {
margin:0;
padding:0 1em;
display:block;
}

#tagcloud li {
display:inline;
margin: 0 .1em;
padding: 0;
background-image: none;
}

#tagcloud li.level-1 { font-size: 1em; }
#tagcloud li.level-2 { font-size: 1.3em; }
#tagcloud li.level-3 { font-size: 1.6em; }
#tagcloud li.level-4 { font-size: 2em; }
#tagcloud li.level-5 { font-size: 2.3em; }
 
#tags {
text-align: right;
}


/* Le pied de page
-------------------------------------------------------- */
#footer{
	margin: 0;
	/* padding: 1em; */
	border-top: 1px solid #CCC;
	background: #EEE;
	color: #666;
}

#footer a{
	color: #999;
}