/* ***** BEGIN LICENSE BLOCK *****
 * This file is part of DotClear.
 * Copyright (c) 2006 Bourgois Cyrille. 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):
 *  Bourgois Cyrille
 */

/* 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
 * - les barres de navigation 
 * - le contenu
 * - la sidebar
 * - le pied de page
 */

@import "layout.css";

body{
	margin : 0 30px 0 0;
	padding : 0;
	background : #EEE url(./images/bg.png) repeat-y 83em 0;
	font-family: "Lucida Sans Unicode", Tahoma, Arial, sans-serif;
	font-size: 75%;
	color: #222;
	line-height: 1.6em;	
}

h1, h2, h3, h4, h5, h6{color: #FFA500; background: transparent; font-family: "Trebuchet MS", sans-serif; margin: 1em 0 0.5em 0;}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a{color: #FFA500; background: transparent; text-decoration: none; }

h1{font-size: 2.4em;}
h2{font-size: 2em;}
h3{font-size: 1.3em; text-indent:5px;}
h4{font-size: 1.2em; text-indent:5px;}
h5{font-size: 1.1em; color: #333; text-indent:5px;}
h6{font-size: 1em; color: #333; font-weight: normal; font-style: italic;}

#accueil h3, #accueil h4, #accueil h5, #accueil h6{
	color: #FFCC33;
}
#creations h3, #creations h4, #creations h5, #creations h6{
	color: #FF8C00;
}
#perso h3, #perso h4, #perso h5, #perso h6{
	color: #936;
}
#blog h3, #blog h4, #blog h5, #blog h6{
	color: #99CC33;
}

a:link{color: #000; background: transparent; text-decoration: none;}
a:visited{color: #999; background: transparent; text-decoration: none;}
a:hover{color: #FFA500; background: transparent; text-decoration: none;}
a[hreflang]:after{
	content: "\0000a0(" attr(hreflang) ")"; 
	color : #666;
}
a img{
	border: 0;
}
img{
	display: inline;
}
acronym,abbr {
	border-bottom: dotted 1px;
	cursor : help;
}
form {
	display : block;
	margin : 0;
	padding : 0;
}
fieldset{
	border: 0;
}
label{
	cursor: pointer;
}
input,textarea{
	border: 1px solid #999;
}
input:focus, textarea:focus {
	border: 1px solid #aaa;
	background: #f5f5f5;
}
code, pre{
	font-size: 1em;
	font-family : "Courier New",monospace;
	text-align: left;	
	background: #EFEFEF;
	color: #000;	
}
pre {
	background: #EFEFEF ;
	padding: 5px 5px 5px 5px;
	width: 100%;
	min-height: 10px;
	overflow: auto;
	border: 0px solid #CCC;
}
html>body pre {
	overflow: auto;
	width: auto;
}

/* Page
-------------------------------------------------------- */
#page{
	color: inherit;
	background: #fff;
	border: 0;
}

/* Header
-------------------------------------------------------- */
#top h1{
	float: right;
	padding-right: 40px;
}
#top h1 a{
	text-decoration: none;
}
#prelude{
	margin-left: 5px;
	color: #eee;
}
#prelude a{
	color: #eee;
}
#prelude a:hover{
	color: #FFA500;
}

#accueil #top h1 a, #accueil #sidebar h2, #accueil #sidebar h2 a{
	color: #FFCC33;
}
#perso #top h1 a, #perso #sidebar h2, #perso #sidebar h2 a{
	color: #936;
}
#creations #top h1 a, #creations #sidebar h2, #creations #sidebar h2 a{
	color: #FF8C00;
}
#blog #top h1 a , #blog #sidebar h2, #blog #sidebar h2 a{
	color: #99CC33;
}

/* Navigation Supérieure */
#navigation_sup{
	background: #FFA500;
	color: #fff;
	padding: 4px;
}
#navigation_sup li{
	margin-right: 0.5em;
}
#navigation_sup a{
	text-decoration: none;
	color: #fff;
	background: transparent;
	padding: 5px 0.5em ;
	line-height: 4px;
}
#accueil #navs-accueil, #perso #navs-perso, #creations #navs-creations, #blog  #navs-blog{
	color: inherit;
	font-weight: bold;
	padding: 5px 0em;
}
 /*En fonction des catégories supérieures */
#accueil  #navs-accueil, #navs-accueil a:hover, #accueil #navigation_inf{	/* orange clair  #FFCC33   */
	background: #FFCC33;
}
#perso  #navs-perso, #navs-perso a:hover, #perso #navigation_inf{	/* violet  #939;    */
	background: #936;
}
#creations  #navs-creations, #navs-creations a:hover, #creations #navigation_inf{	/* orange fonce    #FF8C00    */
	background: #FF8C00;
}
#blog  #navs-blog, #navs-blog a:hover, #blog #navigation_inf{	
	background: #99CC33;	
}

/* Navigation Inférieure */
#navigation_inf{
	color: #fff;
	line-height: 25px;
}
#navigation_inf li{
	margin-right: 0.5em;
}
#navigation_inf a{
	text-decoration: none;
	color: #fff;	
	background: transparent;
	padding: 5px 0.5em 4px;
	line-height: 25px;
}
#navigation_inf a:hover{
	color: #fff;
	background: #FFA500;	
}

