/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Open Software License (OSL 3.0)
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/osl-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/osl-3.0.php  Open Software License (OSL 3.0)
 */

#nav { 
    font: bold 1em Verdana, Geneva, Arial, Helvetica, sans-serif;
    z-index: 999; 
    float: left;
	margin-left:12px;
}

/************** 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; text-transform: uppercase; }
#nav a:hover, #nav li.over > a { color: #fff;}
#nav span { display:block; cursor:pointer; white-space:nowrap; }
#nav li ul span {white-space:normal; }

/************ 0 LEVEL  ***************/
#nav li { float:left; margin-right: 1px; }
#nav li.active a { color:#fff; }
#nav a { float:left; z-index: 2; color: #9f9f9f; font-weight:bold;/* background: url(../images/nav.gif) no-repeat 100% 100%;*/ }
#nav a span { padding: 16px 7px 14px 7px; background: url(../images/nav.gif) no-repeat 0 100%; font-size:12px; }
#nav li.first a span { background: none; }

#nav li a:hover,
#nav li.over > a { color:#fff; background: url(../images/nav.gif) no-repeat 100% 0; }
#nav li a:hover span,
#nav li.over > a span { background: url(../images/nav.gif) no-repeat 0 -46px; }

#nav li a.current { color:#fff; background: url(../images/nav.gif) no-repeat 100% 0; cursor:default; }
#nav li a.current span { background: url(../images/nav.gif) no-repeat 0 -46px;cursor:default; }

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

#nav ul a,
#nav li ul li.active > a,
#nav li ul li.over > a { float:none; padding:0; text-transform: none; background: #000 !important; }
#nav ul li a span,
#nav ul li a:hover span,
#nav li ul li.active > a span,
#nav li ul li.over > a span { background: none !important; }
#nav ul li a { font-weight:normal !important; background:#000; color:#9f9f9f; }

/************ 2ND LEVEL ************/
#nav ul { position:absolute; width:15em; top:46px; left:-10000px; border: 1px solid #444; }

/* 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 span, #nav ul li.last li span { padding:3px 15px 4px 15px;}

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