@charset "utf-8";





body.mode-cn #playerUI {
	display: none !important;
}
body.mode-cn #playerViewer .btn {
	display: none !important;
}

body.fs-mode #playerOverlay {
	background: #000;
}
body.fs-mode #closeBtn,
body.fs-mode #thumbnailBtn,
body.fs-mode #playerList,
body.fs-mode #playerUI {
	display: none;
}

body.fs-mode #playerViewer {
	width: 100vw;
	height: 100vh;
	left: 0;
	top: 0;
	margin: 0;
}

body.fs-mode[screen-type="wide"] #playerViewer {
	width: calc(100vh / 9 * 16);
	height: 100vh;
	left: 50%;
	top: 0;
	margin-left: calc(100vh / 9 * 16 * -0.5);
	margin-top: 0;
}
body.fs-mode[screen-type="tall"] #playerViewer {
	width: 100vw;
	height: calc(100vw / 16 * 9);
	left: 0;
	top: 50%;
	margin-left: 0;
	margin-top: calc(100vw / 16 * 9 * -0.5);
}



#playerViewer iframe {
	transition: opacity 300ms linear;
	opacity: 1;
	background: #000;
}
body.player-ready #playerViewer iframe {
	opacity: 0;
}



body[paused="true"] #playerUI {
	display: none;
}


#playerOverlay {
	position: fixed;
	width: 100%;
	height: 100vh;
	left: 0;
	top: 0;
	z-index: 10000;
	background: rgba(0,0,0,0.85);
}


#playerViewer {
	position: fixed;
	width: 960px;
	height: 540px;
	left: 50%;
	top: 50%;
	z-index: 10100;
	margin: -340px 0 0 -480px;
}

#playerViewer video {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	outline: none;
}
#playerViewer .video-player {
	position: relative;
	height: 100%;
	z-index: 110;
}
#playerViewer .video-player.hide {
	visibility: hidden;
}
#playerViewer .video-player.scrab {
	z-index: 90;
}
#playerViewer iframe {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	outline: none;
}


#playerList {
	position: fixed;
	width: 100%;
	height: 162px;
	left: calc(-960px / 2 + 81px);
	top: 50%;
	z-index: 10200;
	margin: 225px 0 0;
}

#playerList .thumb {
	position: relative;
	display: block;
	flex-shrink: 0;
	background: #000;
	transition-property: transform;
	cursor: pointer;
}
#playerList .thumb,
#playerList img {
	width: 162px;
	height: 122px;
}

#playerList .line {
	position: absolute;
	width: 2px;
	height: 162px;
	left: 50%;
	top: 0;
	margin-left: calc(-81px - 1px);
	background: #fff;
}
#playerList .pager {
	position: absolute;
	left: 10px;
	top: 0;
	font-size: 14px;
	font-weight: bold;
	color: #fff;
	white-space: nowrap;
}
#playerList .pager span {
	display: inline-block;
	margin-left: 10px;
}

#playerList .inner {
	position: relative;
	top: 40px;
}

#playerList .ex {
	position: relative;
	display: flex;
	width: 100%;
	height: 100%;
	transition-property: transform;
	box-sizing: content-box
}


#playerList .thumb img {
	transition: opacity 200ms linear;
}
#playerList .thumb.hover img {
	opacity: 0.7;
}



#playerList .nextclips {
	position: absolute;
	height: 122px;
	bottom: 0;
	white-space: nowrap;
}
#playerList .nextclips span {
	display: inline-block;
	background: #000;
}
#playerList .nextclips span img {
	opacity: 0.4;
}
#playerList .nextclips dl {
	position: absolute;
	left: 66px;
	top: 50%;
	transform: translateY(-50%);
	color: #fff;
	font-size: 15px;
	font-weight: bold;
	letter-spacing: 1px;
}


#playerList .thumb.playing,
#playerList .thumb.playing img {
	width: 180px;
	height: 135px;
	transition-duration: 250ms;
}
#playerList .thumb,
#playerList .thumb img {
	transition: all 100ms linear;
}


#scrabbingView {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 100;
	background: #000;
}
#scrabbingView div {
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
}
#scrabbingView img {
	width: 100%;
	height: auto;
}




#playerUI {
	position: fixed;
	width: 961px;
	height: 541px;
	left: 50%;
	top: 50%;
	z-index: 10200;
	margin: -341px 0 0 -481px;
	background: rgba(0,0,0,0.55);
}
#playerUI a {
	position: absolute;
	display: block;
	width: 46px;
	height: 46px;
	top: 50%;
	margin-top: -23px;
	cursor: pointer;
}
#playerUI .sound {
	right: 215px;
}
#playerUI .fullscreen {
	left: 215px;
	background: url(../img/fullscreen.svg) 50% 50% no-repeat;
	background-size: 100% auto;
}
#playerUI .play {
	left: 50%;
	margin-left: -23px;
}



