#main {
	border: 1px solid #666;
	clear: both;
	background: #404145;
	
}

#contents {
	padding: 1.5em;
	background: #FFFDF3;
	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#primary {
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: -1px;
	width: 100%; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#tabheader ul#primary li  {
	display: inline;
	list-style: none;
	letter-spacing:1px;
}

#tabheader ul#primary a,#tabheader ul#primary span,#tabheader ul#primary 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: 100%;
	text-decoration: none;
	color: #fff;
}

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

#tabheader ul#primary a {
	background: #666a6c;
	border: 1px solid #666a6c;
	border-bottom: none;
	color:#9fa2ad;
	
}

#tabheader ul#primary a:hover {
	margin-top: 0;
	border-color: #404145;
	background: #404145;
	padding-bottom: 6px;
}

#tabheader ul#secondary {
	position: absolute;
	margin: 0;
	padding: 0;
	font-size:90%;
	padding-top:7px;
	padding-bottom:9px;
	bottom: -2.7em;
	left: 1px;
	width: 779px; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
	background-color:#404145;
}

#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 #686a6e;
	background: none;

}

#tabheader ul#secondary li a {
	color: #bcbca6;
	text-decoration: none;
}

#tabheader ul#secondary li a:hover {
	color: #eeefc4;
	background: transparent;
	padding: 0 10px;
	border: none;
	text-decoration:underline;
	border-right: 1px dotted #bcbca6;
}

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

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