/* 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 {
    font-family: NanumGothicB;
    font-size: 16px;
}
body.fullScreen {
    background-color: #000000;
}

div#wrapper {
    position: relative;
    width: 1012px;
    height: 629px; /* section 592, 컨트롤러 37 */
	background: url('../images/bg/bg_main.png') no-repeat;
    background-size: contain;
    background-position: center;
    overflow: hidden;
}
#wrapper.pc {
    margin: 0 auto; /* scale 적용을 하지 않을 경우 가운데 정렬 */
}
#wrapper.fullScreen {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
}

/* 로딩 이미지 */
#wrapper .loadingDiv {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
	z-index: 99;
}
.loadingDiv .loadingBg {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0;
}
.loadingDiv .loader {
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -76px;
	margin-left: -56px;
	border: 16px solid #f3f3f3;
	border-radius: 50%;
	border-top: 16px solid #3498db;
	width: 80px;
	height: 80px;
	-webkit-animation: spin 2s linear infinite; /* Safari */
	animation: spin 2s linear infinite;
}

/* 비디오 playing 백그라운드와 play 이미지 */
#wrapper .playingDiv {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
	z-index: 100;
}
.playingDiv .playingBg {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.3;
}
.playingDiv .playingImg {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -70px;
    margin-left: -50px;
    cursor: pointer;
    width: 100px;
    height: 100px;
	background: url('../images/controller/btn_play2.png') no-repeat;
    background-size: 100%;
}
.playingDiv .playingImg:hover {
	background: url('../images/controller/btn_play2_over.png') no-repeat;
    background-size: 100%;
}

/* 메뉴 영역 */
#wrapper .menuDiv {
	position: absolute;
	top: 0;
	left: -330px;
	transition: left 0.5s;
	width: 330px;
	height: 592px;
	background: url('../images/menu/bg_menu.png') no-repeat;
    background-size: contain;	
	z-index: 101;
}
#wrapper .menuDiv.noClick::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 102;
	box-sizing: border-box;
	background-color:#000;
	opacity:0;
	z-index:1000;
}
#wrapper .menuDiv.view {
	left: 0px;
	transition: left 0.5s;
}
.menuDiv .menuToggleBtn {
	position: absolute;
	top: 100px;
	right: -24px;
	width: 24px;
	height: 94px;
	background: url('../images/menu/btn_menu_open.png') no-repeat;
    background-size: contain;
	cursor: pointer;
}
.menuDiv .menuToggleBtn.open {
	background: url('../images/menu/btn_menu_close.png') no-repeat;
    background-size: contain;
}
.menuDiv .menuInner_1 {
	position: absolute;
	top: 40px;
	left: 0px;
}
.menuDiv .menuInner_2 {
	position: absolute;
	top: 165px;
	left: 0px;
}
.menuDiv .menuInner_3 {
	position: absolute;
	top: 420px;
	left: 0px;
}
.menuDiv .menuInner_4 {
	position: absolute;
	top: 460px;
	left: 0px;
}
.menuDiv .menu.sco {
	position: relative;
	width: 314px;
	height: 30px;
	line-height: 28px;
	margin-left: 7px;
	border-radius: 15px;
	color: #ffffff;
	font-size: 20px;
	box-sizing: border-box;
	cursor: pointer;
	margin-bottom: 5px;
	background-color: #000000;
	color: #ffffff;
}
.menuDiv .menu.sco .menuBullet {
	position: absolute;
	top: 5px;
	left: 5px;
	width: 22px;
	height: 20px;
	background: url('../images/menu/bullet_sco_1.png') no-repeat;
    background-size: contain;	
}
.menuDiv .menu.sco.active .menuBullet {
	background: url('../images/menu/bullet_sco_1_active.png') no-repeat;
    background-size: contain;	
}
.menuDiv .menu.sco .menuText {
	padding-left: 20px;
}
.menuDiv .menu.sco.active {
	background-color: #e3f6ff;
	color: #08427c;
}
.menuDiv .menu {
	position: relative;
	width: 300px;
	line-height: 20px;
	margin-left: 30px;
	color: #ffffff;
	font-size: 16px;
	box-sizing: border-box;
	cursor: pointer;
	margin-bottom: 3px;
	padding: 2px 10px;
}
.menuDiv .menu:hover {
	background-color: #195eaf;
}
.menuDiv .menu.active {
	background-color: #195eaf;
}
.menuDiv .menu .menuBullet {
	position: absolute;
	top: 7px;
	left: 15px;
	width: 6px;
	height: 12px;
	background: url('../images/menu/bullet_menu.png') no-repeat;
    background-size: contain;
}
.menuDiv .menu.noBullet .menuText {
	text-indent: -16px;
	padding-left: 16px;
	letter-spacing: -1px;
}
.menuDiv .menu .menuText {
	padding-left: 18px;
	word-break: keep-all;
}