#playerUI .play i {
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
}
#playerUI .play i:nth-child(1) {
	background: url(../img/pause.svg) 50% 50% no-repeat;
	background-size: 100% auto;
}
#playerUI .play i:nth-child(2) {
	background: url(../img/play-small.svg) 50% 50% no-repeat;
	background-size: 100% auto;
}
#playerUI .play.playing i:nth-child(2) {
	visibility: hidden;
}
#playerUI .play.paused i:nth-child(1) {
	visibility: hidden;
}



#playerUI .sound i {
	position: absolute;
	display: block;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
}
#playerUI .sound i:nth-child(1) {
	background: url(../img/mute.svg) 50% 50% no-repeat;
	background-size: 100% auto;
}
#playerUI .sound i:nth-child(2) {
	background: url(../img/unmute.svg) 50% 50% no-repeat;
	background-size: 100% auto;
}

#playerUI .sound.muted i:nth-child(2) {
	visibility: hidden;
}
#playerUI .sound.unmuted i:nth-child(1) {
	visibility: hidden;
}







#closeBtn {
	position: fixed;
	display: block;
	width: 32px;
	height: 32px;
	left: 53px;
	top: 53px;
	z-index: 10200;
	cursor: pointer;
	background: url(../img/close.svg) 50% 50% no-repeat;
	background-size: 21px auto;
}






#playerOverlay {
	transition: opacity 400ms linear;
	opacity: 0;
}
#playerOverlay.show {
	opacity: 1;
}
#playerOverlay.show.close {
	transition-duration: 400ms;
	opacity: 0;
}



#playerViewer {
	transition: opacity 800ms linear;
	opacity: 0;
}
#playerViewer.show {
	opacity: 1;
}
#playerViewer.show.close {
	transition-duration: 400ms;
	opacity: 0;
}


/*
#playerUI {
	transition: opacity 400ms linear;
	opacity: 0;
}
#playerUI.show {
	opacity: 1;
}
#playerUI.show.close {
	transition-duration: 400ms;
	opacity: 0;
}
*/

#playerUI {
	transition: opacity 400ms linear;
	opacity: 0;
}
body.ui #playerUI {
	opacity: 1;
}




#closeBtn {
	transition: opacity 400ms linear;
	opacity: 0;
}
#closeBtn.show {
	opacity: 1;
}
#closeBtn.show.close {
	transition-duration: 400ms;
	opacity: 0;
}


#playerList {
	transition: all 400ms linear;
	opacity: 0;
	visibility: hidden;
}
#playerList.show {
	opacity: 1;
	visibility: visible;
	transition-duration: 800ms;
}
#playerList.close {
	opacity: 0 !important;
	visibility: hidden !important;
	transition-duration: 400ms !important;
}





#scrabbingView {
	visibility: hidden;
}
#scrabbingView.show {
	visibility: visible;
}

#scrabbingView div {
	transition: all 150ms linear;
	visibility: hidden;
	opacity: 0;
}
#scrabbingView div.show {
	visibility: visible;
	opacity: 1;
}



#thumbnailBtn {
	position: fixed;
	display: block;
	left: 50%;
	top: 50%;
	z-index: 10200;
	margin: 225px 0 0 -480px;
}
#thumbnailBtn a  {
	display: inline-block;
	width: 106px;
	height: 20px;
	background: url(../img/andmore.svg) 0 50% no-repeat;
	background-size: 104px 14px;
	cursor: pointer;
}

#thumbnailBtn {
	transition: all 400ms linear;
	visibility: hidden;
	opacity: 0;
}
#thumbnailBtn.show {
	visibility: visible;
	opacity: 1;
	transition-duration: 800ms;
}
#thumbnailBtn.close {
	opacity: 0 !important;
	visibility: hidden !important;
	transition-duration: 400ms !important;
}



#exitBtn {
	position: absolute;
	display: block;
	width: 50px;
	height: 50px;
	left: 28px;
	top: 28px;
	z-index: 10600;
	cursor: pointer;
	background: url(../img/close.svg) 50% 50% no-repeat;
	background-size: 21px auto;
	
	transition: all 300ms linear;
	opacity: 0;
}
#exitBtn.show {
	opacity: 1;
}
#exitOverlay {
	position: absolute;
	width: 100vw;
	height: 100vh;
	left: 0;
	top: 0;
	z-index: 10500;
	display: none;
}
body.fs-mode #exitOverlay {
	display: block;
}


/* Small PC and Tablet */
@media screen and (min-width: 768px) and (max-height: 800px), screen and (min-width: 768px) and (max-width: 1023px) {
	#playerViewer {
		width: 750px;
		height: 422px;
		margin-left: -375px;
		margin-top: calc(-211px - 50px);
	}
	
	
	#thumbnailBtn {
		margin-left: -375px;
		margin-top: calc(211px - 50px + 15px);
	}
	#playerUI {
		width: 751px;
		height: 423px;
		margin-left: -376px;
		margin-top: calc(-211px - 51px);
	}
	
	#playerList {
		height: 124px;
		left: calc(-750px / 2 + 56px);
		margin-top: calc(211px - 50px + 15px);
	}
	#playerList .inner {
		top: 40px;
	}
	#playerList .thumb,
	#playerList img {
		width: 112px;
		height: 84px;
	}

	#playerList .line {
		height: 124px;
		margin-left: -57px;
	}
	
	#playerList .nextclips {
		height: 84px;
	}
}


