/* ***** 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馩nit le style visuel pour les diff鲥nts 鬩ments du blog.
 * Dans l'ordre, vous trouverez les r觬es qui d馩nissent l'apparence pour:
 * - les 鬩ments HTML en g鮩ral
 * - la page
 * - l'ent괥
 * - le pr鬵de
 * - le contenu
 * - la barre de navigation
 * - le pied de page
 *
 * L'agengement des blocs est d馩ni dans le fichier layout.css
 * Pour mettre la barre de navigation ࠧauche, d飯mmentez l'appel ͊ * layout-gauche.css
 */

@import "layout.css";
/* @import "layout-gauche.css"; */

/* Les 鬩ments HTML en g鮩ral
-------------------------------------------------------- */
body{
background-color : gray;
margin: 0 0 0 0;
text-align:center;/*pour r駬er le probleme d'alignement*/
font : 1em normal Helvetica;
}

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

h1{font-size: 1.5em;}
h2{font-size: 1.4em;}
h3{font-size: 1.3em;color : #B3048D}
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: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

a {
	color: #279ac4;
	text-decoration: none;
}
a:hover, a:active, a:focus {
	color:#6d8824;
	text-decoration: underline;
}

a img {
	border: none;
}

pre {
	white-space: pre;
	white-space: -moz-pre-wrap;
	white-space: -hp-pre-wrap;
	white-space: -o-pre-wrap;
	white-space: -pre-wrap;
	white-space: pre-wrap;
	white-space: pre-line;
	word-wrap: break-word;
}

sup {
	font-size:80%;
	line-height:50%;
}

.left {
	float: left;
}

.right {
	float: right;
}

/* La page
-------------------------------------------------------- */
#page{
      margin-left : auto;
      margin-right: auto;
      width:800px;/*ces trois premieres instructions pour tout centrer automatiquement*/
      height : auto;/*la hauteur s'ajuste automatiquement*/
      text-align : justify;
      background : url('../../../../design/background-main.jpg');
}

/* L'ent괥
-------------------------------------------------------- */
#top{
        background : url('../../../../design/header-michel-bellin-blog.jpg') no-repeat;
        width : 800px;
        height : 188px;
        text-indent : -9000px;
		cursor:pointer;
        margin-top : 0;

}

#top h1 {
	position: absolute;
	top: 25px;
	width: 100%;
	margin: 0;
	text-align: center;
	font-size: 3.5em;
}
#top h1 a {
	color: #9ac528;
	text-decoration: none;
}

/* Le pr鬵de
-------------------------------------------------------- */
#prelude{
        background: transparent;
        color: #800000;
        text-align: center;
}

#prelude a{
        color: #800000;
        background: transparent;
}

#prelude a:hover{
        color: #800080;
        background: transparent;
}

#main {
	width: 550px;
	float: left;
}

#content {
	padding: 0 25px;
}

#sidebar {
	width: 250px;
	float: right;
}
#blognav, #blogextra {
	padding: 1px 25px;
}


/* Le contenu
-------------------------------------------------------- */
#subcategories {
	background: #fbfbfb;
	border-color: #BFBFBF;
	border-style: solid;
	border-width: 1px 0;
	margin: 1em 0;
	padding: 0.5em;
}
#subcategories h3 {
	margin: 0;
}
#subcategories ul {
	margin: 0.5em 0 0 0;
	padding: 0 0 0 20px;
	line-height: 1.4;
}

.day-date {
	font-size: 1em;
	margin: 0 0 0.5em;
	text-align: right;
	color: #279ac4;
}

.post {
	margin: 0 0 2em 0;
}
.post-title {
	color:#9ac528;
	font-size:1.7em;
}
.post-title a {
	color:#9ac528;
}
.post-info {
	margin: 0 0 0 0;
}

.post-tags {
	list-style: none;
	margin: 1em 0 1em;
	padding: 3px 0;
}
.post-tags li {
	display: inline;
	margin-right: 8px;
	padding: 5px 0 5px 22px;
	background: transparent url(img/tag.png) no-repeat 0 70%;
}
.post-tags li a {
	color: #6b6b6b;
}