/* Content
-------------------------------------------------------- */	
#content{
	font-family: Tahoma, Arial, Helvetica, "Bitstream Vera Sans", sans-serif;
}
#content div h2{
	margin-top: 0;
}
#content ul, #content ol{
	margin: 5px 0 15px 0;
	line-height: 1.3em;	
}
#content li{
	margin-left: 1.5em;
}
#content ul {
	list-style-image: url(./images/puce.png); 	
	list-style-position: inside;
}
#content ul ul{
	list-style:square;
	list-style-position: inside;
}
.post{ 
	margin-bottom: 1.5em;
	clear: both;
}
.post p{
	margin: 0.5em 0 1em 0;	
	clear: both;
}
.post blockquote{
	font-family: Georgia, serif;
	font-style: italic;
	padding: 1ex 1em 40px;
	margin: 1ex 2ex 0 2ex;	
	background: #EEE url(./images/blockquote.png) no-repeat left bottom;	
	clear: both;
}
.post-title, .post-title a{ 
	color: #FFA500;
}
.post-info{
	color: #999;
	line-height: 5px;	
}
/* Liens de commentaires et trackback */
.post-info-co{
	text-align: right;
	padding-right: 30px;
	clear: both ;
}
.link_suite a:before{
	content: url(./images/puce.png);
	padding-right: 5px;
}
.post-info-co a:before{
	content: url(./images/bulle.png);
	margin-right: 5px;
}

/* ---fiche d'info sur le billet--- */
.post-meta {	
border : 1px solid #99CC33;	
margin-top : 2em;	
padding : 0.5em 2em 0.2em 1em;	
border-left : 6px solid #99CC33;	
font-size : 0.90em;	
clear: both ;
color: #999;
}
.post-meta a:visited{
	color:#000;
}
.post-meta a:hover{
	color:#FF8C00;
}
.post-meta a[hreflang]:after{
	content: ""; 
}
.post-meta ul li{
list-style-type :none;	
list-style-image:none;
}
.info-title {
font-size : 1.2em;	
text-transform : uppercase;	
font-weight : bold;
color: #FF8C00;
}
ul.post-info {
margin-bottom : 0;	
padding-left :0;
}
ul.post-info ul li{	
list-style-type : circle;	
padding-left : 2em;
}
ul.post_nav{
	overflow: auto;	
}
ul.post_nav .prec{
	float: left;
	text-align:left;
}
ul.post_nav .next{
	float: right;
	text-align:right;
}
.footnotes p{
	margin: 0.5em 0 0.5em 0;	
}

/* Commentaires
-------------------------------------------------------- */
h3#co,h3#add_co,h3#tb{
	color: #FF8C00;
	margin-bottom: 10px;
}
#co a{
	color: #999;
	font-size : 0.80em;	
}
#co a:hover{
	color:#FF8C00;
}
#comments, #trackbacks{
	margin: 50px 0 1em 0;
}
.comment-number{
	font-family : Georgia,"Times New Roman","New York",serif;
	font-size : 1.8em;
}
.comment-number a:before{
	content: url(./images/bulle.png);
	padding-right: 5px;
}
.comment-info {
	color: #999;
	line-height: 5px;
}
.comment-author{
	color: #222;
}
#trackbacks blockquote, #comments blockquote, #comment-preview  blockquote{
	border: 1px solid #ddd;
	margin: 1em 0;
	padding: 1em;
	background: #efefef;
}
#comments blockquote p:first-child{
	text-indent: 15px;
}

/* Formulaire
-------------------------------------------------------- */
.field label{
	display: block;
}	
.field textarea{
	width: 90%;
}

/* Sidebar
-------------------------------------------------------- */
#sidebar h2{
	font-size: 1.2em;
	margin: 1em 0 0em 0;
}
#sidebar h3{
	color: #FF8C00;
	font-size: 1em;
	margin: 0.5em 0 0.5em 0;
	text-indent:0;
}
#sidebar h3 a{
	color: #FF8C00;
}
#sidebar div{
	margin: 1em 5px 1em 5px;
	font-size: 1em;
}
#sidebar ul{
	line-height: 1.3em;	
}
#sidebar ul li {
	list-style-type: none; 	
}
/* Calendar 
-------------------------------------------------------- */
#sidebar div#calendar{
}
#sidebar div#calendar abbr { 
	border : none;
	font-style : normal;
	color: #FF8C00;
}
#sidebar div#calendar table{
	font-size: 0.8em;
	text-align: center;
	margin: 0 auto;
	border-collapse: collapse;
}
#sidebar div#calendar table caption{
	margin: 0 auto;
}
#sidebar div#calendar table th{
	color: #493;
	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: #EFA;
	color: #493;
	font-weight: bold;
	text-decoration: none;
}
#sidebar div#calendar table td a:hover{
	background: #FFEE33;
	color: #FF8C00;
}

/* Footer
-------------------------------------------------------- */
#footer{
	font-size: 0.9em;
	color: #666;
	background: transparent;
	clear: both;
	text-align: right;
	overflow: auto;
}

/* Classes
-------------------------------------------------------- */
p.form-help{
	border-left: 3px solid #FF8C00;
	padding-left : 1em;	
	margin: 1em 0 1em 0;
}
a.totop{
	line-height:1.1em;
	float: right;
	text-align:right;
	font-size: 0.8em;
	padding-left: 10px;
    background: transparent url(./images/totop.gif) no-repeat 0 0;
}
p.QuickNavBar{
	margin-top: 0.5em;	
	padding-left:1em;
}
.error{
	margin: 2ex;
	border: dashed 1px #FF0000; 
	padding: 10px 15px;
}
p.pagenav{
	text-align:center;
	margin-top:3em;
}
