/* Corps et logo */
/* ------------------------------------------------------------------------- */

*{
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  background: #000 url(images/top_bg.png) repeat-x left top;
  color: #ccc;
}

#page {
  width:980px;
  position: relative;
  margin: 0 auto; 
}

#header {
  height: 150px;
}

#left {
  position: absolute;
  left: 0;
  width: 150px;
  color: #999;
  text-align: center;
}

#right {
  position: absolute;
  right: 0;
  width: 150px;
  color: #999;
}

#center {
  /* width = 980{width #page} - 150{width #left} - 10{marge #left/#centre} -
     150{width #right} - 10{marge #centre/#right} = 660 */
  padding: 10px 20px 20px 20px; /* Top Right Bottom Left */
  background: #222;
  margin-left: 160px;
  margin-right: 160px;
  position: relative;
}

#logo{
  float: left;
  padding-top: 20px;
  height: 128px;
  width: 128px;
  background: url(images/logo.png) no-repeat left top;
}

/* Navigation / Menu */
/* ------------------------------------------------------------------------- */
#navigation {
  float: left;
  padding-top: 100px;
  padding-left: 28px;
}

#navlist {
  overflow: hidden;
}

#navlist li {
  float: left;
  list-style: none;
  padding: 0 3px;
}

#navlist li a {
  background: url(images/topmenu_btn.png) no-repeat 0 0;
  height: 22px;
  width: 80px;
  text-align: center;
  display: block;
  color: #999;
  text-decoration: none;
  padding-top: 8px;
  font-size: 10px;
  text-transform: uppercase;
}

#navlist li a:hover {
  background: url(images/topmenu_btn.png) no-repeat 0 100%;
  color: #ccc;
}

/* Objets visuels */
/* ------------------------------------------------------------------------- */

/* Entête dans les zones gauche / droite */
#blockhead {
  background: url(images/blockhead.png);
  height: 22px;
  text-align: center;
  color: #CCC;
  font-size: 10px;
  text-transform: uppercase;
  padding-top: 8px;
}

#edit {
  background: url(images/searchbar_bg.png) repeat-x 0 0;
  padding: 5px;
  border: 1px solid #333;
  color: #CCC;
  font-size: 11px;
  height: 15px;
  width: 170px;
}

#edit:hover, #edit:focus {
  border: 1px solid #999;
}

/* Bouton de validation de la form */
#button {
  background: url(images/blockhead.png) no-repeat -5px 0;
  color: #888;
  border: 1px solid #444;
  padding: 3px;
  cursor: pointer;
}

#button:hover {
  color: #AAA;
  border: 1px solid #999;
}

/* Element obligatoire */
.marker, .form-required {
  color: #f00;
}

#form-item {
  margin-top: 1em;
  margin-bottom: 1em;
}

#title {
  color: #fff;
  font-size: 16px;
  height: 30px;
}

/* ------------------------------------------------------------------------- */
/* Caméras                                                                   */
/* ------------------------------------------------------------------------- */

#camscrollpdiv {
  width: 600px;
  height: 150px;
  overflow: hidden;
  position: relative;
  top: 10px;
  left: 39px;
}

#camscrolldiv {
  /* width = 5 + 2 + 160 + 2 + 5 + 2 + 160 + 2 + 5 + 2 + 160 + 2 + 5 = 512 */
  width: 512px;
  height: 150px;
  overflow: hidden;
  position: absolute;
  left: 15px;
  float: left;
}

#lscrolldiv {
  position: absolute;
  float: left;
  left: 0px;
  top: 35px;
  width: 30px;
  height: 50px;
  background: url(images/larrow_0.png) no-repeat left top;
}

#lscrolldiv:hover {
  background-image: url(images/larrow_1.png);
}

#rscrolldiv {
  position: absolute;
  float: left;
  left: 512px;
  top: 35px;
  width: 30px;
  height: 50px;
  background: url(images/rarrow_0.png) no-repeat left top;
}

#rscrolldiv:hover {
  background-image: url(images/rarrow_1.png);
}

.camempty{
  width: 160px;
  height: 120px;
  border: 2px solid #555555;
}

.camtiny{
  width: 160px;
  height: 120px;
  border: 2px solid #555555;
}

#cameradiv {
  /* width = 5 + 2 + 640 + 2 + 5 = 654 */
  width: 654px;
  /* height = 5 + 2 + 480 + 2 + 5 = 494 */
  height: 494px;
  overflow: hidden;
  position: relative;
  /* left = (#center.width - #cameradiv.width) / {repartir_droite_gauche} - #center.padding-left
     left = (660 - 654) / 2 - 20 = -17 */
  left: -17px;
}

.cameraimg{
  width: 640px;
  height: 480px;
  border: 2px solid #444444;
}

/* Cadre style 1 */
/* ------------------------------------------------------------------------- */

div.cadre {
  background-color: #000;
  color: #ccc;
}

div.cadre div p{
  padding: 10px;
}

div.cadre div form{
  padding: 10px;
  text-align: justify;
}

div.cadre_tt {
  background: url(images/cadre_tt.png) repeat-x top left;
}

div.cadre_rr {
  background: url(images/cadre_rr.png) repeat-y top right;
}

div.cadre_bb {
  background: url(images/cadre_bb.png) repeat-x bottom left;
}

div.cadre_ll {
  background: url(images/cadre_ll.png) repeat-y top left;
}

div.cadre_tl {
  background: url(images/cadre_tl.png) no-repeat top left;
}

div.cadre_tr {
  background: url(images/cadre_tr.png) no-repeat top right;
}

div.cadre_br {
  background: url(images/cadre_br.png) no-repeat bottom right;
}

div.cadre_bl {
  background: url(images/cadre_bl.png) no-repeat bottom left;
}

/* Cadre style 2 */
/* ------------------------------------------------------------------------- */

div.cadre2 {
  background-color: #3B3B3B;
  color: #ccc;
}

div.cadre2 div p{
  padding: 10px;
  text-align: justify;
}

div.cadre2_tl {
  background: url(images/cadre2_tl.png) no-repeat top left;
}

div.cadre2_tr {
  background: url(images/cadre2_tr.png) no-repeat top right;
}

div.cadre2_br {
  background: url(images/cadre2_br.png) no-repeat bottom right;
}

div.cadre2_bl {
  background: url(images/cadre2_bl.png) no-repeat bottom left;
}

/* Checkbox et Radiobutton 2 */
/* ------------------------------------------------------------------------- */

span.checkbox {
  width: 19px;
  height: 25px;
  padding: 0 5px 0 0;
  background: url(images/checkbox.png) no-repeat;
  display: block;
  clear: left;
  float: left;
}

span.radio {
  width: 19px;
  height: 25px;
  padding: 0 5px 0 0;
  background: url(images/radio.png) no-repeat;
  display: block;
  clear: left;
  float: left;
}


