#main {
	border: 1px solid #666;
	clear: both;
	background:Silver;              /* bar under tabs */
	padding-top: 0em;
}

#contents {
	padding: 1.5em;
	background:Silver;              /* tab content background */
	min-height: 300px;
}

#header
{ 
    float: left;
    width: 100%;
    /*height: 3em;*/
    width: 65em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
    /*display: inline; */
}


#header ul#primary
{
    margin: 0;
    padding: 0;
    position: relative;
    bottom: -1px;
    width: 65em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
    /*display: inline; */
}


#header ul#primary li
{
    display: block;
    list-style: none;
    float: left;
}

#header ul#primary a,#header ul#primary span,#header ul#primary a.current {
	width: 10em;
	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:Black;
}

#header ul#primary span,#header ul#primary a.current,#header ul#primary a.current:hover {
	border: 1px solid #666;
	border-bottom: none;
	background:Silver;                  /* active tab */
	padding-bottom: 6px;
	margin-top: 0;
}

#header ul#primary a {
    background: gainsboro;              /* non active tab */
    border: 1px solid #AAA;
    border-bottom: none;
}

#header ul#primary a:hover {
	margin-top: 0;
	border-color: #666;
	background:White;                   /* hovering over tab */
	padding-bottom: 5px;
}