/**
 * 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:3px 3px 0; font-size:1em; background:url(../images/nav.png) no-repeat; border-bottom:1px solid #fff; font-family:Arial, Helvetica, sans-serif; }

#nav ul ul { text-shadow:none; }

/************** ALL LEVELS  *************/ /* Style consistent throughout all nav levels */
#nav ul li { position:relative; text-align:left; }
#nav ul li.over { z-index:999; }
#nav ul a,
#nav ul a:hover { text-transform:uppercase; display:block; line-height:1.14em; text-decoration:none; }
#nav ul span { display:block; cursor:pointer; white-space:nowrap; }
#nav ul li ul span { white-space:normal; }

/************ 0 LEVEL  ***************/
#nav ul li { float:left; }
#nav ul li.active a { color:#083559; padding-left:3px; background:url(../images/nav_a_left.png) no-repeat left top; text-shadow:-1px -1px #fff; }
#nav ul li.active a span { padding-left:10px; background:url(../images/nav_a_right.png) no-repeat right top; }
#nav ul a { float:left; color:#fff; font-weight:bold; }
#nav ul li.over a,
#nav ul a:hover { color:#083559; padding-left:3px; background:url(../images/nav_a_left.png) no-repeat left top; text-shadow:-1px -1px #fff; }
#nav ul a span { display:block; padding:7px 13px 9px 13px; background:url(../images/vr.png) no-repeat right center; }
#nav ul li.over a span,
#nav ul a:hover span { padding-left:10px; background:url(../images/nav_a_right.png) no-repeat right top; position:relative; z-index:9999; }

/************ 1ST LEVEL ************/
#nav ul ul li,
#nav ul ul li.active { float:none; margin:0; padding:0 7px 1px; }
/*#nav ul li.over { background:#d5e4eb url(../images/nav_divider.gif) repeat-x 0 100%; }*/

#nav ul li.over ul a,
#nav ul ul a:hover { text-transform:none; float:none; padding:0; background:none; border-bottom:1px solid #eee; }
#nav ul li.over ul a span,
#nav ul ul a:hover span { padding:4px 5px; background:none; }
#nav ul li.over ul a span { color:#666; }
#nav ul li.over ul a span:hover { color:#083559; }
#nav ul ul li a { font-weight:normal !important; }
#nav ul ul li.last a { border-bottom:0; }

#nav ul li.over ul li.parent { background:url(../images/nav_arr.png) no-repeat 140px center; }
#nav ul li.over ul li.parent:hover { background:url(../images/nav_arr_over.png) no-repeat 140px center; }

/************ 2ND LEVEL ************/
#nav ul ul {position:absolute; width:19em; top:29px; left:-10000px; padding:2px 0 5px; background:url(../images/nav_bg.png) no-repeat left bottom; }
#nav ul li.nav-1 ul 
{ 
	position:absolute;
	width:19em;
	top:29px;
	height:315px;
	overflow:hidden;
	overflow-y:scroll;
	left:-10000px;
	padding:2px 0 5px;
	background:#fff ;
}
#nav ul li.nav-2 ul 
{ 
	position:absolute;
	width:19em;
	top:29px;
	height:315px;
	overflow:hidden;
	overflow-y:scroll;
	left:-10000px;
	padding:2px 0 5px;
	background:#fff ;
}

#nav ul li.nav-3 ul { width:156px;}

#nav ul li.nav-4 ul { width:156px;}

/* Show menu */
#nav ul li.over > ul { left:0; }
#nav ul li.over > ul li.over > ul { top:-2px; left:154px; background-position:0 bottom; width:13em; }
#nav ul li.over ul ul { left:-10000px; }

#nav ul ul li a { background:#ecf3f6; }
#nav ul ul li a:hover { color:#3C4C57; }
#nav ul ul li a,
#nav ul ul li a:hover { color:#2f2f2f !important; }
#nav ul ul span, #nav ul li.last li span { padding:4px 15px 4px 15px;}
#nav ul li.over > ul li.last.over > ul li a span { border-bottom:1px solid #eee; }
#nav ul li.over > ul li.last.over > ul li.last a span { border-bottom:0; }

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