﻿html, body {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
    position: fixed;
    font-family: "Segoe WP", "Segoe UI", "Verdana", "Arial";
    touch-action: none;
    -ms-touch-action: none;
}

.warning {
    color: red;
}

a {
    color: black;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

    a:visited {
        color: white;
    }


#optimizerFeedback {
    font-size: 12px;
    color: orange;
}

#enableDebug, #fullscreen {
    width: 100px;
    margin-left: 50px;
}

.buttonControlPanel {
    height: 3em;
    width: 17em;
    margin: 5px 0px 5px 0px;
    line-height: 2.2em;
}

.smallButtonControlPanel {
    height: 2.2em;
    width: 17em;
    margin: 2px 0px 2px 0px;
}

    .smallButtonControlPanel.pushed {
        border: 2px solid #00008b;
    }

.buttonImg {
    height: 32px;
    width: 32px;
    float: left;
}

button {
    border: 1px solid #888888;
    background-color: #DEDEDE;
    color: #888888;
}

    button:hover {
        background-color: #EEEEEE;
    }

    button:active {
        transform: scale(0.98);
        -webkit-transform: scale(0.98);
    }

#notSupported {
    color: red;
    width: 100%;
    height: 60px;
    position: absolute;
    top: 50%;
    margin-top: -30px;
    background-color: #EEEEEE;
    border: 1px solid #888888;
    text-align: center;
    padding-top: 10px;
    font-size: 30px;
    z-index: 3;
    cursor: default;
}

#renderCanvas {
    width: 100%;
    height: 100%;
}

#fps {
    position: absolute;
    right: 20px;
    top: 5em;
    font-size: 20px;
    color: white;
    text-shadow: 2px 2px 0 black;
}

#stats {
    position: absolute;
    right: 20px;
    top: 11em;
    font-size: 14px;
    color: white;
    text-align: right;
    text-shadow: 2px 2px 0 black;
}

#status {
    position: absolute;
    left: 20px;
    bottom: 20px;
    font-size: 14px;
    color: white;
    text-shadow: 2px 2px 0 black;
}

#controlPanel {
    position: absolute;
    height: 100px;
    bottom: 0px;
    width: 220px;
    left: 50%;
    margin-left: -110px;
    z-index: 10;
    transition: transform 0.25s ease-in-out;
    transform: translateY(100px);
    -webkit-transition: -webkit-transform 0.25s ease-in-out;
    -webkit-transform: translateY(100px);
}

.tag {
    position: absolute;
    background-color: #EEEEEE;
    height: 40px;
    width: 150px;
    left: 50%;
    padding: 5px;
    color: #888888;
    font-size: 18px;
    margin-left: -75px;
    text-align: center;
    top: -40px;
    border-top-left-radius: 10px 10px;
    border-top-right-radius: 10px 10px;
}

#controlsZone {
    width: 100%;
    height: 100%;
    background-color: #EEEEEE;
    color: #888888;
    border-top-left-radius: 10px 10px;
    border-top-right-radius: 10px 10px;
    padding: 10px;
}

#cameraPanel {
    position: absolute;
    right: 0px;
    width: 17em;
    top: 2em;
    z-index: 10;
    transition: transform 0.25s ease-in-out;
    transform: translateX(17em);
    -webkit-transition: -webkit-transform 0.25s ease-in-out;
    -webkit-transform: translateX(17em);
}

.cameraTag {
    position: absolute;
    background-color: #EEEEEE;
    height: 50px;
    width: 50px;
    top: 0px;
    left: -50px;
    border-top-left-radius: 10px 10px;
    border-bottom-left-radius: 10px 10px;
    z-index: 100;
}

#clickableTag {
    cursor: hand;
    background-color: transparent;
}

#cameraClickableTag {
    cursor: hand;
    background-color: transparent;
}

#cameraControlsZone {
    width: 100%;
    height: 100%;
    background-color: #EEEEEE;
    color: #888888;
    padding: 20px;
    border-bottom-left-radius: 10px 10px;
}

.hidden {
    display: none;
}

body, html {
    background-color: black;
}

.hidden {
    display: none;
}

#sponzaLoader {
    height: 100%;
    width: 100%;
}

#backgroundImage {
    height: 100%;
    width: 100%;
    opacity: 0;
    background: url('SponzaBackgroundLoader.jpg') no-repeat center center fixed;
    background-size: cover;
}

