#main {
	background: #FFF;
	padding-top: 2em;
	font-size:0.85em;
}

#contents {
	padding: 15px 3px;
	background: #FFF;
	min-height: 325px;
}

#tabs {
	position: relative;
	width: 100%;
	height: 3em;
}

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

#tabs ul#primary li  {
	display: inline;
	list-style: none;
}

#tabs ul#primary a,#tabs ul#primary span,#tabs ul#primary a.current {
	width: 9.5em;
	display: block;
	float: left;
	padding: 4px 0;
	margin: 1px 2px 0 0;
	text-align: center;
	font-family: sans-serif;
	font-size: 0.9em;
	text-decoration: none;
	color: #000;
}

#tabs ul#primary span,#tabs ul#primary a.current,#tabs ul#primary a.current:hover {
	border: 1px solid #666;
	border-bottom: none;
	background: #00467b;
	padding-bottom: 6px;
	margin-top: 0;
	color:#fff;
}

#tabs ul#primary a {
	background: #e2eaf1;
	border: 1px solid #AAA;
	border-bottom: none;
}

#tabs ul#primary a:hover {
	margin-top: 0;
	border-color: #666;
	background: #00467b;
	padding-bottom: 5px;
	color:#fff;
}

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

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

}

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

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

#tabs ul#secondary li a:active,#tabs ul#secondary li span {
	color: #555;
	background: transparent;
}

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