/* made by EDUMARU */

/* 기본 css import  */
@import "./jquery.mCustomScrollbar.css";
@import "./reset.css";
@import "./fonts.css";

/* 공통 */
html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    -webkit-touch-callout: none;  /* iOS Safari */
    -webkit-user-select: none;    /* Chrome/Safari/Opera */
    -khtml-user-select: none;     /* Konqueror */
    -moz-user-select: none;       /* Firefox */
    -ms-user-select: none;        /* Internet Explorer/Edge */
    user-select: none;              /* Non-prefixed version, currently not supported by any browser */
}
body.fullScreen {
    background-color: #000000;
}

/* 전체 영역 */
div#wrapper {
    position: relative;
    width: 100%;
    height: 100%;
	margin: 0 auto;
    font-size: 16px;
	font-family: NanumGothicB;
	letter-spacing: -1px;
	word-spacing: 1px;
    overflow: hidden;
}
div#wrapper.fullScreen {
    margin: 0 !important;
}

/* 콘텐츠 영역 */
#wrapper section#section { /* 높이는 common.js에서 자동 설정 */
    position: relative;
    width: 100%;
	/*
	background: url("../images/bg/bg_contents.png") no-repeat;
    background-size: contain;
    background-position: center;
	*/
    overflow: hidden;
}
#wrapper section#section.mobile {
    overflow: hidden;
}

/* 콘텐츠 영역 - play 버튼(화면) */
#section .playingDiv {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
	z-index: 100;
	display: none;
}
#section .playingDiv.view {
	display: block;
}
#section .playingDiv .playingBg {
	position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.1;
}
#section .playingDiv .playingImg {
	position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -50px;
    margin-left: -50px;
    cursor: pointer;
    width: 100px;
    height: 100px;
	background: url('../images/common/btn_playing.png') no-repeat;
}
#section .playingDiv .playingImg:hover {
	background-position: -100px 0;
}

/* 콘텐츠 영역 - 로딩 이미지 */
#section .loadingDiv {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
	z-index: 99;
	display: none;
}
#section .loadingDiv.view {
	display: block;
}
#section .loadingDiv .loadingBg {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.1;
}
#section .loadingDiv .loader {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -56px;
	margin-left: -56px;
	width: 80px;
	height: 80px;
	border: 16px solid #f3f3f3;
	border-radius: 50%;
	border-top: 16px solid #3498db;
}
#section .loadingDiv.view .loader {
	-webkit-animation: loading 2s linear infinite;
	animation: loading 2s linear infinite;
}
@-webkit-keyframes loading {
	0% { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
}
@keyframes loading {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* 콘텐츠 영역 - 스크립트(자막) */
#section .scriptDiv {
	position: absolute;
	bottom: -84px;
	left: 0px;
	width: 100%;
	height: 84px;
	transition: bottom 0.5s;
	z-index: 100;/*5;*/ /*next버튼의 z-index보다 작아야 함-> next버튼 뒤로 이동*/
}
#section .scriptDiv.on {
	bottom: 0px;
	/*bottom: 40px; */
	transition: bottom 0.5s;
}
#section .scriptDiv .script {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 10px;
    background-color: #333333;
    border-top: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    box-sizing: border-box;
}
#section .scriptDiv .script .scriptText {
    position: relative;
    height: 60px;
    font-size: 16px;
    line-height: 20px;
    color: #ffffff;
    word-break: keep-all;
}
#section.mobile .scriptDiv .script .scriptText {
    overflow: scroll;
}

/* 콘텐츠 영역 - 메뉴 */
#section .menuDiv {
	position: absolute;
	bottom: 0px; /*메뉴 하단 고정*/
	left: -255px;
	width: 255px;
	height: 527px;
	background: url('../images/menu/bg_menu.png') no-repeat;
    background-size: contain;	
	font-family: 'NanumSquareB';
	transition: left 0.5s;
	z-index: 102;
}
#section .menuDiv.view {
	left: 0px;
	transition: left 0.5s;
}