.post-info-co {
	clear: left;
	padding: 3px 0 3px 0.5em;
	border-width: 1px 0;
	border-style: solid;
	border-color: #bfbfbf;
	background: #fbfbfb;
}
.post-info-co a {
	color: #2b2b2b;
	padding: 2px 10px 2px 18px;
}

.comment_count {
	background: transparent url(img/comment.png) no-repeat 0 50%;
}
.ping_count {
	background: transparent url(img/trackback.png) no-repeat 0 50%;
}
.attach_count {
	background: transparent url(img/attach.png) no-repeat 0 50%;
}

.read-it {
	font-weight: bold;
	clear: left;
}

a.feed {
	background: transparent url(img/feed.png) no-repeat 0 0.25em;
	padding: 5px 0 5px 22px;
}

.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: #B3048D;
        background: transparent;
        margin-bottom: 0;
}

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

.post-info{
        margin-top: 0;
        color: #C06CAE;
        background: transparent;
        padding-bottom: 1ex;
        /*border-bottom: 1px solid #FC0;*/
}

.post-info a{
        color: #C06CAE;
        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 #8B006D;
        margin: 1em 0;
        padding: 1ex 1em;
}



/* La barre de navigation
-------------------------------------------------------- */
#sidebar div{
        border-bottom: 1px solid #8B006D;
        color: inherit;
}

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

#sidebar h2, #sidebar h3{
        color: #8B006D;
        margin: 0 0 1ex 0;
}

#sidebar h3{
        font-size: 1em;
        margin: 0;
}

#sidebar div#search{
        background: transparent;
        color: inherit;
        line-height: 2.3em;
}

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

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

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

#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: #B857A3;
        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: #F7DFF2;
        color: #B857A3;
        font-weight: bold;
        text-decoration: none;
}

#sidebar div#calendar table td a:hover{
        background: #DBB8DC;
        color: #636;
}

/* Le pied de page
-------------------------------------------------------- */
#footer{
        margin: 0;
        padding: 1em;
        border-top: 1px solid #CCC;
        background: #EEE;
        color: #666;
        text-align : center;
		clear: both;
}

#footer a{
        color: #999;
}




/* Formulaire pour les commentaires
---------------------------------------------------------*/
#souscription {
    border: none;
    width : auto;
    padding: 0;
    width: 400px;    /*** Largeur du formulaire ***/
    margin-bottom : 10px;
}
#corpForm { /*** Mise en fome du corp du formulaire (bordure, couleur du fond...) ***/
    border: 1px solid #810941;
    color: black;
    background : #E3CFD9;
    margin: 0;
    padding: 1em;
    width : 450px;
}

#titreForm,#piedForm { /*** Mise en forme du titre et du pied de formulaire ***/
    font: bold .8em arial, hevetica, sans-serif;
    color: white;
    width : 398px !important;
    width : 400px;
    background: #9F024C;
    padding : 1px;
}

#titreForm2,#piedForm2 { /*** Mise en forme du titre et du pied de formulaire ***/
    font: bold .8em arial, hevetica, sans-serif;
    color: white;
    width :482px ;
    background: #9F024C;
    padding : 1px;
}

#piedForm2 {
    text-align: right; /*** Les boutons sont align鳠ࠤroite ***/
}
#piedForm2 input {
    font-weight: bold; /*** Pour am鬩orer la lisibilit頤es boutons ***/
    margin-left: 1em;
    color : #24038F;
}
#corpsForm fieldset {    /*** Mise en forme des cadres ***/
    margin: 0;
    font-style: normal;
    padding: 0 1em 0;
    border-color : gray;
    border-bottom : 0px;
    background : #EEEDEB;
}


