/*@import url(notosanskr.css);*/
/*@import url(itc_avant.css);*/


/* CSS Document */
html { -webkit-text-size-adjust: none; }
* {
	font-family: 'Noto Sans KR';
	-webkit-text-size-adjust: none;
}
body{
	padding:0px;
	margin:0px;
	background-repeat:no-repeat;
	background-attachment:fixed;
	background-position:center;
	font-family: 'Noto Sans KR';
	-webkit-font-smoothing:antialiased;
	-moz-font-smoothing:antialiased;
	font-smoothing:antialiased;
	background: #fff;
	position:relative;
}
html, body { width:100%; height:100% }

/* for  ios */
input::placeholder {
	line-height: normal;
}

/* for IE : 한글 */
input[type=text], textarea {
	-webkit-ime-mode:active;
	-moz-ime-mode:active;
	-ms-ime-mode:active;
	ime-mode:active;
}

/* for IE : 영문 */
html.eng input[type=text], textarea {
	-webkit-ime-mode:inactive;
	-moz-ime-mode:inactive;
	-ms-ime-mode:inactive;
	ime-mode:inactive;
}

.table {
	display: table;
	width: 100%;
	height: 100%;
}
.row {
	display: table-row;
}
.cell {
	display: table-cell;
	vertical-align: middle;
}

html.def body {
	position: relative;
	width: 100%;
	height: 100%;
	margin: 0;
	left: 0;
	top: 0;
}

html.mobile body {
	position: relative;
	width: 100%;
	height: 100%;
	margin: 0;
	left: 0;
	top: 0;
	overflow: auto;
}

label { display:none; }

#container, #contents, body.intro #contents, #videoPlayer, #myVideo, body.intro #videoPlayer, body.intro #myVideo, #mobileLoading{
	width: 100%;
}

#container{
	display:block;
	border:0px solid #ff0000;

	padding-top: 0px;
	position:absolute;
	overflow: hidden;
	top:0;
	left:0;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html.mobile #container{
	text-align: center;
}


#contents{
	width: 100%;
	display: block;
	margin-top:0px;
	border:0px;
	background-size: 100%;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#video_title{
	font-size: 1.3em;
	/*font-weight: bold;*/
}

#video-container{
	width: 850px;
	height: 100%;
	float: left;
	position: relative;
	margin-right: 40px;
}

#video_no{
	float:left;
	margin-top: 25px;
	font-size: 1em;
	color: #333;
}

html.mobile #video_no {
	text-align: left;
	font-size: 1.2em;
	margin-top: 0;
	left: 20px;
	position: absolute;
}

#playlist_container{
	width: 300px;
	height: 480px;
	margin-bottom: 100px;
	overflow-y: auto;
	float:left;
	margin-top: 10px;
	background-color: white;
	border-collapse:collapse;
	position: relative;
	border: 0px solid lightgrey;
	border-top: 1px solid grey;
	border-bottom: 1px solid grey;
	/*-ms-overflow-style: none;*/
}

/*#playlist_container::-webkit-scrollbar{*/
/*	display:none;*/
/*}*/

html.mobile #playlist_container{
	background-color: white;
	border-collapse:collapse;
	border: 1px solid lightgrey;
	position: absolute;
	overflow: auto;
}

html.mobile #playlist{
	height: 100%;
}

.playlist_container_li{
	color:black;
	cursor:pointer;
	padding-top: 10px;
	padding-bottom: 0;
	font-size: 1.0em;
	height: 70px;
	vertical-align: middle;
	border-collapse:collapse;
	border: 1px solid lightgrey;
	margin-bottom: 5px;
	position: relative;
}

html.mobile .playlist_container_li{
	color:black;
	cursor:pointer;
	padding-top: 5px;
	padding-bottom: 0;
	font-size: 0.9em;
	height: 70px;
	vertical-align: middle;
	border-collapse:collapse;
	border: 1px solid grey;
	margin-bottom: 5px;
}

.playlist_li_selected{
	background-color: #f0f0f0;
	border: 1px solid black;
}

html.mobile .playlist_li_selected{
	background-color: #f3f3f3;
	border: 2px solid black;
}

.playlist_container_li:hover{
	border: 1px solid black;
}

#playlist_container li button {
	line-height: 50px;
	float: right;
	background-color: transparent;
	background-image: url('data:image/svg+xml;charset=utf8;base64,PHN2ZyAgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgd2lkdGg9IjE1cHgiIGhlaWdodD0iMThweCI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiAgZmlsbD0icmdiKDIxOCwgMjE4LCAyMTgpIiBkPSJNMTQuOTM2LDkuMDAwIEwwLjgzMCwtMC4wMDAgTDAuODMwLDE3Ljk5OSBMMTQuOTM2LDkuMDAwIFoiLz48L3N2Zz4=');
	background-position: center center;
	background-repeat: no-repeat;
}

html.mobile #fullScreenBtn{
	width: 70px;
	position: absolute;
	right: 10px;
}

html.mobile #miniScreenBtn{
	width: 70px;
	position: absolute;
	right: 10px;
	top: 10px;
	z-index: 3;
}

#contents{
	width: 100%;
}

html.mobile #contents{
	text-align: center;
}

#playing_logo{
	color: white;
	position: absolute;
	top: 0;
	right: 5px;
	width: 100%;
	height: 100%;
	z-index: 3;
	/*background-color: #333333;*/
	/*opacity: 0.1;*/
	text-align: right;
	font-size: 1.2em;
	line-height:60px;
}

html.mobile #playing_logo{
	line-height:55px;
}

#video-title{
	font-weight: bold;
	font-size: 1.7em;
	color: #333333;
}

