body {
	font-family:"Helvetica",Arial,"Arial Bold";
}
.clearer { clear: both; height: 0; margin: 0; padding: 0; font-size: 0; line-height: 0; }
a img { border: none; }


/*==============================================================================================
									Blackjack
================================================================================================*/

#PageContainer,
#PageContainerInner {
	width: 880px; height: 623px;
	position: relative;
}

#PageContainer {
	background: transparent url(images/main_bg.png) top left no-repeat;
	margin: 0 auto;
}
#PageContainer.won #PageContainerInner {
	background: transparent url(images/main_bg.png) 0 -1000px no-repeat;
}

/*---------*/

#instructions,
#rules {
	position: absolute; left: 60px; top: 143px; width: 159px; height: 270px;
	color: #fff; padding: 0 12px;
}

#instructions { font-size: 15px; }

#rules {	top: 463px; height: 144px; }
#rules ul { margin: 20px 0 0; padding: 0; list-style-type: none; }
#rules ul li { font-size: 12px; font-weight: bold; margin: 5px 0; }

/*---------*/

#table {
	position: absolute; left: 303px; top: 114px; width: 543px; height: 408px;
}

#table #shoeTop {
	position: absolute; right: 21px; top: 18px; width: 110px; height: 100px;
	background: url(images/sprites.png) -500px -200px no-repeat;
	z-index: 1000;
}

#table #shoeCard {
	-webkit-transform: rotate(-55deg); -moz-transform: rotate(-55deg); -ms-transform: rotate(-55deg);
	z-index: 999;
	left: 430px; top: 23px;
}


#loggedOutMessage,
#failedRequestMessage {
	position: absolute;
	top: 130px; left: 92px; width: 355px;
	z-index: 1000;
	padding: 10px; text-align: center;
	background-color: red; color: white;
}

#soundOffButton {
	position: absolute;
	width: 32px; height: 32px; right: 28px; bottom: 90px;
	background: transparent url(images/sprites.png) -60px -300px no-repeat;
	cursor: pointer;
}

#soundOffButton.off { background-position: 0 -300px; }

/*--------*/

.chip { width: 48px; height: 48px; background: url(images/sprites.png) 0 -200px no-repeat; }
.chip_2 { background-position: 0 -200px; }
.chip_10 { background-position: -60px -200px; }
.chip_20 { background-position: -120px -200px; }
.chip_50 { background-position: -180px -200px; }

/* This wouldn't be necessary if Stupid Firefox understood background-position-y */
.chip_2.disabled { background-position: 0 -250px; }
.chip_10.disabled { background-position: -60px -250px; }
.chip_20.disabled { background-position: -120px -250px; }
.chip_50.disabled { background-position: -180px -250px; }

#flyingChip { position: absolute; z-index: 999; display: none; }

#chipsContainer {
	position: absolute;
	width: 180px; height: 91px; right: 0; bottom: 0;
}
#chipsContainer .chip { float: left; margin: 10px 0 0 -5px; cursor: pointer; }

#chipsContainer .chip:nth-child(1) { margin-top: 30px; }
#chipsContainer .chip:nth-child(2) { margin-top: 22px; }
#chipsContainer .chip:nth-child(3) { margin-top: 12px; }
#chipsContainer .chip:nth-child(4) { margin-top: 0; }

/*--------*/

#buttonsContainer {
	position: absolute;
	width: 325px; height: 140px; left: 0; bottom: 0;
}

#buttonsContainer .button {
	float: right; margin: 60px 0 0 3px; cursor: pointer;
	width: 50px; height: 62px; background: url(images/sprites.png) 0 0 no-repeat;
}

#buttonsContainer #btnStand { background-position: 0 0; }
#buttonsContainer #btnHit { background-position: -60px 0; }
#buttonsContainer #btnDeal { background-position: -120px 0; }
#buttonsContainer #btnClear { background-position: -180px 0; }
#buttonsContainer #btnRebet { background-position: -240px 0; }
#buttonsContainer #btnSurrender { background-position: -300px 0; }
#buttonsContainer #btnDouble { background-position: -360px 0; }
#buttonsContainer #btnSplit { background-position: -420px 0; }

