/* ================================================================ 
This copyright notice must be kept untouched in the stylesheet at 
all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.stunicholls.com/menu/pro_pullup_1.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

#nav ul, #nav li {
	list-style-type: none;
	margin-bottom: 0;
	margin-left: 0;
	padding-left: 0;
}

/* top margin for this demo only */
#nav {
	padding: 0;
	margin: 0 0 0;
	list-style: none;
	height: 35px;
	position: relative;
	z-index: 500;
	font-family: arial, sans-serif;
	background-image: url(../img/delimeter.gif);
	background-repeat: no-repeat;
	background-position: top left;
}
#nav li.top {
	display: block;
	float: left;
	padding-top: 5px;
	background-image: url(../img/delimeter.gif);
	background-repeat: no-repeat;
	background-position: top right;
}
#nav li a.top_link {
	display: block;
	float: left;
	height: 35px;
	line-height: 25px;
	color: white;
	text-decoration: none;
	font-size: 13px;
	font-weight: bold;
	padding: 0 12px 0 12px;
	cursor: pointer;
}

#nav li a.top_link:hover {
	color: #fff;
	text-decoration: underline;
}

#nav li:hover > a.top_link {
	color: #fff;
}
#nav li:hover > a.top_link span {
	line-height: 25px;
}

/* Default list styling */
#nav li:hover {
	position: relative;
	z-index: 200;
	color: #4F423F;
}

/* keep the 'next' level invisible by placing it off screen. */
#nav ul, #nav li:hover ul ul, #nav li:hover ul li:hover ul ul, #nav li:hover ul li:hover ul li:hover ul ul, #nav li:hover ul li:hover ul li:hover ul li:hover ul ul {
	position: absolute;
	left: -9999px;
	top: -9999px;
	width: 0;
	height: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

#nav li:hover ul {
	left: 0;
	bottom: 40px;
	top: auto;
	background: #fff;
	padding: 3px;
	white-space: nowrap;
	width: auto;
	height: auto;
	z-index: 300;
}
* html #nav li:hover ul {
	width: 0;
}
#nav li:hover ul li {
	display: block;
	position: relative;
	float: left;
	font-weight: normal;
	background: #fff;
	clear: left;
}
#nav li:hover ul li a {
	display: block;
	font-size: 12px;
	height: 20px;
	line-height: 20px;
	padding: 0 5px;
	color: #4F423F;
	text-decoration: none;
}
#nav li ul li a.fly {
	color: #4f8383;
	font-weight: bold;
}
#nav li:hover ul li:hover {
	background: #fff;
}
#nav li:hover ul li a {
	font-weight: normal;
}
#nav li:hover ul li a:hover {
	text-decoration: underline;
	color: #4F423F;
	font-weight: normal;
}
#nav li:hover ul li a.fly:hover {
	background: #4f8383;
	color: #fff;
	text-decoration: none;
}
#nav li:hover ul li:hover.fly {
	background: #4f8383;
}

#nav li:hover ul li:hover.fly > a.fly {
	background: #4f8383;
	color: #fff;
	text-decoration: none;
}

#nav li:hover ul li:hover ul, #nav li:hover ul li:hover ul li:hover ul, #nav li:hover ul li:hover ul li:hover ul li:hover ul, #nav li:hover ul li:hover ul li:hover ul li:hover ul li:hover ul {
	left: -5px;
	margin-left: 100%;
	bottom: -4px;
	top: auto;
	background: #fff;
	padding: 3px;
	border: 1px solid #4f8383;
	white-space: nowrap;
	width: auto;
	z-index: 500;
	height: auto;
}
