*{
	margin: 0;
	padding: 0;
}

body {
	background-color: #F2F2F2;
	font-size: 14px;
	color: #666666;
	font-family: "Arial";
}

/*******************************/
/* SIZES */
/*******************************/

#gameContainer{
	width:850px;
	height:570px;
	margin:auto;
}

#gameHeader{
	width:850px;
	height:30px;
	position:absolute;
	z-index:200;
}

#gameHome{
	display:inline-block;
	width:56px;
	height:49px;
	background-image:url('/images/new/home.png');
	background-repeat:no-repeat;
	background-position:center center;
}

#startScreen{
	width:100%;
	height:100%;
}

#startImage{
	width:850px;
	position:absolute;
	z-index:100;
	text-align:center;
	padding-top:74px;
}

#startImage img{
}

#startFooter{
	padding-top:436px;
	width:100%;
}

#startFooterTable{
	width:100%;
	height:134px;
	border-collapse:collapse;
}

#startFooterTable .left{
	width:112px;
}

#startFooterTable .right{
	width:112px;
}

#startSound{
	display:inline-block;
	width:100%;
	height:119px;
	background-image:url('/images/new/nyito_hangbe.png');
	background-repeat:no-repeat;
	background-position:center center;
}

#startNext{
	display:inline-block;
	width:100%;
	height:119px;
	background-image:url('/images/new/nyito_tovabb.png');
	background-repeat:no-repeat;
	background-position:center center;
}

#startText{
	display:inline-block;
	font-size:13px;
	line-height: 110%;
	margin:10px;
}

#tutorialFooter{
	padding-top:436px;
	width:100%;
}

#tutorialFooterTable{
	width:100%;
	height:134px;
	border-collapse:collapse;
}

#tutorialFooterTable .left{
	width:112px;
}

#tutorialFooterTable .right{
	width:112px;
}

#tutorialFooterTable .center{
}

#tutorialPrev{
	display:inline-block;
	width:100%;
	height:119px;
	background-image:url('/images/new/elozo.png');
	background-repeat:no-repeat;
	background-position:center center;
}

#tutorialNext{
	display:inline-block;
	width:100%;
	height:119px;
	background-image:url('/images/new/kovetkezo.png');
	background-repeat:no-repeat;
	background-position:center center;
}

#tutorialContainer{
	width:730px;
	height:340px;
	position:absolute;
	z-index:100;
	text-align:left;
	padding-top:74px;
	margin-left:60px;
}

#tutorialContainer img{
	float:left;
	margin-right:20px;
}

#gameFunctions{
	width:180px;
	height:510px;
	position:absolute;
	z-index:180;
	margin-top:40px;
	margin-left:650px;
}

#gameCounters{
	margin:10px;
	height:320px;
}

#gameFuncCont{
	margin:0px 10px 10px 10px;
	text-align:right;
}

.funcButt{
	display:inline-block;
	width:50px;
	height:50px;
	background-repeat:no-repeat;
	background-position:center center;
	margin:8px;
}

#gameHelp{
	background-image:url('/images/new/segitseg.png');
}

#gameSound{
	background-image:url('/images/new/hangbe.png');
}

#gameClose{
	background-image:url('/images/new/kilepes.png');
}

#endTable{
	width:730px;
	height:540px;
	position:absolute;
	z-index:100;
	text-align:left;
	padding-top:74px;
	margin-left:60px;
}

#endImage{
	width:380px;
}

#endFinctions{
	height:114px;
}

.funcButtBig{
	display:inline-block;
	width:114px;
	height:114px;
	background-repeat:no-repeat;
	background-position:center center;
}

#endRestart{
	background-image:url('/images/new/ujra.png');
}

#endStat{
	margin-left:80px;
	background-image:url('/images/new/statisztika.png');
}

#endDatas{
	height:338px;
}

#endText{
	display:inline-block;
	font-size:15px;
	line-height: 110%;
	margin-top:0px;
}

.counterBoxBig{
	margin-bottom:10px;
}

