/* ================================================================
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/basic_dd.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any
way to fit your requirements.
=================================================================== */

.menu ul li a, .menu ul li a:visited {
	display:block;
	overflow:hidden;
	}
.menu ul li {
	float:left; 
	position:relative;
	}
.menu ul li ul {
	display: none;
	}
.menu ul li:hover ul {
	display:block; position:absolute;
	}
.menu ul li:hover ul li ul {
	display: none;
	}
.menu ul li:hover ul li a {
	display:block; 
	}
.menu ul li:hover ul li:hover ul {
	display:block; position:absolute;
	}

.menu {
	position:relative; 
	font-size:11px;
	z-index:1000;
	}

.menu ul{/* remove the bullets, padding and margins from the lists */
	list-style-type:none;
	padding:0;
	margin:0 0 2px 0;
}

.menu table{/* use the table to position the dropdown list */
	position:absolute;
	border-collapse:collapse;
	z-index:100;
	left:0px;
	top:25px;
}

.menu a, .menu a:visited {/* style all the links */
	font-weight:bold;
	width:125px;
	padding: 5px 0px 5px 0px;
	color:#333333;
	text-decoration:none;
}

.menu a:hover{/* style the links hover */
	text-decoration:none;
}


.menu a.tendina_trasp, a.tendina_trasp:visited{
	background:none;
	text-align:center;
	}
.menu a.tendina_trasp:hover{/* style the links hover */
	background:url(../immagini/sfondo_banner_menuON.jpg) no-repeat 1px 0px;
	}


.menu a.tendina, a.tendina:visited{
	background:#ffffff;
	border-left:1px #999999 solid;
	border-right:1px #999999 solid;
	text-align: left;
	padding:10px 10px 10px 10px;
	width: 230px;
	}
.menu a.tendina:hover{/* style the links hover */
	background:url(../immagini/sfondo_bott_sottomenu.jpg) repeat-x;
	padding:10px 10px 10px 10px;
	width: 230px;
	}


.menu a.ultima_tendina, a.ultima_tendina:visited{
	background:#ffffff;
	border-left:1px #999999 solid;
	border-right:1px #999999 solid;
	border-bottom:1px #999999 solid;
	text-align: left;
	padding:10px 10px 10px 10px;
	width: 230px;
	}
.menu a.ultima_tendina:hover{/* style the links hover */
	background:url(../immagini/sfondo_bott_sottomenu.jpg) repeat-x;
	padding-left:10px;
	width: 230px;
	}


.menu a.prima_tendina, a.prima_tendina:visited{
	background:#ffffff;
	border-left:1px #999999 solid;
	border-right:1px #999999 solid;
	border-top:1px #999999 solid;
	text-align: left;
	padding:10px 10px 10px 10px;
	width: 230px;
	}
.menu a.prima_tendina:hover{/* style the links hover */
	background:url(../immagini/sfondo_bott_sottomenu.jpg) repeat-x;
	padding-left:10px;
	width: 230px;
	}


.menu ul ul {/* hide the sub level links */
	visibility:hidden;
	position:absolute;
	width:230px;
	height:0;
}
.menu ul.sub ul.sub {/* hide the sub level links */
	visibility:hidden;
	position:absolute;
	width:230px;
	height:0;
	top: 10px;
	left:251px;
}

/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul {
	visibility:visible;
	}

/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
	visibility:hidden;
	}

/* keep the fourth level hidden when you hover on second level list OR link */
.menu ul :hover ul :hover ul ul{
	visibility:hidden;
	}

/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{
	visibility:visible;
	}

/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul {
	visibility:visible;
	}


