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

div#bgBar {
    position: relative;
	max-width: 34.6%;
    margin: auto;
	height: 8%;
	display: block;
    z-index: 100;
}

div#bgBackground{
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    height:100%;
    position: absolute;
    z-index: 5;
}

div#bgBackground_mask{
    height:100%;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

div#bgBackground_mask img{
    display: block;
    max-height: inherit;
    min-width: 100%;
    min-height: 100%;
    width:auto;
    border:none;
    margin:0;
    padding:0;
}

div#progressBarLeft{
    position: relative;
    float: left;
    height: 100%;
    max-height: 100%;
    display: inline-block;
    width: 7.7%;
}

div#progressBar {
    position: relative;
    float: left;
    width: 0%;
    height: 100% !important;
    z-index: 3;
    background-size: contain;
    max-width: 84.8%;
    margin-left:-1px;
}

div#progressBarRight{
    position: relative;
    float: left;
    height: 100%;
    max-height: 100%;
    margin-left:-1px;
    width: 7.7%;
}

#progress_message {
    display: none;
    position: absolute;
    z-index: 4;
    text-align: center;
    width: 100%;
    height: 2.6%;
    border-radius: 4px;
    color: rgba(255,255,255,1);
    font-size: 2.8vw;
    font-weight: bold;
    -webkit-text-stroke: 0.8px rgba(0,0,0,0.6);
}

#webglContent {
    width: 100%;
    margin: 0 auto;
    position: absolute;
    text-align: center;
}

#gameContainer {
    position: relative;
    background: none !important;
}

#splashContainer {
    position: absolute;
    top: 0px;
    width: 100%;
    height: auto;
}

#splashContent img {
    height: auto;
    width: 100%;
}

#messageContainer {
    top: 70%;
    width: 100%;
    height: 20px;
    color: white;
}

#loadingWrapper {
    margin: auto;
    width: 100%;
    height: 2%;
    text-align: center;
}

#loadingText {
    position: absolute;
    color: white;
    top: 110%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: 1500px;
    height: 3%;
    text-align: center;
    font-size: 1.5vw;
}

#loadingBox {
    position: absolute;
     top: 75%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, 0%);
    width: 100%;
    height: 100%;
}