html, body {
  height: 100%;
  width: 100%;
  margin: 0px;
  padding: 0px;
}

iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: none;
	margin: 0;
	padding: 0;
}

table {
	border-collapse: collapse;
  padding: 0px;
  margin: 0px;
  border: 0px;
}

tr {
  padding: 0px;
  margin: 0px;
  border: 0px;
}

td {
  padding: 0px;
  margin: 0px;
  border: 0px;
}

th {
  padding: 0px;
  margin: 0px;
  border: 0px;
}

body {
	font-family: sans-serif; 
	font-size: small;
	background: #fff;
	color: #000;
	border:0px;
}

#page {
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
  position: relative;
  width: 960px;
}

.mainBorder {
	height: 100%;
}

#contentContainer {
	vertical-align: top;
	height: 100%;
	margin-left:10px;
	margin-right:10px;
}

div.sideBar {
	margin-left: 5px;
	overflow-x: hidden;
}

#contentSplitter {
  background-image: url(images/webbrain_x_repeats.png);
  background-repeat: repeat-x;
  background-position: 0px -190px;
}

#sideBarSplitter {
  background-image: url(images/webbrain_y_repeats.png);
  background-repeat: repeat-y;
  background-position: -65px 0px;
}

.whiteLink a {
	color: #FFF;
}

clearFloat {
	clear: both;
}

#greyBar {
	margin: 0px;
	padding: 0px;
  height: 38px;
	top: 0px;
	left: 0px;
	width: 100%;
	position: absolute;
  background-image: url(images/menubar_background.png);
  background-repeat: repeat-x;
}

#footer, #footer a {
	font-size: 10px;
	color: #666666;
  text-decoration: none;
  outline: none;
}

#footer a:hover {
	color: #000;
}

#nav, #nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

#nav a {
  text-decoration: none;
  outline: none;
}

#nav span.menuText {
  display: inline-block;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 13px;
  cursor: default;
  cursor: pointer;
  color: #666666;
  height: 25px;
}

#nav a.menuLink:hover span.menuText:hover {
  color: #000;
}

#nav li {
  display: inline-block;
  *display: inline; /* fix for < ie8 */
  padding-left: 0.4em;
  padding-right: 0.4em;
  border-left: 1px solid #000;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
}

#nav li:hover {
  background-image:url(images/menubar_background_hover.png);
  color: #000;
}

/*
  Grey Box
*/

table.greyBox {
  color: #FFF;
}

table thead.greyBox th.left {
	background-image: url(images/webbrain_sprites.png);
	background-repeat: no-repeat;
	background-position: -22px 0px;
	width: 10px;
	height: 30px;
}

table thead.greyBox th.middle {
  background-image: url(images/webbrain_x_repeats.png);
  background-repeat: repeat-x;
  background-position: 0px -64px;
  height: 30px;
}

table thead.greyBox th.right {
  background-image: url(images/webbrain_sprites.png);
  background-repeat: no-repeat;
  background-position: -33px 0px;
  width: 10px;
  height: 30px;
}

table tbody.greyBox td.left {
  background-image: url(images/webbrain_y_repeats.png);
  background-repeat: repeat-y;
  background-position: -22px 0px;
  width: 10px;
}

table tbody.greyBox td.middle {
  background-color: #ccc;
}

table tbody.greyBox td.right {
  background-image: url(images/webbrain_y_repeats.png);
  background-repeat: repeat-y;
  background-position: -33px 0px;
  width: 10px;
}

table tfoot.greyBox td.left {
	font-size: 1px;
  background-image: url(images/webbrain_sprites.png);
  background-repeat: no-repeat;
  background-position: -22px -31px;
  width: 10px;
  height: 8px;
}

table tfoot.greyBox td.middle {
	font-size: 1px;
  background-image: url(images/webbrain_x_repeats.png);
  background-repeat: repeat-x;
  background-position: 0px -64px;
  height: 8px;
}

table tfoot.greyBox td.right {
	font-size: 1px;
  background-image: url(images/webbrain_sprites.png);
  background-repeat: no-repeat;
  background-position: -33px -31px;
  width: 10px;
  height: 8px;
}