/* 콘텐츠 영역 */
section#section {
    position: relative;
    width: 100%;
    height: 592px;
    overflow: hidden;
}
#section .contentsDiv {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 다음페이지 안내 말풍선 */
.contentsDiv .textBubble {
	position: absolute;
	bottom: 0px;
	right: 5px;
	width: 146px;
	height: 55px;
	background: url('../images/common/icon_bubble.png') no-repeat;
    background-size: contain;	
	display: none;
	z-index: 100;
	cursor: pointer;
}
.contentsDiv .textBubble.complete {
	background: url('../images/common/icon_bubble_complete.png') no-repeat;
    background-size: contain;	
}
.contentsDiv .textBubble.view {
	display: block;
}

#section .scriptDiv {
	position: absolute;
	bottom: -84px;
	left: 0px;
	width: 100%;
	height: 84px;
	transition: bottom 0.5s;
}
#section .scriptDiv.on {
	bottom: 0px;
	transition: bottom 0.5s;
}
.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;
}
.scriptDiv .script .scriptText {
    position: relative;
    height: 60px;
    font-size: 16px;
    line-height: 20px;
    color: #ffffff;
    text-align: justify;
    word-break: keep-all;
}
#section.mobile .scriptDiv .script .scriptText {
    overflow: scroll;
}

/* 컨트롤러 영역 */
footer#footer {
    position: relative;
    width: 1012px;
    height: 37px;
}
footer#footer .controllerDiv {
    position: relative;
    width: 100%;
    height: 37px;
}

/* 로고 */
.controllerDiv .logo {
	position: absolute;
	top: 3px;
	left: 10px;
	width: 116px;
	height: 31px;
    background: url(../images/controller/logo.png) no-repeat;
    background-size: contain;
}

/* 타임라인 영역 */
.controllerDiv .timelineDiv {
    position: absolute;
	top: 17px;
	left: 170px;
}
.timelineDiv .timeline {
    position: absolute;
	top: 0px;
	left: 0px;
	width: 290px;
    height: 5px;
	background-color: #ffffff;
}
.timelineDiv .timeline.noClick {
/* pointer-events: none; */ 
}
.timelineDiv.noClick::after {
	content: '';
	position: absolute;
	top: -10px;
	left: -10px;
	width: 310px;
	height: 25px;
	background-color:#000;
	opacity:0;
	box-sizing: border-box;
	z-index:1000;
}

/* 재생된 영역 표시 */
.timelineDiv .timeline .timelinePlayed {
    position: absolute;
	top: 0px;
	left: 0px;
    width: 0px;
    height: 5px;
    background-color: #207ae3;
	z-index: 1000;
}
.timelineDiv .timeline .playhead {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 5px;
    height: 13px;
    font-size: 0; /* forcus 될 때 input 깜빡임 방지 */
    background: #207ae3;
    cursor: pointer;
}
.timelineDiv .timeline .playhead:focus {
    border: none;
    outline: none;
}

