/* This style sheet is intended to contain OFTEN CHANGED rules used when the Menu control adapter is enabled. */

/* When the Menu control's Orientation property is Vertical the adapter wraps the menu with DIV */
/* whose class is AspNet-Menu-Vertical. */
/* Note that the example menu in this web site uses relative positioning to force the menu to occupy */
/* a specific place in the web page.  Your web site will likely use a different technique to position your */
/* menu.  So feel free to change all the properties found in this CSS rule if you clone this style sheet. */
/* There is nothing, per se, that is magical about these particular property value choices.  They happen to */
/* work well for the sample page used to demonstrate an adapted menu. */
/* ho provato a modificare gli     z-index: 300; a 80 x non andare in conflitto con immagini lightbox */
.PrettyMenu .AspNet-Menu-Vertical
{
    position:relative;
    top: 10px;
    left: 0;
    z-index: 80;
}

/* The menu adapter renders an unordered list (ul) in HTML for each tier in the menu. */
/* So, effectively says: style all tiers in the menu this way... */
/* ITALIANO : è il carattere dei pulsanti di menu, width  la larghezza 
width: 130px;*/
.PrettyMenu ul.AspNet-Menu, 
.PrettyMenu ul.AspNet-Menu ul
{
    width: 120px;
    font-family: Tahoma;
    font-size: 13px;
}

/* This rule effectively says: style all tiers EXCEPT THE TOP TIER in the menu this way... */
/* In other words, this rule can be used to style the second and third tiers of the menu without impacting */
/* the topmost tier's appearance. USATO nella seconda e terza fila
left: 128px;*/
.PrettyMenu ul.AspNet-Menu ul
{
    left: 118px;
    top: 2px;
    background:#BEBEBE;
}

/* The menu adapter generates a list item (li) in HTML for each menu item. */
/* Use this rule create the common appearance of each menu item. */
/* ITALIANO : �è lo sfondo dei pulsanti di menu 
    margin:0 2px 1px 0; */
.PrettyMenu ul.AspNet-Menu li
{
    background: url(../images/bg-menu-bn.jpg) repeat-x;
    margin:0 1px 1px 1px;
}

/* Within each menu item is a link or a span, depending on whether or not the MenuItem has defined it's */
/* NavigateUrl property. By setting a transparent background image here you can effectively layer two images */
/* in each menu item.  One comes from the CSS rule (above) governing the li tag that each menu item has. */
/* The second image comes from this rule (below). */
/* #E7E7E7 = grigio #D2D2D2 = grigio + scuro 
    padding: 2px 2px 4px 6px;*/
.PrettyMenu ul.AspNet-Menu li a,
.PrettyMenu ul.AspNet-Menu li span
{
    color: black;
    padding: 4px 0px 5px 1px;
	 	 margin:0 0px 0px 0;
    border-top: solid 1px #E7E7E7;
    border-right: solid 1px #D2D2D2;
    border-bottom: solid 1px #D2D2D2;
    border-left: solid 1px #E7E7E7;
    background: transparent url(../images/arrow.png) right center no-repeat;
}

/* When a menu item contains no submenu items it is marked as a "leaf" and can be styled specially by this rule. */
.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Leaf a,
.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Leaf span
{
    background-image: none;
}

/* Not used presently.  This is here if you modify the menu adapter so it renders img tags, too. */
.PrettyMenu ul.AspNet-Menu li a img
{
    border-style: none;
    vertical-align: middle;
}

/* When you hover over a menu item, this rule comes into play. */
/* Browsers that do not support the CSS hover pseudo-class, use JavaScript to dynamically change the */
/* menu item's li tag so it has the AspNet-Menu-Hover class when the cursor is over that li tag. */
/* See MenuAdapter.js (in the JavaScript folder). 
    margin: 0 2px 1px 0;*/
.PrettyMenu ul.AspNet-Menu li:hover, 
.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Hover
{
	background: url(../images/bg/bg-menu-su.jpg) repeat-x;
    margin: 0 0px 0px 0;
   /*  background:#EDC9C9;*/

    padding: 1px 1px 1px 1px;
}

/* While you hover over a list item (li) you are also hovering over a link or span because */
/* the link or span covers the interior of the li.  So you can set some hover-related styles */
/* in the rule (above) for the li but set other hover-related styles in this (below) rule. */
.PrettyMenu ul.AspNet-Menu li a:hover,
.PrettyMenu ul.AspNet-Menu li span.Asp-Menu-Hover
{
    color:#000;
    background: transparent url(../images/arrow-active.png) right center no-repeat;
}

