#main {
	clear: both;
	background: #89C6F3;
	padding-top: 2em; border:1px solid red;
}

#contents {
	padding: 1.5em;
	background: #FFF;
	min-height: 300px;
}

#header {
	position: relative;
	height: 3em;
	width: 620px; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */ 
	border-bottom:1px solid  #B2B2B2;

}

#header ul#primary {
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: -1px;left:10px;
	font-weight:bold;padding-left:10px;
font-size:14px;
text-align:center;
height:26px;width:100%;

 /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

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

#header ul#primary a,#header ul#primary span,#header ul#primary a.current {
	width: 6.5em;
	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: #000;
	background: #FFF;
}

#header ul#primary span,#header ul#primary a.current,#header ul#primary a.current:hover {

	border-bottom: none;
	background: #FFF;
	padding-bottom: 6px;
	margin-top: 0;
	border-top:1px solid #B2B2B2;
	border-right:1px solid #B2B2B2;
	border-left:1px solid #B2B2B2;
}

#header ul#primary a {
	background: #FFF;
	border-bottom: none;
}

#header ul#primary a:hover {
	margin-top: 0;
	border-color: #666;
	background: #89C6F3;
	padding-bottom: 5px;
	border-bottom:1px solid #89C6F3;
}

#header ul#secondary {
	position: absolute;
	margin: 0;
	padding: 0;
	bottom: -1.9em;
	left: 90px;
	width: 50em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

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

}

#header ul#secondary li a {
	color: #000;
	text-decoration: none;
}

#header ul#secondary li a:hover {
	color: #89C6F3;
	background: transparent;
	padding: 0 10px;
	border: none;
	border-right: 1px dotted #AAA;
}
#header ul#secondary li span {
	width: auto;
	display: block;
	float: left;
	padding: 0 10px;
	margin: 0;
	text-align: auto;
	border: none;
	background: none;
	color: #00A0F8;

}

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

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