.counterBoxBig .counterNumbers{
	padding:5px;
	font-size:37px;
	font-weight:bold;
	height:36px;
	line-height: 100%;
	text-align:center;
}

.counterBoxBig .counterLabel{
	font-size:30px;
	font-weight:normal;
	height:36px;
	line-height: 100%;
	margin-bottom:4px;
}

.counterBox{
	margin-bottom:10px;
}

.counterBox .counterNumbers{
	padding:5px;
	font-size:22px;
	font-weight:bold;
	height:20px;
	line-height: 100%;
}

.counterBox .counterLabel{
	font-size:16px;
	font-weight:bold;
	height:16px;
	line-height: 100%;
	margin-bottom:4px;
}

/*******************************/
/* COLORS */
/*******************************/

#gameContainer{
	background:#ff6600;
}

#gameHeader{
	background:#cd001e;
}

#gameHome{
	background-color:#760000;
	border:6px solid #cd001e;
}

#startScreen{
	border:0px solid #FF0000;
}

#startImage img{
	border:6px solid #666666;
}


#startFooterTable{
	background-color:#760000;
	border:6px solid #cd001e;
}

#startFooterTable .left{
	border-right:6px solid #cd001e;
}

#startFooterTable .right{
	border-left:6px solid #cd001e;
}

#startSound{
	background-color:#760000;
}

#startNext{
	background-color:#760000;
}

#startText{
	color:#FFFFFF;
}

#tutorialFooterTable{
	background-color:#760000;
	border:6px solid #cd001e;
}

#tutorialFooterTable .left{
	border-right:6px solid #cd001e;
}

#tutorialFooterTable .right{
	border-left:6px solid #cd001e;
}

#tutorialFooterTable .center{
	background-color:#cd001e;
}

#tutorialPrev{
	background-color:#760000;
}

#tutorialNext{
	background-color:#760000;
}

#tutorialContainer{
	color:#FFFFFF;
}

#gameFunctions{
	background-color:#ffdf08;
	border:6px solid #cd001e;
}

.funcButt{
	background-color:#760000;
	border:6px solid #ce011f;
}

#endTable{
	color:#FFFFFF;
}

.funcButtBig{
	background-color:#000000;
	border:6px solid #666666;
}

#endText{
	color:#FFFFFF;
}

.counterBoxBig{
	border:0px solid #FF0000;
}

.counterBoxBig .counterNumbers{
	border:3px solid #a4620b;
	background:#ffffff;
	color: #000000;
}

.counterBox .counterNumbers{
	border:3px solid #a4620b;
	background:#ffffff;
	color: #000000;
}

/*******************************/
/* GAME */
/*******************************/


#gameStage{
	background-color:#fff568;
	background-image: url("/jatekok/ujfelszallo/images/game_stage_bck.jpg");
	width:600px;
	height:460px;
	margin-top:80px;
	margin-left:30px;
	position:absolute;
	z-index:220;
}

#gameBlock{
	position:absolute;
	width:100px;
	height:100px;
	background:#ff6600;
}

#gameMessage{
	background: #FF6600;
}

#msgTd{
	color:#FFFFFF;
	text-shadow: 0px 0px 10px #000000;
}


#gameAlert{
background: #F60;
}

#alertTd{
color:#FFFFFF;
text-shadow: 0px 0px 10px #000000;
}

#alertTd a{
background-color:#760000;
}

.felszTrue{
border:4px solid #00FF00;
}

.felszFalse{
border:4px solid #FF0000;
}

