html { background-color: #f3f3f3; }
a { text-decoration: none; }
a:hover { text-decoration: underline; }
body {
	font-family: sans-serif;
	font-size: small;
	background-color: #f3f3f3;
}
img { border: none; }
#banner {
	height:227px;
	width:227px;
	position:fixed;
	top:0;
	left:0;
	margin-top:0;
	z-index:100;
}
#title {
	top: 130px;
	right: 45%;
	margin-right: -300px;
	width: 300px;
	height: 100px;
	position: absolute;
	background: url("../img/title.png") no-repeat transparent;
	margin-left: 0px;
	float: right;
}
#text {
	width: 300px;
	height: 182px;
	position: absolute;
	top: 222px;
	right: 45%;
	margin-right: -300px;
	display: inline;
	text-align: justify;
	color: #6f6f6f;
	text-shadow: 0px 1px #fff;
	font-size: 11pt;
	background-color: #f3f3f3;
}
#text a {
	text-decoration: none;
	color: #aa151e;
	background-color: #f3f3f3;
}
#text a:hover {
	text-decoration: underline;
}
#appstorebutton {
	height: 90px;
	width: 244px;
	position: absolute;
	background: url("../img/appStoreButton.png") no-repeat transparent;
	overflow: hidden;
	margin-left: -12px;
	margin-top: 240px;
}
#appstorebutton:hover { background: url("../img/appStoreButton.png") 0px -90px no-repeat transparent; }
div.phoneShard {
	position:absolute;
	top:40px;
	left:50%;
	margin-left:-406px;
	z-index: 31;
}
div#phoneTop {
	background: url("../img/phoneTop.png") no-repeat transparent;
	width: 406px;
	height: 141px;
	position: absolute;
}
div#phoneLeft {
	background: url("../img/phoneLeft.png") no-repeat transparent;
	margin-top: 141px;
	width: 43px;
	height: 480px;
	position: absolute;
}
div#phoneRight {
	background: url("../img/phoneRight.png") no-repeat transparent;
	margin-top: 141px;
	margin-left: -43px;
	width: 43px;
	height: 480px;
	position: absolute;
}
div#phoneBottom {
	background: url("../img/phoneBottom.png") no-repeat transparent;
	margin-top: 621px;
	width: 406px;
	height: 141px;
	position: absolute;
}
#game {
	position: absolute;
	width:320px;
	height:480px;
	top: 181px;
	left: 50%;
	z-index: 30;
	margin-left: -363px;
}
#thumbnails {
	height: 230px;
	width: 320px;
	position:absolute;
	margin-left: -10px;
	padding: 10px;
	background: url("../img/thumbnailBox.png") no-repeat transparent;
	display:block;
}
li.thumbnail {
	display: block;
	height: 90px;
	width: 126px;
	background: url("../img/thumbnails.png") 0px 0px no-repeat transparent;
	
	margin: 11px 0 0 16px;
	float: left;
	opacity: 0.75;
	-webkit-transition: opacity 200ms ease 100ms;
}
li.thumbnail:hover {
	opacity: 1.0;
}
#screenshot1 { background-position:  0px   0px; }
#screenshot2 { background-position: -126px 0px; }	
#screenshot3 { background-position: -252px 0px; }	
#screenshot4 { background-position: -378px 0px; }
#screenshotStatusBar {
	height: 20px;
	width: 320px;
	background-repeat: no-repeat;
	margin: 0px 0px 0px 0px;
	float: left;
	position: absolute;
	z-index: 51;
	display: none;
	opacity: 0.0;
	background-image:  url("../img/screenshotStatusBar.png");
}
#screenshots {
	height: 460px;
	width: 320px;
	background-repeat: no-repeat;
	margin: 20px 0px 0px 0px;
	float: left;
	position: absolute;
	z-index: 50;
	display: none;
	opacity: 0.0;
	background-image:  url("../img/screenshots.png");
}
#footer {
	height: 75px;
	width: 40%;
	position: absolute;
	top: 790px;
	margin: 30px 30% 0px 30%;
	display: inline;
}
#footer p {
	text-align: center;
	vertical-align: bottom;
	color: #6f6f6f;
	text-shadow: 0px 1px #fff;
	background-color: #f3f3f3;
	margin-bottom: 20px
}
#footer a {
	color: #6f6f6f;
	background-color: #f3f3f3;
}
#splash {
	height: 480px;
	width: 320px;
	background-image: url("../img/splash.png");
	background-repeat: no-repeat;
	margin: 0px;
	float: left;
	position: absolute;
	z-index: 4;
}
#board {
	height: 447px;
	width: 320px;
	background: url("../img/backgrounds.png") 0px 0px no-repeat transparent;
	padding: 33px 18px 0px 18px;
	position: absolute;
	z-index: 1;
}
#play {
	background: url("../img/clickToPlay.png") 0px 0px no-repeat; 
	height: 126px; 
	width: 120px; 
	margin: 135px auto auto auto;
	margin-left: 80px; 
	cursor: pointer; 
}
#play:hover { background: url("../img/clickToPlay.png") 0px -126px no-repeat; }
div#toolbar {
	height: 44px;
	width: 320px;
	float: left;
	position: absolute;
	z-index: 1;
	margin-top: 436px;
}
div.toolbarButton {
	height: 44px;
	width: 80px;
	float: left;
	margin-left: 0px;
	background-repeat: no-repeat;
	cursor: pointer;
	background: url("../img/toolbarIcons.png") 0px 0px no-repeat transparent;
}
div#newGameButton 	{ background: url("../img/toolbarIcons.png") 0px 		-44px no-repeat transparent; }
div#undoButton 		{ background: url("../img/toolbarIcons.png") -80px 	-44px no-repeat transparent; }
div#howToPlayButton { background: url("../img/toolbarIcons.png") -160px 	-44px no-repeat transparent; }
div#infoButton		{ background: url("../img/toolbarIcons.png") -240px 	-44px no-repeat transparent; }
#win {
	display: none;
	height: 428px; /* This is diferent from the actual height of the image so that the offset added below doesn't cause the toolbar buttons to get obstructed. */
	width: 320px;
	background-image: url("../img/winner.png");
	background-repeat: no-repeat;
	margin: 8px 0px 0px; /* For some reason the banner only looks perfectly vertically centered if we shift it 8 pixels down. This caused some other problems, which have been fixed. See comment above. */
	float: left;
	position: absolute;
	z-index: 4;
}
div#statusBar {
	height: 20px;
	width: 320px;
	background: url("../img/statusBar.png") no-repeat transparent;
	position: absolute;
	z-index: 33;
	display: none;
}
div.slidingView {
	height: 0px;
	width: 320px;
	z-index: 30;
	position: absolute;
	margin-top: 500px;
	padding-top: 44px;
	cursor: default;
}
div.navBar {
	position: absolute;
	height: 44px;
	width: 320px;
	z-index: 32;
	margin-top: -44px;
	background: url("../img/navigationBars.png") 0px 0px no-repeat transparent;
}
div#howToPlayDoneButton, div#infoDoneButton {
	height: 44px;
	width: 50px;
	margin-left: 264px;
	position: absolute;
	background: url("../img/doneButton.png") 0px -44px no-repeat transparent;
	cursor: pointer;
}
div#howToPlay { background: url("../img/howToPlay.png") 0px 44px no-repeat #d3d8df; }
div#info div.navBar { background: url("../img/navigationBars.png") 0px -44px no-repeat transparent; }
div#info { background-color: #c7ced7; }
div#info p {
	display: none;
	margin: 10px 14px auto 14px;
	text-shadow: 0px 1px #dddddd;
}
div#info p a {
	font-weight: bold;
	color: #314f85;
}
div#info div#appStoreCell {
	display: none;
	margin: 20px 20px auto 20px;
	height: 77px;
	width: auto;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	background: #c2c2c2;
    background: -moz-linear-gradient(top, #c2c2c2 #c8c8c8);
    background: -webkit-gradient(linear, left top, left bottom, from(#c2c2c2), to(#c8c8c8));
    filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#c2c2c2', EndColorStr='#c8c8c8', GradientType=0);
	border: 1px solid #999999;
	margin-bottom: 15px;
}
div#info div#appStoreCell:hover {
	text-decoration: none;
	background: #b5b5b5;
	background: -moz-linear-gradient(top, #b5b5b5 #bababa);
	background: -webkit-gradient(linear, left top, left bottom, from(#b5b5b5), to(#bababa));
	filter: progid:DXImageTransform.Microsoft.Gradient(StartColorStr='#b5b5b5', EndColorStr='#bababa', GradientType=0);
}
div#info a#cell {
	text-decoration: none;
}
div#info div#appStoreCell div#appIcon {
	height: 60px;
	width: 59px;
	margin: 10px auto 10px 10px;
	position: absolute;
	background: url("../img/appIcon.png") no-repeat transparent;
}
div#info div#appStoreCell div#labels {
	height: 20px;
	width: 300px;
	position: absolute;
	margin: 14px auto auto 67px;
	text-decoration: none;
	color: #393a39;
	font-size: 8pt;
}
div#info div#appStoreCell div#price {
	color: #393a39;
	font-size: 8pt;
	position: absolute;
	margin: 22px auto auto 220px; /* Use this margin when displaying regular price. */
	//margin: 27px auto auto 220px; /* Use this margin when displaying sale price. */
	font-weight: bold;
}
/* Uncomment the following style when displaying sale price. */
/*
div#info div#appStoreCell div#price p {
	margin: 0px;
}
*/
div#info div#appStoreCell div#labels p#appName {
	color: black;
	margin-top: 0px;
	font-size: 10pt;
	line-height: normal;
}
div#info div#appStoreCell div#labels p { font-weight: bold; }
div.spot {
	display: none; 
	background: url("../img/cards.png") 102px 280px no-repeat transparent;
	height: 70px; 
	float: left; 
	margin: 6px 0px 0px 5px; 
	width: 51px; 
	cursor: pointer; 
	padding: 0px;
	position: relative;
}
div.overlay {
	display: none; 
	background-image: url("../img/overlay.png"); 
	background-repeat: no-repeat;
	height: 72px;
	width: 57px;
	z-index: 2;
}
div.highlight {
	display: none; 
	background-image: url("../img/rim.png"); 
	background-repeat: no-repeat; 
	height: 72px; 
	width: 57px;
	margin-left: -3px;
	margin-top: -1px;
	z-index: 3;
}
.audio { display: none; }