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

/************** 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; }
#nav li.active a { text-decoration: underline; }
#nav li a { float:left; color:#d3ffac; background: url(../images/nav.png) repeat-x 0 0; }
#nav li.first a { background-position: 0 -77px; }
#nav > li:first-child a { background-position: 0 -77px; }
#nav li.last a { background-position: 100% -77px; }
#nav > li:last-child a { background-position: 100% -77px; }
#nav li a span { background: url(../images/nav.png) no-repeat 0 -156px; padding: 11px 13px 11px 16px; }
#nav > li:last-child a span,
#nav > li.last a span { padding-right: 20px; }
#nav li.first a span { background-image: none; }
#nav li:first-child a:hover,
#nav li a:hover,
#nav li.over a,
#nav li.active a { color: #fff; }
#nav li a:hover { text-decoration: none; background-position: 0 -38px; }
#nav li.over a,
#nav li.active a { text-decoration: none; background-position: 0 -38px; }
#nav li.first a:hover { background-position: 0 -116px; }
#nav li.first.over > a,
#nav li.first.active > a { background-position: 0 -116px; }
#nav > li:last-child a:hover { background-position: 100% -116px; }
#nav li.last a:hover { background-position: 100% -116px; }
#nav li.last.over > a,
#nav li.last.active > a { background-position: 100% -116px; }

/************ 1ST LEVEL ************/
#nav ul li,
#nav ul li.over,
#nav ul li.active { float:none; margin:0; padding: 0; background: #fff; border-bottom: none; }
#nav ul li.last {  }

#nav li.over ul li a,
#nav li.over ul li.over a,
#nav li.over ul li.active a { text-decoration: none; color: #3d3c3c; background:none; }
#nav ul a { float:none; padding:0; border: 1px solid #c6c6c6; border-width: 0 0 1px; background:none; color: #3d3c3c; }
#nav ul li.over > a { background-color: #efefef !important; color: #3d3c3c !important; }
#nav ul a:hover { background-color: #efefef !important; color: #3d3c3c !important; }
#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:36px; left:-10000px; }

/* Show menu */
#nav li.over > ul { left:0; }
#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;*/ background: none !important;}

/************ 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; }