#playerViewer .btn {
	position: absolute;
	width: 50px;
	height: 50px;
	left: 50%;
	top: 50%;
	z-index: 5000;
	margin: -25px 0 0 -25px;
	background: url(../img/play-mini.svg) 0 0 no-repeat;
	background-size: 100% auto;
	cursor: pointer;
}

/* SP */
@media screen and (max-width: 767px) {
	#exitBtn {
		display: none;
	}
	#exitOverlay {
		display: none;
	}

	#playerOverlay {
		height: 150vh;
	}
	#playerViewer {
		width: calc(100vw - 16px);
		height: calc((100vw - 16px) * 0.5625);
		left: 8px;
		top: 50%;
		margin-top: calc((100vw - 16px) * 0.5625 * -0.5);
		margin-left: 0;
	}
	
	#playerViewer .btn {
		width: 50px;
		height: 50px;
		margin: -25px 0 0 -25px;
	}
	

	#playerList {
		width: 100%;
		height: 120px;
		left: calc(-100vw / 2 + 60px + 15px);
		top: 50%;
		margin: calc(28.125vw + 15px) 0 0;
	}

	#playerList .thumb,
	#playerList img {
		width: 120px;
		height: 90px;
	}

	#playerList .line {
		width: 1px;
		height: 120px;
		left: 50%;
		top: 0;
		margin-left: -60px;
	}
	#playerList .pager {
		left: 10px;
		top: 0;
		font-size: 12px;
	}
	#playerList .pager span {
		margin-left: 8px;
	}


	#playerList .inner {
		top: 30px;
	}
	
	#playerList .nextclips {
		height: 90px;
	}
	#playerList .nextclips dl {
		font-size: 12px;
		left: 45px;
	}
	
	

	#playerUI {
		width: calc(100vw - 16px + 1px);
		height: calc((100vw - 16px) * 0.5625 + 1px);
		left: 8px;
		top: 50%;
		margin-top: calc((100vw - 16px) * 0.5625 * -0.5 - 1px);
		margin-left: -1px;
	}
	#playerUI a {
		width: 30px;
		height: 30px;
		margin-top: -15px;
	}
	#playerUI .play {
		left: 50%;
		margin-left: -15px;
	}
	#playerUI .sound {
		left: 50%;
		right: auto;
		margin-left: 95px;
	}
	#playerUI .fullscreen {
		left: 50%;
		margin-left: -120px;
	}



	#playerUI .fullscreen {
		background-size: 32px auto;
	}

	#playerUI .play i:nth-child(1) {
		background-size: 30px auto;
	}
	#playerUI .play i:nth-child(2) {
		background-size: 28px auto;
	}


	#playerUI .sound i:nth-child(1) {
		background-size: 30px auto;
	}
	#playerUI .sound i:nth-child(2) {
		background-size: 30px auto;
	}
	
	


	

	#closeBtn {
		left: 13px;
		top: 25px;
		background-size: 18px auto;
	}


	#thumbnailBtn {
		left: 15px;
		top: 50%;
		margin: calc(28.125vw + 14px) 0 0;
	}
	#thumbnailBtn a {
		width: 80px;
		background-size: 80px 11px;
	}
}







/* SP - Landscape */
@media screen and (max-height: 480px) and (orientation: landscape) {
	#playerViewer {
		width: calc((100vh - 140px) / 9 * 16);
		height: calc(100vh - 140px);
		left: 50%;
		top: 10px;
		margin: 0;
		transform: translateX(-50%);
	}
	
	#playerUI {
		width: calc((100vh - 140px) / 9 * 16);
		height: calc(100vh - 140px);
		left: 50%;
		top: 10px;
		margin: 0;
		transform: translateX(-50%);
	}
	
	
	
	
	#playerList {
		left: calc(-100vw / 2 + 60px + 15px);
		top: auto;
		bottom: 10px;
		margin: 0;
	}
	
	#thumbnailBtn {
		left: 15px;
		top: calc(100vh - 140px + 10px);
		margin: 0;
	}
	
	#playerUI .fullscreen {
		left: 20%;
		margin-left: 0;
	}
	#playerUI .sound {
		left: auto;
		right: 20%;
		margin-left: 0;
	}
	
	
	
	
	#playerUI .fullscreen {
		background-size: 32px auto;
	}

	#playerUI .play i:nth-child(1) {
		background-size: 30px auto;
	}
	#playerUI .play i:nth-child(2) {
		background-size: 28px auto;
	}


	#playerUI .sound i:nth-child(1) {
		background-size: 30px auto;
	}
	#playerUI .sound i:nth-child(2) {
		background-size: 30px auto;
	}
}