#loadingDetails {
    width: 40%;
    height: 60%;
    position: fixed;
    bottom: 0px;
    left: 30%;
}

#loadingTitle {
    position: absolute;
    top: 6%;
    left: 23.5%;
    color: white;
    font-family: Century;
    font-size: 3vw;
}

#teamText {
    position: absolute;
    top: 15%;
    left: 50%;
    color: rgba(201, 201, 201, 1);
    font-family: Arial;
    font-size: 1.25vw;
}

#loadingDetailsBackground {
    width: 100%;
    height: 100%;
    opacity: 0.6;
    background-color: black;
}

#loadingPercentage {
    position: absolute;
    top: 7.5%;
    color: #686867;
    font-family: "Arial Black",Gadget,Arial,sans-serif;
    font-weight: 900;
    font-size: 10vw;
    text-align: center;
    width: 100%;
}

#progressContainer {
    position: absolute;
    bottom: 0px;
    left: 22.75%;
    width: 55%;
    height: 9%;
    background-color: black;
    bottom: 19%;
}

#loadingProgress {
    width: 100%;
    position: absolute;
    left: 0px;
    top: 20%;
}

progress::-moz-progress-bar {
    background: red;
}

progress::-webkit-progress-value {
    background: red;
}

#streamingText {
    position: absolute;
    top: 78%;
    right: 22%;
    color: white;
    font-family: Arial;
    font-size: 1.2vw;
}

#iOSTouchToStart {
    position: absolute;
    top: 40%;
    right: 20%;
    color: white;
    font-family: Arial;
    font-size: 3.7vw;
    animation: bounce 1.5s ease-in-out infinite;
    -webkit-animation: bounce 1.5s ease-in-out infinite;
}

@-webkit-keyframes bounce {
     0% {
         transform: scale(1);
         opacity: 1;
     }
     50%  {
         transform: scale(0.9); 
         opacity: 0.5;
     }
     100%   {
         transform: scale(1);
         opacity: 1;
     }
}

@keyframes bounce {
     0% {transform: scale(1);opacity: 1;}
     50%  {transform: scale(0.9);opacity: 0.5;}
     100%   {transform: scale(1);opacity: 1;}
}

progress {
    background-color: white;
    border: 0;
    height: 40%;
    color: red;
}

#controls {
    position: absolute;
    top: 10px;
    right: 10px;
}

.uiButton {
    width: 40px;
    height: 40px;
    border-width: 0px;
    opacity: 0.6;
    transform: scale(0.9);
}

.uiButton:hover {
    opacity: 1.0;
    transform: scale(1.0);
}

#soundButton {
    background: url("volume.png") no-repeat center center;
    background-size: 100%;
}

#cameraButton {
    background: url("camera.png") no-repeat center center;
    background-size: 100%;
}

#fullscreenButton {
    background: url("fullscreen.png") no-repeat center center;
    background-size: 100%;
}

#speakersButton {
    background: url("speaker.png") no-repeat center center;
    background-size: 100%;
}

#vrButton {
    color: white;
    background-size: 100%;
    background-color: transparent;
    /*transform: translateX(-0.5em); */
    background: url("vricon.svg") no-repeat center center;
}

#gamepadButton {
    background: url("gamepad.png") no-repeat center center;
    background-size: 100%;
}

#renderingZone {
    width: 100%;
    height: 100%;
}

button:focus {outline:0;}

ul {
     list-style-type: none;
     margin: 0;
     padding: 0;
 } 

#fps {
    position: absolute;
    left: 10px;
    top: 10px;
    font-size: 1vw;
    color: white;
}

#cameraHelper {
    color: white;
    position: absolute;
    width: 400px;
    animation: translateLeftCam 8s ease-in-out;
    opacity: 0;
}

@keyframes translateLeftCam {
     0% {transform: translateX(-395px) translateY(6px);opacity: 0;}
     50%   {transform: translateX(-380px) translateY(6px);opacity: 1;}
     100%   {transform: translateX(-385px) translateY(6px);opacity: 0;}
}

#vrHelper {
    color: white;
    position: absolute;
    width: 300px;
    animation: translateLeftVR 8s ease-in-out;
    animation-delay: 8.5s;
    opacity: 0;
}

@keyframes translateLeftVR {
     0% {transform: translateX(-150px) translateY(6px);opacity: 0;}
     50%   {transform: translateX(-135px) translateY(6px);opacity: 1;}
     100%   {transform: translateX(-140px) translateY(6px);opacity: 0;}
}