@import url(reset.css);

@font-face {
    font-family: CandelaBook;
    src: url("../../fonts/CandelaBook.otf") format("opentype");
}



* {
 margin: 0;
 padding: 0;
}

html {
 font-size: 100%;
 text-align: center;
 background-color: #042F3F;
}

body {
 font-size: 1em;
 line-height: 1.2em;
 font-family: CandelaBook, "MS Trebuchet", Helvetica, Arial, sans-serif;
 color: black;
 background: white url(images/fond-haut.jpg) left top repeat-x;
 text-align: left;
}



a         { border-bottom: 1px #35608F solid; color: #35608F; text-decoration: none;}
a:visited { border-bottom: 1px #C2D8EF solid }
a:hover   { border-bottom: 1px #5781AF solid; color: #5781AF; }
a:active  { border-bottom: 0; color : white; }

/* Les blocs */


/* Header */
#header {
 position: relative;
 height: 353px;
 background: transparent url(images/bando-haut.jpg) left top no-repeat;
}

#header h1 {
 position: absolute;
 top: 0;
 left: 0;
 width: 260px;
 height: 100px;
 margin: 0;
}

#header h1 a {
 text-indent: -9999px;
 display: block;
 width: 100%;
 height: 100%;
 border: 0;
}

#header h2 {
 position: absolute;
 top: 125px;
 left: 0;
 color: white;
 font-size: 2.4em;
 width: 500px;
 line-height: 1.1em;
 text-transform: none;
 border: 0;
}



/* Menu */

#header ul {
 width: 700px;
 float: right;
 margin: 40px 0 0 0;
 text-align: right;
}

#header li {
 display: inline;
 width: 120px;
 height: 45px;
 line-height: 45px;
 float: right;
}

#header li.back {
 background:url(images/libg.png) no-repeat center;
 z-index: 1;
 position: absolute;
}


#header li a {
 position: relative;
 font-size: 1.2em;
 display: block;
 text-align: center;
 color: white;
 text-decoration: none;
 padding: 5px 0px 0;
 border: 0;
 z-index: 2;
}

#header li.last a {
 background-image: none;
}

#header li.current a, #header li a:hover {
 text-shadow: 0px 0px 10px white;
 color: white;
}


/* Généralités */

h1, h2, h3, h4, dt, li { }

h1 {
}

h2 {
 font-size: 2em;
 margin: 20px auto 20px 0;
 padding-bottom: 15px;
 color: #0A294F;
 border-bottom: 3px solid #35608F;
 text-transform: uppercase;
}

h3 {
 font-size: 1.5em;
 margin: 30px auto 10px 0;
 color: #0A294F;
 text-transform: uppercase;
}

h4 {
 color: #0A294F;
 font-size: 1.3em;
 clear: both;
 margin: 20px auto 10px 0;
}

p {
 margin: 0 auto 10px 0;
 text-align: justify;
}

p.notes {
 font-size: 0.8em;
}

ul { margin-left: 1.3em }

br {
 height: 0;
}

sup,.asterisque {
 vertical-align: super;
 font-size: 0.7em;
}

.asterisque {
 color: red;
}

img {
 float: right;
 margin: 20px 0 20px 20px
}

img.centre {
 float: none;
 margin: 20px auto
}



/*************/
/*  Contenu  */
/*************/

#content {
 padding: 30px 0 40px;
}

/* Annexes */

.annexes  {
 margin-left: 0;
}

.annexes li {
 list-style: none none;
 margin-bottom: 10px;
 width: 900px;
}

.annexes a {
 display: block;
 width: 100%;
 height: 100%;
 padding-left: 45px;
 line-height: 40px;
 background: transparent url(images/pdf.png) top left no-repeat;
 border: 0
}

.annexes span {
 font-size: 0.7em;
 color: #AFAFAF;
 padding-left: 5px
}

/* Registres */

#bms {
 margin-left: 0;
}

#bms h4 {
 padding-bottom: 5px;
 margin: 8px 0 0 5px;
 border-bottom: 0px solid #35608F;
 color: #042632;
 font-size: 1em;
}

#bms h4 span {
 font-size: 0.6em;
}

#bms ul {
 margin: 0px 5px 5px 5px;
}

#bms li {
  float: left;
  list-style: none none;
  width: 180px;
  margin: 6px;
     -moz-border-radius: 8px; /* FF1+ */
  -webkit-border-radius: 8px; /* Saf3+, Chrome */
          border-radius: 8px; /* Opera 10.5, IE 9 */
 background-color: rgb(209, 239, 231);
 background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0.44, rgb(209, 239, 231)),
    color-stop(0.72, rgb(181, 223, 214))
 );
 background: -moz-linear-gradient(
    20px bottom,
    rgb(209, 239, 231) 44%,
    rgb(181, 223, 214) 72%
 );

}

#bms li:hover {
 box-shadow: 0px 0px 20px #C3D8DF;
 -moz-box-shadow: 0px 0px 20px #C3D8DF;
 -webkit-box-shadow: 0px 0px 20px #C3D8DF;
}

#bms ul li {
 list-style: none none;
 float: none;
 width: auto;
 border: 0;
 font-size: 0.8em;
 padding-left: 18px;
 margin: 0px;
    -moz-border-radius: 0; /* FF1+ */
  -webkit-border-radius: 0; /* Saf3+, Chrome */
          border-radius: 0; /* Opera 10.5, IE 9 */
 background: transparent;
 box-shadow: 0 0 0 !important;
 -moz-box-shadow: 0 0 0 !important;
 -webkit-box-shadow: 0 0 0 !important;
}

#bms a {
 color: #042632;
 border: 0;
}

#bms a:hover {
 color: #477E8F
}

#bms ul li.n { background: transparent url(images/n.png) top left no-repeat }
#bms ul li.m { background: transparent url(images/m.png) top left no-repeat }
#bms ul li.d { background: transparent url(images/d.png) top left no-repeat }

/* Footer */

#footer {
 background: url(images/footer.jpg) repeat-x 0 0;
}

#footer h4 {
  color: white;
 font-weight: bold
}

#footer ul {
 margin-left: 1.3em
}

#footer a {
 color: white;
 border: 0
}

#footer a:hover {
 color: #83A6AF
}

#liens, #credits {
 float: left;
 color: white;
 font-size: 0.8em;
 margin: 30px 0 40px
}

#credits {
 float: right
}

#credits h4 {
 text-align: right
}

#credits li {
 list-style: none none
}
/* Classes utiles */


.in {
 width: 960px;
 margin: 0 auto;
}

.spacer {
 clear: both;
}
