body {
	font-family: Arial, Helvetica, sans-serif;
	background-color: #020;
	color: white;
}

a {
	text-decoration: none;
	color: #009900;
}

a:hover {
	color: #006600;
}

h1 {
	margin-bottom: 0;
}

h4 {
	font-weight: bold;
	margin-top: 0;
}

h6 {
	margin: 15px;
}

#page {
	width: 810px;
	margin: 0 auto;
	background-color: black;
	border-radius: 15px;
	-moz-border-radius:15px;
	-webkit-border-radius:15px;
}

.content {
	width: 750px;
	margin: auto;
	background-color: #080;	
	border-radius: 15px;
	-moz-border-radius:15px;
	-webkit-border-radius:15px;
	border: 20px solid #631;
	border-bottom: 0;
	padding: 10px;
}

#instructions {
	font-size: 14px;
	padding: 20px;
	display: none;
}

#toggler {
	width: 770px;
	background-color: #631;
	height: 20px;
	margin: -25px auto 10px;
	padding: 5px 0 0 0;
	text-align: center;
	font-size: 14px;
}

#toggler:hover {
	background-color: #420;
	cursor: pointer;
}

.panel {
	font-size: 12px;
	height: 70px;
	border-bottom: 1px solid #003300;
	padding: 10px;
}

#money, .played, .won, .draw, .lost, .blackjacks {
	color: yellow;
	font-weight: bold;
	margin-right: 5px;
}

#pot {
	color: yellow;
	float: right;
	margin-right: 10px;
	cursor: pointer;
	font-weight: normal;
}

.bet {
	width: 200px;
	float: right;
	border: 1px dotted #030;
	padding: 5px 15px;
	font-weight: bold;
	line-height: 1.9;
}

.bet label {
	color: navy;
	font-weight: normal;
	font-size: 14px;
	margin-right: 10px;
}

#session {
	float: left;
	width: 300px;
	padding-left: 5px;
	line-height: 1.5;
}

#total {
	float: left;
	width: 160px;
	padding-left: 5px;
	line-height: 2;
}

#total a {
	color: #55EE55;
	font-size: 14px;
}

#total a:hover {
	color: #55AA55;
}

.main {
	height: 460px;
}

#balance {
	padding: 15px 0 5px 15px;
}

.percent {
	font-weight: lighter;
}

#game {
    display: block;
    height: 220px;	
	margin: auto;
	padding: 10px;
}

#commands {
	margin: 15px auto;
	padding: 0 10px;
}

#debug {
	padding-left: 10px;
	margin-top: 14px;
	font-size: 12px;
}

#results {
	margin: 20px 10px 0 10px;
	height: 35px;
	padding: 15px;
	border-radius: 15px;
	-moz-border-radius:15px;
	-webkit-border-radius:15px;
	border-left: 1px solid #050;
	border-top: 1px solid #050;
	border-right: 1px solid #0a0;
	border-bottom: 1px solid #0a0;
	text-align: center;
	font-weight: bolder;
}

#commands input {
	height: 60px;
	width: 120px;
	font-weight: bold;
}

#start, #done, #double {
	display: none;
}

.hand {
	position: relative;
	display: block;
	width: 300px;
	height: 200px;
	background-color: #060;
	padding: 10px 20px;
	border-radius: 15px;
	-moz-border-radius:15px;
	-webkit-border-radius:15px;
	border-left: 2px solid #050;
	border-top: 2px solid #050;
	border-right: 2px solid #0a0;
	border-bottom: 2px solid #0a0;
}

#playerhand {
   float: left;
}

#dealerhand {
	float: right;	
}

.firstcard, .card {
	position: absolute;	
}

.cards {
	position: relative;	
}

.points {
	position: absolute;
	bottom: 10px;
}

#header {
	padding: 5px 0;
	text-align: center;
	display: none;
}

#footer {
	height: 35px;
	font-size: 10px;
	padding: 0 20px;
	text-align: right;
}

#info {
	float: left;
	margin-top: 5px;
	color: #777;
}

#stats {
	display: none;
	position: absolute;
	top: -300px;
	left: 5px;
	background-color: #631;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
	-moz-border-radius-bottomright:15px;
	-moz-border-radius-bottomleft:15px;
	-webkit-border-bottom-right-radius:15px;
	-webkit-border-bottom-left-radius:15px;
	padding: 0 10px 10px;
	border-top: 0;
	-moz-box-shadow:    2px 2px 10px 2px #000;
	-webkit-box-shadow: 2px 2px 10px 2px #000;
	box-shadow:         2px 2px 10px 2px #000;
	/* For IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";
	/* For IE 5.5 - 7 */
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000');
	font-size: 16px;
}

#innerstats {
	height: 220px;
	width: 240px;
	background-color: #080;
	padding: 20px;
	-moz-border-radius-bottomright:7px;
	-moz-border-radius-bottomleft:7px;
	-webkit-border-bottom-right-radius:7px;
	-webkit-border-bottom-left-radius:7px;
	border-bottom-left-radius: 7px;
	border-bottom-right-radius: 7px;
}

#closestats, #clearstats {
	position: absolute;
	bottom: 25px;
	height: 30px;
	width: 90px;
	border: 1px solid #030;
	background-color: #080;
	color: white;
	cursor: pointer;
}

#closestats {
	right: 25px;
}

#clearstats {
	left: 25px;
}

#closestats:hover, #clearstats:hover {
	background-color: #030;
}

#total #showstats {
	color:#4D7;
}

#total #showstats:hover {
	color: white;
}

.dialog {
	text-align: center;
}

#stopdebug {
	float: right;
}
