/**
 * 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; font-size:1.1em; position: relative; font: normal 10px Tahoma; text-transform: uppercase; }

/************** ALL LEVELS  *************/ /* Style consistent throughout all nav levels */
#nav li { text-align:left; }
#nav li.over { z-index:999; }
#nav a,
#nav a:hover { 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; border: 1px solid #217BB0; border-width: 0 0 0 1px; }
#nav li.last { border-right-width: 1px; }
#nav li.active a { color:#fff; }
#nav a { float:left; color:#fff; font-weight:bold; padding-left: 8px; }
#nav a span { float:left; padding: 8px 14px 7px 6px; color:#fff; font-weight:bold; }
#nav li:hover,
#nav li.over, 
#nav li.active { background-color: #2073a4; /*background-image: url(../images/nav-active-bg.gif);*/ background-repeat: no-repeat; background-position: 50% 100%; }
#nav li.over a,
#nav a:hover { color:#fff; }

#nav li.active a { background-image: url(../images/nav-active-item-left.gif); background-repeat: no-repeat; background-position: 0 0; }
#nav li.active a span { background-image: url(../images/nav-active-item-right.gif); background-repeat: no-repeat; background-position: 100% 0; }

/************ 1ST LEVEL ************/
#nav ul li { background: none !important; border-right-width: 0; }
#nav ul li,
#nav ul li.active { margin: 0; }
#nav ul li.last { border-right-width: 1px; }
#nav ul li.parent > a span { background-image: url(../images/nav-dropdown.gif) !important; background-repeat: no-repeat; background-position: 93% 51%; }

#nav ul a,
#nav ul a:hover { padding: 0; background-image: none !important; }
#nav ul a span { background-image: none !important; }
#nav ul li a { font-weight:normal !important; }

/************ 2ND LEVEL ************/
#nav ul { position:absolute; width: 950px; top:28px; left:-10000px; background: url(../images/nav-bg.png) repeat 0 0; border:1px solid #217BB0; border-left-width: 0; }

/* Show menu */
#nav li.over > ul { left: 0px; }
#nav li.over > ul li.over > ul { left: 0px; }
#nav li.over ul ul { left: -10000px; }

#nav ul li a span {  }
#nav ul li.over > a span,
#nav ul li a:hover span { background-color: #2073a4; }
#nav ul li a,
#nav ul li a:hover { color: #fff !important; }
#nav ul span, #nav ul li.last li span { padding: 8px 10px 7px 10px; }
#nav ul li.parent > a span { padding-right: 20px;}

/************ 3RD+ LEVEL ************/
#nav ul ul { top:28px; left: 0px; }

/*****/

#nav-sidebox a { font: 12px/26px Verdana, Geneva, Arial, Helvetica, sans-serif; color: #777; }
#nav-sidebox a:hover { color: #222; }
#nav-sidebox ul { padding-left: 15px; }
#nav-sidebox ul.level1 { display: none; }