html, body, form {
	margin: 0;
	padding: 0;
}
body {
	padding-top: 130px;
}
table {
	border-collapse: collapse;
    border-spacing: 0;
	margin: 0 auto;
}
a {
	-moz-outline-style: none;
	outline: none;
}
#masthead {
	height: 80px;
	left: 0;
	line-height: 80px;
	margin: 0;
	padding: 0;
	position: absolute;
	text-align: center;
	top: 10px;
	vertical-align: middle;
	width: 100%;
	z-index: 10;
}
/*body > h1, body > h1 a, body > h1 a:hover {*/
#masthead a, #masthead a:hover {
	font-weight: normal;
	text-decoration: none;
}
.item h3:first-child {
	border-style: solid;
	border-width: 0 0 1px;
	color: #0f0;
	font-size: 12px;
	margin: 0 0 1em;
	padding: 0 0 .3em;
}
h4 {
	font-size: 12px;
	margin: 1em 0 0 0;
	padding: 0;
}
h5, h6 {
	font-size: 1em;
}
h6 {
	margin: 0 0 .2em 0;
	padding: 0;
}
#banner {
	border-style: none;
	margin: 0 auto;
}
a img {
	border-style: solid;
	border-width: 1px;
}
table {
	margin: 0 auto;
}
th {
	font-size: 14px;
	font-weight: bold;
	padding-bottom: 4px;
	text-align: left;
}
hr {
	border: none;
	clear: both;
	height: 1px;
	margin: 2px 0;
}
.smallText {
	font-size: 10px;
	font-weight: normal;
	vertical-align: text-top;
}
.instruction.mono {
	font: 13px/1 "Courier New", Courier, monospace;
}
p#msg {
	margin: 3em auto;
	width: 400px;
}
.center {
	text-align: center;
}
.right {
	text-align: right;
}
#timer {
	font-size: xx-small;
	left: 0;
	padding: 5px;
	position: absolute;
	top: 0;
	z-index: 99;
}
#noJs, #noJs td {
	color: #f00;
	font-weight: bold;
	border-style: none;
}


/* --- settingsNav --- */
#settingsNav {
	background-position: 100% 0;
	background-repeat: repeat-y;
	padding-right: 2em;
	vertical-align: top;
}
#settingsNav ul {
	margin: 0 1em 0 0;
	padding: 0;
}
#settingsNav li {
	line-height: 1.8em;
	list-style-type: none;
	margin-left: 0;
	padding-left: 0;
}



/* --- userCode --- */
#userCode {
	bottom: 10px;
	left: 10px;
	position: fixed;
	z-index: 1;
}
#userCode img {
	border: none;
}



/* --- credits, copyright --- */
#credits {
	font-size: 9px;
	text-align: center;
}



/* --- mainNav --- */
#mainNav {
	left: 0;
	line-height: 32px;
	position: absolute;
	top: 90px;
	width: 100%;
	z-index: 20;
}
#mainNav, #mainNav li ul, #mainNav li, #editNav {
	margin: 0;
	padding: 0;
	text-align: center;
}
#mainNav li, #mainNav a {
	text-decoration: none;
}
#mainNav li {
	display: inline;
}
#mainNav a {
	font-size: 12px;
	margin: 0;
	padding: 6px 10px;
	white-space: nowrap;
}
#mainNav a:focus {
	-moz-outline-style: none;
}
li#curMain a {
	font-weight: bold;
}



/* --- subNav --- */
#mainNav li ul {
	background-repeat: repeat-x;
	display: none;
	font-size: 10px;
	left: 0;
	height: 60px;
	line-height: 24px;
	padding-top: 12px;
	top: 24px;
	position: absolute;
	width: 100%;
	z-index: 0;
}
#mainNav li ul a {
	background-color: transparent;
	font-size: 11px;
	padding: 10px 6px 6px;
}
#mainNav li#curMain ul {
	border-bottom-width: 0;
	display: block;
}
#mainNav ul li {
	padding: 0 4px;
}
li#curMain li a {
	font-weight: normal;
}
li#curMain li#curSub a {
	font-weight: bold;
}
#mainNav li:hover ul {
	display: block;
	z-index: 9;
}



/* --- forms --- */
form {
    margin: 0 auto;
}
form td {
	vertical-align: top;
}
label {
    font-weight: bold;
    margin-right: .2em;
    vertical-align: top;
    white-space: nowrap;
}
input[type=radio] ~ label, label.smallText { /* label preceded by radio button */
	font-weight: normal;
}
.box label {
	display: block;
    float: none;
    font-weight: normal;
}
.instruction {
	display: block;
	font-size: 10px;
	margin-bottom: 6px;
}
input[disabled="disabled"] {
	color: #999;
}
input[disabled="disabled"].redText {
	color: #a55;
}


/* --- msg.php, item.php --- */
#msgBox {
	border: 1px solid #666;
	margin: 80px auto;
	padding: 10px 30px 30px;
	width: 300px;
}
#itemEdit a {
	color: #0c0;
	font-weight: bold;
}
