/**************************************************************
   AUTHOR:  Pat Heard (fullahead.org)
   DATE:    2006.03.19
   PURPOSE: Controls the layout of the site and styles
            the menus
 **************************************************************/



/**************************************************************
   #content: Sets the width of the site.  Make changes here
             to convert to a fixed width site.
 **************************************************************/

#content {
  height: 100%;
  min-height: 100%;

  text-align: left;
}

#content,
#width {
  /* max-width hack for IE since it doesn't understand the valid css property */
  width: expression(document.body.clientWidth > 1000 ? "1000px" : "99%");
  max-width: 1000px;
  margin: 0 auto;
}

#content[id],
#width[id] {
  width: 99%;
  height: auto;
}




/**************************************************************
   #header: Holds the site title and header images
 **************************************************************/

#header {
  position: relative;
  height: 193px;
  background: url(../images/site/sponsors.jpg) no-repeat;
}

/* Holds the site title and subtitle */
#header #title {
  /*position: absolute;*/
  z-index: 3;
  top: 10px;

  padding: 5px;
  display: none;
}

#header #title-1,
#header #title-2 {
  margin: 0;
  padding: 0;

  font: 700 4em "space age", serif;
  letter-spacing: -3px;
  text-transform: lowercase;
  color: #FFF;
}

#header #title-1 {
  margin-right: 60px;
}

#header #title-2 {
  margin-left: 60px;
}

#header #subtitle {
  position: absolute;
  top: 10px;
  right: 5px;

  margin: 1px 73px 0 0;
  padding: 0;

  font: 700 1em "trebuchet ms", serif;
  text-transform: lowercase;
  color: #00F0EC;
}

#header #subtitle a {
  text-decoration: none;
  color: #00F0EC;
}

#header #subtitle a:hover {
  text-decoration: underline;
  color: #00F0EC;
}



/**************************************************************
   #mainMenu: The top level site menu
 **************************************************************/
/*
#mainMenu {
  float: left;
  width: 100%;
  clear: both;
}

#mainMenu ul {
  margin: 0;
  padding: 0;
}

#mainMenu li {
  display: inline;
  list-style: none;
  margin: 0;
  padding: 0;
}

#mainMenu li a {
  float: left;
  margin: 0 2px 5px 2px;
  padding: 5px 0.5em;

  font: 400 1.6em "trebuchet ms", serif;
  text-decoration: none;
  text-transform: lowercase;
  color: #222;
}

#mainMenu li a:hover,
#mainMenu li a.here {
  color: #337ACF;
  border-top: 5px solid #000;
  margin-bottom: 0;
}

#mainMenu li a.last {
  margin-right: 0;
}
*/

#mainMenu dl, #mainMenu dt, #mainMenu dd, #mainMenu ul, #mainMenu li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#mainMenu {
  position: absolute; /* placement du menu, à modifier selon vos besoins */
  z-index:100;
  width: 990px; /* correction pour Opera */
  margin: 5px 0;
}

#mainMenu dl {
  float: left;
  width: 12em;
}

#mainMenu dt {
  cursor: pointer;
  text-align: center;
  font-weight: bold;
  background: #ccc;
  border: 1px solid gray;
  margin: 1px;
}

#mainMenu dd {
  display: none;
  border: 1px solid gray;
}

#mainMenu li {
  text-align: center;
  background: #fff;
}

#mainMenu li a, #mainMenu dt a {
  color: #000;
  text-decoration: none;
  display: block;
  height: 100%;
  border: 0 none;
}

#mainMenu li a:hover, #mainMenu li a:focus, #mainMenu dt a:hover, #mainMenu dt a:focus {
  background: #eee;
}




/**************************************************************
   .block: Colored blocks
 **************************************************************/

ul.block {
  margin: 0;
  padding: 0;
}
/*
.block ul {
  background-color: #555;
}
*/
.block li {
  /*display: inline;*/

  /* Needed since IE fails when you give it list-style: none; */
  list-style-image: url(foo.gif);
  /*font: 400 1.3em "trebuchet ms", serif;*/
}

li {
  list-style-image: none;
}

/*.block li a,*/
.lastElements li a {
  display: block;
  margin: 0.2em 0;
  padding: 3px 5px;
  text-decoration: none;
  color: #000;
}

.block a.small {
  color: #222;
}

/*.block li a:hover,*/
.lastElements li a:hover {
  color: #FFF;
  background: #f2970a;
}

#page .lastElements p {
  color: #5091C9;
}

/* Active menu item */
/*.block li.here,*/
.lastElements li {
  display: block;
  padding: 5px;
  margin: 0px;
  color: #000;
  background: #dee5ec;
}

