/**
 * 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 { font-size:1.1em; padding: 0; }

/************** ALL LEVELS  *************/ /* Style consistent throughout all nav levels */
#nav li { position:relative; text-align:left; }
#nav li.over { z-index:999; }
#nav a,
#nav a:hover { display:block; line-height:1.3em; text-decoration:none; }
#nav a:hover { background: url(../images/navigation-hover-bg.gif) repeat-x 0 0; }
#nav span { display:block; cursor:pointer; white-space:nowrap; }
#nav li ul span {white-space:normal; }

/************ 0 LEVEL  ***************/
#nav li { float:left; background: url(../images/navigation-div.gif) no-repeat 100% 50%; padding:0px 2px 0px 0px; }
#nav li.active > a { color:#cbcbcb; background: url(../images/navigation-hover-bg.gif) repeat-x 0 0; }

#nav a { float:left; padding:14px; color:#cbcbcb; font-weight:bold; }
#nav a:hover { color:#cbcbcb; }
#nav li.over > a { color: #cbcbcb; background: url(../images/navigation-hover-bg.gif) repeat-x 0 0; }

/************ 1ST LEVEL ************/
#nav ul li,
#nav ul li.active { float:none; margin:0; padding-bottom:1px; padding-right:0px; background:#262628 !important; }
#nav ul li.last { background:#444; padding-bottom: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 { position:absolute; width:15em; top:43px; left:-10000px; background:#262628; padding: 6px; }

/* Show menu */
#nav li.over > ul { left:0px; }
#nav li.over > ul li.over > ul { left:15em; }
#nav li.over ul ul { left:-10000px; }

#nav ul li.active > a,
#nav ul li a { background: url(../images/navigation-arrow.gif) no-repeat 97% 50% #515153; padding-right:15px; }

#nav ul li.over a,
#nav ul li a:hover { background: url(../images/navigation-hover-arrow.gif) no-repeat 97% 50% #ffffff; color:#fe9902; padding-right:15px; }
#nav ul li.over li a { background:#ffffff; color:#5c5c5c; }


#nav ul span,
#nav ul li.last li span { padding:3px 15px 4px 15px; }

/************ 3RD+ LEVEL ************/
#nav ul ul { top:-6px; padding:6px 6px 6px 1px; }
#nav ul ul a,
#nav ul ul a:hover { background:#ffffff; color:#5c5c5c; }

#nav li.no-arrow a { background-image:none !important; }

/*****/
#nav-sidebox { position:relative; margin:0px -9px 7px -9px; }
#nav-sidebox a { font: 12px/16px Verdana, Geneva, Arial, Helvetica, sans-serif; color: #4c4c4c; width:181px; }
#nav-sidebox a:hover { color: #4c4c4c; text-decoration:none; }
#nav-sidebox ul { padding-left: 20px; width:161px; background:url(../images/navigation-vertical-active-sub.gif) no-repeat 0 100%; }

#nav-sidebox li { background:none !important; padding:0px 0px 8px; *padding:0px 0px 5px; }
#nav-sidebox li a { float:left; text-transform:uppercase; position:relative; margin-top:-5px; padding:5px 0px 0px 0px; }
#nav-sidebox li a span { background: url(../images/navigation-bullet.gif) no-repeat 8px 0.3em; float:left; padding:0px 0px 5px 20px; with:161px; }

#nav-sidebox li.active ul.level0 { display:block; }
#nav-sidebox li.active a,
#nav-sidebox li.over a:hover { color:#ffffff; background:url(../images/navigation-vertical-active-top.gif) no-repeat 0 0; }
#nav-sidebox li.active a span,
#nav-sidebox li.over a:hover span { background: url(../images/navigation-vertical-active-bottom.gif) no-repeat 0 100%; width:161px; }
#nav-sidebox li a span { float:left; }

#nav-sidebox ul.level0 { display: none; float:left; padding-top:5px; padding-bottom:5px; }
#nav-sidebox ul.level0 li,
#nav-sidebox ul.level0 li a,
#nav-sidebox ul.level0 li a:hover,
#nav-sidebox ul.level0 li a span { color:#000000; background:none !important; }
#nav-sidebox ul.level0 li.active a { font-weight:bold; }
#nav-sidebox ul.level0 li { margin-bottom:0px; padding-bottom:0px; width:161px; }
#nav-sidebox ul.level0 li a { width:156px; }
#nav-sidebox ul.level0 li a:hover { font-weight:bold; }
#nav-sidebox ul.level0 li a span { cursor:pointer; width:auto !important; padding-left:0px; }

#nav-sidebox li li a { background:none; text-transform:none; }