/*
  Blue Box
*/

table.blueBox {
  color: #FFF;
}

table thead.blueBox th.left {
  background-image: url(images/webbrain_sprites.png);
  background-repeat: no-repeat;
  background-position: -44px 0px;
  width: 10px;
  height: 30px;
}

table thead.blueBox th.middle {
  background-image: url(images/webbrain_x_repeats.png);
  background-repeat: repeat-x;
  background-position: 0px -128px;
  height: 30px;
}

table thead.blueBox th.right {
  background-image: url(images/webbrain_sprites.png);
  background-repeat: no-repeat;
  background-position: -55px 0px;
  width: 10px;
  height: 30px;
}

table tbody.blueBox td.left {
  background-image: url(images/webbrain_y_repeats.png);
  background-repeat: repeat-y;
  background-position: -44px 0px;
  width: 10px;
}

table tbody.blueBox td.middle {
  background-color: #D9E8EF;
}

table tbody.blueBox td.right {
  background-image: url(images/webbrain_y_repeats.png);
  background-repeat: repeat-y;
  background-position: -55px 0px;
  width: 10px;
}

table tfoot.blueBox td.left {
  font-size: 1px;
  background-image: url(images/webbrain_sprites.png);
  background-repeat: no-repeat;
  background-position: -44px -31px;
  width: 10px;
  height: 8px;
}

table tfoot.blueBox td.middle {
  font-size: 1px;
  background-image: url(images/webbrain_x_repeats.png);
  background-repeat: repeat-x;
  background-position: 0px -159px;
  height: 8px;
}

table tfoot.blueBox td.right {
  font-size: 1px;
  background-image: url(images/webbrain_sprites.png);
  background-repeat: no-repeat;
  background-position: -55px -31px;
  width: 10px;
  height: 8px;
}

/*
  White Box
*/

table.whiteBox {
  color: #000;
  font-size: 0px;
}

table thead.whiteBox th.left {
  background-image: url(images/webbrain_sprites.png);
  background-repeat: no-repeat;
  background-position: 0px -40px;
  width: 10px;
  height: 10px;
}

table thead.whiteBox th.middle {
  background-image: url(images/webbrain_x_repeats.png);
  background-repeat: repeat-x;
  background-position: 0px 0px;
  height: 10px;
}

table thead.whiteBox th.right {
  background-image: url(images/webbrain_sprites.png);
  background-repeat: no-repeat;
  background-position: -11px -40px;
  width: 10px;
  height: 10px;
}

table tbody.whiteBox td.left {
  background-image: url(images/webbrain_y_repeats.png);
  background-repeat: repeat-y;
  background-position: 0px 0px;
  width: 10px;
}

table tbody.whiteBox td.middle {
  background-color: #fff;
}

table tbody.whiteBox td.right {
  background-image: url(images/webbrain_y_repeats.png);
  background-repeat: repeat-y;
  background-position: -11px 0px;
  width: 10px;
}

table tfoot.whiteBox td.left {
  font-size: 1px;
  background-image: url(images/webbrain_sprites.png);
  background-repeat: no-repeat;
  background-position: 0px -31px;
  width: 10px;
  height: 8px;
}

table tfoot.whiteBox td.middle {
  font-size: 1px;
  background-image: url(images/webbrain_x_repeats.png);
  background-repeat: repeat-x;
  background-position: 0px -55px;
  height: 8px;
}

table tfoot.whiteBox td.right {
  font-size: 1px;
  background-image: url(images/webbrain_sprites.png);
  background-repeat: no-repeat;
  background-position: -10px -31px;
  width: 10px;
  height: 8px;
}

fieldset {
	border:1px solid #888;
	padding: 10px;
}
legend {
	color: #000;
	padding: 5px;
  border:1px solid #888;
}

/* Admin data tables */
.adminTable {
	border: 1px solid #FFF;
	
}

.adminTable thead th {
	border: 1px solid #555;
  background-color: #CCC;
  color: #000;
  border-style: inset;
}

