body { padding: 0; margin: 0 }
#unity-container { position: absolute }
#unity-container.unity-desktop { left: 50%; top: 50%; transform: translate(-50%, -50%) }
#unity-container.unity-mobile { width: 100%; height: 100% }
#unity-canvas { background: #FFFFFF }
.unity-mobile #unity-canvas { width: 100%; height: 100% }
#unity-loading-bar { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: none }
#terrace-logo { width: 154px; height: 107px; background: url('terrace-logo-light.png') no-repeat center }
#unity-progress-bar-empty { width: 154px; height: 5px; margin-top: 32px; background: url('progress-bar-empty-light.png') no-repeat center }
#unity-progress-bar-full { width: 0%; height: 5px; margin-top: 32px; background: url('progress-bar-full-light.png') no-repeat center }
#unity-footer { position: relative }
.unity-mobile #unity-footer { display: none }
#unity-webgl-logo { float:left; width: 204px; height: 38px; background: url('webgl-logo.png') no-repeat center }
#unity-build-title { float: right; margin-right: 10px; line-height: 38px; font-family: arial; font-size: 18px }
#unity-fullscreen-button { float: right; width: 38px; height: 38px; background: url('fullscreen-button.png') no-repeat center }


/* Popup */
.popup-base {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
}

/* Popup Notice */
.popup-base .notice-pane {
    position: relative;
    width: 80%;
    height: 80%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    display: none;
}

.notice-pane .header {
    background-color: #a4d7e8;
    border-radius: 30px 30px 0px 0px;
    height: 40px;
    padding-left: 20px;
    line-height: 40px;
}

.notice-pane .body {
    flex: 1;
    margin-bottom: 30px;
}

.notice-pane .footer {
    position: absolute;
    height: 100px;
    right: -30px;
    bottom: -50px;
    display: flex;
    flex-direction: row-reverse;
}

.notice-pane .button {
    background-color: black;
    color: white;
    margin: 10px;
    padding: 10px 60px;
    font-size: 1.5em;
}

/* Popup Document */
.popup-base .document-pane {
    position: relative;
    width: 100%;
    height: 100%;
    display: none;
}

.document-pane .body {
    position: absolute;
    width: 100%;
    height: 100%;
}

.document-pane .close-button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    background-image: url('icon_cancel.png');
    background-size: contain;
    background-color: transparent;
}
