/*
	style-player-4.css

	Player Layout 4 specific styles
*/
#stream-wrapper-flex {
	display: -ms-flex;
	display: -webkit-flex;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;

	margin-bottom:10px;
}

#sidebar-wrapper {
	display:none;
	max-width:960px;
	width:100%;

	-webkit-box-flex: 0 0 440px;
	-webkit-flex: 0 0 440px;
	-moz-box-flex: 0 0 440px;  
	-moz-flex: 0 0 440px;
	-ms-flex: 0 0 440px; 
	flex: 0 0 440px;

	order:2;
	position:relative;
}

#player-wrapper {
	position:relative;
	width:100%;
	max-width:960px;
}
#player-wrapper-4 {
	display:block;
	margin:0 auto;
	max-width:100%;
}

/* embed container */
#EmbedContainer {
	padding-bottom:61.25%;
}

/* wowza rts */
#player-wrapper-rts,
#player-wrapper-asl-vod {
	width:100%;
	max-width: 960px;
	height: 0;
	position: relative;
	padding: 0 0 56.25% 0;
}
#wowza_player,
#jwplayer.asl {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color:#000000;
}
#wowza_player2,
#jwplayer2-wrapper {
	position: absolute;
	bottom:45px;
	right: 0;
	width:30%;
	aspect-ratio:16/9;
	background-color:#000000;
	z-index:1000;
}
#jwplayer2-wrapper {
	bottom:65px;
}

/* ASL */
#asl-wrapper,
#asl-wrapper2 {
	display:block;
	position:absolute;
	top:5px;
	left:0;
	width:50%;
	margin:0;
	z-index:9999;
}
button#show-asl,
button#show-asl2 {
	box-sizing:border-box;
	display:block;
	float:left;
	width:40px;
	height:24px;
	margin:0 3px 0 3px;
	padding:0 0 2px 0;
	color:#ffffff;
	background:#00aeff;
	border:none;
	border-radius:7px;
	font-size:15px;
	line-height:15px;
	font-weight:700;
	vertical-align:middle;
	cursor:pointer;
}
#asl-sizing {
	box-sizing:border-box;
	float:left;
	width:180px;
}
button.asl-sizing-button {
	box-sizing:border-box;
	display:inline-block;
	width:40px;
	height:24px;
	margin:0 1px;
	color:#ffffff;
	background:#888888;
	border:none;
	border-radius:7px;
	font-size:15px;
	line-height:15px;
	font-weight:700;
	cursor:pointer;
}
button.asl-sizing-button.button-active {
	background:#00aeff;
}

@media( max-width:768px ) {
	#asl-sizing {
		width:120px;
	}
	button#asl-sizing-20.asl-sizing-button {
		display:none;
		width:0;
		height:0;
		margin:0 0;
	}
}


/* dolby millicast*/
/*
#player-wrapper-dolby {
	box-sizing:border-box;
	width:100%;
	max-width: 100%;
	height: 0;
	position: relative;
	padding: 0 0 56.25% 0;
}
#dolby-player {
	position: absolute;
	top:0;
	left:0;
	bottom:0;
	right:0;
	display:block;
	width:100%;
	height:100%;
	padding:0;
	margin:0;
	background:#000000;
	border:0 none transparent;
}
*/

/* floor feed */
#ffplayer_wrapper {
	position:absolute;
	top:0;
	left:0;
	z-index:1000;
}
#ffplayer_wrapper {
	width:100%;
}
#ffplayer_wrapper #ffplayer {
	background:rgba(255,255,255,0.6);
	z-index:1000;
	width:100%;
	max-width:920px;
	height: 56.25vw;
	max-height:518px;
	display: none;
}
#ffplayer_wrapper #ffplayer {
/*	height:405px;*/
}

#ff-clickme-jwp,
#ff-clickme-fp,
#ff-clickme-html5,
#ff-clickme-nrt,
#ff-clickme-wowza-rts,
#ff-clickme-rts,
#ff-clickme-dolby,
#ff-clickme-switcher {
	display:block;
	box-sizing:border-box;
	width:122px;
	padding:0 10px;
	text-align:center;
	color:#000000;
	background:rgba(0,0,0,0.5);
	cursor:pointer;
}

/* START AAQ */
#aaq-container {
	position: absolute;
	right: 0;
	bottom: 0;
	width:50%;
}
#aaq-clickme {
	float:right;
}
/* END AAQ */


/* PLAYER EMOTICONS */
#emoticon-button-container {
	display:block;
	width:100%;
	margin:10px auto;
}
.emoticon-button {
	margin:0 0 0 5px;
	border:none;
	color:transparent;
	background:transparent;
	float:right;
	cursor:pointer;
}
.emoticon-button img {
	width:40px;
}
.emoticons-player {
	width:80px;
}
@media all and (max-width: 768px) {
	.emoticons-player {
		width:40px;
	}
}
/* END PLAYER EMOTICONS */

