.closedcaption-container {
	background-color: $alex-transparent-black;
	padding: 10px;
	position: fixed;
	bottom: 0px;
	right: 0px;
	left: 0px;

	@include medium-screen {
		margin: 10px;
		padding: 10px 50px;
	}
}

.overlay {
	position: fixed;
	top: 8em;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.7);
	height: calc(100% - 8em);
	width: 100%;
	z-index: 1;

	button {
		@include center("both");
		top: 30%;
		height: 7.375em;
		width: 6.25em;
		background: transparent url('../img/play-big.svg') no-repeat center center;
		border: 0;
		outline: 0;
	}
}

.uicontainer {
	position: absolute;
	right: 6%;
	top: 84px;
	background: $alex-white;
	padding-left: 1em;
	z-index: 2;

	@include small-screen {
		right: 10%;
	}
}

.ui-button {
	width: 50px;
	min-height: 0;
	padding: 0;
	border: none;
	border-radius: 7px;
	display: inline-block;
	font-size: 1.7em;
	font-weight: 700;
	line-height: 1.5em;
	color: $alex-blue;
	background: $alex-light-gray;
	z-index:9;

	&:first-letter {
		padding-right: 3px;
	}

    &.selected {
		background: $alex-navy;
		color: $alex-light-blue;
	}

	@include medium-screen {
		font-size: 1.3em;
		margin-top: 4px;
		right: 10%;

		&:before {
			border-left: 15px solid $alex-white;
		}
	}

	&#playpause {
		margin-left: 0.5em;

		&.pause-button {
			background: $alex-light-gray url('../img/pause.svg') no-repeat center center;
			background-size: 32px 20px;
		}
		&.play-button {
			background: $alex-navy url('../img/play.svg') no-repeat center center;
			background-size: 32px 20px;
		}

	}
}
