/**
 * 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)
 */


/* Fix gaps */

#nav,
#nav-btm {
	margin-top: -5px;
	}

#nav-btm {
	margin-bottom: 15px;
	}

#nav {
	width: 193px;
	border-left: 1px solid #aaa;
	border-right: 1px solid #aaa;
	padding: 3px 0 7px 0;
	background: #fafafa url('../images/nav.bg.png') top left repeat-x;
	}

/************** ALL LEVELS  *************/ /* Style consistent throughout all nav levels */
#nav li {
	display: block;
	list-style-type: none;
	}
#nav li.over { z-index:99; }
#nav li.active { z-index:98; } /* to prevent the li separator from showing through on mouseover on li */
#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; }


/************ 1ST LEVEL  ***************/
#nav a { 
	padding: 6px 10px;
	font-weight: normal;
	font-size: 105%;
	}
/*#nav li.active a {
	font-weight: bold;
	}*/
#nav li.parent a {
	background: url('../images/nav.parent.png') 95% 50% no-repeat;
	}	
#nav li.over a, #nav a:hover { background: #9daee0; }


/************ 1ST LEVEL RESET ************/
#nav ul {
	padding: 4px 0;
	background: #fafafa url('../images/nav.bg2.png') top left repeat-x;
	}

#nav ul li, #nav ul li.active {
	float:none;
	margin:0;
	font-size: 95%;
	/*background:transparent url(../images/nav_divider.gif) repeat-x 0 100%;*/	
	}

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

/************ 2ND LEVEL ************/
#nav ul {
	position: absolute;
	width:15em;
	left:-10000px;
    border:1px solid #aaa;
	margin-top: -40px;
	background: #fafafa url('../images/nav.bg2.png') top left repeat-x;
	z-index: 100;
}

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

#nav li.over ul li a { background:transparent; color:#0a133d !important; }
#nav li.over ul li a:hover { background: #9daee0; color:#4454a0 !important; }
#nav ul span, #nav ul li.last li span { padding:2px 10px 3px 10px;}

/************ 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;
background:transparent;
filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0);
}
.debug {border:1px solid red!important;}

