/****************************************
  ==== Player
****************************************/

html {
	box-sizing: border-box;
}
	*, *:before, *:after {
	box-sizing: inherit;
}
body {
	margin: 0;
	background: #FFFFFF;
	font-family: font-face;
}
#gameContainer {
	width: 100vw;
	height: 100vh;
}
canvas {
	width: 100%;
	height: 100%;
	display: block;
}
/* try to handle mobile dialog */
canvas + * {
	z-index: 2;
	}
h1 { 
  display: block;
  font-size: 20px;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0;
  margin-right: 0;
  font-weight: normal;
}

.logo {
	display: block;
	width: max-width: 100vw;
	height: max-height: 70vh;
}

.progress {
	margin: 1.5em;
	border: 1px solid rgba(4, 3, 114, 1);
	width: 50vw;
	display: none;
}
.progress .full {
	margin: 2px;
	background: rgba(4, 3, 114, 1);
	height: 1em;
	transform-origin: top left;
}
.loadtext{
	width: 50vw;
	text-align: center
}
#loader {
	position: absolute;
	left: 0;
	top: 0;
	width: 100vw;
	height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.spinner,
.spinner:after {
	border-radius: 50%;
	width: 5em;
	height: 5em;
}
.spinner {
	margin: 10px;
	font-size: 10px;
	position: relative;
	text-indent: -9999em;
	border-top: 1.1em solid rgba(200, 200, 200, 1);
	border-right: 1.1em solid rgba(200, 200, 200, 1);
	border-bottom: 1.1em solid rgba(200, 200, 200, 1);
	border-left: 1.1em solid rgba(0, 167, 225, 1);
	transform: translateZ(0);
	animation: spinner-spin 1.1s infinite linear;
}
@keyframes spinner-spin {
	0% {
		transform: rotate(0deg);
}
	100% {
		transform: rotate(360deg);
	}
}

/****************************************
  ==== Popup
****************************************/
iframe{
	border: none;
	}
.mfp-bg {
	background-color: rgba(0,0,0,0.0);
}
.mfp-close{
text-shadow: black 0px 0px 3px;
}
.base-backing{
	position: absolute;
	position-left: 0px;
	position-top: 0px;
}
.white-popup {

	background: #FFFFFF;
	padding: 20px 20px 20px 20px;
	max-width: 1280px;
	height: auto;
	margin: auto;
	text-align: left;
	/*font-family: Arial, Helvetica, sans-serif;*/
	font-family: font-face;
	
	border-top: 11px solid transparent;

}
.leftColumn{
	float: left;
	width:50%;
	max-height: 650px;
}
.rightColumn{
	float: left;
	padding-left: 20px;
	width:50%;
	max-height: 600px;
}
.textArea{
	/*float: left;
	padding-left: 20px;
	width:50%;*/
	max-height: 520px;
	overflow-y: auto;
	font-size: 18px;
	
	-webkit-user-select: none; /* Safari */        
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* IE10+/Edge */
	user-select: none; /* Standard */
}
.solovideo{
	text-align:center;
	float: center;
	width:100%;
}


.imageholder{
	width: 100%;
	height: 512px;
	position: relative;
}
.imageholder img{
	max-width: 100%;
	max-height: 100%;
	margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}


.cover{
	position: absolute;
	left: 0px;
	top: 0px;
	width:100%;
	height:100%;
	background-color: clear;
}

/****************************************
  ==== Scrolling images
****************************************/

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  background: white;
  width:100%;
  position: relative;
  margin: auto;
  /*border-style: solid;
  border-width: 1px;
  border-color: black;*/
  height:518px;

}

/* Hide the images by default */
.slider {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  text-shadow: black 0px 0px 3px;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;

}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.4);
}


/* Caption text */
.text {
  color: white;
  text-shadow: black -1px -1px 0px;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: white;
  text-shadow: black -1px -1px 0px;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}
.aftertext{
	float: left;
	top: -50px;
	width: 50%;
	vertical-align: bottom;
	height: 40px;

	background-color: red;
}
/*audio button */
.audioLink{
	margin-top: 20px;
	padding: 5px;
	padding-right: 10px;
	background-color: white;
	width: 100%;
	text-align: center;
	border-style: solid;
	border-width: 1px;
	border-color: rgba(186,134,63,1);
	border-radius: 20px;

	cursor: pointer;
}
/* The dots/bullets/indicators */
.dotc{
	position: relative;
	top: -16px;
	width: 100%;
	line-height: 54px;
	height: 34px;
	text-align: center;
}
.dots{
	line-height: 1;
	display: inline-block;
	vertical-align: middle;
}
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}