/* 콘텐츠 영역 - 메뉴 - 메뉴 상세 */
.menuDiv .menuCloseBtn {
	position: absolute;
    top: 12px;
    right: 12px;
	width: 20px;
	height: 20px;
	background: url('../images/menu/btn_menu_close.png') no-repeat;
	background-position: 0 0;
	cursor: pointer;
}
.menuDiv .menuCloseBtn:hover { background-position: -20px 0; }
.menuDiv .menuInner {
	position: absolute;
	left: 0px;
	width: calc(100% - 16px);
}
.menuDiv .menuInner_1 { top: 40px; }
.menuDiv .menuInner_2 { top: 160px; }
.menuDiv .menuInner_3 { top: 410px; }
.menuDiv .menuInner_4 { top: 435px; }

/* 콘텐츠 영역 - 메뉴 - 메뉴 상세 - 메인메뉴 */
.menuDiv .menuInner .mainMenu {
	position: relative;
	height: 32px;
	line-height: 32px;
	margin-bottom: 7px;
	font-size: 20px;
	color: #ffffff;
	padding: 0 10px;
	box-sizing: border-box;
	/*background-color: #2a0401;*/
	border-bottom: 1px solid #bf7c40;
	font-family: 'NanumSquareEB';
	cursor: pointer;
}
.menuDiv .menuInner .mainMenu.active, .menuDiv .menuInner .mainMenu:hover {
	color: #bf7c40;
	/* background-color: #bf7c40; */
	/* border-bottom: 1px solid #292828; */
	/* color: #feb700; */
}

/* 콘텐츠 영역 - 메뉴 - 메뉴 상세 - 서브메뉴 */
.menuDiv .menuInner .subMenu {
	position: relative;
	font-size: 18px;
	line-height: 22px;
	color: #ffffff;
	margin-bottom: 3px;
	box-sizing: border-box;
	margin-left: 18px;
	padding: 2px 10px 2px 18px;
	word-break: keep-all;
	cursor: pointer;
}
.menuDiv .menuInner.menuInner_2 .subMenu {
	padding-left: 25px;
}
.menuDiv .menuInner .subMenu .bulletNum {
	position: absolute;
	top: 2px;
	left: 5px;
}
.menuDiv .menuInner .subMenu .bullet {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 5px;
    height: 9px;
    background: url(../images/menu/icon_menu.png) no-repeat;
}
.menuDiv .menuInner .subMenu .bullet { background-position: 0 0; }
.menuDiv .menuInner .subMenu.active .bullet, .menuDiv .menuInner .subMenu:hover .bullet { background-position: -5px 0; }
.menuDiv .menuInner .subMenu.active, .menuDiv .menuInner .subMenu:hover {
	color: #000000;
	background-color: #bf7c40;
	/* color: #111111;
	background-color: #feb700; */
}

/* 콘텐츠 영역 - 콘텐츠(영상 및 퀴즈, 정리하기 등) */
#section .contentsDiv {
    position: relative;
    width: 100%;
    height: 100%;
	background: url("../images/bg/bg_contents.png") no-repeat;
    background-size: contain;
    background-position: center;
}
#wrapper.fullScreen #section .contentsDiv {
	z-index: -1;	
}

#section .contentsDiv .introSkipBtn {
	position: absolute;
	top: 580px;
    right: 20px;
	width: 105px;
	height: 29px;
	background: url('../images/common/btn_skip.png') no-repeat;
	cursor: pointer;
	display: none;
}
/*
/*스킵버튼 안보이도록
#section .contentsDiv .introSkipBtn.view { display: block; }
#section .contentsDiv .introSkipBtn:hover { background-position: -105px 0; }
*/

/* 콘텐츠 영역 - 과정명 및 차시명 */
#section .contentsDiv .chapterTitle {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 3;
}
#section .contentsDiv .contents {
    width: 100%;
    height: 100%;
}
#section .contentsDiv .contents.none { display: none; }

