
/* barra di navigazione istituzionale  */

#header{position:relative;}
#menulayer { position:absolute; left:1px; top:182px; width:100%; height:28px; z-index:1; 
background: transparent; text-align: left;}
#menulayer ul { /*position:absolute; left:1px; top:182px; width:100%; height:28px; z-index:1; 
background: transparent; text-align: left;*/}
#home #menulayer {  }

#Layer1 { /*position:absolute; left:0px;   top:0; width:69px; height:21px; z-index:2;*/}
#Layer2 { /*position:absolute; left:69px; top:0;  width:69px; height:21px; z-index:2;*/}
#Layer3 { /*position:absolute; left:138px; top:0; width:69px; height:21px; z-index:2;*/}
#Layer4 { /*position:absolute; left:207px; top:0;width:69px; height:21px; z-index:2;*/}
#Layer5 { /*position:absolute; left:276px; top:0; width:69px; height:21px; z-index:2;*/}
#Layer6 { /*position:absolute; left:345px; top:0; width:69px; height:21px; z-index:2;*/}
#Layer7 { /*position:absolute; left:414px; top:0; width:69px; height:21px; z-index:2;*/}
#Layer8 {/*position:absolute; left:483px; top:0; width:69px; height:21px; z-index:2;*/}

.nav a	{ color: #446f79; margin: 0;}
.nav a:link, .nav a:visited { margin: 0;}
.nav a:hover, .nav a:active { text-decoration: none;margin: 0; }

#menulayer ul li { /*height:21px; */display: inline-block;
	zoom: 1; /* zoom and *display = ie7 hack for display:inline-block */
	*display: inline;
	float:left;
	vertical-align: baseline;
	margin: 0;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	font: 14px/100% Arial, Helvetica, sans-serif;
	padding: .4em 1.195em .44em;
	text-shadow: 0 1px 1px rgba(0,0,0,.3);
	-webkit-box-shadow: 0 3px 5px rgba(0,0,0,.2);
	-moz-box-shadow: 0 3px 5px rgba(0,0,0,.2);
	box-shadow: 0 3px 5px rgba(0,0,0,.2);
	list-style:none;
	list-style-image:none;
	}
	
.white {
	color: #606060;
	border: solid 1px #b7b7b7;
	background: #ededed;
	margin: 0;
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#dcdcdc));
	background: -moz-linear-gradient(top,  #fff,  #dcdcdc);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#dcdcdc');
	}
	
.white:hover {
	background: #fff;
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ededed));
	background: -moz-linear-gradient(top,  #fff,  #ededed);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ededed');
	}
	
.white:active {
	color: #999;
	background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#fff));
	background: -moz-linear-gradient(top,  #ededed,  #fff);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#ffffff');
}

.attivo a { color: #999;
	background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#fff));
	background: -moz-linear-gradient(top,  #ededed,  #fff);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#ffffff');
	}
	
/* red */
.red {
	color: #fff;
	border: solid 1px #980c10;
	background: #d81b21;
	background: -webkit-gradient(linear, left top, left bottom, from(#ed1c24), to(#aa1317));
	background: -moz-linear-gradient(top,  #ed1c24,  #aa1317);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#ed1c24', endColorstr='#aa1317');
		-webkit-border-bottom-right-radius: 15px;
		-moz-border-radius-bottomright: 5px;
		border-bottom-right-radius:15px;
}
.red:hover {
	background: #b61318;
	background: -webkit-gradient(linear, left top, left bottom, from(#c9151b), to(#a11115));
	background: -moz-linear-gradient(top,  #c9151b,  #a11115);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#c9151b', endColorstr='#a11115');
}
.red:active {
	color: #de898c;
	background: -webkit-gradient(linear, left top, left bottom, from(#aa1317), to(#ed1c24));
	background: -moz-linear-gradient(top,  #aa1317,  #ed1c24);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#aa1317', endColorstr='#ed1c24');
}

.red a	{ color: #fff;}

.attivo .red a { 
	color: #de898c;
	background: -webkit-gradient(linear, left top, left bottom, from(#aa1317), to(#ed1c24));
	background: -moz-linear-gradient(top,  #aa1317,  #ed1c24);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#aa1317', endColorstr='#ed1c24');
	}
