/* ================================================================ 
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.cssplay.co.uk/menus/drop_line.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
.menu {
	position:relative;
	height:32px;
	padding-bottom:1px;
	background-color: #66CCFF;
	background-repeat: repeat-x;
	background-position: left bottom;
	z-index: 10;
	border-bottom-color: 0;
	margin-top: 10px;
	font-size: 100%;
}

* html .menu {
	padding-bottom:0;
}

.menu ul{
	list-style-type:none;
	padding:0;
	height:100%;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 10px;
}

.menu li{
	float:left;
}

.menu table{
	position:absolute;
	border-collapse:collapse;
	left:0;
	top:0;
}

.menu a, .menu :visited { /* main tab text color */
	color:#FFFFFF;
	text-decoration:none;
}
.menu a em.lft, .menu :visited em.lft {
	display:block;
	float:left;
	width:10px;
	height:33px; /* same height as tab image */
	background-color: transparent;
	background-image: url(../images/UP-L.gif);
	background-repeat: no-repeat;
	margin-left: 1px;
}
.menu a b, .menu :visited b {
	display:block;
	float:left;
	height:30px; /* height + top & bottom padding same height as tab image */
	cursor:pointer;
	background-color: transparent;
	background-image: url(../images/UP_span.gif);
	background-repeat: no-repeat;
	background-position: right top;
	padding-top: 3px;
	padding-right: 10px;
	padding-bottom: 0;
	padding-left: 2px;
	font-weight: normal;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
	float:left;
	position:relative;
	z-index: 1;
}
/* begin drop list definitions */
/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
	visibility:hidden;
	position:absolute;
	height:0;
	top:31px;
	left:-9px;
	_left:-8px;
}

/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0; border-collapse:collapse;;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
	color:#000;
	height:auto;
	line-height:1em;
	border-width:0 1px 1px 1px;
	padding-top: 5px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 10px;
}

/* */
/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul{
	visibility:visible;
}
.menu :hover {
	white-space:normal;
}

.menu a:hover b {
	color:#0033FF;
	border-bottom-color:#cccccc;
	background-color: transparent;
	background-image: url(../images/DN_span.gif);
	background-position: right top;
	background-repeat: no-repeat;
}
.menu a:hover em.lft {
	border-bottom-color:#cccccc;
	background-color: transparent;
	background-image: url(../images/DN_L.gif);
	background-repeat: no-repeat;
	height: 33px; /* same height as tab image */
}

.menu li:hover > a b /* this has the main tab hover text color */
{
	color:#666666;
	border-bottom-color:#cccccc;
	background-color: transparent;
	background-image: url(../images/DN_span.gif);
	background-repeat: no-repeat;
}
.menu li:hover > a em.lft {
	border-bottom-color:#cccccc;
	background-color: transparent;
	background-image: url(../images/DN_L.gif);
	background-repeat: no-repeat;
}
.menu ul li:hover ul,
.menu ul a:hover ul{
	display:block;
	visibility:visible;
	margin-top:1px;
}

.menu ul :hover ul li {
	display:block;
	height:2em;
	background-color: #84F7FE; /*  background color for drop down list */
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #66CCFF;
	border-right-color: #66CCFF;
	border-bottom-color: #66CCFF;
	border-left-color: #66CCFF;
}
.menu ul :hover ul li a {
	display:block; 
	font-size:0.8em; 
	line-height:2.5em; 
	width:150px; /* when this is auto, only the text has a background color, not the full list */
	float:left; 
	color:#666666; 
	padding:0 10px;
}

/* drop down list item hover style */
.menu ul :hover ul li a:hover {
	color:#333333;
	background-color: #66CCFF;
}