/* 볼륨 영역 */
#footer.mobile .controllerDiv .volumelineDiv {
    display: none;
}
.controllerDiv .volumelineDiv {
    position: absolute;
	top: 17px;
	left: 795px;
}
.controllerDiv .volumelineDiv .volumeline {
    position: absolute;
	top: 0px;
	left: 0px;
    width: 61px;
    height: 5px;
    background-color: #ffffff;
}
.controllerDiv .volumelineDiv .volumeline .volumeWidth {
    position: absolute;
	top: 0px;
	left: 0px;
    width: 0px;
    height: 100%;
    background-color: #207ae3;
}
.controllerDiv .volumelineDiv .volumeline .volumehead {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 5px;
    height: 13px;
    font-size: 0; /* forcus 될 때 input 깜빡임 방지 */
    background: #207ae3;
    cursor: pointer;
}
.controllerDiv .volumelineDiv .volumeline .volumehead:focus {
    border: none;
    outline: none;
}

/* 시간 표시 영역 */
.controllerDiv .timeDiv {
	position: absolute;
	top: 11px;
	left: 473px;
	letter-spacing: -1px;
}
.controllerDiv .timeDiv .cTime {
	position: absolute;
	top: 0px;
	left: 0px;
    color: #ffffff;
}
.controllerDiv .timeDiv .dTime {
	position: absolute;
	top: 0px;
	left: 50px;
	color: #606060;
}
.controllerDiv .timeDiv .separator {
	position: absolute;
	top: 3px;
	left: 45px;
	height: 12px;
	border-right: 1px solid #999999;
}

/* 페이지 표시 영역 */
.controllerDiv .pageNumDiv {
	position: absolute;
	top: 11px;
	left: 909px;
}
.controllerDiv .pageNumDiv .cPageNum {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 20px;
	text-align: center;
    color: #ffffff;
}
.controllerDiv .pageNumDiv .tPageNum {
	position: absolute;
	top: 0px;
	left: 37px;
	width: 20px;
	text-align: center;
	color: #606060;
}
.controllerDiv .pageNumDiv .separator {
	position: absolute;
	top: 3px;
	left: 28px;
	height: 12px;
	border-right: 1px solid #999999;
}

/* 기타 버튼 */
.controllerDiv .etcBtnDiv {
    position: absolute;
	top: 0px;
	left: 140px;
    height: 37px;
}
.controllerDiv .etcBtnDiv .mapBtn {
    position: absolute;
	top: 11px;
	left: 0px;
    width: 12px;
    height: 16px;
    background: url('../images/controller/btn_map.png') no-repeat;
    background-size: 100%;
    cursor: pointer;
}
.controllerDiv .etcBtnDiv .mapBtn:hover {
    background: url('../images/controller/btn_map_over.png') no-repeat;
    background-size: 100%;
}
.controllerDiv .etcBtnDiv .downloadBtn {
    position: absolute;
	top: 11px;
	left: 0px;
    width: 14px;
    height: 16px;
    background: url('../images/controller/btn_download.png') no-repeat;
    background-size: 100%;
    cursor: pointer;
}
.controllerDiv .etcBtnDiv .downloadBtn:hover {
    background: url('../images/controller/btn_download_over.png') no-repeat;
    background-size: 100%;
}

