body {
	background-color: #dcdcdc;
	font: .83em/1.4 Verdana, Arial, Helvetica, sans-serif;
	color: #369;
}

p, ul, table {
	padding: 0;
	margin: 1em 0;
}

ul {
	padding-left: 10px;
	margin-left: 10px;
}

hr {
	border: none;
	color: #369;
	background-color: #369;
	height: 1px;
}

h1 {
	font-size: 1.36em;
	background-color: #066;
	color: #dcdcdc;
	padding: 6px;
	margin: 0;
	text-shadow: 1px 1px 1px #000;
}

h2 {
	font-size: 1.2em;
	line-height: 1.5em;
	color: #066;
}

h3 {
	font-size: 1.1em;
	line-height: 1.4em;
	color: #066;
}

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

img {
	border: none;
}

abbr {
	cursor: help;
	border-bottom: thin dotted;
}

#header {
	position: relative;
	width: 820px;
	text-align: center;
	margin: 0 0 10px 0;
	padding: 10px 0;
}
#header .logo {
	position: relative;
	margin-left: auto;
	margin-right: auto;
}

#wrapper {
	position: relative;
	width: 820px;
	margin: 0;
	padding: 0;
}

#content {
	margin-left: 165px;
}

/* IE bug fix; hide from mac \*/
* html #content { height: 1%; }
/* end hide */

#inner {
	width: 100%;
}

#menu {
	width: 150px;
	position: absolute;
	left: 0;
	top: 0;
}
#menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#menu li {
	border-bottom: 1px solid #999;
}
#menu li a:link, #menu li a:visited  {
	display: block;
	padding: 3px 3px 3px .5em;
	border-left: 12px solid #066;
	border-right: 1px solid #066;
	background-color: #369;
	color: #ffffff;
	text-decoration: none;
}
#menu li a:hover {
	background-color: #066;
	color: #fff;
}

#footer {
	position: relative;
	top: 10px;
	clear: both;
	width: 99%;
	height: 2em;
	font-size: 0.72em;
	color: white;
	background-color: #369;
	padding: 0 5px;
	margin-top: 10px;
}

#footer .leftfoot {
	float: left;
}
#footer .rightfoot {
	float: right;
}
#footer a {
	color: white;
}

.head {
	background-color: #066;
	font-weight: bold;
	color: #dcdcdc;
	padding: 2px 5px;
	text-shadow: 1px 1px 0 #333;
}

.box1 {
	padding: .6em;
	border: #639 outset 2px;
	border-radius: .6em;
	-moz-border-radius: .6em;
	-webkit-border-radius: .6em;
}

.small {
	font-size: 0.72em;
	line-height: 120%;
}

.caption {
	font-size: 0.76em;
	line-height: 120%;
}

.error {
	color: #c00;
}

.grey {
	color: #999;
}

.highlight {
	color: #006;
}

table.datatable {
	border: 2px ridge #9cf;
	border-collapse: collapse;
	width: 100%;
}
table.datatable td, .datatable th {
	border: 2px ridge #9cf;
	text-align: right;
	padding: 4px;
}
table.datatable th {
	text-align: left;
}

table.texttable {
	border: 2px ridge #9cf;
	border-collapse: collapse;
	width: 100%;
}
table.texttable td, .texttable th {
	border: 2px ridge #9cf;
	padding: 4px;
}
table.texttable th {
	text-align: left;
	font-weight: bold;
}
td.lparef {
	width: 10em;
}

/* home page only */

#main {
	position: relative;
	width: 70%;
	float: left;
	margin: 0;
	padding: 0;
}

#sidebar {
	position: relative;
	width: 28%;
	float: right;
	margin: 0;
	padding: 0;
}

.credits {
	list-style-type: none;
	padding-left: 0;
	margin-left: 0;
}

.ext-ref {
	background: url(images/extlink.png) no-repeat 100% 50%;
	padding-right: 13px;
}

.shadow {
	-moz-box-shadow: 3px 3px 3px #666;
	-webkit-box-shadow: 3px 3px 3px #666;
	box-shadow: 3px 3px 3px #666;
}

.spacer {
	margin-right: 10px;
}

.right {
	text-align: right;
}
.centre {
	text-align: center;
}
.right-pic {
	float: right;
}
