/* - - - ADxMenu: BASIC styles - - - */

.menu {
    width: 10em;/* VERY IMPORTANT! Set this to appropriate value, either here on down in the design section */
}

.menu, .menu ul {   /* remove all list stylings */
    margin: 0;
    padding: 0;
    border: 0;
    list-style-type: none;
    display: block;
}

.menu li {
    margin: 0;
    padding: 0;
    border: 0;
    display: block;
    position: relative; /* position each LI, thus creating potential IE.win overlap problem */
    z-index: 5;     /* thus we need to apply explicit z-index here... */
}

.menu li:hover {
    z-index: 10000; /* ...and here. this makes sure active item is always above anything else in the menu */
    white-space: normal;/* required to resolve IE7 :hover bug (z-index above is ignored if this is not present)
                            see http://www.tanfa.co.uk/css/articles/pure-css-popups-bug.asp for other stuff that work */
}

.menu ul {
    visibility: hidden; /* initially hide all submenus. */
    position: absolute;
    z-index: 10;
    left: 0;    /* while hidden, always keep them at the top left corner, */
    top: 0;     /*      to avoid scrollbars as much as possible */
}

.menu li:hover>ul {
    visibility: visible;    /* display submenu them on hover */
    left: 100%; /* and move them to the right of the item */
}

/* -- float.clear --
    force containment of floated LIs inside of UL */
.menu:after, .menu ul:after {
    content: ".";
    height: 0;
    display: block;
    visibility: hidden;
    overflow: hidden;
    clear: both;
}
.menu, .menu ul {   /* IE7 float clear: */
    min-height: 0;
}
/* -- float.clear.END --  */

/* sticky submenu: it should not disappear when your mouse moves a bit outside the submenu
    YOU SHOULD NOT STYLE the background of the ".menu UL" or this feature may not work properly!
    if you do it, make sure you 110% know what you do */
.menu ul {
    background-image: url(immagini/empty.gif);   /* required for sticky to work in IE6 and IE7 - due to their (different) hover bugs */
    padding: 5px 20px 20px 20px;
    margin: -5px 0 0 -20px;
    /*background: #f00; */  /* uncomment this if you want to see the "safe" area.
                                you can also use to adjust the safe area to your requirement */
}

/* ************************ */
/* ***** MIE AGGIUNTE ***** */
/* ************************ */
/* posizionamento del menu */
ul.menu{
/*	position: relative;
    left: 250px;
    top: 5px;*/
    margin-left: 450px;
    padding-top: 5px;
    background: transparent;
    text-transform: uppercase;
}
/*livello esterno del menu */
ul.menu li{
    background: transparent;
    font-size: 14px;
    letter-spacing: 1px;
    color: blue;
    font-weight: bold;
    text-align: center;
    /* aggiungo la freccetta come sfondo e sposto il testo per farla stare */
    background-image: url(immagini/freccia.jpg);
    background-repeat: no-repeat;
    padding: 1px;
    padding-left: 18px; /*per una freccia di 18x18 px */
}
/* livello interno del menu */
ul.menu li ul li{
    background: #bbb;
    opacity: .9;
    border: 1px solid blue;
    border-top: 0px solid;
    text-align: left;
    font-size: 12px;
    padding-left: 1px; /*risistemo il padding ereditato inutilmente a causa delle
                        frecce del livello precedente */
}
ul.menu li ul li a:hover,
ul.menu li a:hover{
    background: blue;
    color: #bbb;
    text-decoration: none;
}

ul.menu li ul li:first-child{
    border-top: 1px solid blue;
}
ul.menu li ul li a{
    padding: 4px;
}
ul.menu a{
    text-decoration: none;
    display: block; 
    padding: 2px;
}
ul.menu a:visited{
    color: blue;
}
/* allineo a mano il primo livello del menu' in modo da creare la curva
	analoga a quella dello sfondo e per sistemare la larghezza di ogniuno*/
ul li#firstLine{
    left: 50px;
    width: 70px;
    }
ul li#secondLine{
    left: 40px; 
    width: 70px;
}
ul li#thirdLine{
    left: 25px; 
    width: 110px;
}
ul li#lastLine{
    left: 0px; 
    width: 80px;
}
