
html { min-width: 850px; }

body, div, td, th, h2, h3, h4 { /* redundant rules for bad browsers  */
	font-family: Arial, Lucida Sans, Helvetica, "sans-serif";
	voice-family: "\"}\"";
	voice-family: inherit;
	font-size: 12pt;
	color: #333;
}

.clearhack { display: inline; } /*Clears Box Model Hack in IE5*/

body {
	background: #fff;
	color: #333;
	padding: 10px 10px 10px 10px;
	margin: 0;
	position-top:130px;
}

a {	color: #06C;
	text-decoration: underline;
}

a:hover {	color: #333;
		text-decoration: underline;
}

a:active { color: #000; }

p { line-height: 140%; }

p.note {
	background: #EEE;
	padding: 4px;
	font-family: Arial, Lucida Sans, Helvetica, "sans-serif";
	font-size: 85%;
	line-height: 130%;
	margin-top: 0;
}

#main {
	border: 1px solid darkblue; /* main frame border colour */
	clear: both;
	padding-top: 0em;
}

#contents {
//	position: absolute;
//	top: 300px;
	padding: 1.5em;
	background:white;
	min-height: 300px;
}


#header {
	position: absolute;
	width: 100%;
//	height: 40px;
	height: 0px;
 	width: 120em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#header ul#primary {
	margin: 0;
	padding: 0;
	position: absolute;
	bottom: 00px;
	width: 120em; /* 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: 100px;
	display: block;
	float: left;
	padding: 4px 0;
	margin: 1px 2px 0 0;
	text-align: center;
	font-family: Arial, Lucida Sans, Helvetica, "sans-serif";
	font-size: 90%; /* all tab font size */
	text-decoration: none;
	color: darkblue; /* unselected tab text colour */
	min-height: 125%;
}

#header ul#primary span,#header ul#primary a.current,#header ul#primary a.current:hover {
	border: 1px solid darkblue; /* selected tab border colour */
	border-bottom: none;
	color: white;				/* selected tab text colour */
	font-weight: bold;
	background: darkblue;	/* selected tab background colour */
	padding-bottom: 6px;
	margin-top: 0;
}

#header ul#primary a {
	border: 1px solid darkblue;	/* nonselected tab border colour */
	background: lightgrey;		/* nonselected tab background colour */
	border-bottom: none;
}

#header ul#primary a:hover {
	margin-top: 0;
	border-color: #FF0000;	/* hover tab border colour */
	background: lightblue ;	/* hover tab background colour */
	padding-bottom: 5px;
	color: red;
}

#header ul#secondary {
	position: absolute;
	margin: 0;
	padding: 0;
	bottom: -1.4em;
	left: 1px;
	width: 120em; /* 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 10px;
	margin: 0;
	text-align: auto;
	border: none;
	border-right: 1px dotted #AAA;
	background: none;
}

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

#header ul#secondary li a:hover {
	color: #333;
	background: transparent;
	padding: 0 10px;
	border: none;
	border-right: 1px dotted #AAA;
}

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

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