*,*:before,*:after {
    box-sizing: border-box;
    word-break: keep-all;
}
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    font-family: "NanumSquareRound";
    font-size: 16px;
    overflow: hidden;
}
a {
    color: inherit;
    text-decoration: none;
}
p {
    margin: 0;
    cursor: pointer;
}
/* 스크롤바 커스텀 */
.mCSB_scrollTools .mCSB_draggerRail {background-color: #ccc}
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {background-color:rgba(0,0,0,.6)}
.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar,
.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar, .mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar {background-color:rgba(0,0,0,1)}

#con-wrapper{position: absolute;
    top: -25px;
    left: 0;
    width: 100%;
    height: 600px;
    /*background-image: url(../../01/img/0111.png);*/
z-index: 89;}
#con-wrapper>.con-btn{position: relative;
                    top: 0; left: 0;
                    width:50px; height: 50px;
                    cursor: pointer;
                    background-color: red;
                z-index: 10;}

#container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1280px;
    height: 760px;
    background-color: #fff;
    transform: translate(-50%, -50%);
    overflow: hidden;
}


#content-wrapper {
    position: relative;
    width: 100%;
    height: 720px;
}

#content-wrapper>video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#top-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    color: #fff;
    z-index: 90;
}
#top-wrapper .chapter {
    width: 50%;
    height: 82px;
    position: absolute;
}
#top-wrapper .top-title {
    float: right;
    width: 374px;
    height: 200px;
    background: url(../img/top_title.png) no-repeat center right 0px;
}
#top-wrapper .ch-text{color:#695148; font-size:18px; font-weight: bold; position: absolute; top: 24px; left: 155px;}


#index-wrapper {
    position: absolute;
    top: 47%;
    left: -220px;
    margin: auto;
    width: 220px;
    transform: translateY(-50%);
    z-index: 100;
}
#index-wrapper.on {
    left: 0;
}
#index-wrapper>.btn-index {
 position: absolute;
    top: 23%;
    right: -23px;
    width: 26px;
    height: 110px;
    background: url(../img/index/btn_index.png) no-repeat;
    transform: translateY(-50%);
}
#index-wrapper>.btn-close {
    position: absolute;
    bottom: 30px;
    right: 3px;
    margin: 0;
    width: 24px;
    height: 419px;
    top: 15px;
    /* background-image: url(../img/index/btn_close.png); */
}
#index-wrapper>.index-inner {
    width: 100%;
    margin-left:-3px;
    padding:0 0 21px;
    list-style: none;
    color: #000;
    background-color: #000;
    border:3px solid #000;
    word-break: keep-all;
    overflow: hidden;
    border-bottom-right-radius: 11px;
    border-top-right-radius: 11px;
}
#index-wrapper>.index-inner>li {
    width: 80%;
    margin:5px 0 0 0%;
    letter-spacing: -0.02em;
    text-align: center; 
    line-height: 31px;
    font-size: 18px;
    font-weight:800;
    cursor: pointer;
    border-bottom:1px solid #ccc;

}
#index-wrapper>.index-inner>li:nth-child(1){
    background-image: url(../img/index/menu1.png);
    background-repeat: no-repeat;
} 
#index-wrapper>.index-inner>li.active:nth-child(1), #index-wrapper>.index-inner>li:nth-child(1):hover {
    background-image:url(../img/index/menu1_o.png);
    background-repeat: no-repeat;
}





#index-wrapper>.index-inner>li+li {
    margin-top: 2px;
}
#index-wrapper>.index-inner>li.sub {
    background: none;
    color: #fff;
    text-align: left;
    font-size: 13px;
    line-height: 20px;
    border-bottom:0px;
    padding-left: 46px;
    font-weight:700;
}
#index-wrapper>.index-inner>.sub.active, #index-wrapper>.index-inner>li.sub:hover{
    color:rgb(224, 222, 105);
}

#index-wrapper>.index-inner>li.active,

#index-wrapper>.index-inner>li:not(.sub)+li.sub,
#index-wrapper>.index-inner>li.sub+li:not(.sub) {margin-top:7px;}
#index-wrapper>.index-inner>li.sub+li.sub {margin-top: 1px;}
#index-wrapper>.index-inner>li.sub:before {
    /*content: "";*/
    float: left;
    margin: 7px 3px;
    width: 4px;
    height: 4px;
    background-color: #000;
    border-radius: 2px;
}

/* 러닝맵 */
#pop-map {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    padding: 52px 130px 57px;
    width: 100%;
    height: 100%;
    background: url(../img/pop/bg.png);
    z-index: 90;
}