legend {  /*** Mise en forme des titres des cadres ***/
    font-weight: bold;
    color: black;
    background: transparent;
}
p {   /*** Mise en forme des lignes du formulaire ***/
    padding: .2em 0;
    margin: 0 0 .2em 0;
}
fieldset label {  /*** Mise en forme des intitul鳠de champs ***/
    float: left;    /*** Tr賠important, ne pas suprimer ! ***/
    width: 50%; /*** Les intitul鳠prennent 1/3 de la largeur totale du formulaire... ***/
    text-align: left;  /*** ... et ils sont align鳠ࠤroite... ***/
    margin: 0;
    padding: 0 .5em 0 0;
    color : black;
}
label:hover, #piedForm input {
    cursor: pointer;    /*** Petite astuce pour apprendre aux utilisateurs ࠣliquer sur les intitul鳠***/
}
label.oblig {
    font-weight: bold;  /*** Mise en 鶩dence des champs obligatoires ***/
}
.legende {    /*** Mise en forme des aides contextuelles ***/
    font-style: italic;
    color: red;
    background: transparent;
    margin: 0;
    padding: 0;
}
.focus {  /*** Mise en avant des champs en cours d'utilisation ***/
    background: #FFE0EF;
    color: black;
}
.normal { /*** Retour ࠬ'鴡t normal apr賠l'utilisation ***/
    background: white;
    color: black;
}
.page {
        color : white;
        }

P {
        text-indent : 0.5cm;
        }

#comments {
	clear: both;
}
#comments h3, #comment-form h3, #pings h3 {
	border-width: 1px 0;
	border-style: solid;
	border-color: #bfbfbf;
	background: #fbfbfb;
	padding: 5px;
	margin: 20px 0 8px 0;
	font-size: 1.2em;
}

#comments dt {
	margin: 1.5em 0 0 0;
	padding: 5px 0 16px 0;
	background: transparent url(img/comment-t.png) no-repeat bottom left;
}
#comments dt.me {
	background-image: url(img/commentmy-t.png);
}
#comments a.comment-number {
	display: block;
	float: left;
	width: 30px;
	margin-right: 40px;
	font-size: 1.2em;
}
#comments dd {
	margin: 0;
	padding: 1px 1em 0.5em 1em;
	background: #f9ccf8 url(img/comment-b.png) no-repeat bottom left;
	color:#6b6b6b;
}
#comments dd.me {
	background-color:#f9ccf8;
	color:#6b6b6b;
	background-image:url(img/commentmy-b.png);
}
#comments dd p {
	margin: 0.5em 0;
	line-height: 1.5em;
}

.error {
	margin: 20px 0 0;
	padding: 10px 5px;
	background: #ffcccc;
	border: 2px solid red;
	font-weight: bold;
}

/* Forms
-------------------------------------------------------- */
#comment-form {
	padding-top: 10px;
}

#comment-form fieldset {
	border: none;
}
#comment-form fieldset p {
	padding: 5px 0;
}
#comment-form fieldset p.field {
	padding: 5px 0;
	width: auto;
	margin: 0;
	clear: left;
}
#comment-form p.form-help {
	width: 60%;
	margin: 0 0 0 30%;
	font-style: italic;
}

#comment-form p label {
	width: auto;
}
#comment-form p.field label {
	font-weight: bold;
	display: block;
	padding: 0 1% 0 0;
	width: 35%;
	float: left;
	text-align: right;
}
#comment-form input, #comment-form textarea {
	font: 1em "Lucida Grande",Arial,sans-serif;
	color: #279ac4;
	border: 1px solid #cdcdcd;
	padding: 1px 2px;	
	width: 100%;
}

#comment-form p.remember {
	margin: 0;
}
#comment-form input#c_remember {
	width: auto;
	border: 0;
	margin: 0 5px 0 30%;
}
#comment-form input.preview {
	margin-left: 30%;
}

#comment-form input.preview, #comment-form input.submit {
	width: auto;
	color: #279ac4;
	background: #fff;
	font-size: 1em;
	font-weight: bold;
	text-transform: uppercase;
	border: 1px solid #fff;
}
#comment-form input.preview:hover, #comment-form input.submit:hover {
	background: #ff00ff;
	color: #fff;
	border: 1px solid #6d8824;
}