#tab_main {
	border: 1px solid #666;
	clear: both;
	background: #FFF3B3;
	padding-top: 2em;
}

#tab_contents {
	padding: 1.5em;
	background: #FFFDF3;
	min-height: 300px;
}

#tab_header {
	position: relative;
	width: 100%;
	height: 3em;
	width: 45em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#tab_header ul#tab_primary {
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: -1px;
	width: 45em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#tab_header ul#tab_primary li  {
	display: inline;
	list-style: none;
}

#tab_header ul#tab_primary a, #tab_header ul#tab_primary span, #tab_header ul#tab_primary a.tab_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;
}

#tab_header ul#tab_primary span, #tab_header ul#tab_primary a.tab_current, #tab_header ul#tab_primary a.tab_current:hover {
	border: 1px solid #666;
	border-bottom: none;
	background: #FFF3B3;
	padding-bottom: 6px;
	margin-top: 0;
}

#tab_header ul#tab_primary a {
	background: #FFFAE1;
	border: 1px solid #AAA;
	border-bottom: none;
}

#tab_header ul#tab_primary a:hover {
	margin-top: 0;
	border-color: #666;
	background: #FFF7CD;
	padding-bottom: 5px;
}

#tab_header ul#tab_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 */
}

#tab_header ul#tab_secondary li a, #tab_header ul#tab_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;

}

#tab_header ul#tab_secondary li a {
	color: #06C;
	text-decoration: underline;
}

#tab_header ul#tab_secondary li a:hover {
	color: #333;
	background: transparent;
	padding: 0 10px;
	border: none;
	border-right: 1px dotted #AAA;
}

#tab_header ul#tab_secondary li a:active {
	color: #000;
	background: transparent;
}

#tab_header ul#tab_secondary li:last-child a { border: none; }

.active-tab {
	display: inline-block;
	background-color: #fff;
	padding: 10px 10px 11px;
	cursor: pointer;
	margin-right: -5px;
	border: solid 1px black;
	border-bottom: none;
	width: 90px;
	text-align: center;
	font-weight: bold;
}
.inactive-tab {
	display: inline-block;
	background-color: #ccc;
	padding: 10px;
	cursor: pointer;
	margin-right: -5px;
	border: solid 1px black;
	width: 90px;
	text-align: center;
}

.reports-container {
	border: solid 1px black;
	background-color: #fff;
	margin-top: -1px;
}