body {
	margin: 0;
	background: #000 url(dots_pattern2.png);
	color: #999;
	font-family: Arial, Helvetica, sans-serif;
	color: #fff;
	font-size: 12px;
}

#headerBar h2 {
	float: left;
	clear: left;
	font-size: 18px;
	padding: 0;
	margin: 12px 0 0 126px;
}

h3 {
	margin: 0;
	font-size: 18px;
	color: #ffeb10;
}

h4 {
	color: #65009f;
	background: #000;
	font-size: 16px;
	padding: 4px;
	margin: 0 0 10px;
}

#header img {
	position: absolute;
	top: 0; left: 0;
	z-index: 100;
}

#header .logo {
	margin: 9px 0 0 126px;
	float: left;
	width: 310px;
	height: 34px;
	background: transparent url(/logoText.png) no-repeat;
}

#headerBar{
	position: relative;
	height: 82px;
	background: #c64d00 url(/headerBg.gif) repeat-x;
	border-bottom: #161616;
}

#headerBar #boxes {
	position: absolute;
	z-index: 100;
	height: 82px;
	width: 370px;
	right: 80px;
	background: transparent url(/headerSquares.png) no-repeat;
}

#headerGlow {
	position: relative;
	background: #222 url(/headerGlowBg.gif) repeat-x top;
	height: 49px;
}

#login {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	position: absolute;
	left: 127px;
	top: 8px;
}

#login a {
	font-weight: bold;
}

#headerGlow #headerReflect {
	position: absolute;
	right: 66px;
	background: transparent url(/headerReflect.png) no-repeat top;
	width: 396px;
	height: 49px;
}

#content {
	color: #fff;
	background: #222 url(/bg.gif) repeat;
}

#gamesDisplay, #contentDisplay {
	margin: 0 auto;
	background: #000;
	border-top: 1px solid #1a1a1a;
	border-bottom: 1px solid #1a1a1a;
}

#contentDisplayWrapper {
	margin: 0 auto;
	position: relative;
	/*max-width: 1200px;*/
	min-width: 950px;
}

#gamesDisplay {
	height: 273px;
}

#gamesDisplayWrapper {
	width: 960px;
	margin: 0 auto;
}

#gamesDisplay h3 {
	padding: 20px 0;
	color: #ff6300;
}

#gamesDisplay div.game {
	float: left;
	width: 240px;
	text-align: center;
}

#gamesDisplay div.game a {
	display: block;
	width: 100%;
	height: 273px;
}

/* Images */

#gamesDisplay .twistyPuzzles {
	background: url(/twistyHero.jpg) no-repeat center bottom;
}

#gamesDisplay .minesweeper {
	background: url(/minesweeperHero.jpg) no-repeat center bottom;
}

#gamesDisplay .tessellate {
	background: url(/tessellateHero.jpg) no-repeat center bottom;
}

#gamesDisplay .typing {
	background: url(/typingHero.jpg) no-repeat center bottom;
}

#mainWrap {
	background: transparent url(/mainBg.png) repeat-x top;
	border-bottom: 1px solid #1a1a1a;
}

h3.gameHeader {
	font-size: 30px;
	padding: 10px 30px;
	margin: 0;
	line-height: 1.5em;
}

h1, h2, h3, h4 {
	/*text-transform: uppercase;*/
}

#main {
	/*max-width: 1200px;*/
	min-width: 950px;
	margin: 0 auto;
	position: relative;
	padding: 10px 0;
}

.primary {
	margin: 0 329px 0 15px;
}

.secondary {
	height: 92%;
	position: absolute;
	right: 0;
	top: 0;
	width: 288px;
	padding: 0 15px;
	margin: 10px 0;
	border-left: 1px solid #333;
}

/*
table {
	border-collapse: collapse;
	border: 1px solid #666;
	background: #181818;
}

table td, th {
	padding: 4px;
	text-align: right;
	vertical-align: top;
}

table tr.even {
	background: #2b2b2b;
}

.primary table {
	width: 100%;
}

.secondary table {
	width: 250px;
}

table td.tableWideLink {
	text-align: center;
}

table thead tr, #main table tfoot tr {
	background: #000;
	padding: 4px 0;
}

table .rank {
	width: 3em;
	text-align: center;
}

table .user {
	font-weight: bold;
}

table .info {
	text-align: left;
}
*/

#relatedContent {
	margin: 15px 0;
}

#chat {
	float: left;
	width: 50%;
}

#chat #chatDiv {
	width: 100%;
	height: 120px;
	background: #222;
	border: 1px solid #333;
	margin: 0 0 5px;
	overflow: auto;
}

#chatDiv, #chat input {
	font-family: "Courier New", Courier, monospace;
}

#chat input {
	color: #eee;
	border: 1px solid #333;
}

#chat #chatDiv p {
	margin: 0;
}

#chat input.text {
	float: left;
	width: 80%;
	background: #222;
}

#chat input.submit {
	float: right;
	background: #444;
}

#currentPlayers {
	float: right;
	width: 45%;
}

#currentPlayers div.currentUser {
	float: left;
	width: 50px;
	text-align: center;
	margin: 5px 0;
}

#main div.sponsors {
	text-align: center;
	margin: 10px 0;
}

#footer {
	margin: 0 auto;
	color: #999;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	line-height: 30px;
	padding: 0 15px;
	/*max-width: 1200px;*/
	min-width: 950px;
}
#footer .links {
	float: left;
	width: 45%;
}

#footer .copyright {
	width: 45%;
	float: right;
	text-align: right;
}

a.normal { color: #18d062; text-decoration: none; }
a.normal:hover { text-decoration: underline; }

#gamePanel {
	min-width: 500px;
	max-width: 850px;
	padding: 0 15px 10px;
}

/* Allow Java Applets to resize dynamically */

#gamePanel div.resize {
	 position: relative;
}

#gamePanel div.resize img {
	display: block;
	width: 100%;
}

#gamePanel div.resize div.aspect {
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
}

.gameAligned {
	padding-top: 35px;
}


/* Hide W3C WAI content */
.wai {
	display: none;
}

/* BEGIN crossbrowser hax */
/* Clearfix */
.cf:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.cf { display: inline-block; }
html[xmlns] .cf { display: block; }
* html .cf { height: 1%; }

/* END crossbrowser hax */

