@font-face {
    font-family: Binggrae;
    font-style: normal;
    font-weight: 300;
    src:url(../fonts/BinggraeⅡ.ttf);
}
*, *: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;
}
p {
    margin: 0;
    cursor: pointer;
}

#app {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1010px;
    height: 670px;
    background-color: #fff;
    transform: translate(-50%, -50%);
    overflow: hidden;
}
#content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 632px;
}
#content>#top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 80;
}
#content>#top>.top-title {
    float: right;
    width: 30%;
    height: 120px;
    background: url(../img/top/top_title.png) no-repeat top 5px right 5px;
}
#content>#top>.top-chasi {
    float: left;
    width: 70%;
    height: 26px;
}
#content>#top>.top-chasi>img {
    float: left;
    padding: 0 5px;
    background: #fff;
    line-height: 26px;
}
#content>#top>.top-chasi:after {
    content: "";
    float: left;
    width: 20px;
    height: 26px;
    background: url(../img/top_chasi.png);
}
#content>#top>.top-page {
    float: left;
    width: 70%;
    height: 24px;
}
#content>#top>.top-page:before {
    float: left;
    content: '';
    width: 9px;
    height: 100%;
    background: url(../img/top_page_left.png) no-repeat;
}
#content>#top>.top-page>span {
    float: left;
    padding-left: 5px;
    padding-right: 3px;
    background: #1d1b21;
    line-height: 23px;
    color: #fff;
}
#content>#top>.top-page:after {
    float: left;
    content: '';
    width: 11px;
    height: 100%;
    background: url(../img/top_page_right.png) no-repeat;
}
#content>video {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}
#content>#overlay-play {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.4);
    z-index: 90;
}
#content>#overlay-play>i {
    position: absolute;
    top: 50%;
    left: 50%;
    color: #fff;
    transform: translate(-50%,-50%);
}
#content>#popup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 90;
}
#content>#popup>.btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: url(../img/popup/btn_close.png);
}

/* index */
#index {
    position: absolute;
    top: 50%;
    left: 0;
    height: 100%;
    transform: translateY(-50%);
    z-index: 100;
}
#index>.btn-index {
    position: absolute;
    top: 50%;
    left: 100%;
    width: 40px;
    height: 40px;
    background: url(../img/btn_index.png) no-repeat center;
    color: #fff;
    transform: translateY(-50%);
    overflow: hidden;
}
#index>.btn-close {
    position: absolute;
    top: 50px;
    left: 100%;
    width: 40px;
    height: 40px;
    background: #000 url(../img/index/btn_close.png) no-repeat center;
}
#index>.btn-close:hover {
    background-color: #953682;
}
#index>.index {
    margin: 0;
    padding: 0;
    width: 260px;
    height: 100%;
    list-style: none;
    background: #222;
    color: #fff;
    font-family: 'NanumSquare';
    overflow: hidden;
}
#index>.index>li {
    float: left;
    padding: 10px 10px 10px 25px;
    width: 100%;
    background: #000;
    line-height: 30px;
    font-size: 18px;
    text-indent: -15px;
    cursor: pointer;
}
#index>.index>li.sub {
    background: none;
    color: #c1c1c1;
    line-height: 20px;
    text-align: left;
    font-size: 18px;
    text-indent: 0;
}
#index>.index>li.sub:before {
    content: "";
    float: left;
    margin: 8px 6px;
    width: 4px;
    height: 4px;
    background: #c1c1c1;
    border-radius: 2px;
}
#index>.index>li.active, #index>.index>li:hover {
    background-color: #721e61;
}
#index>.index>li.sub.active, #index>.index>li.sub:hover {
    background-color: #953682;
}
#index>.index>li.sub+li:not(.sub) {
    margin-top: 20px;
}

