/**
 * 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 {
	width: 650px;
	float: right;
	text-align: right;
	padding:0;
	margin: 15px 0;
	font-size:1.2em;
	z-index:999;
	position: relative;
}
/************** ALL LEVELS  *************/ /* Style consistent throughout all nav levels */
#nav li {
	list-style:none;
	position:relative;
	text-align:left;
}
#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 li a, #nav li a:visited {
	display:block;
	color: #333;
	font-style: italic;
	line-height:1.3em;
	text-indent: -9999px;
	padding: 0 0 25px !important;
}
#nav li a:hover , #nav li.active a , #nav li.active a:visited {
	background:url(../images/active-link.gif) no-repeat center bottom;
	text-decoration:none;
}
#nav li li a:hover , #nav li.active li a , #nav li.active li a:visited {
	background-image: none;
	text-decoration:none;
}

#nav span {
	display:block;
	cursor:pointer;
	white-space:nowrap;
}
#nav li ul span {
	white-space:normal;
}
/************ 1ST LEVEL  ***************/
#nav li {
	float:left;
	background-position: 50% 0;
	background-repeat: no-repeat;
}
.nav-for-the-bedroom {
	background-image: url(../images/for-bedroom.gif);
	margin-left: 100px;
}
.nav-for-the-bedroom a, .nav-for-the-bedroom a:visited {
	width: 120px;
}
.nav-for-the-bath {
	background-image: url(../images/for-bath.gif);
}
.nav-for-the-bath a, .nav-for-the-bath a:visited {
	width: 100px;
}
.nav-for-the-table {
	background-image: url(../images/for-table.gif);
}
.nav-for-the-table a, .nav-for-the-table a:visited {
	width: 90px;
}
.nav-gift-certificates {
	background-image: url(../images/link-gift-card.gif);
}
.nav-gift-certificates a, .nav-gift-certificates a:visited {
	width: 110px;
}
.nav-sale {
	background-image: url(../images/link-sale.gif);
}
.nav-sale a, .nav-sale a:visited {
	width: 70px;
}
.nav-bridal-registry {
	background-image: url(../images/link-bridal-registry.gif);
}
.nav-bridal-registry a, .nav-bridal-registry a:visited {
	width: 130px;
}
.nav-shop-by-brand {
	background-image: url(../images/shop-by-brand.gif);
	position: absolute !Important;
	/*left: -160px;*/
	left: -200px;
	top: 0;
}
.nav-shop-by-brand a, .nav-shop-by-brand a:visited {
	width: 90px;
}
.nav-shop-by-brand a:hover {
	background-image: none !important;
	text-decoration:none !important;
}
.nav-shop-by-brand ul {
	display: block !important;
}
.nav-shop-by-brand ul a {
	width: auto !important;
	float: none !Important;
	line-height: 1em !important;
	text-indent: 0 !important;
}

#nav li.over a, #nav a:hover {
}
/************ 1ST LEVEL RESET ************/
#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;
	line-height:1em;
	font-size: 0.8em;
}
#nav ul li a {
	font-weight:normal !important;
}
/************ 2ND LEVEL ************/
#nav ul {
	display: none;
	position: absolute;
	width:15em;
	top:28px;
	left:-10000px;
	border:1px solid #899ba5;
	z-index: 999;
}
/* 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 {
}
#nav ul li a, #nav ul li a:visited {
	background:#d1e8d1 none !important;
	color:#000 !important;
	padding: 4px 5px !important;
	font-style: normal !Important;
}
#nav ul li a:hover {
	background:#fff !Important;
	color: #000 !Important;
}
#nav ul span, #nav ul li.last li span {
	padding:3px 15px 4px 15px;
}
/************ 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;
}