#pop-map .btn_box {
    position: absolute;
    top: 94px;
    left: 40px;
    z-index: 2;
    width:700px;
}
#pop-map .btn_down {
    width: 277px;
    height: 69px;
    float: left;
    background: url(../img/pop/down_btn.png)no-repeat;
}
#pop-map .btn_down.active { background: url(../img/pop/down_btn_on.png)no-repeat;}
#pop-map .btn_term {
    width: 277px;
    height: 69px;
    float: left;
    margin-left: 20px;
    background: url(../img/pop/term_btn.png)no-repeat;
}
#pop-map .btn_term.active { background: url(../img/pop/term_btn_on.png)no-repeat;}

#pop-map>.btn-close {
    position: absolute;
    top: 170px;
    right: 38px;
    width: 53px;
    height: 57px;
    z-index: 2;
    background: url(../img/pop/close.png)no-repeat;
}


#pop-map .down{
    position: absolute;
    top: 0px;
    right: 0px;
    width:1280px; 
    height:720px;
    background:url("../img/pop/down_bg.png")no-repeat;
}

#pop-map .down>ul {
    position:absolute;
    left:20px; 
    top:275px;
    float: left;
    margin: 3px 0 0;
    padding: 0;
    width: 25%;
    height: 100%;
    list-style: none;
    /*border: solid 2px red;*/
}
#pop-map .down>ul:nth-child(2){left:398px;}
#pop-map .down>ul:nth-child(3){left:883px;}
#pop-map .down>ul>li {
    float: left;
    padding: 5px 0;
    padding-left: 5px;
    width: 100%;
    height:36.5px;
    color:#1f2b56;
    font-size:23px;
    font-weight: bold;
}
#pop-map .down>ul>li>span{
    display: block;
    float: left;
    width: 32px;
    font-size:16px;
    position:relative;
}
#pop-map .down>ul>li>span>p{
    position:absolute;
    color:#fff;
    margin-right:20px;
    top: 4px;
    left: 12px;
}
#pop-map .down>ul>li .num{
    width:35px;
    height:34px;
    margin-top: -6px;
    left:340px;
    cursor: pointer;
    background:url("../img/pop/down_img.png")no-repeat;
    /*border: solid 2px green;*/
}
/*용어설명*/
#pop-map .term{
    display:none;
    position: absolute;
    top: 0px;
    right: 0px;
    width:1280px; 
    height:720px;
    /* background:url("../img/pop/term_bg.png")no-repeat; */
}

#pop-map .term_down_btn{
    position: absolute;
    top: 654px;
    left: 87.7%;
    width:201px; 
    height:35px;
    cursor: pointer;
    transform: translate(-50%);
    background:url("../img/pop/term_bown.png")no-repeat;}




/* toolbar */
#toolbar {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0 6px;
    width: 100%;
    height: 40px;
    background: #000;
    color: #000;
    z-index: 90;
}
/* index button */
#toolbar>.btn-index {
    display: none;
    position: absolute;
    top: 0;
    left: 10px;
    width: 62px;
    height: 100%;
    background: url(../img/toolbar/btn_index.png) no-repeat center;
}

#toolbar .logo{
    position: absolute;
    top: 0px;
    left: 8px;
    width: 204px;
    height: 42px;
    background: url(../img/toolbar/logo.png)no-repeat content-box;
    border-right:1px solid #676D72;
}

#toolbar .pop_btn{
    position: absolute;
    top: 0px;
    left: 217px;
    width: 126px;
    height: 42px;
    background: url(../img/toolbar/pop-btn.png)no-repeat content-box;
    border-right:1px solid #676D72;
}




