@import url("/main.inc.css");


.bigarea{
	position: relative;
}
.area{
	position: absolute;
	background-color: #ca8;
	width: 950px;
	height: 610px;
	margin-left: auto;
	margin-right: auto;
	box-shadow: 0 0 50px rgba(0,0,0,0.7);
	top: 30px;
	left: calc(50% - 475px);
}
.stone{
	width: 59px;
	height: 71px;
	border: 1px solid #999;
	position:absolute;
	background-color: #F4E9D8;
	background-repeat: no-repeat;
	border-radius: 4px;

}

/* stone shadow */
.z_layer div{
	width: 59px;
	height: 71px;
	border-radius: 4px;
	position:absolute;
	background-color: #444;
	border: 1px solid #444;
	box-shadow: 4px -2px 7px #444;
}



.stone:before{
	width: 63px;
	height: 80px;
	background-image: url(images/3d.png);
	background-repeat: no-repeat;
	display:block;
	content: "";
	position: absolute;
	left: -5px;
	top: -2px;
}

.stone i{
	display: block;
	width: 53px;
	height: 65px;
	margin: 3px;
	border-radius: 3px;
	background-color: #F4E9D8;
	background-image: url(icons/sprite_icons.png);
	background-repeat: no-repeat;
}


.free:hover{
/*	background-color: #eee; */
	background-color: #6699ff;
	cursor: pointer;
/*	opacity: 0.9; */
}
.free:hover:after{
	background: rgba(130,190,255,.2);
}

.free.marked{
/*	background-color: #FFFACE; */
	background-color: #2fba3a;
/*	opacity: 0.7; */
}
.free.marked:after{
	background: rgba(0,255,0,.3);
}
.suggestion{
	background-color: #db4052 !important;
/*	opacity: 0.5; */
}
.suggestion:after{
	background: rgba(0,0,0,.3);
}
.free:hover:after,
.free.marked:after,
.suggestion:after{
	content: "";
	position: absolute;
	left: 0;
	top: -1px;
	width: 60px;
	height: 72px;
	box-shadow: inset 0 0 10px rgba(0,0,0,.5);
}

.message{
	position:absolute;
	left: calc(50% - 300px);
	top: 110px;
	width: 600px;
	height:auto;
	border: none;
	text-align: center;
	background: #F4E9D8;
	font-size: 30px;
	font-weight: bold;
	padding: 0px;
	display: none;
	border-radius: 5px;
	box-shadow: 1px 1px 20px #222;
}
.message.highscore{
	height: 430px;
	top:100px;
}

.highscore table{
	border-collapse: collapse;
	width: 100%;
	position:absolute;
	left: 0px;
	top: 80px;
}
.highscore td{
	font-size: 13px;
}
.highscore td,
.highscore th
{
	padding: 5px;
}
.highscore thead{
	background: #663F18;
	color: #fff;
	font-size:14px;
}
.controls{
	position:relative;
	top: 670px;
	text-align: left;
	min-width: 200px;
	width: 945px;
	height: 60px;
	background-color: #F0E8D3;
	padding-bottom: 5px;
	border: 3px ridge #753;
	left: calc(50% - 475px);
}
.controls span{
	font-weight:bold;
	font-size: 16px;
	line-height: 30px;
}
.controls button{
	margin-left: 10px;
}
.controls p{
	margin: 10px;
	float: left;
	height: 100px;
	margin-left:30px;
}
.controls .info{

}

.controls small{
	color: #6A4018;
}

button,
.button{
	padding: 5px;
	font-size: 20px;
}
.title{
	font-weight:bold;
	font-family: Times, Times New Roman, serif;
	font-style: italic;
	font-size: 30px;
	line-height: 10px;
}

.highscore .highscorebuttons{
	padding: 0px;
	margin: 0px;
	position:absolute;
	left: 140px;
	top: 19px;
	width: 299px;
	height: 61px;
/*	background-image: url(images/highscore-head.png); */
}
.highscore .x{
	display: block;
	position: absolute;
	right: 5px;
	top: 5px;
	width: 20px;
	height: 20px;
	font-size: 26px;
	font-weight:bold;
	text-decoration: none;
	color: #666;
}
.x:hover{
	text-decoration: none;
}
.highscore button{
	font-size: 22px;
	padding: 0px 8px;
	margin: 1px;
	font-weight:bold;
}
.highscorebuttons .higher{
	display: none;
	position:absolute;
	left: 10px;
	top: 10px;
	transition: none;
	box-shadow: none;
}
.highscorebuttons .deeper{
	position:absolute;
	right: 10px;
	top: 10px;
	transition: none;
	box-shadow: none;
}
.highscore div{
	width: 136px;
	margin-left: auto;
	margin-right:auto;
}
.highscore h1{
	text-align: center;
	background: none;
	font-size: 30px;
}
.highscore h1:before{
	background: none;
}
.btn-brown,
.btn-brown:hover{
	background: #6A4018;
	color: #fff;
}

.message.win{
	font-size: 14px;
	text-align: left;
}
.message.win .small{
	font-size: 11px;
	margin-top: -45px;
}

.message.win .field{
	width: 230px;
}
.message .content{
	position:relative;
	padding: 20px;
	text-align: center;
}
.message.win .content table{
	position:relative;
	left: 0px;
	top:50px;
}

.messagehead{
	display: block;
	position: absolute;
	left: 0;
	top: 0px;
	height: 80px;
	width: 100%;
	/*
	background-image: url(images/message-head.png);
	background-repeat: no-repeat;
	background-position: center 19px;
	color: #F4E9D8;
	*/
	width: 100%;
	border-bottom: 2px solid #6A4018;
	text-align: center;
	font-size: 24px;
	line-height: 80px;
	font-weight:bold;
}

hr{
	margin: 4.2em;
	border-top:1px solid #66401a;
}

.noMoreMoves{
	height: 400px;
}

.noMoreMoves .content div{
	position: absolute;
	width: 560px;
	top:150px;
	text-align:center;
	font-size: 28px;
}
.noMoreMoves .content .div2 {
	padding-top: 50px;
}

#patternselect{
	width: 120px;
	font-size: 19px;
	padding: 5px;
}

/* mobile enhancement */

.rotatecall{
	display: none;
}

@media only screen and (max-device-width : 979px) and (orientation : portrait){
	.area,
	.message,
	.controls{
		display: none !important;
	}
	.rotatecall{
		display: block !important;
		text-align: center;
		padding-top: 30px;
	}
}

@media only screen and (max-device-width : 767px) and (orientation : landscape){
	.area{
		zoom: .54;
		float: left;
		width: 940px;
		height: 600px;
		top: 0px;
		padding: 10px;
		left: 0;
	}

	.controls{
		zoom: .7;
		float: right;
		width: 90px;
		min-width: 90px;
		top: 5px;
		height: 100%;
		padding: 5px;
		right: 5px;
		left: auto;
		min-height: 450px;
	}
	.controls button{
		width: 90px;
		display: block;
		margin: 0;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 5px;
		font-size: 13px;
		padding: 20px 10px;
	}

	.controls p{
		clear: both;
		margin: 0;
		margin-left: 0;
		height: auto;
	}
	.stage-container{
		display: none;
	}
	.message{
		zoom: .7;
	}
	.message.highscore,
	.message{
		left: 50%;
		top: 15px;
		margin-left: -300px;
	}

	#patternselect{
		width: 100%;
	}
}


