
/****************************************
  ==== RESETS
****************************************/

html,body,div,canvas { margin: 0; padding: 0; }
::-moz-selection { color: #333; text-shadow: none; }
::selection {  color: #333; text-shadow: none; }
.clear:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.clear { display: inline-table; clear: both; }
/* Hides from IE-mac \*/ * html .clear { height: 1%; } .clear { display: block; } /* End hide from IE-mac */

/****************************************
  ==== LAYOUT
****************************************/

html, body { width: 100%; height: 100%; font-family: Helvetica, Verdana, Arial, sans-serif; }
body{
	background: url(./img/bg.png);
}
#header{
	width: 1031px;
	margin: 0 auto;
}
#logo{
	background: url(./img/logo.png);
	width: 320px;
	height: 77px;
	margin-left: 40px;
	margin-top: 30px;
}
#mobile_logo{
	background: url(./img/mobile_logo.png);
	background-size: cover;
	height: 176px;
	width: 704px;
	margin: auto;
	margin-top: 35px;
}
#prize{
	background: url(./img/prizes2.png) no-repeat;
	height: 74px;
	position: absolute;
	width: 360px;
	top: -1px;
	right: 30px;
}
#game{
	margin: auto;
	position: relative;
	display: block;
	width:900px;
}
.emscripten{
	box-shadow: 0 10px 30px rgba(0,0,0,0.8); 
	-moz-box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}
a.google{
	background: url(./img/google-n.png) no-repeat ;
	height: 48px;
	width: 150px;
	float: right;
}
a.google:hover{
	background: url(./img/google.png) no-repeat ;
}
a.apple{
	background: url(./img/apple-n.png) no-repeat ;
	height: 48px;
	width: 150px;
	float: right;
}
a.apple:hover{
	background: url(./img/apple.png) no-repeat ;
}
a.facebook{
	background: url(./img/fb-n.png) no-repeat ;
	height: 48px;
	width: 150px;
	float: left;
}
a.facebook:hover{
	background: url(./img/fb.png) no-repeat ;
	z-index: 10;
}
#cache a{
	width: 0px;
	height: 0px;
}
#cache a.facebook{
	background: url(./img/fb.png) no-repeat ;
}
#cache a.google{
	background: url(./img/google.png) no-repeat ;
}
#cache a.apple{
	background: url(./img/apple.png) no-repeat ;
}
#copyright{
	width: 400px;
	text-align: left;
	margin: 0 auto;
	margin-top: 20px;
	margin-bottom: 10px;
	font-size: 12px;
}
#footer{
	text-align: center;
	width: 1031px;
	margin: 0 auto;
	margin-top: 20px;
}
ul{
	list-style: none;
	width: 87%;
	margin: 0 auto;
	position: relative;
	padding:0px;
}
ul li{
	display: inline-block;
	margin: 4px 14px 4px 14px;
	padding: 0px;
}
.reg-container{
	width: 10px;
	height: 10px;
	position: relative;
	display: inline-block;
}
.reg{
	font-size: 15px;
	display: inline-block;
	top: -7px;
	position: absolute;
	left: 0px;
}
div.title { height: 38px; line-height: 38px; padding: 0 10px; margin: 0 1px 0 0; float: right; color: #333; text-align: right; font-size: 18px; position: relative; z-index: 10; }
.template-wrap { position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); }


.textObject {
	z-index: 50;
	color : #fff;
	text-shadow: 0 2px 2px rgba(0,0,0,0.8);
	font-family: "Fredoka One", Arial, Verdana;
}

.loadingText {
	height: 43px;
	width: 138px;
	text-align: center;
	font-size: 36px;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.ellipsisText {
	height: 43px;
	width: 40px;
	position: absolute;
	text-align: left;
	font-size: 36px;
	right: -40px;
	top: 0px;
}

.tips {
	width: 90%;
	text-align: center;
	font-size: 24px;
	position: absolute;
	top: 70%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.progressBarEmpty {
	position:absolute;
	bottom:0px;
	height:5px;
	width:100%;
	background: url('progressBarEmpty.png') no-repeat;
}

.progressBarFull {
	background: url('progressBarFull.png') no-repeat left / cover;
	float: left;
	width: 0%; 
	height: 100%;
	display: inline-block;
}

.fullScreen{
	background-image: url(./img/fullscreen_button.png);
	background-repeat: no-repeat;
	position: absolute;
	width: 40px;
	height: 40px;
	background-size:contain;
	bottom: -48px;
	right: 0px;
	cursor:pointer;
}

.tooltiptext {
	font-family: Arial, Verdana;
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    top: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.5s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #000 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

