/* 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;
}

/*******************************/
/* DEFAULTS */
/*******************************/



/*******************************/
/* COLORS */
/*******************************/



/*******************************/
/* GAME */
/*******************************/

#newGameContainer.notransparent{
	background-color: #9CA831;
	background-image: url(default_images/bg.png);
	background-repeat: no-repeat;
	background-position: center left;
	background-size: cover;
}
#wrongOrientationContent{
	background-color: #9CA831;
}

#startScreen .openImg{
	background-size: auto;
	background-position: center 30%;
}

#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;
}
#container{
	background-color: rgba(0,0,0,0.8);
	width: 700px;
	height: auto;
	margin: auto;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding: 20px;
	margin-top: -40px;
}
.row{
	display: table;
	width: 100%;
}
.row:nth-child(1){margin-bottom: 6px;}
.row.answers{
	position: absolute;
	left: 0;
	bottom: 20px;
}
.row .left, .row .right{
	display: table-cell;
	vertical-align: top;
	width: 50%;
}
.row .left{padding-right: 3px;}
.row .right{padding-left: 3px;}
.img{
	width: 170px;
	height: 170px;
	border: 5px solid #ffffff;
	border-bottom-width: 20px;
	border-top-width: 10px;
	display: inline-block;
}
.img img{
	width: 100%;
	height: auto;
	border-radius: 1px;
	margin: 0;
	padding: 0;
	display: block;
}
.img img.flip{
	-moz-transform: scaleX(-1);
	-o-transform: scaleX(-1);
	-webkit-transform: scaleX(-1);
	transform: scaleX(-1);
	filter: FlipH;
	-ms-filter: "FlipH";
}
.img, .text{
	display: table-cell;
	vertical-align: middle;
}
.text{width: 50%;}
.container_4 .text{width: 45%;}
.text span{
	width: auto;
	padding: 10px 10px;
	background-color: rgba(0,0,0,0.8);
	color: #FFFFFF;
	font-size: 13px;
	position: relative;
	display: inline-block;
	line-height: 120%;
	max-width: 70%;
	min-width: 110px;
}
.answers .left{text-align: right;}
.answers .right{text-align: left;}
.answer{
	padding: 10px 50px;
	text-transform: uppercase;
	font-size: 18px;
	color: #FFFFFF;
	background-color: rgba(0,0,0,0.8);
	display: inline-block;
	margin-top: 20px;
	cursor: pointer;
}
#result{
	position: absolute;
	width: 100px;
	height: 100px;
	top: 35%;
	left: 50%;
	margin-left: -50px;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	display: none;
}
#result.good{
	background-image: url('images/good.png');
}
#result.wrong{
	background-image: url('images/wrong.png');
}

.container_2 .row:first-child{
	margin-left: 65px;
}
.container_2 .row:nth-child(2){
	margin-left: 245px;
}
.container_2 .row:nth-child(2) .right{padding-left: 0;}

@media only screen and (min-width: 480px) and (max-width: 799px) {

	#startScreen .openImg{
		background-size: 40% auto;
	}

	/*game*/
	#gameStage{/*m*/
		margin-top: 0;
	}

	.gameTable{/*m*/
		width: auto;
		height: 100%;
	}
	#container{
		width: 400px;
		padding: 5px;
	}
	.img{
		width: 80px;
		height: 80px;
		border: 2px solid #ffffff;
		border-bottom-width: 10px;
		border-top-width: 5px;
	}
	.img img{
		width: 80px;
		height: 80px;
	}
	.text{width: 122px;}
	.text span{
		padding: 5px;
		font-size: 10px;
		width: 80px!important;
		min-width: inherit!important;
	}
	.answer{
		font-size: 16px;
		padding: 5px 30px;
		margin-top: 10px;
	}
	#result{
		width: 50px;
		height: 50px;
		top: 37%;
		margin-left: -25px;
	}
	.counterLabel{font-size: 10px;}
	.container_2 .row:first-child {
		margin-left: 30px;
	}
	.container_2 .row:nth-child(2) {
		margin-left: 152px;
	}
	.container_4 .text {
		width: 56%;
	}
}

@media only screen and (min-width: 480px) and (max-width: 799px) and (max-height: 260px) {

	#container{
		width: 340px;
		padding: 5px;
	}
	.img{
		width: 70px;
		height: 70px;
	}
	.img img{
		width: 70px;
		height: 70px;
	}
	.text{width: 98px;}
	.text span{
		padding: 5px 2px;
		font-size: 8px;
		width: 60px!important;
	}
	#result{
		top: 32%;
	}
	.container_2 .row:first-child {
		margin-left: 40px;
	}
	.container_2 .row:nth-child(2) {
		margin-left: 138px;
	}
	.row.answers{bottom: 10px;}
	.answer{font-size: 14px;}
}