/* Submenu of active menu item */
/*.block li.here ul,*/
.lastElements ul {
  margin: 0;
  padding: 0;
  background: #dee5ec;
}

.lastElements ul,
.block {
  border: 1px solid #000;
  background: #dee5ec;
}
/*
ul.block li.here ul.floatRight {
  position: absolute;
  border-left: 5px solid #FBC748;
  border-bottom: 5px solid #FBC748;
  width: 17.3%;
  margin-left: 6.1%;
}
*/
/*.block li.here ul li a,*/
.lastElements ul li a {
  padding-left: 35px;
  font-weight: 400;
  font-family: verdana, arial, sans-serif;
  color: #000;
  background: url(../images/site/bullet.gif) no-repeat 10px 0px;
}

.lastElements ul li a {
  background: url(../images/site/casque.jpg) no-repeat 10px 3px;
  text-decoration: none;
  margin: 0;
}
/*
.block li.here ul li a {
  font: 400 0.55em verdana, arial, sans-serif;
}
*/
.lastElements ul li a:hover {
  color: #FFF;
  background: #2d75bd url(../images/site/casque-hover.jpg) no-repeat 10px 3px;
}
/*
.block li.here ul li a:hover {
  color: #FFF;
  background: #2d75bd url(../images/site/bullet.gif) no-repeat 10px 0px;
}
*/


/**************************************************************
   #page: Holds the main page content.
 **************************************************************/

#page {
  /*float: left;*/
  width: 100%;
  /*clear: both;*/
  padding-top: 25px;

  /*padding-bottom: 4em;*/
}




/**************************************************************
   #footer: The page footer - will stick to the bottom if not
            enough content.
 **************************************************************/

#footer {
  float: left;
  width: 100%;
  clear: both;

  /*margin-top: -3.8em;*/
  color: #EEE;
  background: #000;/* url(../images/site/footer.jpg) repeat-x top left;*/
}

/* Sets the width of the footer content */
#footer #width {
  position: relative;
  z-index: 3;
  font-size: 0.85em;
  /*padding-top: 27px;*/
}


#sponsors {
  position: absolute;
  margin-left: -100px;
}

#sponsors[id] {
  position: fixed;
}

/**************************************************************
   Width classes used by the site columns
 **************************************************************/

.width100 {
  width: 100%;
}

.width95 {
  width: 94.5%;
}

.width75 {
  width: 74%;
}

.width60 {
  width: 58%;
}

.width50 {
  width: 49%;
}

.width40 {
  width: 39%;
}

.width33 {
  width: 32.7%;
}

.width25 {
  width: 24.7%;
}

.width5 {
  width: 4.5%;
}


/**************************************************************
   Alignment classes
 **************************************************************/

.floatLeft {
  float: left;
}

.floatRight {
  float: right;
}

.alignLeft {
  text-align: left;
}

.alignRight {
  text-align: right;
}

.blockMiddle {
  margin-left: 1.8%;
  margin-right: 1.8%;
}


/**************************************************************
   Generic display classes
 **************************************************************/

.clear {
  clear: both;
}

.block {
  display: block;
}

.small {
  font-size: 0.8em;
}

.center {
  text-align: center;
}

.closer {
  margin-top: 5px;
  margin-bottom: 5px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.closest {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.green {
  color: #A1FF45;
}

.red {
  color: #EA1B00;
}

.grey {
  color: #666;
}

.grey a {
  color: #999;
}

.grey a:hover {
  color: #EEE;
}

.gradient {
  margin-bottom: 2em;
  background: #555;/* url(../images/site/gradient.jpg) repeat-x bottom left;*/
}

h3.date {
  font-size: 1.1em;
  float: right;
  font-weight: bold;
  border: 1px dashed black;
  border-right: solid 1px black;
  padding: 5px;
  margin: -1px -1px 0 0;
  background-color: #BBB;
}

.noBorder,
img.noBorder,
a.noBorder {
  border: 0;
}

.notDisplayed {
  display: none;
}

.block li.notDisplayedIE,
.notDisplayedIE {
  display: none;
}

.block[class] li.notDisplayedIE[class],
.notDisplayedIE[class] {
  display: block;
}

.notDisplayedFF[class] {
  display: none;
}

ul.block li:hover>ul {
  display: block;
}

.displayIt:hover>.notDisplayed,
.displayIt:hover>.notDisplayedFF {
  display: block;
}

.signature {
  text-align: right;
}

.up {
  position: absolute;
  width: 16px;
  height: 16px;
  background: url(../images/site/up2.png) no-repeat;
  margin: -21px 0 0 10px;
  text-decoration: none;
}

.question {
  font: 700 "trebuchet ms", serif;
  color: #F39F01;
}

.inline {
  border: 2px;
  padding: 0px;
  display: inline;
}
