.caption {
	transition: background-color 250ms ease-in;
	-ms-transition: background-color 250ms ease-in;
	-moz-transition: background-color 250ms ease-in;
	-webkit-transition: background-color 250ms ease-in;
}
.caption.active {
	background-color: #fff2a8;
}
.caption:hover {
	text-decoration: underline;
	cursor: pointer;
}

.caption.match {
	background-color: #a8d1ff;
	font-weight: normal !important;
}
.match {
	font-weight: bold;
}

#video_captions_wrapper {
	box-sizing: border-box;
	margin-bottom: 20px;
	margin-top: 20px;
	min-width: 100%;
	padding-top: 40px;
	position: relative;
}

#video_captions_box {
	box-sizing: border-box;
	height: 100%;
	min-width: 100%;
	overflow: auto;
	position: relative;
}
#video_captions_box p {
	margin-top: 3rem;
	position: relative;
}
#video_captions_search {
	box-sizing: border-box;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 10;
}

.gradient-overlay {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 10%, rgba(255,255,255,0) 50%, rgba(255,255,255,0) 90%, rgba(255,255,255,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(10%,rgba(255,255,255,0)), color-stop(50%,rgba(255,255,255,0)), color-stop(90%,rgba(255,255,255,0)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 10%,rgba(255,255,255,0) 50%,rgba(255,255,255,0) 90%,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 10%,rgba(255,255,255,0) 50%,rgba(255,255,255,0) 90%,rgba(255,255,255,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 10%,rgba(255,255,255,0) 50%,rgba(255,255,255,0) 90%,rgba(255,255,255,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 10%,rgba(255,255,255,0) 50%,rgba(255,255,255,0) 90%,rgba(255,255,255,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}