/* Library Prep Kit Animation Styles */
.animation-stage {
	border: solid 1px #dddddd;
	box-shadow: 0 8px 12px -6px rgba(0,0,0,.125);
	position: relative;
	width: 100%;
}

.animation-stage > a.next {
	position: absolute;
	top: 0; right: 0;
	height: 100%; width: 100%;
	background: rgba(0,0,0,0.0625);
	transition: 200ms background ease-in-out;
	display: flex;
	justify-content: center;
	align-items: center;
}

.animation-stage > a.prev {
	position: absolute;
	top: 0; left: 0;
	height: 100%; width: 33%;
	opacity: 0;
}

.animation-stage + .row {
	position: relative;
}

.animation-stage canvas {
	width: 100%;
	height: auto;
	display: block;
}

.animation-stage > a.next:hover {
	background: rgba(0,0,0,0.125);
}

.animation-stage > a.next span {
	text-shadow: 1px 1px 11px rgba(0,0,0,.3);
}

.animation-stage.in-progress {
	background: white !important;
}

.animation-stage.in-progress > a.next {
	width: 33%;
	opacity: 0;
}

.animation-stage.playing > a, .animation-stage.playing > a:hover {
	display: none;
}

.animation-stage .animation-progress {
	position: absolute;
	display: inline-block;
	right: 15px;
	top: 15px;
}

.animation-caption {
	min-height: 80px;
	text-align: left;
}

.animation-controls > * {
	display: inline-block;
}
.animation-controls .pager {
	margin: 0;
	padding-left: 0;
	text-align: center;
	list-style: none;
}
	.animation-controls .pager li {
		display: inline;
	}
	.animation-controls .pager li > a, .animation-controls .pager li > span {
		display: inline-block;
		padding: 5px 14px;
		background-color: #fff;
		border: 1px solid #ddd;
		border-radius: 15px;
	}
	.animation-controls .pager li > a:hover, .animation-controls .pager li > a:focus {
		text-decoration: none;
		background-color: #eee;
	}
	.animation-controls .pager .disabled > a, .animation-controls .pager .disabled > a:hover,
	.animation-controls .pager .disabled > a:focus, .animation-controls .pager .disabled > span {
		color: #777;
		cursor: not-allowed;
		background-color: #fff;
	}

@media (max-width:787px){

	.animation-stage > a.next {
		/*font-size: 3.5em;*/
		font-size: 1em;
	}

	.animation-caption {
		min-height: 180px;
		margin-top: 50px;
	}

	.animation-controls {
		position: absolute;
		width: 100%;
		top: -.75rem; left: 0;
	}

	.animation-controls > *,
	.animation-caption > strong {
		display: block;
	}

	.animation-progress {
		margin: 0;
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
	}

	.animation-controls .pager {
		margin: 0;
	}

	.animation-controls .pager .prev {
		float: left;
	}

	.animation-controls  .pager li > a:focus {
		background-color: #fff;
	}

	.animation-controls .pager .next {
		float: right;
	}
	.animation-controls .pager li > a {
		font-size: 2em;
		border-radius: 0.75em;
		padding: 0em 0.75em;
	}

}
