/* GLOBALS */

/* NORMAL */

body {
	font-size: 14px;
	color: #FFFFFF;
	font-family: "Roboto Medium", "Arial";
	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: #8F5B36;
	background-image: url(default_images/bg.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
#wrongOrientationContent{
	background-color: #8F5B36;
}
#startScreen .openImg{
	background-size: auto;
	background-position: center 78%;
}
#gameStage{
	position: absolute;
	z-index: 510;
	width: 100%;
	height: 100%;
}
#gameTable {
	text-align: center;
	display: table;
	width: 100%;
	height: 100%;
}
#gameTableCell{
	display: table-cell;
	vertical-align: middle;
	font-size: 0;
}
#container{
	width: 590px;
	height: 520px;
	background-color: rgba(255,253,252, 0.9);
	padding: 20px 50px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	margin: auto;
}
.etalon{
	width: 200px;
	height: 200px;
	margin: auto;
}
.etalonLego{
	width: 200px;
	height: 200px;
	margin: auto;
	background-color: #EEA391;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
}
.legoOptions{width: 100%;margin-top: 20px;}
.lego{
	display: inline-block;
	width: 130px;
	height: 130px;
	margin: 0 15px 10px 15px;
	cursor: pointer;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
}
.good{background-color: #A4EDA9;}
.wrong{background-color: #EF917A;}

.pulsate{
	-webkit-animation: myPulsate 0.8s; /* Chrome, Safari, Opera */
	-webkit-animation-fill-mode: forwards;
	animation: myPulsate 0.8s;
	animation-fill-mode: forwards;
}

/* Chrome, Safari, Opera */
@-webkit-keyframes myPulsate
{
	0% {opacity: 1;}
	16% {opacity: 0.3;}
	32% {opacity: 1;}
	48% {opacity: 0.3;}
	66% {opacity: 1;}
	82% {opacity: 0.3;}
	100% {opacity: 1;}
}

/* Standard syntax */
@keyframes myPulsate
{
	0% {opacity: 1;}
	16% {opacity: 0.3;}
	32% {opacity: 1;}
	48% {opacity: 0.3;}
	66% {opacity: 1;}
	82% {opacity: 0.3;}
	100% {opacity: 1;}
}

@media only screen and (min-width: 480px) and (max-width: 799px) {

	#startScreen .openImg{
		background-size: 40% auto;
		background-position: center 10%;
	}
	#container{
		width: 410px;
		min-height: 210px;
		height: auto;
		padding: 5px 20px;
	}
	.legoOptions{
		margin-top: 10px;
	}
	.lego{
		width: 70px;
		height: 70px;
		margin-bottom: 0;
	}
	.etalon{
		width: 110px;
		height: 110px;
	}
	.etalonLego{
		width: 110px;
		height: 110px;
		background-size: contain;
	}

}

@media only screen and (min-width: 480px) and (max-width: 799px) and (max-height: 260px) {

	#container{
		width: 350px;
		min-height: 175px;
		padding: 5px 20px;
	}
	.legoOptions{
		margin-top: 5px;
	}
	.lego{
		width: 60px;
		height: 60px;
	}
	.etalon{
		width: 100px;
		height: 100px;
	}
	.etalonLego{
		width: 100px;
		height: 100px;
	}
}

