/* 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
 */

html, body {
	height: 100%!important;
}


.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 {
	margin: 0 auto;
	min-width: 640px;
	min-height: 480px;
	width: 100%;
	/*height: 480px; initial height, will be dynamically adjusted at runtime */
	height: 100%; /* 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%;
}

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

.buttonarea {
	min-height: 3%;
	border-top: 0px;
	border-bottom: 0px;
	padding: 0px;
	margin-right: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	display: none;	/* hide buttons */
 }

.btn { padding: 0px; text-align: center; min-width: 150px }
.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%);
}
#body {
	padding-bottom: 0;
}

#video {
	margin: auto;
}

.ue4-progressbar {
	position: fixed;
	bottom: 5%;
	left: 8%;
	right: 8%;
	height: 30px;
	color: white;
	text-align: center;
	border-bottom: 1px solid rgba(255,255,255,0.25);
	border-radius: 10px;
	box-shadow: 0px 4px 4px -4px rgba(255,255,255,0.4),
	0px -3px 3px -3px rgba(255,255,255,0.25),
	inset 0px 0px 12px 0px rgba(0,0,0,0.5)
	
}

.ue4-progressbar>.bar {
	width: 0px;
	position: absolute;
	top: 3px;
	right: 2px;
	bottom: 3px;
	left: 2px;
	border-radius: 10px;
	background: linear-gradient(to bottom, rgba(24,109,226,1) 0%, rgba(0,69,165,1) 100%);
	box-shadow: 0px 0px 12px 0px rgba(24,109,226,1),
	inset 0px 1px 0px 0px rgba(255,255,255,0.45),
	inset 1px 0px 0px 0px rgba(255,255,255,0.25),
	inset -1px 0px 0px 0px rgba(255,255,255,0.25)
}

.ue4-progressbar>.bar:after {
	width: 64px;
	height: 100%;
	background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,0.6) 98%,rgba(255,255,255,0) 100%);
}

.ue4-progressbar>.progress-lable {
	font-size: 20px;
	font-weight: bolder;
	position: relative;
	z-index: 9999;
	text-shadow: 2px 2px 5px black, -2px -2px 5px black;
}

.recommend-computer {
	display: block;
	position: fixed;
	width: 100%;
	padding: 10px;
	bottom: 10%;
	color: white;
	text-shadow: 2px 2px 5px black, -2px -2px 5px black;
	text-align: center;
}

.recommend-computer>p {
	font-size: 1.2rem;
	letter-spacing: 7px;
	font-weight: bold;
	margin: 0;
}

.ue4H5-videoBlock {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.ue4H5-promptVideo {
	width: 100%;
	height: 100%;
}

.ue4H5-skip-video {
	position: absolute;
	top: 1rem;
	right: 1rem;
	cursor: pointer;
	color:rgb(148, 46, 46);
	background-color: rgba(255,255,255,0.1);
	font-weight: bold;
	border-radius: 3px;
	padding: 5px 20px;
}
.ue4H5-skip-video:hover {
	color: rgb(255,41,41);
	background-color: rgba(255,255,255,0.2);
}


video::-webkit-media-controls-enclosure {
	display: none;
}

video::-webkit-media-controls-fullscreen-button {
	display: none;
}

video::-webkit-media-controls-overlay-enclosure {
	display: none;
}/*
video::-webkit-media-controls-panel {
	display: none;
}*/
video::-webkit-media-controls-play-button {
	display: block;
}