/* GLOBALS */

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;
}

/*******************************/
/* GAME */
/*******************************/

#newGameContainer.notransparent{
	background-color: #F4C882;
	background-image: url(default_images/bg.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
#wrongOrientationContent{
	background-color: #F4C882;
}

#startScreen .openImg{
	background-size: auto;
	background-position: center 20%;
}
#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;
}

#content{
	display: table;
	width: 600px;
	height: 410px;
	margin: auto;
	/*background-color: #D48B58;*/
	/*background-color: #6D6E6E;*/
	background-color: #825843;
	position: relative;
}
#top, #bottom, #equal{
	text-align: center;
	margin-top: 30px;
}
.clickable{
	width: 420px;
	height: 110px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	cursor: pointer;
	border: 5px solid white;
	color: #FFFFFF;
	display: inline-block;
	font-size: 50px;
	font-family: 'Roboto Bold';
	line-height: 110px;
}
#equal .clickable{
	background-color: #3A3058;
	text-transform: uppercase;
	width: 180px;
	height: 50px;
	font-size: 25px;
	line-height: 42px;
}
.color_1{background-color: #0071AE}
.color_2{background-color: #38A5D0}
.color_3{background-color: #8F6796}
.color_4{background-color: #DC5226}
.color_5{background-color: #F1AC26}
.show{
	-webkit-transition: animation ease-out 0.3s;
	transition: animation ease-out 0.3s;
}
#top .show{
	-webkit-animation: swing_left .2s;
	animation: swing_left .2s;
}
#bottom .show{
	-webkit-animation: swing_right .2s;
	animation: swing_right .2s;
}
#equal .show{
	-webkit-animation: scale .2s;
	animation: scale .2s;
}
.clickable.good, #equal .clickable.good{background-color: #0A988A;}
.clickable.wrong, #equal .clickable.wrong{background-color: #E54242;}
@-webkit-keyframes swing_left
{
	from {
		-webkit-transform: translateX(-100px);
		-moz-transform: translateX(-100px);
		transform: translateX(-100px);
		opacity: 0;
	}
	to {
		-webkit-transform: translateX(0);
		-moz-transform: translateX(0);
		transform: translateX(0);
		opacity: 1;
	}
}
@keyframes swing_left
{
	from {
		-webkit-transform: translateX(-100px);
		-moz-transform: translateX(-100px);
		transform: translateX(-100px);
		opacity: 0;
	}
	to {
		-webkit-transform: translateX(0);
		-moz-transform: translateX(0);
		transform: translateX(0);
		opacity: 1;
	}
}
@-webkit-keyframes swing_right
{
	from {
		-webkit-transform: translateX(100px);
		-moz-transform: translateX(100px);
		transform: translateX(100px);
		opacity: 0;
	}
	to {
		-webkit-transform: translateX(0);
		-moz-transform: translateX(0);
		transform: translateX(0);
		opacity: 1;
	}
}
@keyframes swing_right
{
	from {
		-webkit-transform: translateX(100px);
		-moz-transform: translateX(100px);
		transform: translateX(100px);
		opacity: 0;
	}
	to {
		-webkit-transform: translateX(0);
		-moz-transform: translateX(0);
		transform: translateX(0);
		opacity: 1;
	}
}
@-webkit-keyframes scale
{
	from {
		-webkit-transform: scale(0);
		-moz-transform: scale(0);
		transform: scale(0);
		opacity: 0;
	}
	to {
		-webkit-transform: scale(1);
		-moz-transform: scale(1);
		transform: scale(1);
		opacity: 1;
	}
}
@keyframes scale
{
	from {
		-webkit-transform: scale(0);
		-moz-transform: scale(0);
		transform: scale(0);
		opacity: 0;
	}
	to {
		-webkit-transform: scale(1);
		-moz-transform: scale(1);
		transform: scale(1);
		opacity: 1;
	}
}
.result{
	display: none;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	position: absolute;
	top: 31%;
	left: 50%;
	margin-left: -70px;
	-webkit-transition: transform ease-out 0.3s;
	transition: transform ease-out 0.3s;
	box-shadow: 0 0 5px rgba(0,0,0,0.6);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
}
.result.good{
	display: block;
	background-image: url('images/good.png');
	-webkit-animation: scale .2s;
	animation: scale .2s;
}
.result.wrong{
	display: block;
	background-image: url('images/wrong.png');
	-webkit-animation: scale .2s;
	animation: scale .2s;
}
@media only screen and (min-width: 480px) and (max-width: 799px) {

	#startScreen .openImg{
		background-size: 40%;
		background-position: center 20%;
	}
	#content {
		width: 430px;
		height: 270px;
	}
	.clickable {
		width: 340px;
		height: 70px;
		font-size: 40px;
		line-height: 60px;
	}
	#top, #bottom, #equal {margin-top: 20px;}
	.result {
		width: 100px;
		height: 100px;
		top: 32%;
		margin-left: -50px;
	}

}

@media only screen and (min-width: 480px) and (max-width: 799px) and (max-height: 260px) {

	#content {
		width: 370px;
		height: 210px;
		margin-left: 30px;
	}
	.clickable {
		width: 300px;
		height: 50px;
		font-size: 30px;
		line-height: 40px;
	}
	#top, #bottom, #equal {
		margin-top: 15px;
	}
	.result {
		width: 80px;
		height: 80px;
		top: 31%;
		margin-left: -40px;
	}

}