/* General Elements */

* {
	margin: 0;
	padding: 0;
	
	font-family: arial;
	font-size: 12px;
}

html, body {
	height: 100%;
	text-align: center;
BACKGROUND:#F4F4F3;
background-image: url(images/tallgrad.jpg); background-repeat: repeat-x;

}

h1 {
	width: 100%;
	height: 24px;
	
	font-size: 24px;
	line-height: 24px;
	
	border-bottom: 1px solid #E7E7E7;
	
	margin-bottom: 5px;
}

h2 {
	height: 18px;
	
	font-size: 18px;
	line-height: 18px;
	
	border-bottom: 1px solid #E7E7E7;
	
	margin-bottom: 5px;
}

img {
	border-style: none;
}

a {
	text-decoration: none;
}

input {
	height: 20px;
	
	vertical-align: middle;
}

.button {
	width: 75px;
	
	border: none;
	cursor: pointer;
}

.textbox {
	border: 1px solid #E7E7E7;
}

.ie-hack {
	/* Used to push down floating divs and fix common rendering errors. */
	width: 0px;
	height: 0px;
	
	clear: both;
}

.clear {
	width: 0px;
	height: 0px;
	
	clear: right;
}

/* Page Elements */

#page {
	background: #E7E7E7;
	
	width: 800px;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	
	margin: 0 auto -21px;
	
	border-left: 1px solid #D3D3D3;
	border-right: 1px solid #D3D3D3;
	
	text-align: justify;
}

#header {
	background: #E7E7E7;
	
	width: 800px;
	height: 144px;
}

#navigation {
	width: 800px;
	height: 66px;
}

.navigation-tab {
	float: left;
	
	height: 33px;
	
	font-size: 18px;
	line-height: 33px;
	text-align: center;
	
	cursor: pointer;
}

#content-border {
	border-left: 5px solid #E7E7E7;
	border-right: 5px solid #E7E7E7;
	border-top: 6px solid #E7E7E7;
	border-bottom: 5px solid #E7E7E7;
}

#content {
	background: white;
	
	
	padding: 5px;
	
	border: 1px solid #D3D3D3;
}

#columns {
	position: relative;
	
	width: 778px;
}

#column-left {
	float: left;
	
	width: 650px;
}

#column-right {
	float: right;
	
	width: 120px;
}

#footer-space {
	height: 21px;
}

#footer {
	background: #E7E7E7;
	
	width: 778px;
	height: 21px;
	
	margin: 0 auto 0;
	padding-left: 11px;
	padding-right: 11px;
	
	line-height: 14px;
	text-align: center;
}

/* Common Elements */

.content-column-left {
	float: left;
	
	width: 315px;
}

.content-column-right {
	float: right;
	
	width: 315px;
}

.icon-inline {
	vertical-align: text-bottom;
}

.gamelist-item {
	position: relative;
	
	border-bottom: 1px solid #E7E7E7;
}

.gamelist-image {
	float: left;
	
	width: 60px;
	height: 60px;
	
	background: gray;
	
	margin-top: 5px;
	margin-bottom: 5px;
}

.gamelist-description {
	float: right;
	
	width: 250px;

	text-align: justify;
	
	margin-top: 5px;
	margin-bottom: 5px;
}

/* Home Page Elements */

#search {
	position: absolute; /* ... but absolute from page-container, not the whole page. */

	left: 0px;
	top: -2px;
	
	width: 650px;
	height: 24px;
	
	font-size: 24px;
	line-height: 24px;
	text-align: right;
}

/* Game Page Elements */

#game {
	/* Make sure everything inside is relative to this div, not the page. */
	position: relative;
}

#game-image {
	width: 100px;
	height: 100px;
}

#game-rating {
	width: 100px;
	height: 22px;
}

#game-controls {
	width: 100px;
	height: 22px;
	
	text-align: center;
}

#game-description {
	width: 350px;
	
	text-align: justify;
}

#game-play {
	width: 190px;
	height: 98px;
	
	text-align: right;
	
	cursor: pointer;
}

#game-information-right {
	position: absolute; /* ... but absolute from the parent div, not the whole page. */
	
	left: 105px;
	top: 30px;
}

/* Overlay Elements */

#overlay {
	background: #DAC075;
	
	position: absolute;
	top: 50%;
	left: 50%;
	
	border: 1px solid black;
	
	display: none;
}

#overlay-row-top {
	height: 20px;
}

#overlay-cell-top-left {
	width: 20px;
	height: 20px;
}

#overlay-cell-top-right {
	width: 20px;
	height: 20px;
	
	font-size: 20px;
	line-height: 20px;
	
	text-align: center;
	
	cursor: pointer;
}

#overlay-content {
	text-align: center;
}

#overlay-title {
	height: 29px;

	font-size: 24px;
	line-height: 24px;
}

#overlay-game {
	margin-bottom: 5px;
}

#overlay-rating {
	width: 210px;
	height: 56px;
	
	margin: 0 auto 5px;
}

.overlay-rating-star-background {
	float: left;
	
	cursor: pointer;
}

#overlay-description {
	clear: both;
	
	text-align: justify;
}

#overlay-row-bottom {
	height: 20px;
}

#sub-navigation {
	background:#f4f4ff;
	height: 30px;
	width: 800px;
	b-order-left: 1px solid #000000;
	b-order-right: 1px solid #000000;
	border-bottom: 1px solid #aaaaaa;
}
#sub-navigation ul li {
	list-style-type: none;
	float: left;
}
#sub-navigation ul li a {
	float: left;
	display: block;
	font-size: 11px;
	font-family:Trebuchet MS, Arial, Helvetica, sans-serif;
	text-decoration:none;
	color: #000000;
	padding-left: 10px;
	padding-right: 5px;
	padding-top: 14px;
}
#sub-navigation ul li a:hover {
	text-decoration: underline;
}