/* 컨트롤 버튼 */
.controllerDiv .ctrlBtnDiv {
    position: absolute;
	top: 0px;
	left: 591px;
    height: 37px;
	overflow: hidden;
}
.controllerDiv .ctrlBtnDiv .ctrlBtn {
    position: relative;
    width: 38px;
    height: 37px;
    cursor: pointer;
    float: left;
	margin-right: 2px;
}
.controllerDiv .ctrlBtnDiv .playBtn {
    background: url('../images/controller/btn_play.png') no-repeat;
    background-size: 100%;
}
.controllerDiv .ctrlBtnDiv .playBtn:hover {
    background: url('../images/controller/btn_play_over.png') no-repeat;
    background-size: 100%;
}
.controllerDiv .ctrlBtnDiv .playBtn.on {
    background: url('../images/controller/btn_play_over.png') no-repeat;
    background-size: 100%;
}
.controllerDiv .ctrlBtnDiv .pauseBtn {
    background: url('../images/controller/btn_pause.png') no-repeat;
    background-size: 100%;
}
.controllerDiv .ctrlBtnDiv .pauseBtn:hover {
    background: url('../images/controller/btn_pause_over.png') no-repeat;
    background-size: 100%;
}
.controllerDiv .ctrlBtnDiv .pauseBtn.on {
    background: url('../images/controller/btn_pause_over.png') no-repeat;
    background-size: 100%;
}
.controllerDiv .ctrlBtnDiv .replayBtn {
    background: url('../images/controller/btn_replay.png') no-repeat;
    background-size: 100%;
}
.controllerDiv .ctrlBtnDiv .replayBtn:hover {
    background: url('../images/controller/btn_replay_over.png') no-repeat;
    background-size: 100%;
}
.controllerDiv .ctrlBtnDiv .scriptBtn {
    background: url('../images/controller/btn_script.png') no-repeat;
    background-size: 100%;
}
.controllerDiv .ctrlBtnDiv .scriptBtn:hover {
    background: url('../images/controller/btn_script_over.png') no-repeat;
    background-size: 100%;
}
.controllerDiv .ctrlBtnDiv .scriptBtn.on {
    background: url('../images/controller/btn_script_over.png') no-repeat;
    background-size: 100%;
}
.controllerDiv .ctrlBtnDiv .fullScreenBtn {
    background: url('../images/controller/btn_fullscreen.png') no-repeat;
    background-size: 100%;	
}
.controllerDiv .ctrlBtnDiv .fullScreenBtn:hover {
    background: url('../images/controller/btn_fullscreen_over.png') no-repeat;
    background-size: 100%;	
}
.controllerDiv .ctrlBtnDiv .fullScreenBtn.on {
    background: url('../images/controller/btn_fullscreen_over.png') no-repeat;
    background-size: 100%;	
}
.controllerDiv .ctrlBtnDiv .volumeBtn.on {
    background: url('../images/controller/btn_volume.png') no-repeat;
    background-size: 100%;
}
.controllerDiv .ctrlBtnDiv .volumeBtn.on:hover {
    background: url('../images/controller/btn_volume_over.png') no-repeat;
    background-size: 100%;
}
.controllerDiv .ctrlBtnDiv .volumeBtn.off {
    background: url('../images/controller/btn_mute.png') no-repeat;
    background-size: 100%;
}
.controllerDiv .ctrlBtnDiv .volumeBtn.off:hover {
    background: url('../images/controller/btn_mute_over.png') no-repeat;
    background-size: 100%;
}

/* 페이지 이동 버튼 */
.controllerDiv .moveBtnDiv {
    position: absolute;
	top: 0px;
	right: 0px;
    height: 37px;
}
.controllerDiv .moveBtnDiv .prevPageBtn {
    position: absolute;
	top: 0px;
	right: 112px;
    width: 38px;
    height: 37px;
    cursor: pointer;
    background: url('../images/controller/btn_prev.png') no-repeat;
    background-size: 100%;
}
.controllerDiv .moveBtnDiv .prevPageBtn:hover {
    background: url('../images/controller/btn_prev_over.png') no-repeat;
    background-size: 100%;
}
.controllerDiv .moveBtnDiv .nextPageBtn {
    position: absolute;
	top: 0px;
	right: 0px;
    width: 38px;
    height: 37px;
    cursor: pointer;
    background: url('../images/controller/btn_next.png') no-repeat;
    background-size: 100%;
}
.controllerDiv .moveBtnDiv .nextPageBtn.noClick {
/* pointer-events: none; */
}
.controllerDiv .moveBtnDiv.noClick::after {
    content: '';
    position: absolute;
    top: -1px;
    right: -1px;
    width: 39px;
    height: 39px;
	background-color:#000;
	opacity:0;
    box-sizing: border-box;
	z-index:1000;
}
.controllerDiv .moveBtnDiv .nextPageBtn:hover {
    background: url('../images/controller/btn_next_over.png') no-repeat;
    background-size: 100%;
}

/* Safari */
@-webkit-keyframes spin {
	0% { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
