html {
	height: 100%;
	color: black;
	font-family: sans-serif;
	font-size: 11pt;
	background: url('gradient_bg.png') white repeat-x bottom center fixed;
}

* html {
	background: url('gradient_bg.png') #ba6a21 repeat-x top center;
}

body {
	width: 760px;
	margin: 0 auto;
}

a img {
	border: none;
}

h1 {margin: 0; position: absolute; left: 0px; bottom: 0px; width: 230px; text-align: center}
h1 img {vertical-align: bottom; border: none}

#header {
	background: url('bar_bg.png') repeat-x bottom left;
	position: relative;
	height: 220px;
	z-index: 10;
}

* html #header {
	background-image: url('bar_bg_ie.png');
}

#bar_left {
	position: absolute;
	bottom: 0;
	left: -13px;
}
#bar_right {
	position: absolute;
	bottom: 0;
	right: -13px;
}

#page {
	background: url('pap_watermark.png') white no-repeat bottom left;
/*	border: solid #862 2px;*/
	border: solid gray 1px;
	border-bottom: solid black 2px;
	margin: -10px 0 10px;
	position: relative;
	padding: 20px 15px 15px;
	min-height: 300px;
}

* html #page { height: 300px }	/* IE6 treats height like min-height */

#sidebar {position: absolute; left: -13px; top: 20px; width: 230px; height: 1%}

#content {margin-left: 225px;}

* html #content {
	width: 500px;
}

#balls {
	position: absolute;
	right: -13px;
	bottom: -2px;
	width: 292px;
	height: 90px;
	padding: 8px 15px 8px 40px;
	background: url('balls_bg.png') no-repeat;
	text-align: right;
}

* html #balls { background-image: url('balls_bg_ie.png'); bottom: -3px }

#balls a img {
	border: none;
	vertical-align: bottom;
	padding-left: 4px;
}

#myopts {position: absolute; right: 15px; bottom: 8px; font-weight: bold}

h2 {text-align: right; margin-top: 0; margin-bottom: 0.5em} 

#pagetitle {position: absolute; right: 16px; bottom: 50px; font-size: 250%; font-weight: bold; margin: 0;}
/*#pagetitle {text-align: right; font-size: 200%; font-weight: bold; margin: 0 0 5px; position: static}*/

#menu,
#menu li {display: block; padding: 0; margin: 0; list-style: none}

#menu li a {
	display: block;
	background: url('button_large_white.png') no-repeat top left;
	width: 214px;
	height: 34px;
	text-decoration: none;
	text-align: right;
	list-style: none;
	padding: 3px 10px;
	color: black;
	font-family: sans-serif;
	margin-bottom: 5px;
}

#menu li a:hover {
	color: white;
	background-image: url('button_large_orange.png');
}

#myopts {margin-left: 250px}
#myopts a {color: inherit}

#menu li.minor a {
	font-size: 80%;
	margin-left: 41px;
	width: 173px;
	height: 22px;
	background-image: url('button_small_white.png');
}

#menu li.minor a:hover {
	background-image: url('button_small_orange.png');
}

.game {
	background: url('gamebox_bg.png') no-repeat top left;
	padding: 10px;
	width: 510px;
	height: 135px;
	position: relative;
	margin-bottom: 1em;
}

* html .game {position: relative; margin-right: -30px; background-image: url('gamebox_bg_ie.png')}

.game .gamedetails {
	margin-left: 190px;
}

.game .gamedetails h3 {
	margin: 0;
}

.game a.gameimage {
	display: block;
	width: 177px;
	text-align: center;
	float: left;
	/*line-height: 135px;*/
}

.game img.gameimage {
	border: solid black 1px;
	/*vertical-align: middle;*/
	position: relative;
	z-index: 20;
}

.game .playingfor {
	position: absolute;
	right: 25px;
	top: 25px;
	width: 130px;
	border: solid black 1px;
	background: url('orange_button.png') #D27017 repeat-x top left;
	color: white;
	text-align: center;
	padding: 10px;
}

.game .bought,
.game .remaining {
	margin: 0;
}

.game .playingfor h4 {
	margin: 0 0 0.5em;
}

.game .playingfor img {
	float: none;
	text-align: center;
	margin: 0;
}

table.history {
	width: 100%;
	margin-top: 1em;
	border: solid black 1px;
}

table.history td,
table.history th {
	padding: 0.1em 0.5em;
	font-size: 80%;
}

table.history th {
	background-color: #D27017;
	color: white;
	font-weight: bold;
	border-bottom: solid black 1px;
}

tr.beta {background-color: #ddd}

table.history .num {text-align: center; width: 3em}
table.history .date {width: 120px}

#game {
	width: 500px;
	position: relative;
	margin: 0 auto;
	text-align: left;
}

#game input {
	cursor: crosshair;
}

#game .mark {
	position: absolute;
}

img.icon {
	vertical-align: middle;
	border: none;
}

.ticketcount {
	font-weight: bold;
	font-size: 120%;
}