/* START SWITCHER */
#div-switcher {
	position:relative;
	display:block;
	width:100%;
	height: 0;
	padding-bottom:56.25%;
}
/* END SWITCHER */


/* START TRANSCRIPT */
/* Custom styling to change the jw captions dot to a checkmark */
button.jw-reset-text.jw-settings-content-item.jw-settings-item-active::before {
	content: "\2713"; /* Unicode checkmark */
	font-family: Arial, sans-serif; /* Just to ensure the checkmark displays correctly across browsers */
	font-size: 16px; /* Adjust the size as you see fit */
	vertical-align: middle; /* To center the checkmark vertically */
}
svg.added-button {
	color:#ffffff;
	fill:#ffffff;
}
svg.added-button:hover {
	color:#00aeef;
	fill:#00aeef;
}

#div-transcript {
	position:relative;
	box-sizing:border-box;
	display:none;
	width:100%;
	height:180px;
	font-size:16px;
	line-height:26px;
	border-bottom:solid 1px #888;
	background:#000000;
}
#transcript-wrapper {
	position:absolute;
	top:45px;
	left:0;
	display:block;
	width:100%;
	height:135px;
	overflow-y: scroll;
}

dt {
	display:block;
	padding:0 10px 0 0;
	margin:0 0 2px 0;
	color:#ffffff;
	border-bottom:dotted 1px #888;
	cursor:pointer;
}
.div-dt-flex {
	display:flex;
	flex-direction: row;
	box-sizing:border-box;
	width: 100%;
}
.div-dt-text {
	-ms-flex: 1;  /* IE 10 */  
	flex: 1;

	box-sizing:border-box;
	padding:5px 10px;
}
.div-dt-time {
	box-sizing:border-box;
	width:80px;
	padding:0 0;
}
span.dt-time {
	display:block;
	box-sizing:border-box;
	padding:5px 10px;
	color:#ffffff;
	background:#888888;
	border-radius:7px;
}

dt.hilite,
.hilite {
	color:#000000;
	background:#00aeef;
}

/* START text searchbox */
mark {
	background: yellow;
}
mark.current {
	color:#000000;
	background: #ffffff;
}
#search-bar-player {
	display:flex;
	flex-direction: row;
	box-sizing:border-box;
	height:44px;
	padding: 5px 5px;
	width: 100%;
	background: #efefef;
	border-top:solid 2px #555555;

	position: absolute;
	top: 0;
	left: 0;
}
#search-input-player-wrapper {
	-ms-flex: 1;  /* IE 10 */  
	flex: 1;

	box-sizing:border-box;
	padding:0 0;
}
#search-input-player {
	box-sizing:border-box;
	display:block;
	width:100%;
	height:32px!important;
	margin:0 0 0 0;
	padding:0 5px;
	font-size:14px;
	line-height:32px;
}

#search-count-wrapper {
	box-sizing:border-box;
	width:60px;
	color:#ffffff;
	background:#555555;
	text-align:center;
	font-size:14px;
	line-height:32px;
}

#search-button-player-wrapper {}
#search-button-player-wrapper button {
	box-sizing:border-box;
	display:block;
	margin:0 0 0 1px;
	padding:4px 10px 1px 10px;
	color:#ffffff;
	background: #555555;
	border:none;
	font-size:24px;
	font-weight:700;
	line-height:24px;
	cursor:pointer;
	float:left;
}
#search-button-player-wrapper button:hover {
	background: #999999;
}
@media all and (max-width: 479px) {
/*
	#search-input-player {
		width:135px;
	}
*/
}
@media all and (max-width: 319px) {
	#search-bar-player {
		display:none;
	}
}
/* END text searchbox */
/* END TRANSCRIPT */


/* MOBILE */
@media all and (max-width: 960px) {
	#aaq-container {
		width:310px;
	}

	#ffplayer_wrapper #ffplayer {
		height: 53.0vw;
	}
}

@media all and (max-width: 768px) {
	#aaq-container {
		width:310px;
	}

	#ffplayer_wrapper #ffplayer {
		height: 54.5vw;
	}

	.player-half {
		width:100%;
		float:none;
	}
}

@media all and (max-width: 640px) {
	#aaq-container {
		width:310px;
	}

	#ffplayer_wrapper #ffplayer {
		height: 55.25vw;
	}
}

@media all and (max-width: 480px) {
	#aaq-container {
		width:310px;
	}

	#ffplayer_wrapper #ffplayer {
		height: 54.75vw;
	}
}
