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

html, body 
{ 
	font-family: monospace;
	
	/* 	Legt minimale Auflösung fest;
		Sollte 4:3 Seitenverhältnis sein und auch für kleine Screens (1376 x 768 oder ähnlich, abzüglich Browserleisten, Windowsleiste etc...) ausreichen 
	*/
	min-width: 	880px; /* min-heihgt * 1.333333 */
	min-height:	660px; /* Abgesprochen mit Tilman: Wir glauben diese Bildhöhe wird auch für kleinere Bildschirme reichen */
	
	/*Füllt kompletten Viewport*/
	width:	100%; 
	height: 100%; 
}
body
{ 
	margin: 0;
	min-width: 133vh;/*Stellt den horizontalen Scrollbar für ein 4:3 Seitenverhältnis bereit (auch bei höheren Auflösungen) */
	
	max-width: none;
	
	position: relative; /*Erlaubt Canvas sich an body{} zu orientieren */
	
	/*Wenn ohne - oder mit fix-skalierter Canvas getestet werden muss, kann man hiermit diesen Block einfärben. Canvas sollte genau diesen Bereich einnehmen. */
	/*background-color: green;*/
}
#gameContainer canvas 
{
	/* Zentiert Canvas horizontal */
	padding: 0;
    margin: auto;
    display: block;
	position: absolute;
	top: 0;
    bottom: 0;
    left: 0;
    right: 0;
	
	/*Fülle komplettes Parent (body{}) aus */
    width: 100%;
    height: 100%;
}

.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, .progressbar_container {position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);}

.webgl-content .progressbar_container {height: 20px; width: 141px; margin-top: 90px;}

.webgl-content .logo {background: url('progressLogo.Light.gif') no-repeat center / contain; width: 227px; height: 335px;}
.webgl-content .progressbar_container .progress_bg {background: url('progressEmpty.Dark.png') no-repeat right / cover; float: right; width: 100%; height: 100%; display: inline-block;}
.webgl-content .progressbar_container .progress_fg {background: url('progressFull.Dark.png') no-repeat left / cover; float: left; width: 0%; height: 100%; display: inline-block;}

.webgl-content .logo.Dark {background-image: url('progressLogo.Dark.gif') no-repeat center / contain; width: 227px; height: 335px;}
.webgl-content .progressbar_container.Dark .progress_bg {background-image: url('progressEmpty.Light.png');}
.webgl-content .progressbar_container.Dark .progress_fg {background-image: url('progressFull.Light.png');}

.webgl-content .footer {margin-top: 5px; height: 38px; line-height: 38px; font-family: Helvetica, Verdana, Arial, sans-serif; font-size: 18px;} 
.webgl-content .footer .webgl-logo, .title, .fullscreen {height: 100%; display: inline-block; background: transparent center no-repeat;} 
.webgl-content .footer .webgl-logo {background-image: url('webgl-logo.jpg'); width: 204px; float: left;}
.webgl-content .footer .title {margin-right: 10px; float: right;}
.webgl-content .footer .fullscreen {background-image: url('fullscreen.png'); width: 38px; float: right;}