/* ***** 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-color : gray;
margin: 0 0 0 0;
text-align:center;/*pour régler 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: #000;
}

a:visited{
        color: #663;
}

a:hover{
        color: #636;
}

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

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

/* 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ête
-------------------------------------------------------- */
#top{
        background : url('../../../../design/header-michel-bellin-blog.jpg') no-repeat;
        width : 800px;
        height : 188px;
        text-indent : -9000px;
        margin-top : -65px !important;
        margin-top : 0;

}

#top h1{
        color: #FFFFFF;
}

#top h1 a{
        text-decoration: none;
        color: #FFFFFF;
}

/* Le prélude
-------------------------------------------------------- */
#prelude{
        background: transparent;
        color: #DFDFDF;
        text-align: center;
}

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

#prelude a:hover{
        color: #666;
        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: #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;
}

#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és à droite ***/
}
#piedForm2 input {
    font-weight: bold; /*** Pour améliorer la lisibilité des 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és de champs ***/
    float: left;    /*** Très important, ne pas suprimer ! ***/
    width: 50%; /*** Les intitulés prennent 1/3 de la largeur totale du formulaire... ***/
    text-align: left;  /*** ... et ils sont alignés à droite... ***/
    margin: 0;
    padding: 0 .5em 0 0;
    color : black;
}
label:hover, #piedForm input {
    cursor: pointer;    /*** Petite astuce pour apprendre aux utilisateurs à cliquer sur les intitulés ***/
}
label.oblig {
    font-weight: bold;  /*** Mise en évidence 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 à l'état normal après l'utilisation ***/
    background: white;
    color: black;
}
.page {
        color : white;
        }

P {
        text-indent : 0.5cm;
        }


