﻿/* 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
 */

@font-face {
	font-family: "font-1";
	src: url(./assets/ArchitectsDaughter-Regular.ttf);
}

html, body, .container {
	height: 100%;
	font-family: "font-1", sans-serif;
	background-color: #503a34;
}

.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;
	text-align: center;
	min-width: 640px;
	width: 100%;
	height: 720px; /* initial height, will be dynamically adjusted at runtime */
	max-width: 100%;
	display: block;
	align-items: center;
	position: relative;
	text-align: center;
	justify-content: center;
}

.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;
}

#canvas:not([fullscreen]) {
	padding-right: 0;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	cursor: none;
}

.texthalf {
	height: 37%;
	border: 0px;
	padding: 0px;
	overflow-y: scroll;
	font-size: 2em;
}

.alert {
	margin-bottom: 0px;
}

.buttonarea {
	min-height: 0%; 
	border-top: 0px;
	border-bottom: 0px;
	padding: 0px;
	margin-right: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
}

.btn { 
	padding: 0px; 
	text-align: center; 
	min-width: 90px;
	border: 6px solid transparent;
}

.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%);
}

element.style {
    min-height: 20px;
    display: block;
}
.centered-axis-xy {
    position: absolute;
    left: 40%;
    top: 95%;
    transform: translate(-50%,-50%);
}
.alert {
    margin-bottom: 0px;
}

#warningDialog {
	font-size: 12px;
	line-height: 125%;
}

.flex {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: stretch;
	align-content: stretch;
}

.col-sm-2 {
	width: auto;
	padding-left: 0px;
	padding-right: 0px;
}

#compilingmessage {
	background-color: #fcf8e300;
    border-color: #faebcc00;
}

#loadTasks {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: center;
}

.progress-bar {
	font-size: 22px;
	position: relative;
	width: 1000px;
	height: 5rem;
	background-color: rgb(32, 31, 43);
	border-radius: 1.5rem;
	z-index: -2;
}

.progress-bar::before {
	content: attr(loadTasks);
	display: flex;
	align-items: center;
	position: absolute;
	left: .5rem;
	top: .5rem;
	bottom:  .5rem;
	width: calc(var(--width, 0) * 1%);
	min-width: 0rem;
	max-width: calc(100% - 1rem);
	background-color: #337ab7;
	border-radius: 1rem;
	padding: 1rem;
	z-index: -1;
}