/* map */
#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.6);
    z-index: 105;
}
#map>.map {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 700px;
    height: 400px;
    background: #fff;
    transform: translate(-50%,-50%);
    overflow: hidden;
}
#map>.map>.head {
    width: 100%;
    height: 40px;
    background: #953682;
}
#map>.map>.head>.title {
    float: left;
    padding-left: 10px;
    line-height: 40px;
}
#map>.map>.head>.btn-close {
    float: right;
    margin-right: 5px;
    width: 40px;
    height: 40px;
    background: url(../img/toolbar/btn_close.png) no-repeat center;
}
#map>.map>.body {
    width: 100%;
    height: calc(100% - 40px);
}
#map>.map>.body>ul {
    float: left;
    margin: 0;
    padding-left: 1px;
    width: 50%;
    height: 100%;
    list-style: none;
}
#map>.map>.body>ul>li {
    padding-left: 20px;
    width: 100%;
    line-height: 40px;
    height: 40px;
    border-bottom: 1px dotted #aaa;
}

/* script */
#script {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    margin: auto;
    padding: 10px 30px 10px 20px;
    width: 950px;
    height: 100px;
    background: #111;
    line-height: 20px;
    color: #fff;
    font-size: 14px;
    z-index: 95;
}
#script>.btn-close {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    background: url(../img/toolbar/btn_close.png) no-repeat center;
    text-align: center;
}
#script>.script {
    float: left;
    width: calc(100% - 60px);
    height: 100%;
}
#script .script-prefix {
    float: left;
    width: 60px;
    height: 100%;
}

/* mobile toolbar */
#page-m>p {
    position: absolute;
    left: 10px;
    top: 50%;
    width: 134px;
    height: 250px;
    background: url(../img/toolbar/btn_page_m.png);
    transform: translateY(-50%);
    opacity: .5;
    z-index: 90;
}
#page-m>.btn-next {
    left: initial;
    right: 10px;
    background-position-x: -134px;
}
#page-m>p:hover {
    opacity: 1;
}

/* toolbar */
#toolbar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 38px;
    background: #111;
    text-align: center;
    z-index: 100;
}
#toolbar:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 15px;
    width: 179px;
    height: 49px;
    background: url(../img/toolbar/bg_title.png);
}
#toolbar>p, #page>p {
    position: absolute;
    top: 0;
    width: 38px;
    height: 38px;
    background: #313131 url(../img/toolbar/buttons.png) no-repeat;
    border-right: 1px solid #000;
}
#toolbar>p:hover, #page>p:hover {
    background-position-y: -38px;
}/* 
#toolbar>p:hover:before, #page>p:hover:before {
    content: "";
    position: absolute;
    top: -25px;
    left: 50%;
    padding: 0 5px;
    min-width: 38px;
    height: 25px;
    background: #61a7e0;
    line-height: 25px;
    text-align: center;
    color: #fff;
    white-space: nowrap;
    transform: translateX(-50%);
}
#toolbar>p:hover:after, #page>p:hover:after {
    content: "";
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    margin: auto;
    width: 9px;
    height: 9px;
    background: url(../img/toolbar/help_tail.png);
} */
#toolbar>.btn-index {
    left: 0px;
    background-image: url(../img/toolbar/btn_index.png);
}
#toolbar>.btn-map {
    left: 200px;
    background-position-x: -342px;
    background-color: transparent;
    border: none;
}

#toolbar>.btn-helper {
    left: 238px;
    background-position-x: -380px;
    background-color: transparent;
    border: none;
}

#toolbar>.btn-ref {
    left: 276px;
    background-position-x: -418px;
    background-color: transparent;
    border: none;
}

