* {
	margin: 0;
	border: 0;
	padding: 0;
}

html, body {
	background: white;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	text-align: left;
	line-height: 1.5;
}

/* divs for layout */
#main {
	position: absolute;
	top: 105px;
	left: 195px;
	right: 0;
	padding-right: 15em;
	padding-bottom: 2em;
	color: #00004f;
}

#head {
	position: absolute;
	top: 0;
	left: 0;
	height: 80px;
	width: 100%;
	background-image: url("/img/head.jpg");
	background-repeat: no-repeat;
	background-position: 100px 0;
	background-color: #3b221b;
	border-bottom: solid black 1px;
}
#head img {
	margin-top: 10px;
	margin-left: 10px;
}

#bar {
	position: absolute;
	top: 81px;
	left: 0;
	width: 100%;
	height: 35px;
	background-image: url("/img/menubg.gif");
	background-position: top left;
	background-repeat: repeat-x;
}

#nav {
	position: absolute;
	top: 100px;
	left: 0;
	width: 178px;
	background: #f3f5ff;
	border-top: none;
	padding: 0;
}

#nav div.search {
	background: #283acf;
	padding-top: 2px;
}

#nav div.search input.box {
	width: 125px;
}

#nav div.search input.button {
	width: 26px;
}

/* Navigation formatting */
#nav ul {
	list-style: none;
	margin: 0;
	font-size: 12px;
}
#nav li {
	list-style: none;
	margin: 0;
}
#nav li a, #nav p.selected {
	display: block;
	width: 159px;
	border-style: solid;
	border-width: 1px 6px 1px 6px;
	padding: 4px 1px 4px 6px;
	background: #bfc7ff;
	text-decoration: none;
	color: #3f3f3f;
	font-weight: bold;
}
#nav a {
	border-color: white #283acf white #283acf;
}
#nav ul li .selected {
	border-color: white #e02f2f white #e02f2f;
	background: #3f60df;
	color: white;
}
#nav ul ul li a {
	border-color: white #7f7f7f white #7f7f7f;
	background: #bfbfbf;
}
#nav ul ul li .selected {
	border-color: white #bfbfbf white #bfbfbf;
	background: #7f7f7f;
}
#nav ul ul ul li a {
	border-color: #e8e8e8;
	font-weight: normal;
	background: white;
}
#nav ul ul ul li .selected {
	border-color: #e8e8e8, white, #e8e8e8, white;
	background: #e8e8e8;
	color: #3f3f3f;
	font-weight: normal;
}
#nav a:hover, #nav a.selected:hover {
	border-color: gold;
}

#nav p.notice {
	padding: 1em;
	padding-top: 5em;
	font-family: verdana;
	font-size: 80%;
	color: white;
	background: #283acf;
}

/* Other divs... */
div.sidebar {
	position: absolute;
	width: 12em;
	right: 0;
	top: 2em;
	background: #f3f5ff;
	border: solid 1px #0000af;
	padding: 0.5em;
}
#main div.sidebar * {
	font-size: 11px;
}
#main div.sidebar p {
	text-align: left;
	margin-bottom: 0;
}

div.sideimg {
	float: right;
	clear: right;
	margin: 1em;
	margin-right: -6em;
	padding: 0.5em;
	background: #dfdfdf;
}

div.box {
	margin-top: 1.5em;
	border: solid 1px #cfcfcf;
	padding: 0.8em;
	background: #f4f4f4;
}
#main div.box h1, #main div.box h2, #main div.box h3 {
	margin-top: 0;
}

div.caption {
	position: relative;
	padding: 0.5em;
	background: #dfdfdf;
}
#main div.caption p {
	margin: 0;
	padding: 0.5em;
	padding-bottom: 0;
	text-align: center;
}

.right {
	float: right;
	clear: right;
	margin-bottom: 10px;
	margin-left: 6px;
}

.left {
	float: left;
	clear: left;
	margin-bottom: 10px;
	margin-right: 6px;
}

hr {
	border: solid black 1px;
}

h1, h2, h3, h4, h5, h6 {
	margin-top: 1em;
	font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
}

h1 { font-size: 150%; }
h2 { font-size: 130%; }
h3 { font-size: 115%; }
h4 { font-size: 108%; }
h5 { font-size: 103%; }
h6 { font-size: 100%; }

ul, ol {
	margin-left: 1.5em;
}

li {
	margin-left: 1.5em;
}

#main ul li {
	list-style-type: disc;
}
#main ul ul li {
	list-style-type: square;
}
#main ul ul ul li {
	list-style-type: circle;
}
#main li {
	line-height: 1.6;
}

a {
	color: #6f00af;
}

a:visited {
	color: #5f5f5f;
}

a:hover {
	color: #7f7fff;
	background: #efefef;
}

a:active {
	color: #ff0000;
}

a.pdf {
	background: url(/img/pdf.png) top left no-repeat !important;
	padding-left: 30px !important;
}

blockquote {
	padding-left: 4em;
	padding-right: 4em;
}

td {
	vertical-align: top;
}

table.centre {
	margin-left: auto;
	margin-right: auto;
}
table.fancy {
	margin-top: 0.6em;
	border-collapse: collapse;
	text-align: left;
}
table.fancy td, table.fancy th {
	text-align: left;
	border-top: solid 1px #0000af;
	border-bottom: solid 1px #0000af;
	padding: 0.1em;
	padding-left: 0.6em;
	padding-right: 0.6em;
	background: #f3f5ff;
}
table.fancy tr.heading th {
	border-top: solid 2px #0000af;
	border-bottom: solid 2px #0000af;
	background: #dfe7ff;
}
table.twocol td, table.twocol th {
	width: 50%;
}
table.fourcol td, table.fourcol th {
	width: 25%;
}

/* login screen */
table.auth {
	background: #f3f5ff;
	border: solid 2px #0000af;
	padding: 2em;
	padding-bottom: 1em;
}
table.auth tr {
	vertical-align: middle;
}
table.auth td {
	font-weight: bold;
	padding: 0.5em;
}
table.auth input {
	border: ridge 2px #0000af;
	padding: 2px;
}

#main h1, #main h2 {
	color: #00006f;
}

#main p {
	text-align: justify;
	margin-top: 0.9em;
	margin-bottom: 0.6em;
}

p.location {
	margin-bottom: -0.5em;
	font-size: 90%;
	text-align: left;
}
p.location + h1 {
	margin-top: 0em;
}

input, textarea {
	margin: 0 0 0.4em 0.4em;
	border: solid #8f8f8f 1px;
	padding: 0.2em;
	font-family: Arial, Helvetica, sans-serif;
}

table {
	border-collapse: collapse;
	text-align: left;
}
td {
	padding-right: 1em;
}

tr.mark {
	background-color: #dfdfdf;
}

dt {
	font-weight: bold;
}
dd {
	margin-left: 5em;
}
