
/****************************************
  ==== 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; background: #000; }
div.logo { width: 204px; height: 38px; float: left; background: url(logo.png) 0 0 no-repeat; position: relative; z-index: 10; }
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%); }
.template-wrap canvas { margin: 0 0 10px 0; position: relative; z-index: 9; box-shadow: 0 10px 30px rgba(0,0,0,0.2); -moz-box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.fullscreen { float: right; position: relative; z-index: 10; }


.webgl-content{
	position:relative;
	margin:0px auto;
	width:1280px;
	height:720px;
margin-top:calc(50vh - 360px);	
}

#gameContainer{
	margin:0px auto;
}

div#loadingBox {
  width: 100%;
  height:100%;
  /*height: 20px;*/
  position: absolute;
 /* top: 50%;
  margin-top: -10px;*/
  top:0px;
  text-align: center;
}

#progressBG{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left:0px;
	background: url('../background.png') no-repeat center center;
	background-size:cover;
}

#loadingPercent{
  position: absolute;
  width: 100%;
  left: 0px;
  top:70%;
  text-align:center;
  font-size:18px;
  line-height:48px;
  display: block;
	color: #fff;
	transition:all 0.35s;
	-webkit-transition:all 0.35s;
	-moz-transition:all 0.35s;
	-o-transition:all 0.35s;
}

#loadingPercent.inverse-color{
	color: #fff;
}

div#bgBar {
  position: absolute;
  width: 540px;
  margin-left: -270px;
  left: 50%;
    top:70%;
  height: 48px;
  display: block;
  background-color: #333;
  background: url('../TemplateData/ProgressFrame.Light.png') no-repeat center center;
  background-size:cover;
}
div#progressBar {
  left: 50%;
    top:70%;
  position: absolute;
  margin-left: -233px;
  margin-top:7px;
  width: 0px;
  height: 34px;
  background-color: white;
  border-radius: 2px;
  background: url('../TemplateData/ProgressFrame.Dark.png') no-repeat center center;
  background-size:cover;
}
div#bgBar {
  border-radius: 2px;
}

p#loadingInfo {
  color: #666;
  letter-spacing: 1px;
  position: absolute;
  width: 100%;
  font-family: "Monaco", sans-serif;
  text-transform: uppercase;
  text-align: center;
  font-size: 10px;
  margin-top: 10px;
}

p#additionalInfo {
  color: #666;
  font-style: italic;
  letter-spacing: 1px;
  position: absolute;
  width: 100%;
  font-family: "Arial", sans-serif;
  text-transform: uppercase;
  text-align: center;
  font-size: 10px;
  margin-top: 25px;
}