#menu {
	position: relative;
	width: 100%;
	width: 80em;
}


#maintabs {
	width: 100%;
	height: 2em;
	/*width: 80em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#menu ul#maintabs {
	margin: 0;
	padding: 0;
	position: relative;
	width:100%;
	}

#menu ul#maintabs li  {
	display: inline;
	list-style: none;
}

#menu ul#maintabs a,#menu ul#maintabs span,#menu ul#maintabs a.current {
	display: block;
	float: left;
	padding: 4px 0;
	margin: 2px 2px 0 0;
	text-align: center;
	font-family: tahoma, verdana, sans-serif;
	font-size: 100%;
	color: #333;
	padding-left: 18px;
	padding-right: 18px;
	font-weight: bold;
}


#menu ul#maintabs span,#menu ul#maintabs a.current,#menu ul#maintabs a.current:hover {
	border-bottom: none;
	background: url(../images/maintabs/white.jpg);
	border-top: 1px solid #336699;
	border-right: 1px solid #336699;
	border-left: 1px solid #336699;
	margin-top: 1px;
}

#menu ul#maintabs a {
	background: url(../images/maintabs/right.gif) repeat-x;
	border: 1px solid #336699;
	margin-top: 0.1px;
}

#menu ul#maintabs a:hover {
	margin-top: 0px;
	border-color: #336699;
	background: url(../images/maintabs/white.jpg);
}

#menu ul#subtabs {
	position: absolute;
	width: 100%;
	top: 38px;
	right: 0px;
}

#menu ul#subtabs li a,#menu ul#subtabs li span {
	width: auto;
	display: block;
	float: left;
	padding: 0 10px;
	margin: 0;
	border: none;
	border-right: 1px dotted #AAA;
	background: none;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #003399;

}

#menu ul#subtabs li a {
	color: #333333;
	text-decoration: underline;
	font-weight: bold;
}

#menu ul#subtabs li a:hover {
	color: #003399;
	background: transparent;
	padding: 0 10px;
	border: none;
	border-right: 1px dotted #AAA;
	font-weight: bold;
}

#menu ul#subtabs li a:active {
	color: #000;
	background: transparent;
}

#menu ul#subtabs li:last-child a { border: none; }
