


/****************************************
  ==== 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 { }
p.header, p.footer { display: none; }
div.logo { width: 500px; height: 345px; float: left; background: url(logo.png) 0 0 no-repeat; position: relative; z-index: 10; }
div.title { height: 27px; line-height: 27px; padding: 0 7px; margin: 0 1px 0 0; float: right; color: #D2D2D2; text-align: right; font-size: 13px; position: relative; z-index: 10; }
div.addgame{ height: 28px; line-height: 28px; padding: 0 10px; margin: 0 1px 0 0; float: left; color: #333; text-align: left; font-size: 13px; position: relative; z-index: 10; }
a.button{

    
    background: #ae36eb;
    padding: 8px;
    text-align: center;
    border-radius: 3px;
    color: white;
    font-weight: bold;
    text-decoration:none;
}
a.button:hover{
background: #ae36eb;
}
.template-wrap { position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); background: #ae36eb; }
.template-wrap canvas {  margin: 0 0 0px 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; padding-right:4px; }
.testing{ position:fixed;bottom:0px; width:100%; color:white; font-size:20px; line-height: 33px; margin: 0 0px 0 0;}
.logolink{ text-align:center; width:200px; max-width:200px; color:white; font-size:20px;background:green; line-height: 33px; margin: 0 0px 0 0;}

#background { background: #ae36eb; position: absolute; }
#screen { position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); text-align: center; width: 100%; }
#y8-logo { background-image: url('super-cars-300x200.jpg'); width: 300px; height: 200px; margin: 0 auto; box-shadow: 0 0 15px 10px #141414; border-radius:10px; }
#progress-frame-loader { margin: 0 auto; margin-top: 20px; height: 18px; width: 141px; visibility: hidden; }
#progress-bar-loader { height: 18px; width: 141px; margin: 0 auto; text-align: left; margin-top: -18px; }
#progress-bar { height: 18px; }
#message-area { color: #ffffff; width: 100%; font-size:14px; font-weight: bold; }
#message-area img { vertical-align: middle; }
#name-display { color: #ffffff; width: 100%; font-size:20px; font-weight: bold; }
#headerTop{display:inline-block;color:#222c36; font:22px/22px Arial,tahoma,sans-serif;font-weight: bold;font-weight:bold;line-height:25px;vertical-align:middle;text-shadow:0px 0px 0px #00476c;float:left;margin:0; margin-left:10px; margin-top:2px; width:200px;}#top #headerTop b{font-size:18px;font-weight:normal;color:#cdedff;line-height:25px;}#top a:hover #headerTop b{color:#fff;}#top #headerTop .yellow{color:#ffe53a;}.yellow{color:#ffe53a;}.red{color:#ff6c6c;}#top #headerTop .green{color:#4dff3a;}.green{color:#4dff3a;}#top #headerTop .orange{color:#ffa044;font-size:25px;}.orange{color:#ffa044;}.purple{color:#ef68ff;}#top a:hover #headerTop{color:#cdedff;}#top a:hover #headerTop .yellow{color:#4dff3a;}#top a:hover #headerTop .red{color:#ffa044;}#top a:hover #headerTop .green{color:#ef68ff;}#top a:hover #headerTop .orange{color:#ffe53a;}#top a:hover #headerTop .purple{color:#ff6c6c;}
#LoadingGame{
    display:inline-block;
    position: absolute;
    width:100%;
    background-color:white;
    height:100%;
    overflow: hidden;
}
.page-bg {
  width:100%;
  height:100%;
        background-size: cover;
        background-repeat:no-repeat;
background-position: center center;
    -webkit-filter: blur(15px);
    -moz-filter: blur(15px);
    -o-filter: blur(15px);
    -ms-filter: blur(15px);
    filter: blur(15px);
    position: absolute;
    left:0;
    top: 0;
display: table;
}

#adTitle {
	width:100%;
    height: 350px;
    position: absolute;
    top: 0;
    bottom: 0;
	margin: auto;
	text-align:center;
}
#adTitle img{
	border-radius:10px;
	width:250px;
	
	box-shadow: 1px 1px 5px black;

                transition:.1s;
                -webkit-transition:.1s;
	

}
            
            #adTitle .titleText {
    vertical-align: middle;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    color:#FFF;
	font-size:16px;
	line-height:26px;
}
#adTitle .titleText .GameNameText{
    vertical-align: middle;
    font-family:arial;
    color:#FFF;
	font-size:18px;
	line-height:45px;
	width:100%;
	height:45px;
	overflow:hidden;
	background:linear-gradient(to right,rgba(30,87,153,0) 0,rgba(0,0,0,.3) 50%,rgba(125,185,232,0) 100%);
}
#adTitle .titleText button{
    display: inline-block;
    background: #99c506;
	background: linear-gradient(#2EFE2E, #088A29);
	margin:10px;
    padding: 15px 25px;
    border-radius: 10px;
    border: 2px solid #fff;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
	
	box-shadow: 1px 1px 5px black;

                transition:.1s;
                -webkit-transition:.1s;
				
}
.webgl-content * {border: 0; margin: 0; padding: 0}
.webgl-content {position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);}

.webgl-content .logo, .progress {position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);}
.webgl-content .logo {background: url('progressLogo.Light.png') no-repeat center / contain; width: 154px; height: 130px;}
.webgl-content .progress {height: 35px; width: 200px; margin-top: 90px;}
.webgl-content .progress .empty {background: url('progressEmpty.Light.png') no-repeat right / cover; float: right; width: 100%; height: 100%; display: inline-block;}
.webgl-content .progress .full {background: url('progressFull.Light.png') no-repeat left / cover; float: left; width: 0%; height: 100%; display: inline-block;}

.webgl-content .logo.Dark {background-image: url('load.gif');}
.webgl-content .progress.Dark .empty {background-image: url('progressEmpty1.png');}
.webgl-content .progress.Dark .full {background-image: url('progressFull1.png');}