@-moz-document url-prefix() {
	*:focus {
		outline:2px solid #69A1FA;
	}
}

.player-area video {
	height: 100%;
	background-color: #000000;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	margin: auto;
}

.player-area audio {
	height: 100%;
	width: 100%;
	z-index: 10;
	position: absolute;
}


.player-area {
	width: 854px;
	height: 480px;
	position: relative;
	-webkit-user-select: none;
	overflow: hidden;
	background-color: black;
	margin: 0 auto;
}

.player-area.fullscreen {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 2;
	margin: 0;
	/* Using important when defining size. Otherwise a more specific CSS selector may override this even though that's not logical. */
	width: 100% !important;
	height: 100% !important;
	max-width: 100%;
	max-height: 100%;
}
.player-area.fullscreen video {
	max-width: 100%;
	max-height: 100%;
}

.controls-overlay {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
 	pointer-events: auto;
}

.upper-controls {
	width: 100%;
	height: 50px;
}

.lower-controls,
.lower-controls-on-pause.paused {
	width: 100%;
	height: 60px;
	position: absolute;
	bottom: 0px;
	padding-top: 8px;
}

.lower-controls {
	z-index: 3;
	display: none;
}

.lower-controls-flex {
	width: 100%;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	position: absolute;
	bottom: 0px;
	padding-top: 8px;
	z-index: 3
}

.lower-controls-on-pause {
	display: none;
}

.lower-controls-on-pause.paused {
	display: block;
	background-color: none;
}

.lower-controls-flex-on-pause {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
}

.video-title {
	float: left;
	height: 50px;
	line-height: 50px;
	margin: 0;
	padding: 0;
	color: white;
	font-weight: bold;
	font-size: 24px;
	-webkit-user-select: text;
}
.upper-controls, .lower-controls {
	/*
	Set transparent background. Can't use opacity because child elements must not be transparent.
	IE8 doesn't support rgba background so we'd have to use MS specific filters. The problem with them
	is that IE8 doesn't fire mouseover event for elements without background specification.
	*/
	background: url(/resources/images/half-transparent-pixel.png);
	-ms-flex-direction: row;
	-webkit-flex-direction: row;
	flex-direction: row;
	-ms-flex: 1;
	-webkit-flex: 1;
	flex: 1;

}

.controls-overlay .disabled {
	opacity: 0.5;
	filter: alpha(opacity=50);
}

.play-button-area {
 	margin: 2px;
}

.play-button-area-on-pause {
	margin: 2px;
}

.play-button,
.play-button-on-pause.paused {
	width: 60px;
	height: 40px;
	display: block;
	margin-bottom: 7px;
	margin-left: 12px;
	margin-top: 7px;
	text-indent: -9999px;
	background-repeat:  no-repeat;
	background-position: center center;
	border-radius: 4px;
	border: 0;
}
.play-button {
	background-color: #7E187C;
	background-image: url('/resources/images/player/icon-pause.png');
}
.play-button:active {
	position: static;
	top: 0;
}
.play-button:hover {
	background-color: #B61ED1;
}
.play-button.paused, .play-button.paused.disabled:hover {
	background-color: #7E187C;
	background-image: url('/resources/images/player/icon-play.png');
}
.play-button.paused:hover {
	background-color: #B61ED1;
}

.play-button.paused.disabled:hover {
}

.play-button-on-pause {
	display: none;
}
.play-button-on-pause.paused {
	background-color: transparent;
	background-image: url('/resources/images/player/icon-play.png');
	opacity: 0.5;
}

.progress-area {
	-ms-flex: 1;
	-webkit-flex: 1;
	flex: 1;
}

.progress-bar {
	height: 15px;
	margin: 12px 4px 12px 4px;
	padding: 8px 6px 8px 4px;
	background-color: #262626;
	cursor: pointer;
	position: relative;
}
.progress-bar.disabled {
	cursor: auto;
}

.progress-rail {
	position: relative;
	height: 13px;
	border: 1px solid #808080;
	margin-right: 2px;
}
.progress-buffer {
	height: 13px;
	width: 0;
	background-color: #626262;
}

.progress-indicator {
	position: absolute;
	top: 0;
	height: 13px;
	background-color: #7E187C;
	width: 0;
}

.progress-time-area {
	width: 53px;
	margin-top: 20px;
	line-height: 13px;
	font-size: 12px;
	color: white;
	text-align: center;
}
.progress-cursor-time {
	position: absolute;
	top: 10px;
	left: 0px;
	display: none;
	padding: 0px;
	line-height: 13px;
	font-size: 12px;
	color: white;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	cursor: default;
}

