body {
	background-attachment: fixed;
}
p {
	line-height: 16pt;
	text-align: justify;
}
#rehearsal-intro {
	text-align: center;
	font-style: italic;
	font-size: 14pt;
}
.wide-column {
	width: 90%;
}
#main-section {
	position: relative;
	width: 100%;
	/*height: 130vh;*/
	margin-bottom: 20px;
	transition: height 0.5s ease;
}
.facedown {
	transform: rotateY(-180deg);
	/*z-index: 2;*/
}
.scene {
	perspective: 2000px;
	min-height: 100vh;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
}
.scene-text {
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px; 
	/*border-right: solid black 2px;*/
	transition: z-index 0.8s ease;
	background-color: #FFF;
	position: absolute;
	top: 0px;
	left: 0px;
	display: inline-block;
	transform-origin: right;
	/*margin: 0 3%;*/
	padding: 15px 30px 15px 20px;
	width: 45%;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.scene-text::before {
	z-index: 2;
	content: '';
	position: absolute;
	top: 0px;
	right: 0px;
	bottom: 0px;
	width: 25px;
	background-image: linear-gradient(to left, #666a, #FFFF);
}
.scene-media {
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
	/*border-left: solid black 2px;*/
	transition: z-index 0.8s ease;
	background-color: #FFF;
	position: absolute;
	top: 0px;
	right: 0px;
	transform-origin: left;
	display: inline-block;
	/*margin: 0 3%;*/
	padding: 15px 21px 15px 24px;
	width: 48%;
	height: 100vh;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}
.scene-media::before {
	z-index: 2;
	content: '';
	position: absolute;
	top: 0px;
	left: 0px;
	bottom: 0px;
	width: 25px;
	background-image: linear-gradient(to right, #666a, #FFFF);
}
.image-container {
	position: relative;
}
.image-container img {
	position: relative;
}
.image-caption {
	position: absolute;
	bottom: 0px;
	left: 0px;
	font-size: 18pt;
	margin-left: 20px;
	margin-bottom: 20px;
	color: #222;
}
img {
	image-orientation: from-image;
	/*margin: 7px 0px 7px 2px;*/
	width: 100%;
}
video {
	margin: 7px 0px 7px 2px;
	width: 100%;
}
.button-div {
	display: flex;
	justify-content: center;
	/*width: 100%;*/
	position: -webkit-sticky;
	position: sticky;
	top: 93vh;
	left: 0px;
	right: 0px;
	z-index: 4;
	/*margin-top: 40px;*/
}
.button-div button {
	/*display: inline-block;*/
	position: absolute;
	width: 10%;
}
.button-div #loading {
	/*top: 30px;*/
	height: 1000vh;
	background-color: #EEED;
	position: absolute;
	width: 100%;
	text-align: center;
}
.button-div #loading img {
	margin-top: 30px;
	width: 200px;
}
#previous-scene {
	left: 40px;
}
#next-scene {
	display: inline-block;
	position: absolute;
	right: 40px;
}
.page-indicator {
	position: relative;
}
.page-indicator .dot {
	position: relative;
	display: inline-block;
	border-radius: 50%;
	background-color: #DDD;
	border: 1px solid #000;
	width: 11px;
	height: 11px;
	margin: 10px 6px;
}
.page-indicator .dot:nth-child(5) {
	background-color: #BBB;
}
.page-indicator .dot.active {
	left: 0px;
	transition: left 1.0s ease;
	position: absolute;
	background-color: #000;
	z-index: 5;
	
}
.top {
	z-index: 3;
}
.bottom {
	/*display: none;*/
	z-index: 2;

}
.flip-to-right {
	animation-name: flipRight;
	animation-timing-function: ease;
	animation-duration: 0.8s;
	animation-fill-mode: forwards;
}
.flip-to-left {
	animation-name: flipLeft;
	animation-timing-function: ease;
	animation-duration: 0.8s;
	animation-fill-mode: forwards;
}
.flip-to-right-2 {
	animation-name: flipRight2;
	animation-timing-function: ease;
	animation-duration: 0.8s;
	animation-fill-mode: forwards;
}
.flip-to-left-2 {
	animation-name: flipLeft2;
	animation-timing-function: ease;
	animation-duration: 0.8s;
	animation-fill-mode: forwards;
}
.bring-to-top {
	animation-name: toTop;
	animation-timing-function: ease;
	animation-duration: 0.8s;
	animation-fill-mode: forwards;
}
.bring-to-bottom {
	animation-name: toBottom;
	animation-timing-function: ease;
	animation-duration: 0.8s;
	animation-fill-mode: forwards;
}
@keyframes toTop {
	0% {
		z-index: 3;
	}
	100% {
		z-index: 4;
	}
}
@keyframes toBottom {
	0% {
		z-index: 4;
	}
	100% {
		z-index: 3;
	}
}
@keyframes flipLeft {
	0% {
		/*z-index: 3;*/
		transform: rotateY(0deg);
	}
	100% {
		/*z-index: 2;*/
		transform: rotateY(-180deg);
	}
}
@keyframes flipLeft2 {
	0% {
		/*z-index: 2;*/
		transform: rotateY(180deg);
	}
	100% {
		/*z-index: 3;*/
		transform: rotateY(0deg);
	}
}
@keyframes flipRight {
	0% {
		/*z-index: 3;*/
		transform: rotateY(0deg);
	}
	100% {
		/*z-index: 2;*/
		transform: rotateY(180deg);
	}

}
@keyframes flipRight2 {
	0% {
		/*z-index: 2;*/
		transform: rotateY(-180deg);
	}
	100% {
		/*z-index: 3;*/
		transform: rotateY(0deg);
	}
}