@media only screen and (min-width: 480px) and (max-width: 799px) {

	/*BASIC SETTINGS*/

	#gameContainer{
		width: 100%;
	}
	#gameContainer #gameHeader #gameHome{
		width: 26px;
		height: 24px;
		background-size: 80%;
		border-width: 3px;
	}

	/* startScreen */

	#startScreen #startImage{
		padding-top: 34px;
		width: 100%;
	}
	#startScreen #startImage img{
		width: 308px;
	}
	#startFooter{
		padding-top: 191px;
		width: 100%;
	}
	#startFooterTable{
		height: 74px;
	}
	#startFooterTable .left, #startFooterTable .right{
		width: 62px;
	}
	#startFooterTable .left a span, #startFooterTable .right a span{
		height: 59px;
		background-size: contain;
	}

	/* gameMessage */

	#gameMessage{
		width: 100%;
		/*height: 270px;*/
		height: 100%;
	}
	#gameMessage #msgTd{
		width: 100%;
		/*height: 260px;*/
		height: 100%;
		font-size: 40px;
		margin: 50px auto auto 0;
		display: block;
	}

	/* gameAlert */

	#gameAlert{
		width: 100%;
	}
	#gameAlert #alertTd{
		height: 260px;
	}
	#gameAlert #alertTd h1{
		font-size: 40px;
	}

	/* tutorialScreen */

	#tutorialScreen{
		width: 100%;
	}
	#tutorialScreen #tutorialContainer{
		width: 80%;
		height: auto;
		margin-left: 80px;
		padding-top: 44px;
	}
	#tutorialScreen #tutorialContainer img{
		height: 130px;
	}
	#tutorialScreen #tutorialContainer span{
		font-size: 10px;
	}
	#tutorialScreen #tutorialFooter{
		padding-top: 186px;
	}
	#tutorialScreen #tutorialFooter #tutorialFooterTable{
		height: 74px;
	}
	#tutorialScreen #tutorialFooter #tutorialFooterTable .left, #tutorialScreen #tutorialFooter #tutorialFooterTable .right{
		width: 62px;
	}
	#tutorialScreen #tutorialFooter #tutorialFooterTable .left a span, #tutorialScreen #tutorialFooter #tutorialFooterTable .right a span{
		height: 59px;
		background-size: contain;
	}

	/* gameScreen */

	#gameScreen #gameStage{
		margin-top: 40px;
		margin-left: 10px;
		height: 217px;
		width: 255px;
		background-size: contain;
		background-repeat: no-repeat;
	}
	#gameScreen #gameFunctions{
		margin-left: 0;
		height: 205px;
		right: 10px;
	}
	#gameScreen #gameFunctions #gameCounters {
		height: 150px;
		margin: 5px;
	}
	#gameScreen #gameFunctions #gameCounters .counterBox{
		margin-bottom: 5px;
	}
	#gameScreen #gameFunctions #gameCounters .counterBox .counterLabel{
		font-size: 12px;
		height: 12px;
	}
	#gameScreen #gameFunctions #gameCounters .counterBox .counterNumbers{
		font-size: 16px;
		height: 14px;
	}
	#gameScreen #gameFunctions #gameFuncCont {
		margin: 0 5px 5px 5px;
		text-align: left;
	}
	#gameScreen #gameFunctions #gameFuncCont .funcButt{
		width: 30px;
		height: 30px;
		background-size: 80%;
		margin: 0 6px 6px 6px;
	}

	/* endScreen */

	#endScreen #endTable{
		margin: auto;
		padding-top: 35px;
		width: 350px;
		position: relative;
		height: 270px;
	}

	#endScreen #endTable #endImage{
		width: 150px;
		text-align: center;
	}
	#endScreen #endTable #endImage img{
		height: 160px;
	}
	#endScreen #endTable #endDatas {
		height: 160px;
	}
	#endScreen #endTable #endDatas .counterLabel {
		height: 18px;
		font-size: 20px
	}
	#endScreen #endTable #endDatas .counterNumbers {
		font-size: 27px;
		height: 26px;
	}
	#endScreen #endTable #endDatas #endText{
		font-size: 11px;
	}
	#endScreen #endTable #endFinctions{
		height: 44px;
	}
	#endScreen #endTable #endFinctions .funcButtBig{
		width: 38px;
		height: 38px;
		background-size: contain;
	}

	/*BASIC SETTINGS END*/

	/* jatek */

	#timeCounter{
		width: 46px!important;
	}
	#timeCounter .counterNumbers{
		font-size: 15px!important;
		padding: 2px!important;
		height: 12px!important;
	}
}