#toolbar>#time {
    position: absolute;
    top: 0;
    left: 218px;
    width: 340px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    color: #fff;
    font-size: 12px;
}
#toolbar>#time>.time-slider {
    padding: 16px 0;
    width: calc(100% - 90px);
    height: 100%;
    cursor: pointer;
}
#toolbar>#time>.time-slider>.time-bar {
    width: 100%;
    height: 100%;
    background: #fff;
}
#toolbar>#time>.time-slider>.time-bar>.time-progress {
    position: relative;
    float: left;
    max-width: 100%;
    width: 0;
    height: 100%;
    background: #953682;
}
#toolbar>#time>.time-slider>.time-bar>.time-progress:before {
    content: "";
    position: absolute;
    top: -3px;
    right: -3px;
    width: 6px;
    height: 12px;
    background: #953682;
}
#toolbar>#time>.time-current {
    position: absolute;
    top: 0;
    right: 45px;
    width: 35px;
}
#toolbar>#time>.time-slash {
    position: absolute;
    top: 0;
    right: 35px;
    width: 10px;
    font-size: 14px;
    color: #606060;
}
#toolbar>#time>.time-duration {
    position: absolute;
    top: 0;
    right: 0;
    width: 35px;
    color: #606060;
}
#toolbar>.btn-play {
    left: 670px;
    background-position-x: 0;
}

#toolbar>.btn-pause {
    left: 670px;
    background-position-x: -38px;
}

#toolbar>.btn-re {
    left: 708px;
    background-position-x: -76px;
}

#toolbar>.btn-script {
    left: 746px;
    background-position-x: -114px;
}

#toolbar>.btn-mute {
    left: 784px;
    background-position-x: -152px;
}

#toolbar>.btn-mute>span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    color: #a6120c;
    font-size: 20px;
    font-weight: bold;
}
#toolbar>.btn-fullscreen {
    left: 822px;
    background-position-x: -190px;
}

#toolbar>.btn-fullscreen.on {
    background-position-x: -228px;
}
#toolbar>#page {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    text-align: center;
}
#toolbar>#page>.btn-prev, #toolbar>#page>.btn-next {
    position: relative;
    float: left;
    width: 38px;
    height: 100%;
}
#toolbar>#page>.btn-prev {
    background-position-x: -266px;
}

#toolbar>#page>.btn-next {
    background-position-x: -304px;
}
#toolbar>#page>span {
    float: left;
    width: 32px;
    line-height: 40px;
    color: #fff;
}
#toolbar>#page>.page-slash {
    width: 10px;
    font-size: 14px;
}
#toolbar>#page>.page-slash, #toolbar>#page>.page-total {
    color: #606060;
}
#toolbar>.pop-next {
    position: absolute;
    bottom: 100%;
    right: 0;
    width: 188px;
    height: 41px;
    background: url(../img/toolbar/pop_next.png);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: .3s linear;
}
#toolbar>.pop-next.on {
    transform: scaleY(1);
}


/*배속기능*/
#toolbar>#speed {
    position: absolute;
    top: 0px;
    left: 585px;
    background: #313131;
    border-radius: 0px;
    line-height: 41px;
    text-align: center;
    font-size: 15px;
}
#toolbar>#speed>.btn-slow, #toolbar>#speed>.btn-fast {
    float: left;
    width: 30px;
    height: 38px;
}

#toolbar>#speed>.btn-slow{
position:relative;
    left:2px;
	top:0px;
}
#toolbar>#speed>.btn-slow {
    background: url(../img/toolbar/btn_slow.png) no-repeat center;
}
#toolbar>#speed>.btn-fast {
    background: url(../img/toolbar/btn_fast.png) no-repeat center;
}
#toolbar>#speed>.btn-slow:hover, #toolbar>#speed>.btn-fast:hover {color: #0af}
#toolbar>#speed>.speed-current {
    float: left;
    width: 24px;
    color: #fff;
    font-weight: bold;
	position:relative;
	right:0px;
}
#toolbar>#speed>.speed-suffix {
    float: left;
    width: 28px;
    color: #fff;
    font-weight: bold;
}

/* mobile layout */
#app.mobile #index>.btn-index {
    top: 60px;
    transform: initial;
}

#app.mobile #page {
    right: 30px;
}
#app.mobile #page>p {
    display: none;
}
#app.mobile #page>span {
    width: 40px;
    font-size: 30px;
}
#app.mobile #page>.page-slash {
    width: 10px;
    font-size: 20px;
}