/* ----------------------------------------VIDEO CHAPTERING -------------------------------------------*/
.video-chapter--wrapper {
	position: relative;
}

.video-chapter--container {
	position: absolute;
	bottom: -13px;
	width: 140px;
	text-align: center;
}

.video-chapter--title {
	color: #ffffff;
	width: 140px;
	word-break: break-word;
	background: #000000;
	text-align: center;
	border-radius: 6px;
	margin-bottom: 5px;
	padding: 5px 5px;
	border: 1px solid #000000;
	-webkit-box-shadow: 5px 5px 5px -2px rgba(0,0,0,0.33);
	-moz-box-shadow: 5px 5px 5px -2px rgba(0,0,0,0.33);
	box-shadow: 5px 5px 5px -2px rgba(0,0,0,0.33);
}

.video-chapter--title:after {
	content: '';
	position: absolute;
	bottom: 13px;
	left: 50%;
	margin-left: -8px;
	width: 0; height: 0;
	border-top: 8px solid #000000;
	border-right: 8px solid transparent;
	border-left: 8px solid transparent;	
}

.video-chaptering-trackpoint--item {
	position: absolute;
	height: 100%;
	opacity: 0.7;
	height: 13px;
	bottom: 0;	
}

.video-chaptering-trackpoint--item:hover{
	opacity: 1;
}
/* --------------------------------------------------------------------------------- */

.volume-area {
	height: auto;
	width: 88px;
}

.volume-bar {
	background-color: #262626;
	border-radius: 2px;
	width: 64px;
	height: 13px;
	margin: 17px 8px 20px 8px;
	padding: 5px 4px;
	cursor: pointer;
}

.volume-bar.disabled {
	cursor: auto;
}

.volume-bar-section {
	float: left;
	width: 6px;
	height: 12px;
	margin: 0 1px;
	overflow: hidden;
}

.volume-bar-section div {
	height: 100%;
	background-color: #5C5C5C;
	position: relative;
	top: 1px;
}

.volume-bar-section .active {
	background-color: #7E187C;
}

.volume-bar-section div:hover {
	height: 120%;
	background-color: #B61ED1;
	top: 0;
}

.disabled .volume-bar-section div:hover {
	height: 100%;
	top: 1px;
}

.volume-bar-section .section-1 {
	margin-top: 0px;
}

.volume-bar-section .section-2 {
	margin-top: 0px;
}

.volume-bar-section .section-3 {
	margin-top: 0px;
}

.volume-bar-section .section-4 {
	margin-top: 0px;
}

.volume-bar-section .section-5 {
	margin-top: 0px;
}

.volume-bar-section .section-6 {
	margin-top: 0px;
}

.volume-bar-section .section-7 {
	margin-top: 0px;
}

.volume-bar-section .section-8 {
	margin-top: 0px;
}

.fullscreen-button-area {
	width: 44px;
	height: auto;
}

.fullscreen-button {
	float: left;
	width: 32px;
	height: 31px;
	margin: 12px 12px 0px 0px;
	text-indent: -9999px;
	background-color: #262626;
	background-image: url('/resources/images/player/icon-fullscreen.png');
	background-repeat:  no-repeat;
	background-position: center center;
	border-radius: 2px;
	border: 0;
	color: #FFFFFF;
}
.fullscreen-button:hover {
	background-color: #7E187C;
}

.fullscreen .fullscreen-button {
	background-image: url('/resources/images/player/icon-normalscreen.png');
	background-color: #262626;
}
.fullscreen .fullscreen-button:hover {
	background-color: #7E187C;
}

.loader-overlay {
	position: absolute;
	top: 50%;
	width: 100%;
	height: 0;
}

.video-placeholder {
	width: 100%;
	height: 100%;
	background-color: black;
}

.player-canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: black;
	opacity: 0;
	filter: alpha(opacity=0);
 	pointer-events: auto;
}

.quality-button-area {
	position: relative;
	width: 40px;
	height: auto;
}

.subtitles-button-area {
	position: relative;
	height: auto;
	width: 40px;
	margin-left: 10px;
}
.subtitles-button {
	float: left;
	width: 32px;
	height: 31px;
	margin: 12px 20px 10px 10px;
	text-indent: -9999px;
	background-color: #262626;
	background-image: url('/resources/images/player/icon-subtitles.png');
	background-repeat:  no-repeat;
	background-position: center center;
	border-radius: 2px;
	border: 0;
	color: #FFFFFF;
}

.subtitles-button:hover {
	background-color: #7E187C;
}