.adminTable th.wicket_orderUp {
  background-color: #999;
  color: #000;
}

.adminTable th.wicket_orderDown {
  background-color: #999;
  color: #000;
}

.adminTable td {
	border: 1px solid #555;
	border-style: inset;
}

div.wicket-modal {
  font-family: sans-serif; 
  font-size: small;
  color: #000;
}

.solidBackground {
	background: #222;
}
.box1 {
	background: #bbb;
	color: #000;
	border: 1px solid #fff;
}
.frame1 {
	border: 2px solid #fff;
}
.frame2 {
	border: 1px solid #fff;
}
.info {
	color: #aaa;
	font-size: x-small;
}
.vspace {
	height: 10px;
}
.commandLink {
	padding: 5px;
	margin: 10px;
	border: 1px solid #008;
	background: #FFF;
}
.contentDiv {
	background: #fff;
	color: #000;
	margin: 4px;
	font-size: x-small;
}
a {
	text-decoration: none;
	font-weight: bold;
	color: #003399;
}
a:hover {
	text-decoration: underline;
}
p {
	margin-top: 8px;
	margin-bottom: 8px;
}
img {
  border-width: 0px;
}
form {
	padding: 0px;
	margin: 0px;
	border: 0px;
}
.commentHeader {
	margin-top: 1px;
	padding: 1px 1px 0px 1px;
	height: 16px;
	background: #ddd;
	color: #444;
	font-size: x-small;
	border-top: 1px solid #000;
	border-left: 1px solid #000;
	border-right: 1px solid #000;
}
.comment {
	padding: 4px;
	margin: 0px;
	border: 0px;
	font-family: sans-serif;
	font-size: small; 
	border-left: 1px solid #000;
	border-right: 1px solid #000;
	border-bottom: 1px solid #000;
	/*	white-space: pre; */
}
.commentsTable {
	width: 100%;
}
.title {
	font-weight: bold;
	font-size: large;
}
.subtitle {
	font-weight: bold;
	font-size: medium;
}
.subtitle2 {
	font-weight: bold;
	font-size: small;
}
.setTitle {
	font-weight: bold;
	font-size: medium;
	margin: 0px;
}
.searchBar {
	font-size: medium;
	font-weight: bold;
	margin: 0px;
	padding: 3px;
}
.setSubtitle {
	font-size: x-small;
}
.heading {
	font-weight: bold;
	font-size: small;
	background-color: #ddd;
}
.notes {
	padding: 10px;
}
.betaNotice {
	font-size: x-small;
	color: #a00;
}
.legalNotice {
	font-size: x-small;
}
.brainThumbnail {
	border: 1px solid #888;
}
.contentImage {
	float: left;
	margin: 0px;
	margin-right: 5px;
	padding: 0px;
  /* prevent IE from cutting off the bottom of the pictures */
  padding-bottom:2px;
}
.emptyRule {
  height: 1px;
  font-size: 1px;
  margin-bottom: 10px;
  clear:both;
}
/*
columns
*/

.leftWide {
  float: left;
  width: 69%;
  margin-bottom:10px;
}

.rightNarrow {
  float: right;
  width: 29%;
  margin-bottom:10px;
}

.leftWide2 {
  float: left;
  width: 59%;
  margin-bottom:10px;
}

.rightNarrow2 {
  float: right;
  width: 39%;
  margin-bottom:10px;
}

.rightWide {
  float: right;
  width: 69%;
  margin-bottom:10px;
}

.leftNarrow {
  float: left;
  width: 29%;
  margin-bottom:10px;
}

.leftHalf {
  float: left;
  width: 48.5%;
  margin-bottom:10px;
}

.rightHalf {
  float: right;
  width: 48.5%;
  margin-bottom:10px;
}

.leftVWide {
  float: left;
  width: 85%;
  margin-bottom:10px;
}

.rightVNarrow {
  float: right;
  width: 14%;
  margin-bottom:10px;
}

.rightVWide {
  float: right;
  width: 85%;
  margin-bottom:10px;
}

.leftVNarrow {
  float: left;
  width: 14%;
  margin-bottom:10px;
}

