/**
 * 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:0px; font-size:1.1em; }

/************** ALL LEVELS  *************/ /* Style consistent throughout all nav levels */
#nav li { position:relative; text-align:center; display:block; text-transform:uppercase; background:#d7d7d7; margin-bottom:5px; }
#nav li.over { z-index:999; }
#nav a,
#nav a:hover { display:block; line-height:1.3em; text-decoration:none; font-style:italic; }
#nav a:hover { background:#898989; color:#FFFFFF;  }
#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 { color:white; background:black; }
#nav a { /*float:left;*/ padding:2px 8px 3px 8px; color:#010101; font-weight:bold; }
#nav li.over a,
#nav a:hover { background:#898989; color:#FFFFFF; }

/************ 1ST LEVEL ************/
#nav ul li,
#nav ul li.active { margin:0px; padding:0px; }
#nav ul li.last { background:#ecf3f6; }

#nav ul a,
#nav ul a:hover { float:none; padding:0; background:none; color:white; }
#nav ul li a { color:white; }

/************ 2ND LEVEL ************/
#nav ul { 
    position:absolute; 
    width:13em;
    top:0px;
    left:-10000px;
    padding:5px;
    background:url(../images/dropdown_bg.gif) repeat-x top left #6d6d6d;

    margin-left:150px;

    border:3px solid #898989;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    border-radius:3px;

    -webkit-box-shadow:2px 2px 3px rgba(0,0,0,0.60);
    -moz-box-shadow:2px 2px 3px rgba(0,0,0,0.60);
    box-shadow:2px 2px 3px rgba(0,0,0,0.60);
    }

/* 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 { background:#ecf3f6; }
#nav ul li a:hover { background:#d5e4eb; }
#nav ul li a,
#nav ul li a:hover { color:#2f2f2f; }
#nav ul span, #nav ul li.last li span { padding:2px 10px 3px 10px;}

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

/************ LEVELS FIX ************/
#nav ul.level0 { background:url(../images/dropdown_bg.gif) repeat-x top left #6d6d6d; padding:5px; }
#nav ul.level0 a { background:none; text-align:left; color:white; }
#nav ul.level0 a:hover { background:#c02d01; color:white; }
#nav ul.level0 span { background:none; width:130px; }
#nav ul.level0 li { text-transform:none; background:none; margin-bottom:0px; }

#nav ul.level1 { margin:-8px 0px 0px 160px; background:#9c9c9c; padding:5px; }
#nav ul.level1 a { color:white; }
#nav ul.level1 li { text-transform:none;  background:none; }