/*livello 1*/
#nav, #nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
}

#nav a {
	display: block;
  	width:159px;/*143px;*/
}
/*---------menu primo livello------------*/
.levx{
	float: left;
	display: inline;
	border-left:2px solid #85aed8;
	border-right:2px solid #85aed8;
	border-top:1px solid #85aed8;
	border-bottom:1px solid #85aed8;
	background:url(../img/menuback.jpg) repeat-x #FFF;
	width:156px; /* width needed or else Opera goes nuts*/ 
	height:28px;
	position:relative; 
	z-index:100;
}
.levx:hover .levx.hover{
	float: left;
	display: inline;
	border-left:2px solid #b9b9b9;
	border-right:2px solid #b9b9b9;
	border-top:1px solid #b9b9b9;
	border-bottom:1px solid #b9b9b9;
	width:156px; /* width needed or else Opera goes nuts*/ 
	background:url(../img/menuback-ho.jpg) repeat-x  #FFF; 
	height:28px;
	position:relative; 
	z-index:100;
	
}
/*---------menu primo livello------------*/

/*lev0 */
.lev0 { /* level 0 list items */
	float: left;
	display: inline;
	width:159px; 
	height:40px;
	margin-bottom:0px;
}

#homeid{background:url(../img/homes.jpg) no-repeat; }
#serviziid{background:url(../img/servizis.jpg) no-repeat; }
#networkingid{background:url(../img/networkings.jpg) no-repeat; }
#systemid{background:url(../img/systems.jpg) no-repeat; }
#voipid{background:url(../img/voips.jpg) no-repeat; }

/*----------------HOME------------------*/
a.home{background:url(../img/home.jpg) no-repeat; color:#6699cc; text-decoration:none; padding-top:15px; height:32px; text-align:right;}
a.home:hover{background:url(../img/homes.jpg) no-repeat;color:red; text-decoration:none; padding-top:15px; height:32px; text-align:right;}
a#homes{background:url(../img/homes.jpg) no-repeat; color:#6699cc; text-decoration:none; padding-top:15px; height:32px; text-align:right;}
/*----------------HOME------------------*/
/*----------------SERVIZI------------------*/
a#servizi{background:url(../img/servizi.jpg) no-repeat; color:#6699cc; text-decoration:none; padding-top:15px; height:32px; text-align:right;}
a#servizi:hover{background:url(../img/servizis.jpg) no-repeat; color:#6699cc; text-decoration:none; padding-top:15px; height:32px; text-align:right;}
a#servizis{background:url(../img/servizis.jpg) no-repeat; color:#6699cc; text-decoration:none; padding-top:15px; height:32px; text-align:right;}
/*----------------SERVIZI------------------*/
/*----------------NETWORKING------------------*/
a#networking{background:url(../img/networking.jpg) no-repeat; color:#6699cc; text-decoration:none; padding-top:15px; height:32px; text-align:right;}
a#networking:hover{background:url(../img/networkings.jpg) no-repeat; color:#6699cc; text-decoration:none; padding-top:15px; height:32px; text-align:right;}
a#networkings{background:url(../img/networkings.jpg) no-repeat; color:#6699cc; text-decoration:none; padding-top:15px; height:32px; text-align:right;}
/*----------------NETWORKING------------------*/
/*----------------SYSTEM------------------*/
a#system{background:url(../img/system.jpg) no-repeat; color:#6699cc; text-decoration:none; padding-top:15px; height:32px; text-align:right;}
a#system:hover{background:url(../img/systems.jpg) no-repeat; color:#6699cc; text-decoration:none; padding-top:15px; height:32px; text-align:right;}
a#systems{background:url(../img/systems.jpg) no-repeat; color:#6699cc; text-decoration:none; padding-top:15px; height:32px; text-align:right;}
/*----------------SYSTEM------------------*/
/*----------------VOIP------------------*/
a#voip{background:url(../img/voip.jpg) no-repeat; color:#6699cc; text-decoration:none; padding-top:15px; height:32px; text-align:right;}
a#voip:hover{background:url(../img/voips.jpg) no-repeat; color:#6699cc; text-decoration:none; padding-top:15px; height:32px; text-align:right;}
a#voips{background:url(../img/voips.jpg) no-repeat; color:#6699cc; text-decoration:none; padding-top:15px; height:32px; text-align:right;}
/*----------------VOIP------------------*/


#nav li ul { /* second-level lists */
	position: absolute;
	background: #FFF;
	width: 144px;
	left: -999px; /* uso di left al posto di display per nascondere i menù perchè display: none non è letto dagli screen readers */
}

#nav li ul ul { /* third-and-above-level lists */
	margin: -1em 0 0 10em;
}

#nav li:hover ul ul, #nav li.sfhover ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}

#content {
	clear: left;
	color: #ccc;
}

a.men:link{color:#6699cc; text-decoration:none; padding-top:10px; height:18px; text-align:center; }
a.men:visited{color:#6699cc; text-decoration:none; padding-top:10px; height:18px; text-align:center; }
a.men:hover{color:#777; text-decoration:none; padding-top:10px; height:18px; text-align:center; } 
a.men:active{color:#6699cc; text-decoration:none; padding-top:10px; height:18px; text-align:center; }

a.men2:link{color:#6699cc; text-decoration:none; padding-top:5px; height:32px; text-align:center;}
a.men2:visited{color:#6699cc; text-decoration:none; padding-top:5px; height:32px; text-align:center;}
a.men2:hover{color:#777; text-decoration:none; padding-top:5px; height:32px; text-align:center;} 
a.men2:active{color:#6699cc; text-decoration:none; padding-top:5px; height:32px; text-align:center;}



#menu li:hover, #menu li.hover {position: static;}



