/*

Here's a demo stylesheet used to format a menu and its content.
Feel free to alter the menu layout however you want. All you have to do is ensure the script
has the correct CSS property name (like 'visibility' or 'display') that you want it to change.

One good resource for UL/LI formatting: http://www.alistapart.com/articles/taminglists/
Consult your favourite CSS reference for editing fonts/borders/etc.

Otherwise, even if you're not very experienced at CSS, you can just go through and change
the #RGB border/background colours where suitable to customise for your site!

*/



/* HORIZONTAL FREESTYLE MENU LAYOUT */


/* All <ul> tags in the menu including the first level */
.listaMenuOrizzontale, .listaMenuOrizzontale  ul {
 margin: 0;
 padding: 0;
 list-style: none;
}

/* Submenus (<ul> tags) are hidden and absolutely positioned downwards from their parent */
.listaMenuOrizzontale ul {
 visibility: hidden;
 position: absolute;
 top: 2.7em; /* I'm using ems rather than px to allow people to zoom their font */
 left: 0px;
 width: 160px;
}

/* Second and third etc. level submenus - position across from parent instead */
.listaMenuOrizzontale ul ul {
 top: 0px;
 left: 165px;
}

/*
 All menu items (<li> tags). 'float: left' lines them up horizontally, and they are
 positioned relatively to correctly offset submenus. Also, they have overlapping borders.
*/
.listaMenuOrizzontale li {
 float: left;
 position: relative;
 /*background: #999999;
 border: 1px solid #330;*/
 /*border-right: 1px solid #FFFFFF;*/
 margin-right: -1px;
}

/* Items in submenus - override float/border/margin from above, restoring default vertical style */
.listaMenuOrizzontale ul li {
 float: none;
 margin-right: 0;
 margin-bottom: -1px;
 text-align:left;
}
.listaMenuOrizzontale ul li:last-child {
 margin-bottom: 1px;
 background-color:#375d0c;
 border-right: none;
 color: #E3EC81;
 text-align:left;
}

/* Links inside the menu */
.listaMenuOrizzontale a {
	display: block;
	padding: 11px;
	color: #E3EC81;
	text-decoration: none;
	border-right: 1px solid #FFF;
}

/* Lit  items: 'hover' is mouseover, 'highlighted' are parent items to visible menus */
.listaMenuOrizzontale a:hover, .listaMenuOrizzontale a.highlighted:hover, .listaMenuOrizzontale a:focus {
	background-color:#A31903;
	color:#FFF;}
.listaMenuOrizzontale  a.highlighted {
	color: #2A327A;
	background-color: #E3EC81;
}

/*
 If you want per-item background images in your menu items, here's how to do it.
 1) Assign a unique ID tag to each link in your menu, like so: <a id="xyz" href="#">
 2) Copy and paste these next lines for each link you want to have an image:
    .listaMenuOrizzontale a#xyz {
      background-image: url(out.gif);
    }
    .listaMenuOrizzontale a#xyz:hover, .listaMenuOrizzontale a.highlighted#xyz, .listaMenuOrizzontale a:focus {
     background-image: url(over.gif);
    }
*/

/* Only style submenu indicators within submenus. */
.listaMenuOrizzontale a .subind {
 display:  none;
}
.listaMenuOrizzontale ul a .subind {
 display:  block;
 float: right;
}

/* 'Escaped Comment' hack for horizontal menubar width in IE5/Mac */
.listaMenuOrizzontale a {
 float: left;
}
.listaMenuOrizzontale ul a {
 float: none;
}
/* \*/
.listaMenuOrizzontale a {
 float: none;
}
/* */


/* This semi-commented section exists to fix bugs in IE/Windows (the 'Holly Hack'). \*/
* html .listaMenuOrizzontale  ul li {
 float: left;
 height: 16px;
}
* html .listaMenuOrizzontale  ul a {
 height: 16px;
}
/* End Hack */