@charset "utf-8";

/*--------------------------------------------------------

* Filename: style.css
* Description: Black Jack - based on Head First jQuery Ch6

* Author: R. Brian Redd 2011-10-09
         
--------------------------------------------------------*/

body {
	margin: 10px;
	padding: 0px;
	background-image: url('../images/Green-felt.png');
	font-family: Arial, sans-serif;
}

ul {
	height:39px;
	color: #FFF;
	margin-left: 80px;
	list-style: none;
}

li {
	font-family: 'Sancreek', cursive;
	display: inline;
	font-size: 34px;
}

li.black {
	font-size: 30px;
	color: #000;
}

li.red {
	font-size: 30px;
	color: red;
}

.playfield {
	position: relative;
	background: #FFF;
	border: 1px solid gray;
	width: 668px;
	height: 250px;
}

h2 {
	text-align: center;
	vertical-align: middle;
	font-size: 50px;
	padding-top: 45px;
	color: #CCC;
}

.total {
	position: relative;
	left: 0;
	height: 30px;
	width: 668px;
	display: block;
}

.total h3 {
	padding: 0px;
	margin: 0px;
	text-align:right;
	font-size: 16px;
	font-weight: bold;
	color: #FFF;
}

#deck {
	position: absolute;
	top: 71px;
	left: 700px;
	height: 250px;
	width: 175px;
	background: url("../images/cardback_1.png") no-repeat center center;
}

#cardfield {
	position: fixed;
	top: 71px;
	left: 10px;
	width: 866px;
	height: 533px;
}

#money {
	position: absolute;
	top: 353px;
	left: 700px;
	height: 230px;
	width: 170px;
	padding-top: 20px;
	padding-left: 5px;
	background: #FFF;
	border: 1px solid gray;
	text-align: center;
}

input {
	margin-top: 7px;
	width: 50px;
	text-align: right;
}

#kittyform {
	margin-top: 7px;
}

button {
	width: 100px;
	margin: 5px;
}

#buttons  button {
	float: left;
	margin-left: 50px;
}

#message {
	position: absolute;
	background-color: #FFF;
	border-radius: 20px;
	opacity: 0;
	top: 150px;
	left: -600px;
	height: 175px;
	width: 500px;
	font-size: 50px;
	font-weight: bold;
	text-align: center;
	padding-top: 40px;
	cursor: pointer;
	font-family: 'Sancreek', cursive;
}

.lose {
	color: red;
	border: 1px solid red;
}

.win {
	color: green;
	border: 1px solid green;
}

