/**
 * The most stable Suckerfish evar. 
 */
.header-nav { padding:7px 0; } 

#nav ul {
    margin: 0 0;
    height: auto !important;
    height: 1%;
    padding-left: 0;
	list-style-type: none;
}

#nav ul:after {
    content: ".";
    display: block;
    visibility: hidden;
    height: 0;
    font-size: 1px;
    clear: both;		
}

#nav ul li {
    float: left;
    width: auto !important;
    width: 5px;
    white-space: nowrap;
}

#nav ul li a {	
	height: 40px;	
	text-decoration: none;
	display: block;
	line-height: 28px;
	padding: 0 10px;
	margin: 0 1px 0 0;	
}

#nav ul li a:hover {   
	text-decoration: none;
    display: block;	
}

#nav, #nav ul { /* all lists */
	list-style:none;
	width:100%;
}

#nav a {
	display:block;
	padding:7px 10px;
}

#nav li { /* all list items */
	float:left;
}

#nav li ul { /* second-level lists */
	position:absolute;
	left:-999em;
	width:150px;
	margin:0;
	z-index:1000;
}

#nav li ul li a {
	line-height:normal;
	width:129px;
	height:auto;
	white-space:normal;
	padding:7px 10px;
}

#nav li:hover ul, 
#nav li.sfhover ul { /* lists nested under hovered list items */
	left:auto;
}

#nav li ul ul { /* third-and-above-level lists */
	margin: -2em 0 0 130px;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}

#nav li ul ul ul ul {
	display:none;
}

/**
 * Sticking flyout menu bug
 */
#nav li:hover, #nav li.sfhover {  
    position: static;  
} 


/* Colors */
#nav a {
    color: #63308E;
    font-weight: bold;
    line-height: 1.3em;
    text-decoration:none;
}

#nav ul {
	border: 1px solid #B477EF;
}

#nav ul li, #nav ul li.active {

}

#nav ul li a, #nav ul li a:hover {
    color: #2F2F2F !important;
}

#nav ul li a {
    background: url("../images/nav_divider_sfj.gif") repeat-x scroll 0 100% #EBDCF9;
    font-weight: normal !important;
}

#nav ul li a:hover {
	background-color:#D9C2EF;
}

#nav ul li:last-child a {
	background-image:none;
}

/* Magento overrides */
#nav ul li { height: auto !important; }