.PrettyMenu ul.AspNet-Menu li.AspNet-Menu-Leaf a:hover
{
    background-image: none;
}

/*  color: #CC0000 */
.PrettyMenu ul.AspNet-Menu li a:active
{
    text-decoration: none;
    color: #CC0000;
}

/* visited  color: #CC0000 */
.PrettyMenu ul.AspNet-Menu li a:visited
{
    text-decoration: none;
    color: #A60000;
}
/* ------------------------------------------------------------------------------------- */
/* When the Menu control's Orientation property is Horizontal the adapter wraps the menu with DIV */
/* whose class is AspNet-Menu-Horizontal. */
/* Note that the example menu in this web site uses absolute positioning to force the menu to occupy */
/* a specific place in the web page.  Your web site will likely use a different technique to position your */
/* menu.  So feel free to change all the properties found in this CSS rule if you clone this style sheet. */
/* There is nothing, per se, that is magical about these particular property value choices.  They happen to */
/* work well for the sample page used to demonstrate an adapted menu. */
/* ITALIANO */
/* Quando la proprietà di orientamento del controllo menu è orizzontale */
/* l'adattatore sposta il menu con DIV di cui la class è AspNet-Menu-Orizzontale.*/
/* Si noti che il menu di esempio in questo Web site usa posizione assoluta */
/* per forzare il menu a occupare un posto specifico nella Web page. */
/* Il vostro Web site probabilmente userà una tecnica differente per posizionare */
/* il vostro menu. Così siete liberi di cambiare tutte le proprietà */
/* trovate in questa regola CSS se clonate questo foglio di stile.  */
/* Non c'è nulla, di per sé, che sia magico circa queste scelte */
/* particolari di valore di proprietà. Sembrano funzionare x la pagina di esempio*/
/* era     top: 16px; */
/* era     width: 550px;     width: 876px; largh tot del menu*/
.PrettyMenu .AspNet-Menu-Horizontal
{
    position:relative;
    top: 0px;
    margin-right: auto;
    margin-left: auto;
    width: 950px;
    z-index: 80;
}

/* This rule controls the width of the top tier of the horizontal menu. */
/* BE SURE TO MAKE THIS WIDE ENOUGH to accomodate all of the top tier menu items that are lined */
/* up from left to right. In other words, this width needs to be the width of the individual */
/* top tier menu items multiplied by the number of items. */
/* ITALIANO */
/* Questa regola controlla la larghezza della fila superiore del menu orizzontale.*/
/* Siate sicuri di RENDERE QUESTO ABBASTANZA LARGO x sistemare tutte le voci */
/* di menu superiori della fila che sono allineate da sinistra a destra. */
/* Cioè questa larghezza deve essere la larghezza di diverse voci di menu superiori */
/* della fila moltiplicate per il numero di articoli. */
.PrettyMenu .AspNet-Menu-Horizontal ul.AspNet-Menu
{
    width: 950px;
}

/* This rule effectively says: style all tiers EXCEPT THE TOP TIER in the menu this way... */
/* In other words, this rule can be used to style the second and third tiers of the menu without impacting */
/* the topmost tier's appearance. */
/* Remember that only the topmost tier of the menu is horizontal.  The second and third tiers are vertical. */
/* So, they need a much smaller width than the top tier.  Effectively, the width specified here is simply */
/* the width of a single menu item in the second and their tiers. */
/* ITALIANO */
/* Questa regola dice efficacemente: designare tutte le file */
/* TRANNE LA FILA SUPERIORE nel menu questo senso… */
/* Cioè questa regola può essere usata per designare le seconde e terze file */
/* del menu senza avere effetto sull'apparenza della fila superiore. */
/* Ricordarsi di che soltanto la fila superiore del menu è orizzontale. */
/* Le seconde e terze file sono verticali. */
/* Così, hanno bisogno di larghezza molto più piccola che la fila superiore. */
/* la largh specificata qui è semplicem la largh di singola voce di menu nel 2°e nelle loro file 
width: 130px;*/
.PrettyMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul
{
    width: 120px;
    left: 4px;
    top: 1.6em;
}

