#tabmain {
	border: 1px solid #B410F8;
/*	clear: both;*/ /* wtr: removed this for FF */
	/*background: #FFF3B3;*/
	background: #FFF3A3;
	padding-top: 2em;
}

#tabcontents {
/*	padding: 1.5em;*/
/*  padding 1.5em 4px 1.5em 1.5em;*/
  padding: 8px;
	background: #FFFFFF; 
	min-height: 500px;
}

#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 2px;
	margin: 1px 2px 0 0;
	text-align: center;
	font-family: verdana, tahoma, sans-serif;
	font-size: 95%;
	text-decoration: none;
	/*color: #333;*/
	color: #000000;
}

#tabheader ul#tabprimary span,#tabheader ul#tabprimary a.current,#tabheader ul#tabprimary a.current:hover {
	border: 1px solid #B410F8;
	border-bottom: none;
	/*background: #FFF3B3;*/
	background: #FFF3A3;
	padding-bottom: 6px;
	margin-top: 0;
}

#tabheader ul#tabprimary a {
/*	background: #FFFAE1; */
	background: #FFFFFF;
	border: 1px solid #B410F8;
	border-bottom: none;
  color: #B410F8; /* overriding something else? */
}

#tabheader ul#tabprimary a:hover {
	margin-top: 0;
	border-color: #B410F8;
/*	background: #FFF7CD;*/
	background: #EFD20E;
	padding-bottom: 5px;
  color: #000000;
}

#tabheader ul#tabsecondary {
	position: absolute;
	margin: 0;
	padding: 0;
	bottom: -1.4em;
	left: 1px;
	width: 45em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#tabheader ul#tabsecondary li a,#tabheader ul#tabsecondary li span {
	width: auto;
	display: block;
	float: left;
	padding: 0 10px;
	margin: 0;
	text-align: auto;
	border: none;
	border-right: 1px dotted #B410F8;
	background: none;

}

#tabheader ul#tabsecondary li a {
	color: #FFF;
	text-decoration: underline;
}

#tabheader ul#tabsecondary li a:hover {
	color: #FFF;
	background: transparent;
	padding: 0 10px;
	border: none;
	border-right: 1px dotted #B410F8;
}

#tabheader ul#tabsecondary li a:active {
	color: #000;
	background: transparent;
}

#tabheader ul#tabsecondary li:last-child a { border: none; }
