/* Foglio di Stile per il menù a scomparsa tramite liste <ul> <li>-*/
#menu04 {
	display: block;
}
#menu04 ul {
	margin: 0;
	border: 0;
	list-style-type: none;
	margin-left:0;
}
#menu04 li {
	
	text-align:left;
	border: 0;
	display: block;
	float: left;
	position: relative;
}
#menu04 a {
	display: block;
}
* html #menu04 li a {
	position: relative;/* Fix IE6's inability to expand clickable area */
}
#menu04 li ul {
	visibility: hidden;
	position: absolute;
	z-index: 20;
}
/* using display is better (no scrollbars when page loads), but IE can't handle it, so only good browsers should see this */
html>body #menu04 li ul {
	display: none;
}
#menu04 li li {
	width: 100%;
}
/* fix the position */
#menu04 li li ul {
	top:0;
	left: 100%;
}
/* simulate child selector for IE */
div#menu04 li:hover ul,
#menu04 li:hover li:hover ul,
#menu04 li:hover li:hover li:hover ul {
	visibility: visible;
}
div#menu04 li:hover li ul,
#menu04 li:hover li:hover li ul,
#menu04 li:hover li:hover li:hover li ul {
	visibility: hidden;
}
/* do the normal show, with increased specificity, for good browsers */
#menu04 ul#menuList04 li:hover>ul {
	display: block;
	visibility: visible;
}
/*		---------------------------------------------   Make-up	---------------------------------------------			*/
#menu04{
	font-family: Arial;
	font-weight:bold;
	font-size: 11px;
}
#menu04 li ul {
	color: #aaaaaa;
	border-bottom:2px solid #cfcfcf;
	background-color: #e6e6e6;
	width: 148px;
	margin-left:-1px;
}
#menu04 li ul a {
	text-align:left;
	padding-left:5px;
}
#menu04 ul li.bold {
	font-size:11px;
}
li.submenu04{
	margin-left:-2px;
	margin-top:-10px;
}
ul.subMenu04{
	position:relative;
	left:0px;
	top:16px;
	padding-left:0;
}
/*		---------------------------------------------   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.
*/

#menu04 li li ul {
	margin-top: 5px;
}