/*
#toolbar>.btn-map {
    position: absolute;
    top: 0;
    left: 125px;
    padding: 10px 0;
    width: 59px;
    height: 100%;
    background: url(../img/toolbar/btn_map.png) content-box;
}*/
/* 시간바 */
#toolbar>.timebar-wrapper {
    position: absolute;
    top: 0;
    left: 376px;
    width: 493px;
    height: 100%;
}
#toolbar>.timebar-wrapper>.timebar {
    position: relative;
    width: /*calc(100% - 100px);*/396px;
    margin-top: 15px ;
    height: 14px;
    border-radius: 18px;
    overflow: hidden;
    background: #d3c6ba content-box;
}
#toolbar>.timebar-wrapper>.timebar>.time-range {
    position: relative;
    float: left;
    max-width: 100%;
    width: 0;
    height: 100%;
    background: #036eb8;
    /*border-radius: 5px;*/
}
/*#toolbar>.timebar-wrapper>.timebar>.time-range:before {
    content: "";
    position: absolute;
    top: -8px;
    right: -9px;
    width: 18px;
    height: 18px;
    background: #7ae889;
    border-radius: 10px;
}*/
#toolbar>.timebar-wrapper>.currtime, #toolbar>.timebar-wrapper>.duration {
    position: absolute;
    top: 0;
    right: 50px;
    width: 40px;
    line-height: 43px;
    text-align: center;
    color: #fff;
    font-family: 'KoPubDotum Light';
    font-size: 15px;
}
#toolbar>.timebar-wrapper>.duration {right: -2px;}
#toolbar>.timebar-wrapper>.currtime:after {
    content: "/";
    position: absolute;
    top: 0;
    right: -6px;
    width: 3px;
    line-height: 43px;
    font-size: 13px;
    color:#fff;
}
/* 영상 배속 */
#toolbar>.speed-wrapper {
    position: absolute;
    top: 8px;
    right: 318px;
    height: 26px;
    /*background: rgba(0,0,0,.3);*/
    border-radius: 5px;
    line-height: 26px;
    text-align: center;
    font-family: 'NaumSquare';
}
#toolbar>.speed-wrapper>.btn-slow,
#toolbar>.speed-wrapper>.btn-fast {
    float: left;
    margin: 8px 5px;
    width: 7px;
    height: 10px;
    background: url(../img/toolbar/btn_speed.png);
}
#toolbar>.speed-wrapper>.btn-fast {
    background-position-x: -7px;
}
#toolbar>.speed-wrapper>.btn-slow:hover,
#toolbar>.speed-wrapper>.btn-fast:hover {
    background-position-y: -10px
}
#toolbar>.speed-wrapper>.currspeed {
    float: left;
    width: 25px;
    font-size: 17px;
    color:#bababa;
}
#toolbar>.speed-wrapper>.currspeed+span {
    float: left;
    width: 35px;
    font-size: 15px;
    color:#bababa;
}
/* 비디오버튼 */
#toolbar>.btn-play,#toolbar>.btn-pause,#toolbar>.btn-replay,#toolbar>.btn-script,#toolbar>.btn-mute {
    position: absolute;
    top: 5px;
    padding: 1px 2px;
    width: 31px;
    height: 32px;
    background: url(../img/toolbar/buttons2.png) content-box;
}
#toolbar>.btn-play:hover,#toolbar>.btn-replay:hover,#toolbar>.btn-script:hover,
#toolbar>.btn-play.on,#toolbar>.btn-pause.on,#toolbar>.btn-mute.on {
    background-position-y: -29px;
}
#toolbar>.btn-pause:hover{
    background-position-y:-29px;


}
#toolbar>.btn-play.on,#toolbar>.btn-pause.on {display: none}
#toolbar>.btn-play {right: 352px; background-position-x: 0}
#toolbar>.btn-pause {right: 352px; background-position-x: -29px}
#toolbar>.btn-replay {right: 313px; background-position-x: -61px;}
#toolbar>.btn-script {right: 281px; background-position-x: -150px}
#toolbar>.btn-mute {right: 241px; background-position-x: -91px}
#toolbar>.btn-fullscreen {position: absolute; top: 0px; right: -40px; width: 40px; height: 40px; z-index: 10;}

