/* --------------------- */
/* Few basic page styles */
/* --------------------- */
#content {
	background-color: white;
	width: 830px;
	padding-left:30px;
	margin: 0;
	float:right;
}

#content * {
	z-index: 1; /* So that the Casino menu overlaps the content with IE6/IE7 */
}

#content img {
	border: none;
	/*display: inline;*/
	/*display: block;*/ 
}

#content table, #content td {
	color: black;	/* Override casino style */
}

#content h1 {
 font-family: "Trebuchet MS", Verdana, Tahoma, "Lucida Grande", sans-serif; /* Override casino style */
}

/* ---------------------- */
/* Navigation menu styles */
/* ---------------------- */
#menu-covoiturage {
	background-image: url(../img/layout/menu.jpg);
	background-repeat: no-repeat;
	width: 860px;
	height: 43px;
 	position: absolute;
 	top: 0px;
 	left: 0px; /* For IE7 */
}
	
#menu-droit {
	position: relative;
	left: 60px;
}

#menu-gauche, #menu-droit {
	float: left;
	font-weight: bold;
	padding: 0;
	margin: 0;
}

ul#menu-gauche, ul#menu-droit {
	list-style: none;
}

/* The top main navigation links */
#menu-gauche a, #menu-droit a {
	display: block;
	text-decoration: none;
}

#menu-gauche li {
	float: left;
	padding: 0;
	margin-left: 2px;
	margin-right: 2px;
	width: 135px;
}

#menu-gauche li a.menu-item {
	background-image: url(../img/layoutmenu/menu-horizontal.jpg);
	background-repeat: repeat-y;
	font-size: 1.6em;
	color: white;
	text-align: center;
	padding-top: 2px;
	padding-bottom: 2px;
}

#menu-droit li {
	float: left;
	padding: 0;
	margin-left: 2px;
	margin-right: 2px;
	width: 100px;
}

#menu-droit li a.menu-item {	
	font-size: 1.6em;
	color: white;
	text-align: center;
	padding-top: 2px;
	padding-bottom: 2px;
}

/* The dropdown links lists */
#menu-gauche li ul {
	position: absolute;
	left: -999em;
	height: auto;
	width: 180px; 
	margin: 0;
	padding: 0;
	background-image: url(../img/layoutmenu/menu-vertical-grand.jpg);
	background-repeat: repeat-x;
	list-style: none;
	line-height: 18px;
}

#menu-gauche li li {
	padding: 0;
	width: 180px;
}

#menu-gauche li ul a {
	color: black;
	font-size: 1.4em;
	text-align: left;
	width: 180px;
	* html width: 160px;
}

#menu-gauche li:hover ul, #menu-gauche li.sfhover ul {
	left: auto;
}

/* Background of the main nav link while looking at the dropdown */
#menu-gauche li:hover, #menu-gauche li.sfhover {
	background-color: #7AC800;		/* doesn't work but prevents an ugly bug with IE7... */
}

/* The dropdown links list colors */
#menu-gauche li ul.under a {
	color: #000;
	background-image: none;
}

#menu-gauche li ul.under a:hover {
	background: #DD141A;
	color: #fff;
}

#inscription {
	background-color: #7AC800;
}

#mon-compte {
	/*background-color: #174600;*/
	background-color: #487B35;
}

#menu-user-context {
	position: relative;
	float: right;
	right: 190px;
	top: -5px;
	font-size: 1.1em;
	letter-spacing: 1px;
	font-weight: bold;
}

#menu-user-context span {
	color: #DD141A;
}

#menu-user-context a {
	text-decoration: underline;
}

#menu-user-context a:hover {
	text-decoration: none;
	color: #487B35; /* To override Casino style... */
}

/* -------------------------------------------*/
/* Override Casino styles */
/* -------------------------------------------*/
#footer {
	border-top: 3px dotted #E0DFDF;
	margin-top: 20px;	
	clear: both;
	width: auto;
}

/* To center the footer links properly */
#footer p {
	margin: 0;
}

#covoitureursList table, #covoitureursList td {
	font-size: 0.95em; /* To override the 11px font-size from Casino style */
}

#navGenH * {
	z-index: 100; /* So that the Casino menu overlaps the content with IE6/IE7 */
}

#content #mymap div {
	z-index: 0;
}