/**
 * 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 {
	font-size:1.0em;
	z-index: 99999;
}

/************** ALL LEVELS  *************/ /* Style consistent throughout all nav levels */
#nav li { position:relative; text-align:left; }
#nav li.cart {	float: right; color: #b3b3b3;	}
	#nav li.cart a {	color: #fff; float: none; display: inline; padding: 0; text-transform: none;	}
	#nav li.cart a img {	vertical-align: middle;	}
	#nav li.cart a.cart {	margin-left: 10px;	}
#nav li.over { z-index:999; }
#nav a,
#nav a:hover { display:block; text-decoration:none; }
#nav span { display:block; cursor:pointer; white-space:nowrap; }
#nav li ul span {white-space:normal; }
#nav ul li.parent a { background:url(../images/i_nav-parent.gif) 96% -52px no-repeat; }
#nav ul li.parent a:hover { background-position: 96% 8px; }
#nav ul li.parent li a { background-image:none; }

/************ 0 LEVEL  ***************/
#nav li { float:left; }
#nav li.active a, body.cms-home #nav li.home a, body.cms-services #nav li.services a, body.cms-about-us #nav li.about a, body.cms-help #nav li.help a, body.cms-events #nav li.events a, body.cms-contact #nav li.contact a, body.cms-equipment #nav li.equipment a, body.cms-3d #nav li.3d a { color:#ccc; }
#nav a {
	float:left;
	padding:5px 12px 6px 8px;
	color:#FFFFFF;
	font-weight:bold;
	text-transform: uppercase;
}
#nav li.over a,
#nav a:hover { color:#ccc; }

#nav ul.level0 {
	padding-top: 8px;
	background: #F4F1E9 url(../images/menu-shadow.png) 0 0 repeat-x;
	z-index: 1000;
}

#nav li.level0, #nav li.home, #nav li.services, #nav li.about, #nav li.help {	background: transparent url(../images/menu-left.png) 0 0 no-repeat; padding-left: 15px; margin-right: 6px;	}
#nav li.level0 > a, #nav li.home a, #nav li.services a, #nav li.about a, #nav li.help a {	background: transparent url(../images/menu-right.png) 100% 0 no-repeat; padding:6px 15px 15px 0;	}

body.cms-home #nav li.home,
body.cms-services #nav li.services,
body.cms-about-us #nav li.about,
body.cms-help #nav li.help,
#nav li.level0.active, #nav li.level0.over {	background-image: url(../images/menu-active-left.png)	}
body.cms-home #nav li.home a,
body.cms-services #nav li.services a,
body.cms-about-us #nav li.about a,
body.cms-help #nav li.help a,
#nav li.level0.active > a, #nav li.level0.over > a {	background-image: url(../images/menu-active-right.png)	}

/************ 1ST LEVEL ************/
#nav ul li,
#nav ul li.active { float:none; margin:0; padding-bottom:1px; background:#F4F1E9; }
/*#nav ul li.over { background:#d5e4eb url(images/nav_divider.gif) repeat-x 0 100%; }*/
#nav ul li.last { background-color:#F4F1E9; padding-bottom: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: 39px; left:-10000px; border:1px solid #707070; }

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

#nav ul li a { background-color: #F4F1E9; }
#nav ul li a:hover { background-color:#fff; color: #333; }

#nav ul li a { color:#b82c0d !important; }
#nav ul li a:hover { color:#333 !important; }
#nav ul span, #nav ul li.last li span { padding:3px 15px 4px 15px; line-height: 1.91666666667em;}

/************ 3RD+ LEVEL ************/
#nav ul ul { top: -1px; width: 16em; }