/**
 * 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 7px; font: bold 1em Verdana, Geneva, Arial, Helvetica, sans-serif; color: #fff; }

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

/************ 0 LEVEL  ***************/
#nav li { float:left; margin-right: 4px; padding-left: 6px; background: url(../images/nav_div.gif) no-repeat 0 50%; }
#nav li.first { background-image: none; }
#nav li.active a { text-decoration: underline; }
#nav a { float:left; color:#fff; padding-left: 3px; background: url(../images/tab.gif) no-repeat 0 -100px; }
#nav a span { background: url(../images/tab.gif) no-repeat 100% -100px; padding: 15px 1px 12px 1px; }
#nav li a:hover,
#nav li.over > a,
#nav li.active > a { text-decoration: none; color: #3d3c3c; background-position: 0 100%; }
#nav li a:hover span,
#nav li.over > a span,
#nav li.active > a span { background-position: 100% 100%; }

/************ 1ST LEVEL ************/
#nav ul li,
#nav ul li.over,
#nav ul li.active { float:none; margin:0; padding: 0 0 0 2px; background: #fff url(../images/tab.gif) no-repeat 0 100%; border-bottom: none; }
#nav ul li.last {  }

#nav li.over ul li a { text-decoration: none; }
#nav ul a { float:none; padding:0; border: 1px solid #c6c6c6; border-width: 0 1px 1px 0; background:none; color: #3d3c3c; }
#nav ul li.over > a,
#nav ul a:hover { background-color: #efefef; }
#nav ul span { background-image: none; padding: 0; }
#nav ul li a { font-weight:normal !important; }

/************ 2ND LEVEL ************/
#nav ul { position:absolute; width:15em; top:42px; left:-10000px; }

/* Show menu */
#nav li.over > ul { left:6px; }
#nav li.over > ul li.over > ul { left:100px; }
#nav li.over ul ul { left:-10000px; }

#nav ul li a {  }
#nav ul li.over > a, #nav ul li a:hover {  }
#nav ul li a,
#nav ul li a:hover {  }
#nav ul span, #nav ul li.last li span { padding:3px 15px 4px 10px;}

/************ 3RD+ LEVEL ************/
#nav ul ul { top:5px; }
#nav ul ul li { background-image: none; padding: 0; }
#nav ul ul a { border-width: 1px 1px 0 1px; }
#nav ul ul li.last a { border-bottom-width: 1px; }