/* 콘텐츠 영역 - 과정명, 차시명, 학습단계 
#section .contentsDiv .courseTitleDiv {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 3;
	opacity: 0;	
}
#section .contentsDiv .courseTitleDiv.view {
	opacity: 1;
	transition: 1s opacity;
}
.courseTitleDiv .courseTitle {
	position: absolute;
    top: 5px;
    right: 9px;
}
.courseTitleDiv .chapterTitle {
	position: absolute;
	top: 0;
    left: 0;
}
.courseTitleDiv .studyflow {
	position: absolute;
	top: 29px;
    left: 0;
}

#section .contentsDiv .contents {
    width: 100%;
    height: 100%;
}
#section .contentsDiv .contents.none { display: none; }
*/
/* 배속 */
#section .playspeedDiv {
	position: absolute;
	bottom: -160px;
	right: 320px;	
	width: 80px;
	height: 200px;
    text-align: center;
	background-color: hsla(0, 0%, 10%, 0.7);
	border-top-left-radius: 5px;
    border-top-right-radius: 5px;
	font-size: 16px;
	letter-spacing: 0;
	z-index: 101;
	transition: bottom 0.3s;
}
#section .playspeedDiv.view {
	bottom: 40px;
	transition: bottom 0.3s;
}
#section .playspeedDiv .playspeed {
	width: 100%;
	margin: 10px 0 8px 0;
	color: #ffffff;
}
#section .playspeedDiv .playspeedOption {
	width: 100%;
	margin: 8px 0;
	padding: 3px 0;
	color: #ffffff;
	cursor: pointer;	
}
#section .playspeedDiv .playspeedOption:hover {
	color: #50c2dd;
}
#section .playspeedDiv .playspeedLine {
    border: 0.3px #bbbbbb solid;
    width: 80%;
    margin-left: 7px;
}

/* 컨트롤러 */
#wrapper footer#footer { /* 높이는 common.js에서 자동 설정 */
    position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #171717;
	z-index: 1000;
}
#footer .controllerDiv {
    position: relative;
    width: 100%;
    height: 100%;
}
#footer .controllerDiv .controllerBlock {
	position: absolute;
	top: 0;
	left: 60px;
	width: calc(100% - 60px);
	height: 100%;
	background-color: #121212;
	opacity: 0.5;
	z-index: 99;
	display: none;
}
#footer .controllerDiv .controllerBlock.view { display: block; }

/* 컨트롤러 버튼 공통 */
#footer .controllerDiv .ctrlBtn {
	position: relative;
	cursor: pointer;	
}

/* 컨트롤러 - 메뉴 버튼 */
/* .controllerDiv .menuBtnDiv {
    position: absolute;
	top: 0;
	left: 0;
}
.controllerDiv .menuBtnDiv .menuBtn {
	width: 40px;
	height: 40px;
	background: url('../images/controller/btn_menu.png') no-repeat;
	cursor: pointer;
} */
/*
/* 왼쪽 index 메뉴 안뜨게 설정
 .controllerDiv .menuBtnDiv .menuBtn.open,
.controllerDiv .menuBtnDiv .menuBtn:hover { background-position: -40px 0px; } */

/* 컨트롤러 - 타임라인 */
.controllerDiv .ctrlTimeDiv {
	position: absolute;
	top: 0;
	left: 70px;
	height: 100%;
}
.controllerDiv .ctrlTimeDiv > div {
	float: left;
}
.controllerDiv .ctrlTimeDiv::after { /* float: left 해제 */
	content: '';
	clear: both;
}
.controllerDiv .ctrlTimeDiv .timelineDiv {
    position: relative;
	top: 15px;
	margin-right: 20px;
}
.controllerDiv .ctrlTimeDiv .timelineDiv .timeline {
    position: relative;
	width: 450px;
    height: 10px;
	background-color: #cacaca;
	border-radius: 5px;
}
.controllerDiv .ctrlTimeDiv .timelineDiv .timeline.noClick {
	pointer-events: none;
}
.controllerDiv .ctrlTimeDiv .timelineDiv .timeline .timelinePlayed { /* 재생된 영역 표시 */
    position: absolute;
	top: 0px;
	left: 0px;
    width: 0px;
    height: 10px;
	border-radius: 5px;
    background-color:  #bf7c40;
	z-index: 10;
}
.controllerDiv .ctrlTimeDiv .timelineDiv .timeline .playhead { /* 재생바 플레이헤드 */
    position: absolute;
    top: -9px;
    left: -14px;
    width: 28px;
    height: 28px;
    font-size: 0; /* forcus 될 때 input 깜빡임 방지 */
    cursor: pointer;
	outline: none;
	z-index: 11;
	background: url('../images/controller/btn_playhead.png') no-repeat;
}