.play_game img {
	border: none;
}
.play_game {
	position: absolute;
	bottom: -30px;
	left: 62px;
	z-index: 40;
}

* html .play_game { bottom: -10px}

.win img {vertical-align: bottom; padding-right: 8px;}

#currentgame {
	border: solid black 1px;
	padding: 10px;
	background: url('box_bg.png') white repeat-x top left;
	width: 500px;
	margin: 0 auto;
	text-align: center
}

#click_below {
	font-weight: bold;
	font-size: 120%;
	margin: 0;
}

.finishes {
	font-size: 90%;
}

.prize .im {
	margin-top: 20px;
	text-align: center;
}

.djform {
}

.djformfields p {
	margin: 0 0 3px 180px;
	position: relative;
}

.djformfields p label {
	position: absolute;
	left: -180px;
	width: 170px;
	top: 0.2em;
}

.djform .buttons {
	padding: 0.2em 1em;
	text-align: right;
}

ul.errorlist {
	color: #A00;
	list-style: square;
	font-size: 90%;
	margin-left: 15px;
	padding-left: 0;
}

.djformfields #id_url,
.djformfields #id_email,
.djformfields #id_username {width: 288px}

.djformfields #id_first_name,
.djformfields #id_last_name {width: 20px}
.djformfields #id_birth_day {width: 30px}

.djformfields textarea {
	width: 310px;
	height: 120px;
}

#footer {margin-top: 20px; clear: both}
#footer p {margin: 0; font-size: 70%; text-align: center; color: gray}
#footer a {color: #444}

.buttons {margin-top: 15px}

.legend {
	float: right;
	width: 220px;
	margin: 6px 0 0 15px;
	border: solid gray 1px;
	text-align: left;
}

.legend th {
	border-bottom: solid gray 1px;
	background-color: #EEE;
}

.legend th,
.legend td {
	padding: 0.1em 0.5em;
}

.legend td.m {
	border-right: solid silver 1px;
}

.gamefooter {margin-right: 235px;}

.largebox {background: url('box_bg.png') no-repeat top center; width: 500px; padding: 15px 15px 1px 15px}
.largebox_btm {background: url('box_btm.png') no-repeat bottom center; width: 530px; height: 38px; margin-bottom: 15px;}

.largebox h3 {
	margin-top: 0;
	border-bottom: solid black 2px;
	border-top: solid black 1px;
	padding: 0.2em 20px;
	margin: 0 -13px 20px;
	background-color: #EEE;
}

* html .largebox { background-image: url('box_bg_ie.png') }
* html .largebox_btm { background-image: url('box_btm_ie.png'); }

* html .largebox,
* html .largebox_btm {position: relative; margin-right: -30px}

.djform h3.formsection {
	margin-top: 1em;
}

form .djformfields .note {
	margin: 1em 0;
	font-size: 80%;
}

form .djformfields .wide { margin: 1em 0; }
form .wide label {
	float: none;
	position: static;
	width: auto;
	margin: 0;
}

.smallprint {
	text-align: justify;
	font-size: 80%;
}

ol {
	margin: 1em 0;
	padding: 0;
}
ol li {
	list-style: none;
	padding: 0;
	margin: 1em 0;
}

.form_options {
	font-size: 90%;
	list-style: square;
	margin: 0;
	padding: 0 0 0 30px;
}

#flatpage p {
	text-align: justify;
}

#flatpage .floating_left {
	float: left;
	margin: 0 15px 10px 0;
}

#flatpage .floating_right {
	float: right;
	margin: 10px 0 10px 15px;
}

#games_button, #prizes_button {
	margin: 0;
	width: 298px;
	height: 69px;
	font-size: 16pt;
	background-repeat: no-repeat;
	background-position: top left;
	list-style: none;
	position: absolute;
	top: 0;
}

#games_button a, #prizes_button a {
	text-decoration: none;
	color: black;
	font-weight: bold;
	display: block;
	width: 278px;
	padding: 5px 10px;
	height: 59px;
}
#games_button:hover a, #prizes_button:hover a {
	color: white;
}

#locked_buttons {
	position: relative;
	width: 533px;
	margin: 0 auto;
	height: 69px;
}

#games_button {
	left: 0;
	background-image: url('buttons/off_bottom.png');
}
#games_button:hover { background-image: url('buttons/on_bottom.png'); }

#prizes_button {
	right: 0;
	text-align: right;
	background: url('buttons/off_top.png');
}
#prizes_button:hover { background-image: url('buttons/on_top.png'); }

.floater {
	float: left;
	width: 200px;
	background-color: #ebd5c0;
	padding: 10px;
	font-size: 120%;
	color: black;
	font-weight: bold;
	margin: 0 10px 10px 0;
}

img.centered {
	display: block;
	margin: 0 auto 15px;
}

dl {
	margin-bottom: 2em;
	background-color: #eee;
	border: solid silver 1px;
	padding: 5px;
}

dt {
	width: 200px;
	margin-right: auto;
}

dd {
	float: right;
	clear: right;
	width: 350px;
}
