#pad {
	height:inherit;
}
/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssmenus.co.uk
Copyright (c) 2009- Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
#menu {
	padding:0;
	margin:0;
	list-style:none;
	height:20px;
	position:relative;
	z-index:500;
	font-family:arial, verdana, sans-serif;
	overflow: visible;
	background-color: #009999;
}
#menu li {
	float:left;
	margin-right:0px;
}
#menu li a {
	display:block;
	float:left;
	height:20px;
	line-height:20px;
	background:#009999;
	color:#ccc;
	text-decoration:none;
	font-size:12px;
	font-weight:bold;
	padding:0 30px 0 20px;
}


#menu table {
	border-collapse:collapse;
	width:0;
	height:0px;
	position:fixed;
	top:0;
	left:0;
}

/* Default link styling */

/* Style the list OR link hover. Depends on which browser is used */

#menu li a:hover {
	z-index:inherit;
	position:relative;
	color:#fff;
	background-color:#009999;
}
#menu li:hover {
	position:static;
	z-index:inherit;
}

#menu li:hover > a {
	color:#fff;
	background:#009999;
}
#menu li:hover > a.sub {
	color:#fff;
	background-color:#009999;
}

#menu li.current a {
	color:#ccc;
	background:#009999;
}

#menu li a.sub {
	background: #00999 no-repeat right center;
}
#menu li.current a.sub {
	color:#ccc;
	background:#009999 no-repeat right center;
	;
}

#menu :hover ul {
	left:inherit;
	top:20px;
	width:160px;
	background:#009999;
}

/* keep the 'next' level invisible by placing it off screen. */
#menu ul, 
#menu :hover ul ul {
	position:absolute;
	left:-9999px;
	top:-9999px;
	width:auto;
	height:auto;
	margin:0;
	padding:0;
	list-style:none;
}

#menu :hover ul :hover ul
{
	left:auto;
	top:auto;
	background:#009999;
	white-space:nowrap;
	width:auto;
	z-index:200;
	height:auto;
}

#menu :hover ul li {
	margin:0;
	border-top:1px solid #ccc;
}
#menu :hover ul li a {
	width:160px;
	padding:0;
	text-indent:10px;
	background:#009999;
	color:#ccc;
	height:20px;
	line-height:20px;
}
#menu :hover ul li a.fly {
	background:#009999 url no-repeat right center;
}

#menu :hover ul :hover {
	background-color:#009999;
	color:#fff;
}
#menu :hover ul :hover a.fly {
	background-color:#009999;
	color:#fff;
}

#menu :hover ul li.currentsub a {
	background:#009999;
	color:#fff;
}
#menu :hover ul li.currentsub a.fly {
	background:#009999 url no-repeat right center;
	color:#fff;
}

#menu :hover ul :hover ul li a {
	width:160px;
	padding:0;
	text-indent:10px;
	background:#009999;
	color:#fff;
}
#menu :hover ul :hover ul :hover {
	background-color:#009999;
	color:#009999;
}

#menu :hover ul :hover ul li.currentfly a,
#menu :hover ul :hover ul li.currentfly a:hover {
	background:#009999;
	color:#009999;
}

