#main { border: solid 0 #666; clear: both; background: #fff3b3 url(images/bkrnd.jpg) 1em 0; width: 57em; padding-top: 2em; padding-right: 1em; }

#contents { padding: 0.5em 1em 1em; background: #fff3b3 730px 0; width: 740px; min-height: 300px; }

#header {
	position: relative;
	width: 100%;
	height: 3em;
	width: 60em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#header ul#primary { margin: 0; padding: 0; position: relative; bottom: -14px; width: 65em; height: 28px; /* 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: 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;
}

#header ul#primary span,#header ul#primary a.current,#header ul#primary a.current:hover { background: #fff3b3; float: left; padding-bottom: 6px; margin-top: 0; border-style: solid solid none; border-width: 1px; border-top-color: #666; border-right-color: #666; border-left-color: #666; }

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

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

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

#header ul#secondary li a,#header ul#secondary li span { width: auto; display: block; float: left; padding: 0.5em 10px; margin: 0; text-align: center; background: #fff3b3; border-right: 1px dotted #aaa !important; border-top-style: none; border-bottom-style: none; border-left-style: none; }

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

#header ul#secondary li a:hover { color: #800000; background: #fff3b3; padding: 0.5em 10px; border-right: 1px dotted #aaa; border-top-style: none; border-bottom-style: none; border-left-style: none; }

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

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