/* Generally, you use this rule to set style properties that pertain to all menu items. */
/* One exception is the width set here.  We will override this width with a more specific rule (below) */
/* That sets the width for all menu items from the second tier downward in the menu. */
/* ITALIANO */
/* Generalmente, usate questa regola per regolare le proprietà di stile */
/* che appartengono a tutte le voci di menu.  */
/* Un'eccezione è la larghezza settata qui. */
/* Potremo sovrescrivere questa larghezza con una regola più specifica (sotto) */
/* Che setti la LARGHEZZA PER TUTTE LE VOCI DI MENU */
/* dalla seconda fila verso il basso nel menu. */
/* era x APA width:101px; con 8 menu e 950px allargo a 116*/
.PrettyMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li
{
    width:116px;
    text-align:left;
}

/* This rule can be used to set styles for the menu items in the 2°tier (and lower) in the menu. */
/* ITALIANO */
/* Questa regola può essere usata per regolare gli stili per le voci di menu */
/* nella seconda fila (ed successive) nel menu. */
.PrettyMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li li
{
    text-align:left;
}

/* This rule establishes the width of menu items below the top tier.  This allows the top tier menu items */
/* to be narrower, for example, than the sub-menu items. */
/* This value you set here should be slightly larger than the left margin value in the next rule. See */
/* its comment for more details. */
/* ITALIANO */
/* Questa regola stabilisce la larghezza delle voci di menu sotto la fila */
/* superiore. Ciò permette che le voci di menu superiori della fila siano */
/* più strette, per esempio, che gli articoli di sub-menu.  */
/* Questo valore che regolate qui dovrebbe essere un po'più grande */
/* del valore di sinistra del margine nella regola seguente. */
/* Vedere il relativo commento per più particolari 
width:130px;*/
.PrettyMenu .AspNet-Menu-Horizontal ul.AspNet-Menu ul li
{
    width:120px;
}

/* Third tier menus have to be positioned differently than second (or top) tier menu items because */
/* they drop to the side, not below, their parent menu item. This is done by setting the last margin */
/* value (which is equal to margin-left) to a value that is slightly smaller than the WIDTH of the */
/* menu item. So, if you modify the rule above, then you should modify this (below) rule, too. */
/* ITALIANO */
/* I terzi menu della fila devono essere posizionati diversamente dai secondi */
/* (o top) menu della fila perché cadono al lato, non sotto, */
/* la loro voce di menu del genitore. */
/* Ciò è fatta regolando l'ultimo valore del margine */
/* (che è uguale al margine sinistro) ad un valore che è un po'più piccolo */
/* della LARGHEZZA della voce di menu. */
/* Così, se modificate la regola qui sopra, quindi voi dovreste modificare */
/* anche questa (sotto) regola. 
margin: -1.8em 0 0 126px;*/
.PrettyMenu .AspNet-Menu-Horizontal ul.AspNet-Menu li ul li ul
{
    margin: -1.8em 0 0 116px;
}

/* ------------------------------------------------------------------- */
/* Specific to this sample web site. */
/* These rules are probably not useful in your site. */

#SampleMenu
{
    position:relative;
    width:640px;
    height:180px;
    border:3px solid #959595;
    padding:16px;
}

#SampleMenu #Sample-Content
{
    margin: 0 0 0 70px;
    width: 75%;
    height: 135px;
    overflow: hidden;
    position:absolute;
    left: 95px;
    top: 50px;
    font-family:Georgia, Serif;
    font-style:italic;
    color: Black;
    line-height:130%;
    font-size:1.1em;   
}

/* --------------------------------------------------------------------------------------------------- */
/* xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx */
/* -------------------------------------------------------------------------------- */
/* Used when the Menu adapter is NOT used. */
/* These styles are used by the Menu's skin, found in this theme's skin file. */

#SampleMenu .Menu-Skin-Horizontal
{
    position:absolute;
    left: 100px;
    top: 16px;
    margin: 0 0 0 50px;
    width: 500px;
    z-index: 80;
}

#SampleMenu .Menu-Skin-Vertical
{
    position:relative;
    top: 30px;
    left: 0px;
    z-index: 80;
}

#SampleMenu .Menu-Skin-StaticItem
{
    background:url(../images/bg-menu-bn.png) repeat-x;
    margin:0 2px 2px 0;
}

#SampleMenu .Menu-Skin-DynamicHover
{
    background-image:none;
}

