/* GLOBALS */

body {
	font-size: 14px;
	color: #FFFFFF;
	font-family: "Roboto Regular";
	background:transparent;
}


/* GLOBALS END */

::selection {color:currentColor;background:transparent}

*{
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/*******************************/
/* DEFAULTS */
/*******************************/


/*******************************/
/* GAME */
/*******************************/

#newGameContainer.notransparent{
	background-color: #D0F4F4;
	background-image: url(default_images/bg.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
#wrongOrientationContent{
	background-color: #D0F4F4;
}
#startScreen .openImg{
	background-size: auto;
	background-position: center center;
}
#tutorialScreen #tutorialContainer img {
	width: 42%;
}
#gameFunctions{top: 20%;}
.gameInstruction{
	font-size:20px;
	text-align:center;
	color: #FFFFFF;
	padding: 5px 10px;
	background-color: rgba(0,0,0,0.8);
	font-family: "Roboto Bold";
	position: absolute;
	left: 50%;
	width: 270px;
	margin-left: -135px;
	top: 41px;
}
#secondScene{
	width: 290px;
	margin: auto;
	padding: 45px;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	background-color: rgba(0,0,0,0.8);
	position: relative;
	top: -18px;
}
#safeButtons{
	width:192px;
	height:auto;
	margin:auto;
	font-size: 0;
}

#safeCloser{
	width:192px;
	height:50px;
	margin: auto;
	margin-bottom: 13px;
	text-align:center;
}

#safeNumbers{
	width:182px;
	height:50px;
	padding-right: 10px;
	background: #FFFFFF;
	text-align:right;
	font-size:30px;
	font-weight:bold;
	color:#000000;
	margin-bottom:20px;
}

.numButt{
	display:inline-block;
	width:55px;
	height:55px;
	background: #3E3E3E;
	text-decoration:none;
	margin:0 13px 13px 0;
}
.numButt:nth-child(3n+0){
	margin-right: 0!important;
}

.numButt span{
	display:table-cell;
	width:55px;
	height:55px;
	vertical-align:middle;
	text-align:center;
	font-family: 'Roboto Bold';
	font-size:35px;
	color: #FFFFFF;
}

.numPressed{
	background: #CBCBCB;
}

.actionButt{
	display:inline-block;
	width:55px;
	height:55px;
	text-decoration:none;
	margin:0 13px 13px 0;
}
#actionBackspace, #actionEnter, #numButt_0{
	margin-bottom: 0!important;
}
#actionBackspace{
	/*width: 123px;*/
	/*margin-right: 0;*/
	background-color: #3E3E3E;
}
.actionButt span{
	display:table-cell;
	width:123px;
	height:55px;
	vertical-align:middle;
	text-align:center;
	font-family: 'Roboto Bold';
	color:#000000;
}

.actionPressed{
	background: #720A00;
}
#actionEnter{
	margin-right: 0!important;
	background: #3E3E3E;
	/*width: 130px;*/
	/*position: absolute;*/
	/*bottom: -30px;*/
	/*left: 50%;*/
	/*margin-left: -65px;*/
	text-align: center;
}

#actionBackspace span{
	background-image:url(images/backspace.png)!important;
	background-repeat:no-repeat;
	background-position:center center;
	background-size:auto;
}

#actionEnter span{
	background-image:url('images/enter.png');
	background-repeat:no-repeat;
	background-position:center center;
}

.gameTable{
	position: absolute;
	width:470px;
	height:405px;
	padding: 25px;
	margin: 70px 0 0 230px!important;
	background-image: url(images/gametable_bg.png);
	background-repeat: no-repeat;
	background-position: center center;
}

.white{
	background-image: url(images/item_3.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100% auto;
}

.green{
	background-image: url(images/item_4.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100% auto;
}

.cyan{
	background-image: url(images/item_1.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100% auto;
}

.purple{
	background-image: url(images/item_2.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 100% auto;
}
#popupPoint{
	position:absolute;
	display:none; /*table*/
	z-index:600;
	width:100px;
	height:100px;
	border-radius:100px;
	font-size:22px;
	color:#000000;
	box-shadow: 0px 0px 30px rgba(0,0,0,0.2);
	background-color:rgba(255,255,255,1);
	left: 50%!important;
	margin-left: -50px;
	top: 50%!important;
	margin-top: -50px;
}

#popupPoint div{
	display:table-cell;
	width:100px;
	height:100px;
	text-align:center;
	vertical-align:middle;
}

@media only screen and (min-width: 480px) and (max-width: 799px) {

	#startScreen .openImg{
		background-size: 40% auto;
		background-position-y: 20%;
	}
	/*game*/

	.gameTable{
		width: 255px;
		height: 220px;
		left: 50%;
		margin: 30px 0 0 -141px!important;
		padding: 13.5px;
		background-size: 98% auto;
		/*background-position-x: 4px;*/
	}
	.gameInstruction{
		font-size: 15px;
		top: 10px;
		padding: 2px 0;
		width: 220px;
		margin-left: -110px;
	}
	#secondScene{
		width: 220px;
		padding: 10px 20px;
		top: -10px;
	}
	#safeCloser{
		width: 150px;
		height: 25px;
		margin: 0 auto 8px auto;
	}
	#safeNumbers{
		width: 140px;
		height: 25px;
		padding-top: 0;
		font-size: 20px;
	}
	#safeButtons{
		width: 130px;
		height: auto;
		padding: 0 10px 10px 10px;
		background-position: center 184px;
		background-size: 145px auto;
	}
	#safeButtons span{
		width: 37px;
		height: 37px;
		font-size: 20px;
	}
	#safeButtons a{
		width: 37px;
		height: 37px;
		margin: 0px 8px 4px 0px;
	}
	#actionBackspace span,
	#actionEnter span{
		background-size: 60%;
	}
	/*#actionBackspace{
		width: 82px!important;
		margin-right: 0!important;
	}
    #actionBackspace span{width: 82px;}
    #actionEnter{
	    width: 82px!important;
	    margin-left: -41px!important;
	    bottom: -25px;
	    height: 30px!important;
    }
    #actionEnter span{
	    width: 82px!important;
	    height: 30px!important;

    }*/
}

@media only screen and (min-width: 480px) and (max-width: 799px) and (max-height: 260px) {

	#gameScreen #gameStage #safeCloser{
		height: 25px;
	}
	#gameScreen #gameStage #safeCloser #safeNumber{
		height: 25px;
	}
	#safeButtons a{
		margin-bottom: 3px;
	}
	#gameStage .gameTable{
		height: 190px;
		width: 219px;
		padding: 11.6px;
		margin: 30px 0 0 -121px!important;
	}
	.gameInstruction{
		width: 200px;
		margin-left: -100px;
	}
	#safeButtons span{
		height: 27px;
	}
	#safeButtons a{
		height: 27px;
	}
	/*#actionBackspace span{background-size: auto 50%;}*/
	/*#actionEnter{bottom: -18px;}*/
	/*#actionEnter span{font-size: 17px;}*/
	.counterBox{height: 45px;}
	.counterLabel{top: 25px;}
}