.subtitles-list {
	position: absolute;
	list-style-type: none;
	margin: 0;
	padding: 0;
	right: -2px;
	bottom: 51px;
	background-color: #262626;
	text-align: left;
	font-size: 12px;
	line-height: 14px;
	color: #FFFFFF;
	display: none;
	overflow-y: auto;
	max-height: 130px;
	scrollbar-base-color: #262626;  /* For IE */
}

.subtitles-list-is-open {
	display: block;
}

.subtitles-list::-webkit-scrollbar {
	width: 11px;
}

.subtitles-list::-webkit-scrollbar-track {
	outline: 1px solid #3a3a3a;
	background-color: #262626;
}

.subtitles-list::-webkit-scrollbar-thumb {
	background: linear-gradient(to bottom, #dd2cd2 0%,#661466 100%);
	border-radius: 10px;
	box-shadow: 0px 0px 1px 0px #939393;
}

.subtitles-list-item {
	list-style-type: none;
	color: #FFFFFF;
	padding: 6px 25px;
	cursor: pointer;
	white-space: nowrap;
}
.subtitles-list-item:hover {
	background-color: #626262;
}

.subtitles-list-item.active {
	background-color: #7E187C;
	background-image: url('/resources/images/player/icon_check.png');
	background-repeat: no-repeat;
	background-position: 8px 9px;
}

.subtitles-list-item.selected {
	background-color: #7E187C;
}

.quality-button {
	float: right;
	height: 31px;
	margin: 12px 0px 0 2px;
	padding: 6px 6px;

	font-size: 12px;
	line-height: 14px;
	text-align: center;
	color: #FFFFFF;

	background-color: #262626;
	background-image: none;
	background-repeat:  no-repeat;
	background-position: center center;
	border-radius: 2px;
	border: 0;
}
.quality-button:hover {
	background-color: #7E187C;
}

.quality-list {
	position: absolute;
	list-style-type: none;
	margin: 0;
	padding: 0;
	right: 0;
	bottom: 51px;
	background-color: #262626;
	text-align: left;
	font-size: 12px;
	line-height: 14px;
	color: #FFFFFF;
	display: none;
}

.quality-list.quality-list-is-open {
	display: block;
}

.quality-list-item {
	list-style-type: none;
	color: #FFFFFF;
	padding: 6px 10px 6px 25px;
	cursor: pointer;
	text-align: right;
}
.quality-list-item:hover {
	background-color: #626262;
}

.quality-list-item.active {
	background-color: #7E187C;
	background-image: url('/resources/images/player/icon_check.png');
	background-repeat: no-repeat;
	background-position: 8px 9px;
}

.quality-list-item.selected {
	 background-color: #7E187C;
 }

.delete-comment {
	float: right;
	display: inline-block;
	width: 20px;
	height: 20px;
	background: url('/resources/images/store-cross.png') center center no-repeat;
	cursor: pointer;
}

.overlay-iframe-error {
	position: absolute;
	display: none;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	align-items: center;
	justify-content: center;
	background: #000000;
}

.overlay-iframe-error .title-info {
	padding: 0px 8px;
	line-height: 25px;
	color: #ffffff;
	font-size: 18px;
}

#overlay-videoPage,
#overlay-networkFailed,
#overlay-channelVideo,
#overlay-scheduled-webcast,
#overlay-accessDenied,
.overlay-iframe-error {
	position: absolute;
	display: none;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	align-items: center;
	justify-content: center;
	background-color: #000000;
}

#overlay-scheduled-webcast {
	background-image: url('/resources/images/webcast-placeholder.jpg');
	background-size: cover;
	background-position: center;
}

#overlay-scheduled-webcast .webcast-title, #overlay-scheduled-webcast .date-range {
	color: #FFFFFF;
	font-size: 18px;
	letter-spacing: 0;
	line-height: 25px;
	text-align: center;
	margin: 0px 32px;
}

#overlay-scheduled-webcast .larger-font {
	font-size: 24px !important;
	line-height: 32px !important;
}

#overlay-scheduled-webcast .larger-bottom-padding,
#overlay-scheduled-webcast .default-bottom-padding {
	position: absolute;
	width: 100%;
}

#overlay-scheduled-webcast .larger-bottom-padding {
	bottom: 20%;
}

#overlay-scheduled-webcast .default-bottom-padding {
	bottom: 15%;
}

#overlay-accessDenied .title-info {
	padding: 0px 36px;
	line-height: 25px;
}

.title-info {
	color: #ffffff;
	font-size: 18px;
}

.center {
	text-align:center;
}

.overlay-link {
	color: #ffffff !important;
	text-decoration: underline !important;
	font-weight: bold;
}