
/****************************************
  ==== 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
****************************************/

@font-face { font-family: Avenir; src: url('./img/fonts/AvenirNextCondensed-Medium.ttf'); } 
html, body { width: 100%; height: 100%; font-family: Helvetica, Verdana, Arial, sans-serif; }
body{
	background: url(./img/bg.png);
}
#header{
	width: 500px;
	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);
}
#copyright{
	width: 500px;
	text-align: center;
	margin: 0 auto;
	margin-top: 20px;
	margin-bottom: 10px;
	font-size: 17px;
}
#footer{
	text-align: center;
	width: 500px;
	margin: 0 auto;
	margin-top: 20px;
}
ul{
	list-style: none;
	width: 50%;
	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;
	font-family: Avenir, sans-serif;
}

.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;
}

.loadingSpinner {
	height: 100px;
	width: 100px;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -50px;
	margin-left: -50px;
}

.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') round;
}

.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;
}


.spinning {
    -webkit-animation:spin 1.5s linear infinite;
    -moz-animation:spin 1.5s linear infinite;
    animation:spin 1.5s linear infinite;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }


