/**************************************************************
   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" : "94%");  
  max-width: 1000px;
  margin: 0 auto;
}

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




/**************************************************************
   #header: contient le titre et les images d'en tête
 **************************************************************/

#header {
  position: relative;
  height: 193px;
}

/* Titre et sous titre du site*/
#header #title {
	position: absolute;
	z-index: 3;
	top: 8px;
	left: 130px;
	padding: 5px;
	text-align: right;
}

#header h1 {
	margin: 0;
	padding: 0;
	font: 400 3.5em "times", serif;
	letter-spacing: 1px;
	color: #D34F1B;
}

#header h2 {
	position: absolute;
	top: 140px;
	right: 5px;
	margin: 0;
	padding: 0;
	font: 400 2em "times", serif;
	letter-spacing: 1px;
	text-transform: lowercase;
	color: #D34F1B;
}


/* place les images d'en tête */
#header img.left {
  position: absolute;
  z-index: 1;

  top: 0;
  left: 0;
}

#header img.right {
  position: absolute;
  z-index: 0;

  top: 0;
  right: 0;
}

/**************************************************************
   #mainMenu: le menu horizontal du haut
 **************************************************************/

#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;
  padding: 5px 0.5em;
  font: 400 1.6em "times", serif;
  font-weight: normal;
  text-decoration: none;
  text-transform: lowercase;
  color: #EB8118;
}

#mainMenu li a:hover,
#mainMenu li a.here {
	color: #EB8118;
	border-top: 2px solid #EB8118;
	border-bottom: 2px solid #EB8118;
}

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




/**************************************************************
   .sideMenu: le menu cu côté
 **************************************************************/

ul.sideMenu {
  margin: 0;
  padding: 0;
}

.sideMenu li {
  display: inline;
  
  /*  IE plante quand on défini ainsi list-style: none; */  
  list-style-image: url(foo.gif);
  font: 400 1.3em "times", serif;
  font-weight: normal;
}

.sideMenu li a {
  display: block;
  margin: 0.2em 0;
  padding: 3px 5px;    
  font-weight: normal;
  text-decoration: none;
  color: #EB8118;
} 

.sideMenu li a:hover {
  color: #1C0608;
  background: #EB8118;
}

/* parties actives du menu */
.sideMenu li.here {
	display: block;
	padding: 5px;
	color: #1C0608;
  background: #EB8118;
	
}





/**************************************************************
   #page: contenu principal de la page
 **************************************************************/

#page {
  float: left;
  width: 100%;
  clear: both;
  padding-bottom: 4em;
}




/**************************************************************
   #footer: le bas de page remonte au niveau du bas du block principal
 **************************************************************/

#footer {
	float: left;
	width: 100%;
	clear: both;
	margin-top: -3.8em;
	background: #000 url(../images/bg/footer.jpg) repeat-x top left;
	text-align: center;
}

/**************************************************************
  largeur du contenu de bas de page
 **************************************************************/

#footer #width {
  position: relative;
  z-index: 3;
  font-size: 0.85em;
  padding-top: 27px;
}



/**************************************************************
  largeur des colonnes
 **************************************************************/

.width100 {
  width: 100%;
}

.width75 {
  width: 74%;
}

.width50 {
  width: 49.7%;
}
.width40 {
  width: 39%;
}

.width33 {
  width: 32.7%;
}

.width25 {
  width: 24.7%;
}



/**************************************************************
   classes d'alignement
 **************************************************************/

.floatLeft {
  float: left;
}

.floatRight {
	float: right;
}

.alignLeft {
  text-align: left;
}

.alignRight {
  text-align: right;
}



/**************************************************************
  classes autres
 **************************************************************/

.clear {
  clear: both;
}

.block {
  display: block;
}

.small {
  font-size: 0.8em;
}

.green {
  color: #A1FF45;
}

.red {
  color: #EA1B00;
}
.lien {
border: none;
}

.grey {
  color: #666;
}

.grey a {
  color: #999;
}

.grey a:hover {
  color: #EEE;
}
.defilement {
	background: #EB8118;
	border-color: #EB8118;
	border-width: 2px;
	border-style: solid;
	height: 50px;
}

.gradient {
	margin-bottom: 2em;
	background: #000 url(../images/bg/gradient.jpg) repeat-x bottom left;
	border-color: #EB8118;
	border-width: 3px;
	border-style: ridge;
}
.gradient1 {
	margin-bottom: 2em;
	background: #EB8118;
	border-color: #660000;
	border-width: 3px;
	border-style: ridge;
}


.carre {
	background-color: #CCCCCC;
	border-color: #EB8118;
	border-width: 4px;
	border-style: ridge;
	height: 135px;
	width: 200px;
	margin-left: 1px;
	margin-top: 10px;
	margin-bottom: 0px;
}
.carre2 {
	background-color: #CCCCCC;
	border-color: #EB8118;
	border-width: 4px;
	border-style: ridge;
	height: 184px;
	width: 654px;
	margin-left: 1px;
	margin-top: 0px;
	margin-bottom: 10px;
}


