/***************************************************************/

/*      AfcMediaLibrary/css/MD_VideoDetailDisplay.css          */

/***************************************************************/

#aos-VideoInfoWrapper { margin:auto }

.aor:not(.cinema) .aos-VideoJS {
	width: auto !important;
	height: auto !important;
}
.aor.miniplayer .aos-VideoJS {
	width: 100% !important;
}

.aor.cinema {
	padding:0;
} 
.aor.cinema .aori{
	max-width: unset !important;
} 
.aor.cinema .aori,
.aor.cinema .aoci{
	padding-left:0 !important;
	padding-right:0 !important;
	padding-top:0 !important;
} 
.aor.cinema .aoc:first-of-type{
	padding:0 !important;
	margin:0 !important
}
.aor.cinema .smart-embed {
	height: calc((9 / 16) * 100vw);
	max-height: calc(100vh - 250px);
	width: 100%;
}

.aor.cinema #aos-VideoInfoWrapper { 
	margin:auto 
}

.aor.cinema #aos-VideoItem > .aos-VideoLHC {
	width:100%;padding-right:0;
}
#aos-VideoItem > .aos-VideoLHC > .smart-embed {
	overflow:visible;
} 

@media screen and (min-width: 1025px) {
	.aor.miniplayer:not(.closeminiplayer) #aos-VideoItem > .aos-VideoLHC.aos-PosSticky {
		position: relative !important;
	}
}

.aor.miniplayer:not(.closeminiplayer) #aos-VideoItem > .aos-VideoLHC > .smart-embed {
	position: fixed;
	right: 20px;
	bottom: 20px;
	max-width: 600px;
	width: 100%;
	animation: popMiniPlayer .4s linear both;
}
@keyframes popMiniPlayer {
    0% {
      transform: translateY(100%);
    }
    100% {
      transform: translateY(0);
    }
  }

i.aos-CinemaMode {
	position:absolute;
	top:0;left:0;
	z-index:1;
	padding:5px 10px;
	background-color: rgba(0,0,0,.7);
	color:white;
	cursor:pointer;
	display:none;
}

i.aos-CloseMiniPlayer {
	position: absolute;
	top: -30px;
	right: 0;
	z-index: 1;
	padding: 5px;
	background-color: #000;
	color: #FFF;
	font-size: 20px;
	cursor: pointer;
	display: none;
}
.aor.miniplayer i.aos-CloseMiniPlayer {
	display:block !important;
}

i.aos-AutoPlay {
	font-size:50px;
	line-height:inherit;
	cursor:pointer;
	color:#dc3545;
	
}
i.aos-AutoPlay.on {
	color:#28a745;
}

.aos-TopShareLinks+span{
	position: absolute;
	top:calc(100% + 10px);
	width:max-content;
	right:-10px;
	overflow:visible;
	padding:10px 5px 10px 10px;
	background-color: white;
	box-shadow: 0px -5px 20px rgba(0,0,0,.15);
	-webkit-box-shadow: 0px -5px 20px rgba(0,0,0,.15);
	-ms-box-shadow: 0px -5px 20px rgba(0,0,0,.15);
}
.aos-TopShareLinks+span .ao-sbitems{
	flex-wrap: unset;
}
.aos-TopShareLinks+span::after{
	position: absolute;
    display: inline-block;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-bottom-color: white;
    right: 10px;
    top: -10px;
    content: '';
}

.aos-VideoLHC {		
	transition:width .35s ease;
	-moz-transition:width .35s ease;
	-webkit-transition:width .35s ease;
	-ms-transition:width .35s ease;
}

.aos-VideoSponsor img { 
	max-width:200px; 
	max-height:200px;
}

@media screen and (min-width: 1025px) {
	.aos-VideoLHC {
		width:calc(100% - 350px);
	}
	.aos-VideoRHC{ width:350px }

	.aor:not(.miniplayer) .aos-VideoLHC:hover i.aos-CinemaMode {
		display:block;
	}

	#aos-VideoInfoWrapper {
		padding:0;
	}
}

.aor.cinema #aos-VideoInfoWrapper { 
	padding-left: 40px;
	padding-right: 40px;
}

@media screen and (max-width: 1024px) {
	#aos-VideoInfoWrapper {
		display:flex;
		flex-wrap:wrap;
		width:100%;
		padding-top: 0;
	}
	#aos-VideoInfoWrapper > div {
		padding:0;
	}
	#aos-VideoInfoWrapper .aos-VideoLHC { order:0 }
	#aos-VideoInfoWrapper .aos-VideoRHC { order:1 }
	#aos-VideoInfoWrapper .aos-VideoLHC:last-of-type { order:2 }

	#aos-VideoItem > .aos-VideoLHC {
		width:100%;padding-right:0;
	}
	.aor.videoitem{
		padding: 0;
	}
	
	.aor.nostickyplayer .aos-VideoLHC.isSticky {
		position:relative;
		top:0 !important;
	}

	.aor:not(.nostickyplayer) .aos-VideoLHC.isSticky {
		position:fixed;
		left:0;
		right:0;
	}

	.aor:not(.nostickyplayer) .aos-VideoLHC.isSticky .smart-embed {
		background-color: black;
	}
	.aor:not(.nostickyplayer) .aos-VideoLHC.isSticky .smart-embed+span {
		display:block;
		background-color: black;
		color:white;
	}
	.aor:not(.nostickyplayer) .aos-VideoLHC.isSticky h1 {
		display:none;
	}

	.aor.videoitem .smart-embed {
	    height: calc((9 / 16) * 100vw);
	    max-height: calc(100vh - 300px);
	    width: 100%;
	}
}