/**
 * 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.
 *
 * @copyright  Copyright (c) 2004-2007 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 { padding:0 20px; font-size:1.1em; z-index:999; color:#0A263C; background:#E5EAE9; clear:both; }

/************** ALL LEVELS  *************/
#nav li { list-style:none; position:relative; text-align:left; }
#nav li.over { z-index:99; }
#nav li.active { z-index:999; } /* to prevent the li separator from showing through on mouseover on li */
#nav a { border:0 none; line-height:1.3em; }
#nav a, #nav a:hover { display:block; text-decoration:none; }
#nav span { display:block; cursor:pointer; }

/************ 1ST LEVEL  ***************/
#nav li { float:left; }
#nav a { float:left; padding:5px 12px 6px 8px; font-weight:bold; }

/************ 1ST LEVEL RESET ************/
#nav ul li, #nav ul li.active { float:none; height:auto; background:none; margin:0; }
#nav ul a, #nav ul a:hover { float:none; padding:0; background:none; }
#nav ul li a { font-weight:normal !important; }

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

/* Show menu */
#nav li.over ul { left:0; }
#nav li.over ul ul { left:-10000px; }
#nav li.over ul li.over ul { left:100px; }

#nav ul li a { background:#E5EAE9; }
#nav ul li a:hover { background:#d5e4eb; }
#nav ul li a span { background:url(../../default/images/nav_divider.gif) repeat-x 0 100%; }
#nav ul li a, #nav ul li a:hover { color:#2f2f2f !important; }
#nav ul span, #nav ul li.last li span { padding:3px 15px 4px 15px;}
#nav ul li.last span { background:none; }

/************ 3RD+ LEVEL ************/
#nav ul ul { top:5px; }
#nav ul ul ul { left:-10000px; }
#nav li.over ul li.over ul ul { left:-10000px; }
#nav li.over ul li.over ul li.over ul { left:100px; }

/* Fix for the IE bug */
#nav iframe { position:absolute; left:-1px; top:0; z-index:-1; filter:progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0); }


/************ Sitewide Navigation ************/
#site-nav { list-style:none; position:absolute; top:150px; right:0; margin:0 0 0 100px; padding:0; font-size:110%; }
#site-nav li { float:left; margin:0 0 0 5px; padding:0 0 0 5px; 
    background:url("/img/decor/nav_left.gif") 0 0 no-repeat; }
#site-nav a { float:none; display:block; width:.1em; margin:0; padding:2px 5px 5px 0; border:0 none; 
    color:#13254A; background:url("/img/decor/nav_right.gif") 100% 0 no-repeat; text-decoration:none; 
    white-space:nowrap; }
#site-nav a:hover { color:#4D4D4D; }
#site-nav li > a { width:auto; }
#site-nav li ul { display:none; }
#site-nav li:hover ul { display:block; position:absolute; top:1.7em; left:0; list-style:none; 
    margin:0 10px 0 30px; padding:0; }
#site-nav li ul li { display:block; width:100%; float:none; margin:0 0 2px 0; padding:0; color:#fff; 
    background:#4D4D4D; }
#site-nav li ul a { width:100%; padding:2px 5px; color:#fff; background:#4D4D4D; font-weight:bold; 
	font-size:80%; text-transform:uppercase; text-decoration:none; letter-spacing:0.15em; }

/************** Active Navigation **************/
#site-nav li.active { background:url("/img/decor/nav_left_active.gif") 0 0 no-repeat; }
#site-nav .active a { background:url("/img/decor/nav_right_active.gif") 100% 0 no-repeat; }
