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

/************** ALL LEVELS  *************/ /* Style consistent throughout all nav levels */
#nav li { position:relative; text-align:left; }
#nav li.over { z-index:999; }
#nav a,
#nav a:hover { display:block; line-height:1.3em; text-decoration:none; }
#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:#d96708; }
#nav a { float:left; padding:5px 12px 6px 8px; color:#a7c6dd; font-weight:bold; }
#nav li.over a,
#nav a:hover { color:#d96708; }

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

/* 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 li a { background:#ecf3f6; }
#nav ul li a:hover { background:#d5e4eb; }
#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;}

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

#menu { 
	width: 100%;
	background:url(../images/images/menubg.jpg) repeat-x;
	/*background: #00A5A5;
	border-bottom: 0px #D0DADB solid;*/
	padding-left: 10px; 
}
/*#menu li a:hover {color:#fff; text-decoration:none; background:url(../images/images/menu-selected-bg.jpg) repeat-x;}*/
a .menu-left {background:url(../images/images/menu-active-left.jpg) no-repeat left top; width:7px; height:40px; float:left;}
a .menu-right {padding:0 30px;background:url(../images/images/menu-active-right.jpg) no-repeat right top;}

a:hover .menu-left {background:url(../images/images/menu-selected-left.jpg) no-repeat left top; width:7px; height:40px; float:left;}
a:hover .menu-right {padding:0 30px;background:url(../images/images/menu-selected-right.jpg) no-repeat right top;}

#menu  ul {
	display: block;
	margin: 0;
	padding: 0;
	line-height: 1em;
	list-style: none;
	z-index: 500;
}

#menu  ul li {
	display: block; 
	float: left;
	margin: 0 3px 0 0;
	padding: 0;
	font-size: 12px;
	line-height: 1, 5em;
	list-style-type: none;
}

#menu ul li a {
	 background:url(../images/images/menu-active-bg.jpg) repeat-x; text-align:center; line-height:40px; color:#FFF; font-weight:bold; text-decoration:none;  
	display: block;
	width: auto;
	font-weight: normal; 
	text-decoration: none;
	color: #fff;
	margin: 0;
	/*padding: 0.9em 0.8em 0.5em 1em; */
}

#menu  ul li a:hover {
	color:#fff; text-decoration:none; background:url(../images/images/menu-selected-bg.jpg) repeat-x; 
	text-decoration: none;
}

#menu  ul li.sep {
	color: white;
	padding: 0.8em 0em 0.5em 0em;
}

/* Commented Backslash Hack hides rule from IE5-Mac \*/
#menu  ul li a {
	float: none;
}

/* End IE5-Mac hack */
#menu  ul.level2, #menu ul.level3, #menu ul.level4 {
	position: absolute;
	top: 0px;
	left: 0px;
	visibility: hidden;
	border:1px solid #802991;
	 background:none; 
	 padding:0;
	 margin:0;
	/*border-left: 1px solid #fff;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	background: #802991; */
}

#menu  ul.level2 li {  
	border: 0;
	float: none;
	margin: 0;
	padding: 0;
	width: 200px;
	z-index: 9000;
}

#menu ul.level3 li{ 
	border: 0;
	float: none;
	margin: 0;
	padding: 0;
	width: 150px;
	z-index: 9000;
}

#menu ul.level4 li { 
	border: 0;
	float: none;
	margin: 0;
	padding: 0;
	width: 250px;
	z-index: 9000;
}

#menu  ul.level2 li a, #menu ul.level3 li a, #menu ul.level4 li a {
	/*padding: 5px 9px 5px 5px;*/
	line-height:25px; 
	height:25px; 
	padding-left:10px;
	text-align:left;
	background-image: none;
	background-color: #32c8e1;
}

#menu  ul.level2 li a:hover,#menu  ul.level3 li a:hover,#menu  ul.level4 li a:hover {
	font-weight: normal;
	text-align:left;
	line-height:25px; 
	padding-left:10px;
	background-color: #802991;
	background-image: none; height:25px; 
}