/* 컨트롤러 - 재생시간 */
.controllerDiv .ctrlTimeDiv .timeDiv {
	position: relative;
	top: 12px;
}
.controllerDiv .ctrlTimeDiv .timeDiv::after {
	content: '';
	clear: both;
}
.controllerDiv .ctrlTimeDiv .timeDiv > div {
	float: left;
}
.controllerDiv .ctrlTimeDiv .timeDiv .cTime {
    color: #ffffff;
}
.controllerDiv .ctrlTimeDiv .timeDiv .dTime {
	color: #BAB8BC;
}
.controllerDiv .ctrlTimeDiv .timeDiv .separator {
	position: relative;
	top: 1px;
	margin: 0 8px;
	height: 14px;
	border-right: 2px solid #ffffff;
}

/* 컨트롤러 - 컨트롤 버튼 */
.controllerDiv .ctrlBtnDiv {
    position: absolute;
	top: 0;
	right: 240px;
}
.controllerDiv .ctrlBtnDiv .ctrlBtn {
    width: 40px;
    height: 40px;
    float: left;
    background: url('../images/controller/btn_controller.png') no-repeat;
}
.controllerDiv .ctrlBtnDiv .ctrlBtn:not(:last-child) {
	margin-right: 2px;
}
.controllerDiv .ctrlBtnDiv .playBtn					{ background-position: 0 0; }
.controllerDiv .ctrlBtnDiv .playBtn.pause			{ background-position: -40px 0; }
.controllerDiv .ctrlBtnDiv .replayBtn					{ background-position: -80px 0; }
.controllerDiv .ctrlBtnDiv .scriptBtn					{ background-position: -120px 0; }
.controllerDiv .ctrlBtnDiv .fullScreenBtn				{ background-position: -160px 0; }
.controllerDiv .ctrlBtnDiv .volumeBtn				{ background-position: -200px 0; }
.controllerDiv .ctrlBtnDiv .volumeBtn.off			{ background-position: -240px 0; }
.controllerDiv .ctrlBtnDiv .playBtn.on,
.controllerDiv .ctrlBtnDiv .playBtn:hover			{ background-position: 0 -40px; }
.controllerDiv .ctrlBtnDiv .playBtn.pause.on,
.controllerDiv .ctrlBtnDiv .playBtn.pause:hover	{ background-position: -40px -40px; }
.controllerDiv .ctrlBtnDiv .replayBtn.on,
.controllerDiv .ctrlBtnDiv .replayBtn:hover			{ background-position: -80px -40px; }
.controllerDiv .ctrlBtnDiv .scriptBtn.on,
.controllerDiv .ctrlBtnDiv .scriptBtn:hover			{ background-position: -120px -40px; }
.controllerDiv .ctrlBtnDiv .fullScreenBtn.on,
.controllerDiv .ctrlBtnDiv .fullScreenBtn:hover		{ background-position: -160px -40px; }
.controllerDiv .ctrlBtnDiv .volumeBtn.on,
.controllerDiv .ctrlBtnDiv .volumeBtn:hover		{ background-position: -200px -40px; }
.controllerDiv .ctrlBtnDiv .volumeBtn.off:hover	{ background-position: -240px -40px; }

/* 컨트롤러 - 볼륨 영역 */
#footer.mobile .controllerDiv .volumelineDiv {
    display: none;
}
.controllerDiv .volumelineDiv {
    position: absolute;
	top: 17px;
	right: 164px;	
}
.controllerDiv .volumelineDiv .volumeline {
    position: relative;
    width: 60px;
    height: 6px;
	border-radius: 3px;
    background-color: #D8D8D8;
}
.controllerDiv .volumelineDiv .volumeline .volumeWidth { /* 볼륨 영역 표시 */
    position: absolute;
	top: 0px;
	left: 0px;
    width: 0px;
    height: 6px;
	border-radius: 3px;
    background-color:  #bf7c40;
}
.controllerDiv .volumelineDiv .volumeline .volumehead {
    position: absolute;
    top: -8px;
    left: 28px;
    width: 24px;
    height: 24px;
    font-size: 0; /* forcus 될 때 input 깜빡임 방지 */
    border: none;
    outline: none;
    cursor: pointer;
	background: url('../images/controller/btn_volumehead.png') no-repeat;
}