#toolbar>.volbar {
    position: absolute;
    bottom: 37%;
    right: 165px;
    width: 77px;
    height: 9px;
    border-radius: 50px;
    background: rgba(52,52,52,.8);
}
#toolbar>.volbar>.vol-bar {
    position: relative;
    /* margin: 12px auto; */
    /* padding: 0 13px; */
    width: 100%;
    height: 9px;
    border-radius: 50px;
    background: #d3c6ba content-box;
}
#toolbar>.volbar>.vol-bar>.vol-range {
    position: absolute;
    bottom: 0;
    width: 50%;
    height: 100%;
    border-radius: 50px;
    background: #036eb8;
}
/*#toolbar>.volbar>.vol-bar>.vol-range:before {
    content: "";
    position: absolute;
    top: -7px;
    left: -5px;
    width: 14px;
    height: 14px;
    background: #7ae889;
    border-radius: 7px;
}*/
#toolbar>.script-wrapper {
    display: none;
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    margin: auto;
    padding: 10px 30px 10px 10px;
    width: 900px;
    height: 100px;
    background: #ddd;
    border-radius: 10px;
    color: #000;
    font-size: 14px;
    overflow: hidden;
    z-index: 90;
}
#toolbar>.script-wrapper.on {display: block}
#toolbar>.script-wrapper>.btn-close {
    position: absolute;
    top: 0; 
    right: 0;
    width: 25px;
    height: 25px;
    background: #000;
    opacity: .6;
    border-bottom-left-radius: 10px;
    text-align: center;
}
#toolbar>.script-wrapper>.btn-close:hover {opacity:1}
#toolbar>.script-wrapper>.btn-close:before {
    content: "X";
    line-height: 25px;
    color: #fff;
    font-size: 20px;
}
#toolbar>.script-wrapper>.script-inner {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    overflow-x: hidden;
    overflow-y: auto;
}
#toolbar>.script-wrapper>.script-inner span:first-child {
    float: left;
    width: 65px;
    line-height: 20px;
}
#toolbar>.script-wrapper>.script-inner span:last-child {
    float: left;
    width: calc(100% - 65px);
    line-height: 20px;
    word-break: keep-all;
}
/* 페이지 컨트롤러 */
#toolbar>.page-wrapper {
    position: absolute;
    top: 0;
    right: 2px;
    height: 100%;
    margin:0px;
}
#toolbar>.page-wrapper>.btn-prev,
#toolbar>.page-wrapper>.btn-next {
    float: left;
     margin: 0px 4px; 
    width: 36px;
    height: 42px;
    background: url(../img/toolbar/btn_page.png);
    border-left: 1px solid #676D72;
    border-right: 1px solid #676D72;
}
#toolbar>.page-wrapper>.btn-prev:hover,
#toolbar>.page-wrapper>.btn-next:hover {
    background-position-y: -41px;
    background-color:#036eb8;
}
#toolbar>.page-wrapper>.btn-prev {background-position-x: 0}
#toolbar>.page-wrapper>.btn-next {background-position-x: -34px}

#toolbar>.page-wrapper>span {
    float: left;
    width: 30px;
    height: 42px;
    line-height: 47px;
    text-align: center;
    font-size: 21px;
    color:#676D72;
}

#toolbar>.page-wrapper>.currPage {
    float: left;
    width: 30px;
    height: 42px;
    line-height: 47px;
    text-align: center;
    font-size: 18px;
    color:#fff;
}

#toolbar>.page-wrapper>.totalpage {
    float: left;
    width: 30px;
    height: 42px;
    line-height: 47px;
    text-align: center;
    font-size: 18px;
    color:#676D72;
}

#toolbar>.page-wrapper:after {
    content: "/";
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -3px;
    width: 9px;
    line-height: 49px;
    font-size: 20px;
    color:#676D72;
}
#toolbar>.pop-next {
    position: absolute;
    bottom: 40px;
    right: 10px;
    width: 137px;
    height: 45px;
    background: url(../img/toolbar/pop_next.png);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: .3s linear;
}
#toolbar>.pop-next.last {background-position-y:-45px}
#toolbar>.pop-next.on {transform:scaleY(1)}

/* mobile */
#container.mobile #index-wrapper {
    top: 10%;
    transform: none;
}
#container.mobile #index-wrapper>.btn-index {
    top: 15px;
    transform: none;
}
#container.mobile #toolbar {padding: 0}
#container.mobile #toolbar>.timebar {
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    width: 490px;
    height: 40px;
}
#container.mobile #toolbar>.timebar>.time-range {background-color: #a6120c}
#container.mobile #toolbar>.timebar>.time-range:before {content:none}
#container.mobile #toolbar>.page-wrapper {
    padding: 0 10px;
}
#container.mobile #toolbar>.btn-mute,
#container.mobile #toolbar>.page-wrapper>.btn-prev,
#container.mobile #toolbar>.page-wrapper>.btn-next {display: none}
#container.mobile #toolbar>.page-wrapper>span {
    width: 40px;
    font-size: 28px;
    color:#fff;
}


#container.mobile #toolbar>.page-wrapper>.currPage+span {
    width: 10px;
    font-size: 18px;
}
/* 모바일 페이지 버튼 */
#container.mobile #toolbar-mobile>.btn-prev,
#container.mobile #toolbar-mobile>.btn-next {
    position: absolute;
    top: 50%;
    width: 134px;
    height: 250px;
    background: url(../img/toolbar/btn_page_m.png);
    transform: translateY(-50%);
    opacity: .5;
}
#container.mobile #toolbar-mobile>.btn-prev {
    left: 10px;
}
#container.mobile #toolbar-mobile>.btn-next {
    right: 10px;
    background-position-x: -134px;
}
#container.mobile #toolbar-mobile>.btn-prev:hover,
#container.mobile #toolbar-mobile>.btn-next:hover {
    opacity: 1;
}