#tabmain {
	border: 1px solid #666;
	clear: both;
	background: #84A6C6;
	padding-top: 2em;
}

#tabcontents {
	background: #FFFFFF;
	min-height: 300px;
}

#tabheader {
	position: relative;
	width: 100%;
	height: 3em;
	width: 45em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#tabheader ul#tabprimary {
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: -1px;
	width: 45em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#tabheader ul#tabprimary li  {
	display: inline;
	list-style: none;
}

#tabheader ul#tabprimary a,#tabheader ul#tabprimary span,#tabheader ul#tabprimary a.current {
	width: 8em;
	display: block;
	float: left;
	padding: 4px 0;
	margin: 1px 2px 0 0;
	text-align: center;
	font-family: tahoma, verdana, sans-serif;
	font-size: 85%;
	text-decoration: none;
	color: #333;
}

#tabheader ul#tabprimary span,#tabheader ul#tabprimary a.current,#tabheader ul#tabprimary a.current:hover {
	border: 1px solid #666;
	border-bottom: none;
	background: #84A6C6;
	padding-bottom: 6px;
	margin-top: 0;
}

#tabheader ul#tabprimary a {
	background: #C6D7E7;
	border: 1px solid #AAA;
	border-bottom: none;
}

#tabheader ul#tabprimary a:hover {
	margin-top: 0;
	border-color: #666;
	background: #ADC3DE;
	padding-bottom: 5px;
}

#tabheader ul#secondary {
	position: absolute;
	margin: 0;
	padding: 0;
	bottom: -1.4em;
	left: 1px;
	width: 50em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#tabheader ul#secondary li a,#tabheader ul#secondary li span {
	width: auto;
	display: block;
	float: left;
	padding: 0 10px;
	margin: 0;
	text-align: auto;
	border: none;
	border-right: 1px dotted #AAA;
	background: none;

}

#tabheader ul#secondary li a {
	color: #06C;
	text-decoration: underline;
}

#tabheader ul#secondary li a:hover {
	color: #333;
	background: transparent;
	padding: 0 10px;
	border: none;
	border-right: 1px dotted #AAA;
}

#tabheader ul#secondary li a:active {
	color: #000;
	background: transparent;
}

#tabheader ul#secondary li:last-child a { border: none; }