/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-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.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magentocommerce.com for more information.
 *
 * @copyright  Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
 * @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */

#nav { padding:0 0px; z-index:998; float: left; margin-top:0; margin-left: -1px;  }

/************** ALL LEVELS  *************/ /* Style consistent throughout all nav levels */
#nav li {
	list-style:none;
	position:relative;
	text-align:left;
	width:235px;
	}
#nav li.over { z-index:99; }
#nav li.active { z-index:98; } /* 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; white-space:nowrap; }
#nav li ul span {white-space:normal; }

/************ 1ST LEVEL  ***************/
#nav li { /*float:left;*/ }
#nav li.active a { color:#206ea4; }
#nav a { /*float:left; padding:9px 33px 9px 25px ;*/ color:#222; /*font-weight:bold; */   }
#nav li.over a, #nav a:hover { color:#555; }


/************ 1ST LEVEL RESET ************/
#nav ul li, #nav ul li.active {
	float:none;
	margin:0;
	padding-right:3px;
	border-left:1px solid #404040;
    border-right:1px solid #404040;
	}
#nav ul li.over { background:none;  }
#nav ul li.last a {   padding-bottom:0; border-bottom: 0!important; }

	
#nav ul a, #nav ul a:hover {
	float:none;
	padding:0;
	background:none;
	color:#555;
	/*border-bottom: 1px dotted #ccc;*/
}
	
#nav ul li.last ul li a {  /*border-bottom: 1px dotted #ccc!important;*/ } /* per gli ul dentro i last */
 
 
#nav ul li a { font-weight:normal !important; }

.headnav { height: 4px; background:url(../images/menu_cat_head.gif) no-repeat top !important; border: 0!important; }
.footernav { height: 10px; background:url(../images/menu_cat_footer.gif) no-repeat bottom !important; border: 0!important; margin:0!important; }
*:first-child+html .footernav { display: none; height:0; } /*per IE7 */
/************ 2ND LEVEL ************/
#nav ul {
	position: absolute;
	width: 20em;
	top: 5px;
	left: -10000px;
	border-top: 1px solid #404040!important;
	padding: 0;
	background-color: #dce8cf;
	/*max-height: 400px;
	overflow: auto;*/
}

#nav ul { border-bottom:1px solid #404040; }
/* Show menu */
#nav li.over > ul { left:200px; }
#nav li.over > ul li.over > ul { left:130px; }
#nav li.over ul ul { left:-10000px; }


#nav ul li a { color:#000 !important;   }
#nav ul li a:hover { color:#555 !important;  }
#nav ul span, #ssnav ul li.last li span { padding:3px 15px 4px 15px;}
#nav ul li.over a { color: #fff; }
#nav ul li.over  li, #nav ul li.over  li a { }
#nav ul li.over  li a:hover { }

/************ 3RD+ LEVEL ************/
#nav ul ul { top:5px; }


/************ 2ND LEVEL ************/
ul#top-nav ul {
	z-index: 999;
	position: absolute;
	width: 12em;
	top: 172px;
	left: -10000px;
	padding: 0;
	background-color: #2d3b09;
}

ul#top-nav ul { border-bottom:1px solid #404040; }
/* Show menu */
ul#top-nav ul li {
	float:none;
	line-height:35px;
	background:none;
}
ul#top-nav li.over > ul { left:76px; }
ul#top-nav li.over > ul li.over > ul { left:20px; }
ul#top-nav li.over ul ul { left:-10000px; }


ul#top-nav ul li a { color:#fff !important;   }
ul#top-nav ul li a:hover { color:#000 !important; 
	background:#5d6e1f url("../images/nav-repeater.gif") left bottom repeat-x; }
ul#top-nav ul span, #ssnav ul li.last li span { padding:3px 15px 4px 15px;}
ul#top-nav ul li.over a { color: #fff; }
ul#top-nav ul li.over  li, #nav ul li.over  li a { }
ul#top-nav ul li.over  li a:hover { }

/************ 3RD+ LEVEL ************/
ul#top-nav ul ul { top:5px; }

