/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/osl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magentocommerce.com so we can send you a copy immediately.
 *
 * @copyright  Copyright (c) 2004-2007 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
 * @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
 */

/**
 * Nextre: nuovo sviluppo del menu
 * 1° livello: verticale
 * dal 2° livello: orizzontale
 */

#nav {
	z-index:999;
	width:189px;
	font-family:Arial, Helvetica, sans-serif;
}


/************** ALL LEVELS  *************/ /* Style consistent throughout all nav levels */
#nav li {
	list-style:none;
	position:relative;
	text-align:left;
	padding:0;
	margin:0;
}

#nav li.over { z-index:99; }
#nav li.active { z-index:999; } /* to prevent the li separator from showing through on mouseover on li */
#nav a { 
	/*line-height:1.3em; */
}

#nav a, #nav a:hover { 
	display:block; 
	text-decoration:none; 
}
#nav span { display:block; cursor:pointer; }


/************ 1ST LEVEL  ***************/
#nav li { 
	/* float:left; */
	display:block;
	padding-top:5px;
	padding-bottom:5px;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #77b304;
}
#nav li.active a { color:#d96708; }
#nav a {
	float:left; 
	padding-left:17px;
	font-size:12px;
	font-weight:bold;
	color:#5f4100;
	display:block;
	background-image: url(../images/menu_catalogo/freccia_menu.gif);
	background-repeat: no-repeat;
	background-position: left center;
	/*
	height:20px;
	line-height:20px;
	*/
	vertical-align:middle;
}

#nav li.over a, #nav a:hover { 
	color:#ec4402; 
}

#nav li.selected {
	color:#fff;
	font-size:14px;
	font-weight:bold;
	padding-left:17px;
	border-top-color: #fff;
	background-color: #71af04;
}
#nav li.selected a {
	color:#fff;
	font-size:14px;
	font-weight:bold;
	background-image: none;
}


/************ 1ST LEVEL RESET ************/
#nav ul li, #nav ul li.active {
	float:none; 
	height:auto;
	background:none;
	margin:0;
	}
#nav ul a, #nav ul a:hover {
	/* float:none; */
	padding:0;
	background:none;
	}
#nav ul li a { font-weight:normal !important; }


/************ 2ND LEVEL ************/
#nav ul {
	visibility: hidden;
	display: none;
	
	position:relative;
	width:189px;
	top:0px;
	left: -100000000px;
    /*border:1px solid #899ba5;*/
}

/* Show menu */
#nav li.over ul {
	left:0;
	top: 0;
}

#nav li.over ul ul { 
	left:0px; 
}

#nav li.over ul li.over ul { 
	/*left:100px; */
}

#nav ul li a { 
	border:none !important;
	color:#5f4100 !important;
	display:block;
}

#nav ul li a:hover { 
	color:#ec4402 !important; 
}

/*#nav ul li a span { background:url(../images/nav_divider.gif) repeat-x 0 100%; }*/
/*#nav ul li a, #nav ul li a:hover { color:#2f2f2f !important; }*/
#nav ul span, #nav ul li.last li span { 
	padding-left:27px;
}

/*#nav ul li.last span { background:none; }*/

/************ 3RD+ LEVEL ************/

#nav ul ul { top:5px; }
#nav ul ul ul { left:-10000px; }
#nav li.over ul li.over ul ul { left:-10000px; }
#nav li.over ul li.over ul li.over ul { left:0px; }


/* Fix for the IE bug */

#nav iframe {
position: absolute;
left: -1px;
top: 0;
z-index: -1;
filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0);
}

#end_menu_catalogo {
	display:block;
	width:189px;
	height:114px;
	background-image: url(../images/menu_catalogo/bg_end.jpg);
	background-repeat: repeat-x;
	background-position: left top;
}