/* 컨트롤러 - 페이지 이동 버튼 */
.controllerDiv .pageCtrlDiv {
	position: absolute;
	top: 0;
	right: 0;
}
.controllerDiv .pageCtrlDiv > div {
	float: left;
}
.controllerDiv .pageCtrlDiv .ctrlBtn {
    width: 40px;
    height: 40px;
    float: left;
    background: url('../images/controller/btn_controller.png') no-repeat;
}
.controllerDiv .pageCtrlDiv .prevPageBtn			{ background-position: -280px 0; }
.controllerDiv .pageCtrlDiv .prevPageBtn:hover	{ background-position: -280px -40px; }
.controllerDiv .pageCtrlDiv .nextPageBtn			{ background-position: -320px 0; }
/* .controllerDiv .pageCtrlDiv .nextPageBtn:hover	{ background-position: -320px -40px; } *//*다음페이지 마우스 올림 이벤트 삭제*/
.controllerDiv .pageCtrlDiv .nextPageBtn.noClick {
	pointer-events: none;	
}

/* 컨트롤러 - 페이지 표기 */
.controllerDiv .pageCtrlDiv .pageDiv {
	position: relative;
	top: 12px;
	overflow: hidden;
	margin: 0 5px;
}
.controllerDiv .pageCtrlDiv .pageDiv > div {
	float: left;
}
.controllerDiv .pageCtrlDiv .pageDiv .pageNum {
	position: relative;
	text-align: center;
}
.controllerDiv .pageCtrlDiv .pageDiv .cPageNum {
	width: 20px;
    color: #ffffff;
	font-size: 18px;
}
.controllerDiv .pageCtrlDiv .pageDiv .tPageNum {
	width: 20px;
    color: #BAB8BC;
	font-size: 18px;
}
.controllerDiv .pageCtrlDiv .pageDiv .separator {
	position: relative;
    top: 1px;
    margin: 0 8px;
    height: 16px;
    border-right: 2px solid #ffffff;
}

/* 컨트롤러 - 다음 말풍선 */
.controllerDiv .textBubble {
	position: absolute;
    bottom: 40px;
    right: 5px;
    width: 53px;
    height: 42px;
	cursor: pointer;
	display: none;
	z-index: 101;
}
.controllerDiv .textBubble.next {
	background: url('../images/common/icon_bubble_next.png') no-repeat;
}
.controllerDiv .textBubble.end {
	background: url('../images/common/icon_bubble_end.png') no-repeat;
}
#footer .controllerDiv .textBubble.view { display: block; }

/* 컨트롤러 - 버튼 안내 말풍선 */
.controllerDiv .btnBubble {
    position: absolute;
	top: -34px;
	left: 5px;
	width: 50px;
    font-size: 14px;
	text-align: center;
	border-radius: 10px;
	box-sizing: border-box;
	background-color: #ffffff;
	border: 3px solid #feb700;
	color: #111111;
	padding: 5px;
	z-index: 102;
	display: none;
}
.controllerDiv .btnBubble.view { display: block; }
.controllerDiv .btnBubble.noView { display: none; }
.controllerDiv .btnBubble.b2 { left: -5px; width: 50px; }
.controllerDiv .btnBubble.b3 { left: -10px; width: 60px; }
.controllerDiv .btnBubble.b4 { left: -15px; width: 70px; }
.controllerDiv .btnBubble.b5 { left: -20px; width: 80px; }
/* .controllerDiv .btnBubble.nextPageBtnBubble { left: -44px; } */ /*다음페이지 버블 사라지도록 설정*/

.controllerDiv .btnBubble::after {
	content: '';
	position: absolute;
	bottom: -12px;
	left: calc(50% - 5px);
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5px;
	border-color: #feb700 transparent transparent transparent;
}
.controllerDiv .btnBubble.nextPageBtnBubble::after {
	left: calc(50% + 18px);
}

/* 공통 애니메이션 */
@keyframes fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}
@keyframes fade-out { 
	from { opacity: 1; }
	to { opacity: 0; }
}

div.noClick { pointer-events: none !important; }
div.noClickPorting { pointer-events: none !important; }
