/*******************************************************************************
** Fichier     : style.css                                                    **
** Auteur      : FISCHER Michaël                                              **
** Créé le     : 05/08/2008                                                   **
** Version     : 1.0                                                          **
** Modif.      :                                                              **
********************************************************************************
** Description : Feuille de style générale                                    **
*******************************************************************************/

/**************************** MISE EN PAGE GENERALE ***************************/

*
{
   margin: 0px;
   padding: 0px;
}

body
{
   padding: 20px 0px;
}

#contenu
{
   width: 95%;/*900px;*/ /* Largeur du contenu */
   margin: 0px auto; /* Centre le contenu */
}

#colonne_gauche
{
   float: left;
   width: 150px;
   padding: 0px 10px 10px 10px;
}

#corps
{
   margin: 10px 10px 10px 170px; /* MG = largeur de CG */
   padding: 10px 10px;
}

#pied_de_page
{
   clear: left;
   padding: 5px 0px;
}


/************************************ STYLE ***********************************/

/* BODY */

body
{
   /* Couleur de fond */
   background: url("images/fond.jpg") repeat-x #9FA9B3;
   /*background-color: rgb(226, 226, 226);*/
   
   /* Fonte */
   color: black;
   font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
   font-size: 10.5pt;
}


/* CONTENEUR PRINCIPAL */

#contenu
{
   /* Bordure */
   border: 2px solid rgb(156, 161, 165);
   
   /* Couleur de fond */
   background-color: rgb(255, 255, 255);
}


/* ERREURS ET MESSAGES */

/* Bordure autour des erreurs */
div#erreurs, div#messages
{
   margin-bottom: 20px;
   padding: 5px 10px;
   border: 1px solid rgb(0, 0, 0);
}

/* Couleur des phrases d'erreur */
#erreurs
{
   color: red;
}

/* Couleur des phrases de message */
#messages
{
   color: blue;
}


/* MENU DE GAUCHE */

#colonne_gauche a
{
   letter-spacing: 0.07em;
   color : rgb(33, 104, 168);
}

#colonne_gauche ul
{
   list-style-type: none;
   text-align: left;
}

#colonne_gauche li
{
   margin-left: 3px;
   padding-top: 4px;
   font-size: 0.9em;
}

/* Titres des liens du menu de gauche */
#colonne_gauche div h2
{
   margin: 0px -5px 5px -5px;
   
   /* Couleur de fond */
   background-color: rgb(215, 215, 215);
   font-size: 1.1em;
   text-align: center;
}

/* Marges, largeur et couleur des sous-menus de gauche */
#colonne_gauche .element {
   margin-top: 10px;
   background-color: rgb(240, 240, 240);
}

/* Espace horizontal et vertical entre les sous-menus et leur contenu */
#colonne_gauche .contenu
{
   padding: 0px 5px;
}

/* Hauteur, largeur et non-répétition des images */
#colonne_gauche .h_g, #colonne_gauche .h_d, #colonne_gauche .b_g, #colonne_gauche .b_d {
   height: 10px;
   width: 10px;
   background-repeat: no-repeat;
   font-size: 1px; /* correction d'un bug IE */
}

/* Image du coin supérieur gauche */
#colonne_gauche .h_g {
   background: url(images/menu_g_hg.png);
}

/* Image du coin supérieur droit */
#colonne_gauche .h_d {
   float: right;
   background: url(images/menu_g_hd.png);
}

/* Image du coin inférieur gauche */
#colonne_gauche .b_g {
   background: url(images/menu_g_bg.png);
}

/* Image du coin inférieur droit */
#colonne_gauche .b_d {
   float: right;
   background: url(images/menu_g_bd.png);
}


/* CORPS */

#corps
{
   border: 1px dashed rgb(186, 181, 193);
}


/* PIED DE PAGE */

#pied_de_page
{
   /* Contenu centré */
   text-align: center;
   /* Bordure */
   border-top: 1px solid rgb(156, 161, 165);
}


/* TITRES et SOUS-TITRES */

h1.titre
{
   margin-bottom: 35px;
   font-size: 1.6em;
   text-align: center;
}

h2
{
   margin-bottom: 10px;
   font-size: 1.2em;
}

h2.sous_titre
{
   font-size: 1.3em;
}


/* LIENS */

a
{
   text-decoration: none;
   color: rgb(33, 104, 168);
}

a:hover
{
   text-decoration: underline;
}


/* LISTES */

li
{
   margin-left: 25px;
}


/* FORMULAIRES */

/* Erreur => mise en rouge */
input.erreur, textarea.erreur
{
   color: black;
   border: 1px solid rgb(255, 0, 0);
}

/* Marges des champs */
input, textarea, select
{
   /* Marges */
   margin-top: 2px;
   margin-bottom: 7px;
   /* Fonte */
   font-family: Arial, "Arial Black", Georgia, "Times New Roman", Times, serif;
   font-size: 0.9em;
}
 
input:focus, textarea:focus /* Ne marche pas sur IE */
{
   background-color: rgb(220, 220, 220);
}

textarea
{
   width: 300px;
   height: 150px;
}

legend
{
   margin-left: 10px;
   font-family: Arial, "Arial Black", Georgia, "Times New Roman", Times, serif;
   font-weight: bold;
   color: rgb(33, 104, 168);
}

div.formulaire
{
   margin: 10px;
}

label
{
   font-family: Arial, "Arial Black", Georgia, "Times New Roman", Times, serif;
   font-size: 0.9em;
}

span.obl
{
   margin-right: 5px;
   font-weight: bold;
   color: red;
}

input.text, input.password
{
   width: 150px;
}

button
{
   min-width: 120px;
}

div.submit
{
   margin-top: 10px;
}


/* STYLE SPECIFIQUE AUX PAGES */

/* TODO */

.center
{
   text-align: center;
}

.no_page
{
   font-size: 1.5em;
   margin-right: 3px;
}




/* TODO */

div#navigation
{
   margin-bottom: 20px;
   text-align: center;
}

.marge_bas_10
{
   margin-bottom: 10px;
}

.marge_bas_20
{
   margin-bottom: 20px;
}

.centre
{
   text-align: center;
}

.gras
{
   font-weight: bold;
}

.italique
{
   font-style: italic;
}

.size_09
{
   font-size: 0.9em;
}

.bordure
{
   border: 1px solid rgb(0, 0, 0);
}

.rouge
{
   color: red;
}