/*GENERAL LAYOUT */
@import url("reset.css");

body {
	font-size: 62.5%;
	font-family: Verdana, Helvetica, Arial, Sans-Serif;
	color: #000;
	background-color: #F7F7F2;
	margin: 0px;
	padding: 0px;
	text-align: center;
}
#wrapper {
	margin: 0 auto;
	width: 1024px;
	background-color: #F7F7F2;
	position: relative;
	text-align: left;
}
#header div.links {
	font-size: 1em;
	color: #999;
	text-align: right;
	margin-right: 20px;
	padding-top: 10px;
}
#header div.links p {
	float: right;
	width: 700px;
}
#header div.links form {
	padding-top:0;
	float: right;
}
#header div.links a {
	color: #666;
	text-decoration: none;
	padding-right: 5px;
	line-height: 20px;
	padding-left: 5px;
}
#header div.links a:hover {
	color: #000;
}
#header div.links input.search, 
#header div.links input.ok {
	font-size: 0.9em;
	background-color: #999999;
	line-height: 15px;
	height: 16px;
	border: 1px solid #999999;
	width: 120px;
	color: #fff;
	padding: 1px;
	margin-left: 10px;
}
#header div.links input.ok {
	background-color: #F7F7F2;
	border-color: #F7F7F2;
	color: #666;
	width: 30px;
	margin-left: 0;
	padding: 0;
	line-height: normal;
}
#header div.logo {
	height: 90px;
	width: 330px;
	position: absolute;
	left: 161px;
	top: 43px;
}
#header div.language {
	float: left;
	width: 140px;
	line-height: 15px;
}
#header div.language div {
	background-color: #BB1400;
	text-align: right;
	height: 18px;
}
#header div.language div.cata {
	background-color: #FF6500;
}
#header div.language div.cast {
	background-color: #CC0099;
}
#header div.language div a {
	padding-right: 4px;
	color: #fff;
}
#header div.language div a:hover {
	color: #000;
}
#header div.language div.active a {
	text-decoration:none;
}
#header div#menubar {
	padding-top: 75px;
	height: 54px;
	background: url(../img/menubar-bg.gif) repeat-x left bottom;
	z-index:1000;
}
#header ul.menu {
	position: relative;
	bottom: -36px;
	height: 18px;
	float: right;
	width: 770px;
	background: url(../img/menu-bg.gif) no-repeat right top;
	z-index:100;
}
#header ul.menu li {
	margin-right: 20px;
	float: left;
	z-index:100;
}
#main {
	margin: 30px 0;
}
#content, 
#sidebar {
	float: left;
	width: 575px;
	line-height: 130%;
	margin-top: 2em;
}
#sidebar {
	float: right;
	width: 392px;
}

/* General horizontal navigation lists with dropdown magic */
.nav ul {
	z-index: 9999;font-size: 1.1em;
	font-weight: bold;
}
.nav li {
	float:left;
	margin-right:36px;
}
.nav li a {
	display:block;
	color: #F7F7F2;
	text-decoration:none;
}
#menubar ul.nav a:hover {
	color: #000;
}
.nav li li a, 
#menubar .nav li li a {
	color: #F7F7F2;
	padding:6px 9px;
}
.nav li ul,
.nav li li {
	margin-right:0;
	width: 200px;
}
.nav li li {
	border-bottom:1px solid #F7F7F2;
	background-color: #BB1400;
}
.nav li li:last-child {
	border-bottom:1px solid #BB1400;
}
body.cat .nav li li {
	background-color: #FF6500;
}
body.cat .nav li li:last-child {
	border-bottom:1px solid #FF6500;
}
body.esp .nav li li {
	background-color: #CC0099;
}
body.esp .nav li li:last-child {
	border-bottom:1px solid #CC0099;
}
.nav li li ul {
	margin:-31px 0 0 200px;
}
.nav li.secondary {
	float:right;
	margin-left:12px;
	margin-right:0;
}
/* dropdown action */
.nav li ul,
.nav li:hover li ul,
.nav li li:hover li ul,
.nav li.hover li ul,
.nav li li.hover li ul {
	left: -32697px;
	position: absolute;
}
.nav li:hover ul,
.nav li li:hover ul,
.nav li li li:hover ul,
.nav li.hover ul,
.nav li li.hover ul,
.nav li li li.hover ul {
	left: auto;
}
/* hasLayout fixes for IE6, IE7 */
ul li, .nav ul, #diaporama {zoom:1;}
/* Suckerfish dropdowns stick in IE7 without this bit */
*:first-child+html .nav {height: 1%;} 
*:first-child+html .nav li {height: 1%;}

/* BOUTON */

a.bouton, button.bouton {
	display:-moz-inline-box;
	display:inline-block;
	padding:0;
	white-space:nowrap;
	text-align:center;
	vertical-align:middle;
	cursor:pointer;
	border:0;
	background:none;
	font-size: 15px;
	font-weight: bold;
	color: #000;
	font-family: "Times New Roman", Times, serif;
	font-style: italic;
	margin: 20px 0 0;
}

a.bouton span, button.bouton span {
     float:left;
     padding:0 0 0 20px;          /* Largeur du côté gauche */
     vertical-align:middle;
     background:url(../img/bouton_gch.gif) left top no-repeat;
}

a.bouton span span, button.bouton span span {
     padding:0 20px 0 0;          /* Largeur du côté droit */
     background:url(../img/bouton_dte.gif) right top no-repeat;
}

a.bouton span span span, button.bouton span span span {
	height:32px;          /* Hauteur du bouton */
	padding:0;
	line-height:28px;     /* Alignement vertical du texte */
	background:url(../img/bouton_mil.gif) left top repeat-x;
	color: #000;
}

a.bouton img {
	vertical-align: middle;
	margin-left: 10px;
}

/* Correction des bug Internet Explorer */
* html button {width:1%; overflow:visible;}
*:first-child+html button {overflow:visible;}
/* fin */

#footer {
	clear: both;
	height: 21px;
	padding-bottom: 2em;
	background: url(../img/footer-bg.gif) no-repeat right top;
}
#footer.left {
	background: url(../img/footer-left-bg.gif) no-repeat left top;
}
#footer.long {
	background: url(../img/footer-long.gif) no-repeat right top;
}



