﻿/* CSS style sheet used with Epic Games HTML5 projects
 *
 * much of this is for UE4 development purposes.
 *
 * to create a custom CSS file for your project:
 * - make a copy of this file - or make one from scratch
 * - and put it in: "your project folder"/Build/HTML/GameX.css.template
 */
/* CSS style sheet used with Epic Games HTML5 projects
 * Customized for Workshop_V1
 */

/* --- Fix for missing Glyphicons (load from /fonts/ folder) --- */
@font-face {
  font-family: 'Glyphicons Halflings';
  src: url('fonts/glyphicons-halflings-regular.woff2') format('woff2'),
       url('fonts/glyphicons-halflings-regular.woff') format('woff'),
       url('fonts/glyphicons-halflings-regular.ttf') format('truetype');
}

html, body, .container {
    height: 100%;
    font-family: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
    /* margin: 0; Not in Original css */
    /* padding: 0; Not in Original css */
    background: url("3DWEB3_Background_Image_Purple.jpg") no-repeat center top fixed;
    background-size: cover;
}

.h4, h4 {
    margin-top: 1pt;
    margin-bottom: 1pt;
    font-size: 10pt;
}

.container {
    display: table;
    vertical-align: middle;
    border: 0px;
    border-spacing: 0px;
}

.glyphicon-spin {
    animation: spin 2000ms infinite linear;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(359deg); }
}

@-webkit-keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(359deg); }
}

.wrapper {
    position: relative;
    margin: 0 auto 0 auto; /* Added second '0 auto' */
    text-align: center;
    min-width: 320px;
    width: 100%;
    height: 180px; /* initial height, will be dynamically adjusted at runtime */
    max-width: 100%;
    display: block;
    align-items: center;
    position: relative; /* Was missing */
	text-align: center; /* Was missing */
    justify-content: center;
}

.alert {
    white-space: nowrap;
}

/* --- Custom styling for alert box (loading status) --- */
.alert-warning {
  background-color: rgba(255, 255, 255, 0.9);
  border: 2px solid #6a1b9a;
  color: #4a148c;
  font-weight: bold;
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.emscripten {
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
    display: block;
    display: -webkit-box;
    display: -moz-box;
    display: box;

    -webkit-box-align: center;
    -moz-box-align: center;
    box-align: center;

    -webkit-box-pack: center;
    -moz-box-pack: center;
    box-pack: center;
    
    outline: none;
}

#canvas:not([fullscreen]) {
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    /* margin-top: 50px; */
    /* height: 35%;   ''!important' This moves the buttons away from the Canvas - This is not working properly*/
}

.texthalf {
    height: 37%;
    border: 0px;
    padding: 0px;
    overflow-y: scroll;
    font-size: 2em;
}

.buttonarea {
    border-top: 0px;
    border-bottom: 0px;
    padding: 0px;
    margin-left: 0px;
	margin-right: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
    min-height: 35px;
}

/* --- Custom button colors (purple theme) --- */
.btn-primary {
  background-color: #6a1b9a;
  border-color: #4a148c;
  color: #fff;
  padding: 3px;
  text-align: center;
}

/* This is original css Code */
/* .btn-primary { padding: 3px; text-align: center; min-width: 150px; max-height: 25px; margin: 10px 5px 10px 5px; } Removed because it's replaced above */
.progress { background: rgba(245, 245, 245, 1); border: 0px solid rgba(245, 245, 245, 1); border-radius: 0px; height: 4px; }
.progress-bar-custom { background: rgba(153, 153, 153, 1); }
.centered-axis-xy {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
}