/* Enumération des sections */

body
{
    margin-left: 20px;
    margin-right: 20px;
    font-family: "helvetica";
    color : #000000;
    counter-reset: chapitre;  /* Initialisation du compteur chapitre */
}

h1
{
    border-top:5px;
    border-bottom:5px;
    border-left:0;
    border-right:0;
    border-style:solid; /* Encadrement */
    /*border-width:5px;*/   /* Epaisseur globale de la bordure */
    font-family: "helvetica";
    font-weight: bold;
    font-size: 300%;
    color : #000000;
    /*text-decoration: underline;*/
    page-break-after: avoid;  /*Pour éviter qu'un titre soit coupé du paragraphe qui suit*/
    counter-reset: section;  /* On ré-initialise le compteur section à chaque fois qu'on tombe sur la balise <h1> */
}

h1:before {
    counter-increment: chapitre;  /* Ajoute 1 au compteur chapitre */
    content: "Exemple " counter(chapitre);
}

/* sans compteur */
h3
{
    border-top:5px;
    border-bottom:5px;
    border-left:0;
    border-right:0;
    border-style:solid; /* Encadrement */
    /*border-width:5px;*/   /* Epaisseur globale de la bordure */
    font-family: "helvetica";
    font-weight: bold;
    font-size: 220%;
    color : #000000;
    /*text-decoration: underline;*/
    page-break-after: avoid;  /*Pour éviter qu'un titre soit coupé du paragraphe qui suit*/
}

h3:before {
    counter-increment: chapitre;  /* Ajoute 1 au compteur chapitre */
    content: "Exemple " counter(chapitre) " : ";
}

h3.s:before  {
    counter-increment: chapitre;  /* Ajoute 1 au compteur chapitre */
    content: "Exemples " counter(chapitre);
}

h2
{
    font-family: "helvetica";
    font-style: italic;
    font-size: 280%;
    color: #000000;
    margin-left: 50px;
    counter-reset: subsection;  /* On ré-initialise le compteur section à chaque fois qu'on tombe sur la balise <h1> */
    page-break-after: avoid;  /*Pour éviter qu'un titre soit coupé du paragraphe qui suit*/
}

h2:before {
    counter-increment: section;  /* Ajoute 1 au compteur section */
    content: counter(chapitre) "." counter(section) " ";
}


.exposant {
    position: relative;
    bottom: 12px;
    font-size: 70%;
    margin-left: -29px;
}

.indice {
    position: relative;
    bottom: -5px;
    font-size: 70%;
    margin-left: -1px;
}

hr
{
    color: #000000;
    border: solid;
}

a
{
    color : #000000;
    text-decoration:none;
}

td.plan
{
    color : #000000;
    font-weight : bold;
        font-size: 300%;
}

td.fonction
{
    color : #000000;
    font-size: 100%;
}

/*Les menu */

#menu
{
    background:transparent url("bandeau.jpg") repeat-x;
    font-size:100%;
    position:fixed;
    bottom:0px;
    left:0px;
    width:100%;
    height:36px
}

/* Les conteneurs */

#menu dl
{
    float:left;
    margin:0;
    width:100%;
}
