/* common styling */
/* set up the overall width of the menu div and the margins */
/* si imposta il layout globale contenente tutto il menu*/
.menu2 {
font-family: verdana, arial, sans-serif; 
width:477px; /*modificato per la lunghezza della linea nera*/
margin:0px;
position:relative;
z-index:1;
border-bottom:0px solid #0093D1;
margin-bottom:352px;



}


ul.verticale  {
position:absolute;
top:34px;
padding:0; 
list-style-type:none; 
background: #e5e5e5;
voice-family: "\"}\""; 
voice-family:inherit;
width:673px; 

}

html>ul.verticale  {
width:673px; 
}

.verticale li  {
margin-right:-2.5em;
margin-left:-2.5em;

float:left; 
display:block;
}

.verticale li  em {
font-size:1.7em; 
padding-top:1.0em;
padding.bottom:0.0em;
display:block; 
text-align:center; 
font-style:normal;
}

.verticale li  em.top {
font-style:bold;
color:#FF9900;
font-size:2.9em;
margin-top: -0.1em !important;
margin-top: 0;
}



/* positon the instructions usung a dl */
.menu2 dl {

font-family:verdana, arial, sans-serif;
font-size:2.2em;
position:absolute;
width:673px;
top:33px;
left:50px;

}
.menu2 dl dt {font-size:2.2em; margin-bottom:2em; font-weight:bold;}
.menu2 dl dd { padding:0; margin:2em; line-height:0.5em; margin-bottom:2em;}
.menu2 dl dd:first-letter {font-size:2.7em; font-weight:bold; color:#FF9900;}

/* remove the bullets and set the margin and padding to zero for the unordered list */
.menu2 ul {
top:-10px;
padding:0; 
margin:0;
list-style-type: none;
border:0;

}
/* float the list so that the items are in a line width per modificare la dimensione dei titoli*/
.menu2 ul li {
float:left;
width:158px;

}
/* style the links to be 50px wide by 31px high with a right border 1px solid white. Set the background color and the font size. width per modificare la dimensione dei titoli*/
/* si impagina tutto il menu delle foto*/
.menu2 ul li a, .menu2 ul li a:visited {
display:block; 
float:left;
text-align:center; 
text-decoration:none; 
width:158px; 
height:31px; 
color:#3F4545;
border-right:1px solid #0093D1;
border-bottom:1px solid #0093D1;

background:#333; 
line-height:30px; 
font-size:11px;
}

/* clear the float at the end of each line of four slides */
span.clr {display:block; clear:both; width:0; height:0; font-size:0; line-height:0;}

/* make the dropdown ul invisible */
.menu2 ul li ul {
display: none;
}

/* remove the table styling */
table {
border-collapse:collapse;
margin:0; 
padding:0;
}


/* specific to non IE browsers */
/* set the background and foreground color of the main menu li link on hover */
.menu2 ul li:hover a{
color:#ACB5BA; 
background:#333;
cursor:default;
}

/* make the sub menu ul visible and position it beneath the first list item */
.menu2 ul li:hover ul {
text-align:left;
display:block; 
position:absolute; 
top:31px; 
left:0;
}

/* make the sub menu ul li the full width with padding and border. */
.menu2 ul li:hover ul li {
cursor:pointer;
width:480px;
height:360px;
border:2px solid #333;
background:#ddd; 
color:#ACB5BA;
padding:2px 2px;
cursor:default;
}

/* style the background and foreground color of the submenu links */
.menu2 ul li:hover ul li a {
background:#333;
width:118px;
height:118px;
border:1px solid #ddd;
border-color:#888 #333 #333 #888;
}


/* keep the large image hidden */
.menu2 ul li:hover ul li a em {
display:none;
}
/* add a border to the horizontal slide and positon it centrally using a top margin */
.menu2 ul li:hover ul li a.horiz span img {
border:1px solid #888;
margin-top:21px;
}
/* add a border to the vertical slide and positon it centrally using a top margin */
.menu2 ul li:hover ul li a.vert span img {
border:1px solid #888;
margin-top:9px;
}

.menu2 ul li:hover ul li a:hover {
background:#333;
}


/* make the active links zero size so the active dotted border does not show through the large image */
.menu2 ul li:hover ul li a:active, .menu2 ul li:hover ul li a:focus {background:#aaa; height:0; width:0; border:0;}
.menu2 ul li:hover ul li a:active em, .menu2 ul li:hover ul li a:focus em {background:#bbb; height:0; width:0; padding:0; margin:0; border:0;}


/* make the large image visible and set the border, position them using position absolute centrally over the slides */
/* horizontal large image styling ADEGUARE I VALORI DELLE IMMAGINI GRANDI*/
.menu2 ul li:hover ul li a.horiz:active em, .menu2 ul li:hover ul li a.horiz:focus em {display:block; background:#000; position:absolute; left:0px; top:0px; width:493px; height:370px; z-index:200; z-index:500; cursor:default; border:1px solid #fff;}
.menu2 ul li:hover ul li a.horiz:active em img, .menu2 ul li:hover ul li a.horiz:focus em img {border:0;}
/* vertical large image styling */
.menu2 ul li:hover ul li a.vert:active em, .menu2 ul li:hover ul li a.vert:focus em {display:block; background:#000; position:absolute; left:0px; top:0px; width:493px; height:370px; z-index:200; z-index:500; cursor:default;  border:1px solid #fff;}
.menu2 ul li:hover ul li a.vert:active em img, .menu2 ul li:hover ul li a.vert:focus em img {border:0;}