html, body, form, fieldset {
    margin: 0;
    padding: 0;
}

ol, ul {
    margin: 0;
}

body {
    color: #000;
    font: normal 90% Verdana, Helvetica, Sans-Serif;
    background-color: gainsboro;
}

#page {    
    width:980px;    
    margin: 0 auto;
    border: 1px solid black;
    background-color: #FFF;
}

#content {
    margin-left: 50px;
    min-height: 600px;
}

a {
    color: #08C;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#menu {
    padding: 0;
    list-style: none;
    border-bottom: 1px solid #000;
    margin-top: 50px;
    width: 980px;
}

#menu li {    
    display: inline;
    padding: 0;
}

#menu a {
    background: #000;
    color: #FFF;
    font-size: 130%;
    font-variant: small-caps;
    text-decoration: none;
    padding:0 5px;
}

#menu a:hover {
    background: #666;
}

#header {
    margin-top: 5px;
}

#footer {
    border-top: 1px solid #CCC;
    text-align: center;
    color: #999;
    font-size: 85%;
}

#tableau {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc; 
    color: #333;
    margin-bottom: 20px;
    margin-top: 10px;
    width: 98%;
}

#tableau a {
    text-decoration: none;
    border-bottom: 1px dotted #369;
    /*color: #f60;*/
    color: #369;
    font-weight: bold;
}

#tableau a:hover {
    text-decoration: none;
    color: #fff;
    /*background: #f60;*/
    background: #369;
}

#tableau tr th a {
    color: #369;
    border-bottom: 1px dotted #369;
}

#tableau tr th a:hover {
    color: #fff;
    background: #369;
}

#tableau thead tr th {
    text-transform: uppercase;
    background: #e2e2e2;
}

#tableau td, #tableau th {
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 5px;
    line-height: 1.8em;
    font-size: 0.8em;
    vertical-align: top;

}

#tableau tr.odd th, #tableau tr.odd td {
    background: #efefef;
}
table, td, th, p {
    font-size: 100%;
}

td, th {
    padding:3px 5px;
}

h1 {
    font-size: 150%;
    text-align: center;
}

p {
    margin-top: 0px;
}

fieldset {
    margin-bottom: 15px;
    padding: 10px;
    width: 95%
}

legend {
    padding: 0px 3px;
}

em {
    font-weight: bold;
    font-style: normal;
    color: #f00;
}

input:focus {
    background: #eaeaea;
}
label {
    width: 150px;
    display: block;
}

input[type=submit] {
    display: block;
}

.label_checkbox {
    width: 100%;
    text-align: left;
}

.loading {
    background:url(../images/loading.gif) no-repeat top left;
    width: 36px;
    height: 36px;
}

.message {
    color:#090;
}

.bouton {
    font-family: Arial,sans-serif;
    font-size: 1.1em;
    width: 200px;
    height: 43px;
    padding-top: 4px; /*permet le centrage vertical*/
    padding-bottom: 4px; /*permet le centrage vertical*/
    text-align: center;
    color: #FFF;
    background: #444;
    background: linear-gradient( #555, #2C2C2C);
    border-radius: 8px;
    text-shadow: 0px 1px 0px rgba( 255, 255, 255, 0.2);
    box-shadow: 0 0 5px rgba( 0, 0, 0, 0.5),
        0 -1px 0 rgba( 255, 255, 255, 0.4);

}

.bouton:hover{
    color: red;
    background: #555;
    background: linear-gradient( #777, #333);
}

.bouton:active{
    color: #000;
    background: #444;
    background: linear-gradient( #555, #2C2C2C);
    box-shadow: 1px 1px 10px black inset, 
        0 1px 0 rgba( 255, 255, 255, 0.4);
}

#error {
    color: red;
}

/* Code css pour les fenetre modales */
#fade { /*--Masque opaque noir de fond--*/
    display: none; /*--masqué par défaut--*/
    background: #000;
    position: fixed; left: 0; top: 0;
    width: 100%; height: 100%;
    opacity: .80;
    z-index: 9999;
}
.popup_block{
    display: none; /*--masqué par défaut--*/
    background: #fff;
    padding: 20px;
    border: 20px solid #ddd;
    float: left;
    font-size: 1.2em;
    position: fixed;
    top: 50%; left: 50%;
    z-index: 99999;
    /*--Les différentes définitions de Box Shadow en CSS3--*/
    -webkit-box-shadow: 0px 0px 20px #000;
    -moz-box-shadow: 0px 0px 20px #000;
    box-shadow: 0px 0px 20px #000;
    /*--Coins arrondis en CSS3--*/
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
img.btn_close {
    float: right;
    margin: -55px -55px 0 0;
}

/* End Code css pour les fenetre modales */

.Facile {
    background-color: lightgreen;
    /*border-bottom: 3px green solid;  */
}

.Moyen {
    background-color: lightsalmon;
}

.Difficile {
    background-color: lightcoral;
}

.block {
    display:table-cell;
    width: 500px;
}

.block + .block {
    border-left:2px solid #fff;
}

.tableau {
    display: table;
}

.block p {
    border: #000 1px solid;
    padding: 5px;
}

hr{
    width: 50%
}

#message p
{
    word-wrap: break-word;
    border: #ccc 1px solid;
    padding: 5px;
    width: 50%;
}

#message h4{
    margin-bottom: 1px;
}

hr {
    width: 95%;
}

#action {
    float: right;
    width: 200px;
    
}