#intro{
	position: absolute;
	width: 100%;
}
#introStudyInfo{
	position: absolute;
	right: 0;
}
#introStudyTime{
	color: #3f3f3f;
	font-size: 1.1em;
	margin-right: 10px;
}
.intro_status_studying_complete{
	background: #21428e;
	color: #fff;
	padding: 3px 15px;
	border-radius: 12px;
	font-size: 1em;
}
.intro_status_studying{
	background: #b83826;
	color: #fff;
	padding: 3px 15px;
	border-radius: 14px;
	font-size: 1em;
}
.intro_status_studying_none{
	background: #ddd;
	color: #333;
	padding: 3px 15px;
	border-radius: 14px;
	font-size: 1em;
}
.playlist_li_header{
	font-size: 1.0em;
	margin-bottom: 14px;
	margin-left: 10px;
}

html.mobile .playlist_li_header{
	font-size: 1.0em;
	margin-bottom: 5px;
	margin-left: 10px;
}

.playlist_li_body{
	font-size: 0.8em;
	color: #333333;
	margin-left: 10px;
}

html.mobile .playlist_li_body{
	font-size: 0.8em;
	color: #333333;
	margin-left: 10px;
}

.status_studying{
	font-family: 'notokr', sans-serif;
	font-weight: 400;
	color: #BF0808;
	position: absolute;
	right: 10px;
	bottom: 10px;
	font-size: 0.9em;
}
.status_studying_complete{
	font-family: 'notokr', sans-serif;
	font-weight: 400;
	color: #21428e;
	position: absolute;
	right: 10px;
	bottom: 10px;
	font-size: 0.9em;
}
.status_studying_none{
	font-family: 'notokr', sans-serif;
	font-weight: 400;
	color: #8b8b8b;
	position: absolute;
	right: 10px;
	bottom: 10px;
	font-size: 0.9em;
}

#videoPlayer{
	width: 100%;
	display: block;
	left:0;
	top:0;
	background-color: black;
}

html.mobile #videoPlayer{
	display: block;
	left:0;
	top:0;
	background-color: black;
	text-align: center;
	vertical-align: middle;
}

#myVideo{
	object-fit: contain;
}

.hide {
	display:none !important;
}

#footer{
	display:block;
	width: 100%;
	height: 39px;
	position: absolute;
	bottom: -38px;
	/*bottom: 0px;*/
	background-color:transparent;
	z-index: 99;
}

#footer * {
	-webkit-transition-duration: 0.4s; /* Safari */
	transition-duration: 0.4s;
}

html.full #footer{
	bottom: 0px;
}

html.mobile #footer{
	height: 60px;
	bottom: 0px;
	position: relative;
}

#mobileLoading{
	border:0px solid #FF0000;
	position: absolute;
	display: none;
	top:0px;
	left: 0px;
	z-index: 9999999;
}

html.mobile #mobileLoading {
	width:1000px;
	height: 600px;
}

#mbImg{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	display: block;
	background-color: #fff;
	background-image: url(../img/loading.png);
	background-size: 100%;
	background-position: center center;
	background-repeat: no-repeat;
}
html.mobile #mbImg{
	display: block;
	background: url(../img/loading.png) no-repeat;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	margin: 0;
	background-size: 100%;
	background-position: center center;
}

progress::-webkit-progress-value {
	background: #fe1b26;
}

progress::-webkit-progress-bar {
	background: #dadada;
}

progress{
	width: 100%;
	height: 4px;
	border-radius: 0;
	border: 0;
	position: absolute;
	bottom: 0;
	color: #fe1b26;
	background-color: #dadada;
}

html.mobile progress{
	width: 100%;
	height: 4px;
	border-radius: 0;
	border: 0;
	position: absolute;
	bottom: 0;
	color: #fe1b26;
	background-color: #dadada;
}

.onoff {
	float: right;
	margin-top: 0px;
	margin-right: 10px;
	font-size: 14px;
	color: #777;
	vertical-align: middle;
}
.onoff span {
	margin-right: 8px;
}
.onoff a {
	display: inline-block;
	font-size: 12px;
	color: #999;
	border: 1px solid #d9d9d9;
	width: 44px;
	height: 23px;
	line-height: 21px;
	text-align: center;
	margin-left: -3px;
}
.onoff a.active {
	background: #303030;
	color: #fff;
	border-color: #303030;
}

html.mobile .onoff {
	text-align: right;
	float: right;
	margin-right: 10px;
	font-size: 14px;
	color: #777;
	position: relative;
}
html.mobile .onoff span {
	margin-right: 5px;
}
html.mobile .onoff a {
	display: inline-block;
	font-size: 12px;
	color: #999;
	border: 1px solid #d9d9d9;
	width: 44px;
	height: 23px;
	line-height: 21px;
	text-align: center;
	margin-left: -3px;
}
html.mobile .onoff a.active {
	background: #303030;
	color: #fff;
	border-color: #303030;
}

@media screen and (max-width:1400px){
	#video-container{
		width: 850px;
		margin-right: 0;
		margin-bottom: 20px;
	}
	#playlist_container{
		width: 850px;
		height: 350px;
		margin-top: 20px;
		margin-bottom: 0px;
	}
	.onoff {
		float: left;
		margin-top: 75px;
		margin-bottom: -20px;
		width: 850px;
		/*width: 100%;*/
	}
	#video_no{
		float: left;
		margin-top: 20px;
		width: 100%;
	}
	html.mobile #video_no{
		width: auto;
	}
}

@media screen and (max-width:849px){
	#video-container{
		width: 100%;
		margin-right: 0;
		margin-bottom: 20px;
	}
	#playlist_container{
		width: 100%;
		height: 350px;
		margin-top: 35px;
		margin-bottom: 0px;
	}
	.onoff {
		width: 100%;
	}
}
