/*		------	Basic style	------		*/
#menu {
	/*
	height: ??;
	Since we are floating all LIs, then you need to set height in the make-up part, if you want to place some background on the menu
	*/
	display: block;
}

#menu ul {
	margin: 0;
	padding: 0;
	border: 0;
	list-style-type: none;
}

#menu li {
	margin: 0;
	padding: 0;
	border: 0;
	display: block;
	float: left;
	position: relative;
}

#menu a {
	display: block;
}

* html #menu li a {
	position: relative;/* Fix IE6's inability to expand clickable area */
}

#menu li ul {
	visibility: hidden;
	position: absolute;
	z-index: 10;
}

/* using display is better (no scrollbars when page loads), but IE can't handle it, so only good browsers should see this */
html>body #menu li ul {
	display: none;
}

#menu li li {
	width: 100%;
}

/* fix the position */
#menu li li ul {
	top: 0;
	left: 100%;
}

/* simulate child selector for IE */
div#menu li.iehover ul,
#menu li.iehover li.iehover ul,
#menu li.iehover li.iehover li.iehover ul {
	visibility: visible;
}
div#menu li.iehover li ul,
#menu li.iehover li.iehover li ul,
#menu li.iehover li.iehover li.iehover li ul {
	visibility: hidden;
}

/* do the normal show, with increased specificity, for good browsers */
#menu ul#menuList li:hover>ul {
	display: block;
	visibility: visible;
}


/*		------   Make-up	--------			*/

#menu {
  display: inline;
  vertical-align: top;
  float: left;
	font-family: Arial, sans-serif;
	font-size: 9px;
	font-weight: bold;
	text-align: center;
  line-height:145%;
  width:500px;
	color: #000;
	height: 22px;
}

#menu a {
	font-family: Arial, sans-serif;
	font-size:10px;
	text-decoration: none;
	color: #585B55;
	padding: 0px;
}

#menu li {
	margin: 0px;
	padding: 0px;
}
#menu li img {
	float: left;
}
#menu li:hover, #menu li.iehover {
	background-color: #F6F7F6;
	padding: 0px;
}

#menu li li {
  background-color: #ffffff;
	width: 120px;
	margin: 3px;
	padding: 2px;
}
#menu li li:hover, #menu li li.iehover {
	background-color: #F6F7F6;
	padding: 2px;
}
#menu li li:hover a, #menu li li.iehover a {
	color: #000000;
}

#menu li ul {
  top: 22px;
	width: 130px;
	left:0;
	color: #000;
	background-color: #fff;
	border: 1px solid #ccc;
}

#menu li ul a {
	text-align: left;
	padding-left:5px;
}

#menu li ul a.submenu {
	background-image: url(/images/arrow.gif);
	background-repeat: no-repeat;
	background-position: 100% 2px;
}

/*		------   Specific fixes	(thank to W3C for these) --------			*/
/* 
		I'm gonna move the submenus 5px up
		5px works fine here and it is roughly calculated as:
			padding-bottom + margin-bottom + border-bottom of the LI
			+
			*-top values of the LI
			
		Mostly it needs a bit of trial and error.
		Basic idea is to remove the scrollbar when menu re-positioning is perfomed. Of course, script could take care of that, but that takes too much code - this is easier.
*/
#menu li li ul {
	margin-top: -5px;
}



/* Fixes for IE5/Mac \*//*/

#menu a {
	float: left;
}

html>body #menu li ul {
	display: block;
}

#menu li ul {
	top: 22px;
	left: 0;
}

#menu li li ul {
	top: 0;
	left: 100%;
}

/**/
