body {
	background-image: url("images/background.png");
	background-position: top;
	background-repeat: repeat-x;
	background-color: #005851;
	margin: 0px;
	font-family: Tahoma;
	
	/* these two cause a weird firebug background thing to show up */
	/*min-width: 500px;
	min-height: 400px;*/
}

.centered {
	text-align: center;
}

a {
	color: #008080;
	text-decoration: none;
	outline-width: 0;
}

a:hover {
	color: #00C0C0;
}

noscript {
	display: block;
	text-align: center;
	color: #FF0000;
	font-weight: bold;
	letter-spacing: 1px;
}

td, th, tr, table, tbody, thead, tfoot {
	font: inherit;
}

.errorMessage, .warning {
	color: #FF0000;
}

form {
	margin: 0;
}

/*p.top,
p:first-child {
	margin-top: 0;
}

p:last-child {
	margin-bottom: 0;
}*/

fieldset + fieldset {
	margin-top: 1em;
}

p.header {
	font-size: 1.2em;
	text-align: center;
	font-weight: bold;
}

.important {
	font-size: 1.2em;
}

.subheader {
	font-weight: bold;
}

#templates {
	display: none;
}

img#clickerScreenshot {
	display: block;
	border: 1px solid #C0C0C0;
	margin: auto;
}

textarea.wide {
	display: block;
	width: 100%;
}

table#navigationTable td.contentCell {
	background-image: none;
}

div#main {
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	padding: 20px;
	background-image: url("images/halfCross.png");
	background-position: top left;
	background-repeat: no-repeat;
	min-height: 135px;
}

a.backBar {
	font-size: .8em;
	position: absolute;
	text-decoration: none;
	margin-left: -1em;
	margin-top: -.5em;
}

table#navigationTable a {
	display: block;
	width: 100%;
	margin-bottom: .5em;
}
div.answer {
	padding-left: 2em;
	margin: .5em;
}

#timer {
	background-color: #FFFFFF;
	border: 1px solid #808080;
	letter-spacing: 5px;
	padding: 0.5em;
	position: fixed;
	right: 5px;
	top: 5px;
}

table.quizExample {
	border-collapse: collapse;
	border: 1px solid #C0C0C0;
}

table.quizExample th,
table.quizExample td {
	border: 1px solid #C0C0C0;
	padding: 3px;
}

table.quizExample th {
	background-color: #F8F8F8;
	white-space: nowrap;
}

table.quizExample td {
	padding-left: 1em;
	padding-right: 1em;
}


table.compactTable {
	width: 100%;
	border-collapse: collapse;
	background-color: #F0F0F0;
}

table.compactTable td,
table.compactTable th {
	font-size: 80%;
	text-align: left;
	border: 1px solid #A0A0A0;
	vertical-align: top;
}

table.compactTable th {
	font-weight: normal;
	background-color: #FFFFFF;
}

div#vAlerts {
	position: fixed;
	top: 0;
	width: 40%;
	right: 1em;
}

div.vAlert {
	position: relative;
	background-color: #FFFFFF;
	border: 1px solid #E00000;
	padding: 0.5em;
	color: #E00000;
}

div.vAlert div.vAlertRed {
	position: absolute;
	left: 0px;
	right: 0px;
	top: 0px;
	bottom: 0px;
	background-color: #FF0000;
	color: #FFFFFF;
	padding: 0.5em;
}










/* PearlBox */

.PearlBox {
	width: 100%;
	position: relative;
	background-image: url("images/contentBackground.png");
	background-position: top;
	background-repeat: repeat-x;
	background-color: #FFFFFF;
	padding: 10px;
}

.PearlBox div.PearlBoxTopLeft {
	position: absolute;
	height: 10px;
	width: 10px;
	left: 0px;
	top: 0px;
	background-image: url("images/square/topLeft.png");
}

.PearlBox div.PearlBoxTopMiddle {
	position: absolute;
	height: 10px;
	top: 0px;
	left: 10px;
	right: 10px;
	background-image: url("images/square/topMiddle.png");
}

.PearlBox div.PearlBoxTopRight {
	position: absolute;
	height: 10px;
	width: 10px;
	top: 0px;
	right: 0px;
	background-image: url("images/square/topRight.png");
}

.PearlBox div.PearlBoxMiddleLeft {
	position: absolute;
	width: 10px;
	top: 10px;
	left: 0px;
	bottom: 10px;
	background-image: url("images/square/middleLeft.png");
}

.PearlBox div.PearlBoxMiddleRight {
	position: absolute;
	width: 10px;
	top: 10px;
	right: 0px;
	bottom: 10px;
	background-image: url("images/square/middleRight.png");
}

.PearlBox div.PearlBoxBottomLeft {
	position: absolute;
	height: 10px;
	width: 10px;
	left: 0px;
	bottom: 0px;
	background-image: url("images/square/bottomLeft.png");
}

.PearlBox div.PearlBoxBottomMiddle {
	position: absolute;
	height: 10px;
	bottom: 0px;
	left: 10px;
	right: 10px;
	background-image: url("images/square/bottomMiddle.png");
}

.PearlBox div.PearlBoxBottomRight {
	position: absolute;
	height: 10px;
	width: 10px;
	right: 0px;
	bottom: 0px;
	background-image: url("images/square/bottomRight.png");
}

.PearlBox a.PearlBoxContents {
	display: block;
}

.PearlBox .PearlBoxContents {
	padding: 0.5em 0.5em 0 1em;
	background: url("images/cellBackgroundTopRight.png") top right no-repeat;
}

.PearlBox .PearlBoxContents.PearlBoxNoBackground {
	background: none;
}

/* End PearlBox */