/**
 * 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 0px; font-size:1em; z-index: 999; position: absolute; width: 951px}

/************** ALL LEVELS  *************/ /* Style consistent throughout all nav levels */
#nav  {}
#nav .over { z-index: 999; }
#nav a,
#nav a:hover { display:block; line-height:1.3em; text-decoration:none; width: 100%; }
#nav span {}

/************ 0 LEVEL  ***************/
#nav ul {float: right; height: 42px; z-index: 999}
#nav ul li {position: relative; float: left; background: url(../images/bg_top_nav_over.jpg) repeat-x 0 -42px; height: 100%; width: 87px; height: 37px; text-align: center; z-index: 999; padding: 5px 0 0 0; margin: 0 0 }
#nav a { color:#555; font-weight:bold; z-index: 999}
#nav ul li.active a { color:#111; z-index: 999}
#nav ul li.over a,
#nav ul li:hover a { color:#111; z-index: 1}
#nav ul li:hover,
#nav ul li.active { color:#111; background-position: 0 0; z-index: 999;}

/************ 1ST LEVEL ************/
#nav ul ul li,
#nav ul ul li.active {color: #CCC; width: 85px; border-top: 1px dashed #CCC; float:none; margin:0; padding-bottom:1px; background:url(../images/bg_top_nav_submenu.jpg) repeat-y}
#nav ul ul li.over { }
#nav ul ul li.last { padding-bottom:0; }

#nav ul ul li a:hover { color: #111; float:none; padding:0; background:none; }
#nav ul ul li a,
#nav ul ul li a.active { color: #CCC; font-weight:normal !important;}

/************ 2ND LEVEL ************/

#nav ul ul { position:absolute; top:36px; width: 85px; left:-10000px; border:1px solid #111; height: auto; border-top: 0px dashed #CCC }

#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 a:hover { }
#nav ul li a,
#nav ul li a:hover {  }
#nav ul span, #nav ul li.last li span { }

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

