/* Wrapper div */
.horizontal {
	float:right;
	margin:111px 62px 0 0;
}
.vertical {
}

/* All lists */
#nav, #nav ul { 
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	float:left;
	z-index:99;
}
.vertical #nav {
	width:100px;
}
	#nav li {
		float: left;
		width: 120px; /* width needed or else Opera goes nuts */
		position: relative;
		margin:0 0 0 0;
		z-index:99;
	}
	#nav li.selected {
	}
	#nav li.sublevels {
	}
		#nav a {
			text-decoration: none;
			height:27px;
			padding: 16px 0px 5px 0px;
			cursor: pointer;
			font-size:14px;
			display:block;
			color:#ddd;
			border-left: 1px solid #565656;
			text-align:center;
		}
		#nav li.selected a, #nav a:hover, #nav :hover > a, #nav ul :hover > a, #nav ul ul :hover > a {
				background: url(/images/nav_on.png) repeat-x;
				color: #FFFFFF;
			} 
			
/* Second-level lists */
			#nav li ul { 
				position: absolute;
				left: -999em;
				background:#363636;
			}
			/* margin top = height of top level link, margin left = width of top level link */
			.vertical #nav li ul {
				margin:-25px 0 0 180px;
			}
				#nav li ul li {
				}
				#nav li ul li.selected {
				}
					#nav li ul li a {
						background-image:none;
						background:#1b1b1b;
					}
					#nav li ul li.selected a {
					}
						#nav li ul li a:hover {
						background-image:none;
						}
						
/* Third level lists margin top should be height of link and margin left should be width of link*/					
						#nav li ul ul { 
							margin: -48px 0 0 120px;
							left: -999em; 
						}
								
/* Hover accomidates 4 levels */
#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul, #nav li.sfhover ul ul ul ul {
	left: -999em;
}
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul, #nav li li li li.sfhover ul {
	left: auto;
}
/* Support for the "iehover-fix.js" */
* html ul.nav iframe {
	position: absolute;
	/* account for a border with minus left and top */
	left: 0;
	top: 0;
	z-index: 0;
	filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0);
}
* html ul.nav li { z-index: 201; }