/* This wouldn't be necessary if Stupid Firefox understood background-position-y */
#buttonsContainer #btnStand:hover { background-position: 0 -100px; }
#buttonsContainer #btnHit:hover { background-position: -60px -100px; }
#buttonsContainer #btnDeal:hover { background-position: -120px -100px; }
#buttonsContainer #btnClear:hover { background-position: -180px -100px; }
#buttonsContainer #btnRebet:hover { background-position: -240px -100px; }
#buttonsContainer #btnSurrender:hover { background-position: -300px -100px; }
#buttonsContainer #btnDouble:hover { background-position: -360px -100px; }
#buttonsContainer #btnSplit:hover { background-position: -420px -100px; }

#buttonsContainer .button:nth-child(1) { margin-top: 64px; }
#buttonsContainer .button:nth-child(2) { margin-top: 64px; }
#buttonsContainer .button:nth-child(3) { margin-top: 57px; }
#buttonsContainer .button:nth-child(4) { margin-top: 49px; }
#buttonsContainer .button:nth-child(5) { margin-top: 35px; }
#buttonsContainer .button:nth-child(6) { margin-top: 15px; }

/*--------*/

.playerHand { 
	position: absolute; width: 92px; height: 167px; 
	background: url(images/hand_marker.png) 0 0 no-repeat;
}

#playerHand1, #playerHand2 { top: 162px; left: 231px; }
#playerHand1.split { top: 142px; left: 121px; }
#playerHand2.split { top: 142px; left: 341px; }

.dealerHand {
	position: absolute; width: 92px; height: 106px; top: 10px; left: 231px;
}

.cardsValueSign {
	position: absolute; width: 32px; height: 18px; left: -56px; top: 70px;
	padding: 6px; text-align: center; font-size: 14px; font-weight: bold; color: #58585a;
	background: url(images/sprites.png) -700px -150px no-repeat;
}

.dealerHand .cardsValueSign { top: 5px; }


.playerHand .activeArrow {
	position: absolute; width: 70px; height: 39px; left: -65px; top: 113px;
	background: url(images/sprites.png) -700px -250px no-repeat;
	display: none;
}
.playerHand.active.blink .activeArrow { display: block; }

/*------*/

.outcomeSign {
	position: absolute; width: 151px; height: 19px; padding: 15px 13px 11px;
	left: -43px;
	background: url(images/sprites.png) -700px 0 no-repeat;
	text-align: center; font-size: 14px; font-weight: bold; color: #673b15;
}
.outcomeSign.lose { background-position: -700px -50px; color: #58585a; }
.outcomeSign.win { background-position: -700px -100px; color: #00632e; }

.cardsOutcomeSign { top: 90px; }
.handOutcomeSign { top: 0px; }

/*------*/

.playerHand .betContainer { position: absolute; width: 50px; height: 50px; top: 0; left: 21px; }

.playerHand .betContainer .chip { position: absolute; left: 0; bottom: 0; }

.playerHand .betValueSign {
	position: absolute; width: 29px; height: 18px; left: 93px; top: 8px;
	padding: 8px 5px 4px 14px; text-align: center; font-size: 14px; font-weight: bold; color: #58585a;
	background: url(images/sprites.png) -700px -200px no-repeat;
}

/*------*/

.card {
	position: absolute; width: 71px; height: 96px;
	background: url(images/cards.png) -949px 0px no-repeat;
}
.playerHand .cardsContainer,
.dealerHand .cardsContainer{
	position: absolute; width: 86px; height: 97px; top: 65px; left: 0; padding: 3px;
}
.dealerHand .cardsContainer { top: 0;}

/*--------*/

#bidCounters { position: absolute; top: 180px; right: 10px; width: 60px; height: 120px; }
#bidCounters .label { text-align: center; color: white; font-size: 11px; }
#bidCounters .counter {
	text-align: center; color: #e64622; font-size: 13px; font-weight: bold;
	width: 60px; height: 18px; background: url(images/sprites.png) -700px -350px no-repeat;
	padding-top: 3px;
}

/*--------*/

#messageSign {
	position: absolute; left: 140px; top: 148px;
	width: 195px; height: 58px; padding: 15px 20px 0 65px;
	background: url(images/sprites.png) -500px -400px no-repeat;
	font-size: 12px; color: #e7511e;
}
#messageSign a { color: #e7511e; }