*, html {
    font-family: 'Malgun Gothic';
}

body{background-image: url('img/background.jpg') !important;}
#outerContainer:fullscreen {background-image: url('img/background.jpg') !important;}
#outerContainer:-moz-full-screen {background-image: url('img/background.jpg') !important;}
#outerContainer:-webkit-full-screen {background-image: url('img/background.jpg') !important;width: 100%;height: 100%;}
#outerContainer:-ms-fullscreen {background-image: url('img/background.jpg') !important;}
.cur_zoomin {
    /* cursor: url(/system/javascript/viewer2/ext/01/img/cursor1.cur), auto; */
    cursor: zoom-in;
}

/* navigation */
#go-prev {position: absolute; display: flex; height: 100%; align-items: center; left: -70px; cursor: pointer; z-index: 7;}
#go-prev div {width: 64px; height: 64px; background-image: url(img/go_prev.png);}
#go-next {position: absolute; display: flex; height: 100%; align-items: center; right: -70px; cursor: pointer; z-index: 7;}
#go-next div {width: 64px; height: 64px; background-image: url(img/go_next.png);}

#blackout {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 1600;
    display: none;
}

#prog1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 15px;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    z-index: 1601;
    display: none;
}

#printArea {
    display: none;
}

#North, #East, #South, #West {display: none;}

#North {
    position: absolute;
    top: 0px;
    width: 100%;
    z-index: 8;
}
#North .logo {
    position: absolute;
    top: 20px;
    left: 20px;
}
#North .logo img {
    width: 100px;
}
#North .tools {
    position: absolute;
    width: 243px;
    height: 35px;
    top: 0px;
    left: 50%;
    margin-left: -121px;
    background-image: url(img/north/north_bg.png);
    z-index: 101;
}
#North .tools ul {
    position: relative;
    top: 7px;
    left: 16px;
}
#North .tools ul > li {
    display: inline-block;
    zoom: 1;
}
#North .tools ul > li .help {
    position: absolute;
    top: 32px;
    display: none;
}
#North .tools .first {
    width: 19px;
    height: 19px;
    margin-right: 8px;
    background: url(img/ext_buttons_01.png) -47px -13px;
    cursor: pointer;
}
#North .tools .first:hover {
    background-position: -47px -51px;
}
#North .tools .first .help {
    left: -19px;
}
#North .tools .prev .help {
    left: 9px;
}
#North .tools .next .help {
    left: 130px;
}
#North .tools .last .help {
    left: 159px;
}
#North .tools .prev {
    width: 19px;
    height: 19px;
    background: url(img/ext_buttons_01.png) -75px -13px;
    cursor: pointer;
}
#North .tools .prev:hover {
    background-position: -75px -51px;
}
#North .tools .current {
    margin: 0 5px;
    position: relative;
    top: -4px;
}
#North .tools .current input {
    width: 86px;
    height: 20px;
    color: rgb(247, 247, 247);
    font-size: 13px;
    border: none;
    text-align: center;
    background-color: transparent;
}
#North .tools .next {
    width: 19px;
    height: 19px;
    margin-right: 8px;
    background: url(img/ext_buttons_01.png) -117px -13px;
    cursor: pointer;
}
#North .tools .next:hover {
    background-position: -117px -51px;
}
#North .tools .last {
    width: 19px;
    height: 19px;
    background: url(img/ext_buttons_01.png) -150px -13px;
    cursor: pointer;
}
#North .tools .last:hover {
    background-position: -150px -51px;
}
#North .download {
    position: absolute;
    top: 9px;
    left: 50%;
    margin-left: 140px;
    width: 17px;
    height: 21px;
    background: url(img/ext_buttons_01.png) -385px -110px;
    cursor: pointer;
    display: none;
}
#North .download:hover {
    background-position: -385px -138px;
}
#North .bgm {
    position: absolute;
    top: 5px;
    left: 50%;
    margin-left: 180px;
    width: 28px;
    height: 28px;
    /* background-image: url(img/north/bgm_on.png); */
    background: url(img/ext_buttons_01.png) -278px -11px;
    cursor: pointer;
    display: none;
}
.tmp_bgm_class {
    /* background-image: url(img/north/bgm_off.png) !important; */
    background: url(img/ext_buttons_01.png) -226px -11px !important;
}

#West {
    z-index: 9;
}
#West .handle {
    position: absolute;
    top: 80px;
    left: 0px;
    width: 40px;
    height: 104px;
    cursor: pointer;
    background-image: url(img/west/tab_category.png);
    display: none;
    z-index: 6;
}
#West .panel {
    position: absolute;
    top: 0px;
    left: -400px;
    width: 400px;
    height: 100%;
    background-color: rgba(44,44,44,0.9);
    color: white;
    z-index: 9;
    display: none;
}
#West .header .title {
    position: relative;
    top: 26px;
    left: 16px;
    width: 141px;
    height: 24px;
    background-image: url(img/west/title_category.png);
}
#West .header .button {
    position: relative;
    top: 2px;
    left: 350px;
    width: 25px;
    height: 23px;
    background-image: url(img/west/icon_close.png);
    cursor: pointer;
}
#West .panel .content {
    height: 100%;
    overflow: auto;
    margin-top: 30px;
}
#West .panel .content ul {
    padding-left: 20px;
    width: 350px;
}
#West .panel .content li {
    list-style-type: none;
    font-size: 13.5px;
    line-height: 1.7;
    cursor: pointer;
    color: rgb(193,193,193);
}
#West .panel .content li.depth0 {
    margin: 10px 0;
    color: rgb(235,192,54);
}
#West .panel .content li.depth1 {
    padding-left: 5px;
}
#West .panel .content li.depth2 {
    padding-left: 10px;
}
#West .panel .content li.depth3 {
    padding-left: 15px;
}
#West .panel .content li.depth4 {
    padding-left: 20px;
}

#East {
    position: absolute;
    top: 0px;
    right: 0px;
    height: 100%;
    /*z-index: 6;*/
}
#East .charms_menu {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 88px;
    height: 100%;
    /*z-index: 6;*/
}
#East .charms_menu .trigger {
    position: absolute;
    top: 22px;
    left: 27px;
    background-image: url(img/east/charms_trigger.png);
    width: 33px;
    height: 33px;
    z-index: 6;
}
#East .charms_menu .btns {
    position: relative;
    top: 50%;
    left: 50%;
    width: 47px;
    transform: translate(-50%, -50%);
    display: none;
}
#East .charms_menu .btns li {
    margin-bottom: 50px;
    cursor: pointer;
}
#East .charms_menu li.btn-fullscreen {
    width: 47px;
    height: 47px;
    background: url(img/ext_buttons_01.png) -14px -114px;
}
#East .charms_menu li.btn-fullscreen:hover {
    background-position: -14px -181px;
}
#East .charms_menu li.btn-print {
    width: 47px;
    height: 47px;
    background: url(img/ext_buttons_01.png) -130px -114px;
}
#East .charms_menu li.btn-print:hover {
    background-position: -130px -180px;
}
#East .charms_menu li.btn-search {
    width: 47px;
    height: 47px;
    background: url(img/ext_buttons_01.png) -183px -114px;
}
#East .charms_menu li.btn-search:hover {
    background-position: -183px -180px;
}
#East .charms_menu li.btn-share {
    width: 47px;
    height: 47px;
    background: url(img/ext_buttons_01.png) -73px -114px;
    margin-bottom: 0px;
}
#East .charms_menu li.btn-share:hover {
    background-position: -73px -180px;
}

#South {
    position: absolute;
    bottom: -160px;
    width: 100%;
    z-index: 4;
}
#South .preview{
    width:100px;
    height:0px;
    border-bottom:18px solid rgba(0, 0, 0, 0.8);
    border-left:10px solid transparent;
    border-right:10px solid transparent;
    margin:0 auto;
    font-size:11px;
    line-height:18px;
    font-weight:bold;
    text-align:center;
    color:white;
    cursor:pointer;
}
#South .preview > span{
    padding-left:5px;
    font-size:1px;
    font-weight:normal;
}
#South .previewCont{
    width:100%;
    height:160px;
    background:rgba(0, 0, 0, 0.8);
    display:block;
    position:relative;
    overflow:visible;
}
#South .previewCont .previewThumnail{
    width:1750px;
    position:absolute;
    left:50%;
    margin-left:-875px;
    bottom:40px;
    display: flex;
    justify-content:center;
    align-items:flex-end;
    overflow:visible;
}

#South .previewCont .previewThumnail .previewLeft , #South .previewCont .previewThumnail .previewRight{
    width:60px;
    height:100%;
    background-repeat: no-repeat;
    background-position:center;
    background-size:30px 50px;
    cursor:pointer;
    position:absolute;
    top:0;
    bottom:0;
}
#South .previewCont .previewThumnail .previewLeft:hover , #South .previewCont .previewThumnail .previewRight:hover{
    background-color:gray;
    transition: 0.2s all;
}
#South .previewCont .previewThumnail .previewLeft{
    float:left;
    background-image:url(img/left.png);
    border-radius:8px 0 0 8px;
    margin:auto 0;
    left:-60px;
}
#South .previewCont .previewThumnail .previewRight{
    float:left;
    background-image:url(img/right.png);
    border-radius:0 8px 8px 0;
    margin:auto 0;
    right:-60px;
}

#South .previewCont .previewThumnail .previewContents{
    display: flex;
    justify-content:center;
    align-items:flex-end;
    overflow:visible;
}


#South .previewCont .previewThumnail .previewContents > div{
    margin-left:5px;
    margin-right:5px;
    position:relative;
}
#South .previewCont .previewThumnail .previewContents div .PageNumHover{
    background:rgba(0,0,0,0.7);
    color:white;
    width:65px;
    padding:5px;
    border-radius:8px;
    text-align:center;
    font-size:15px;
    display:none;
    position: absolute;
    top:-40px;
    left:0;
    right:0;
    margin:0 auto;
}
#South .previewCont .previewThumnail .previewContents div:hover img{
    max-width:110px;
    height:auto;
    transition: 0.2s all;
}
#South .previewCont .previewThumnail .previewContents div:hover .PageNumHover{
    display:block;
}
#South .previewCont .previewThumnail .previewContents div img{
    max-width:68.9px;
    height:auto;
    -webkit-box-reflect: below 5px -webkit-gradient(linear,left top,left bottom, from(transparent),color-stop(50%,transparent),to(rgba(250,250, 250, 0.3)));
    margin:0;
    display:block;
    float:left;
    bottom:0px;
    cursor:pointer;
}
#South .previewCont .previewPageBar{
    width:100%;
    height:40px;
    position:absolute;
    top:125px;
    display:flex;
    justify-content: center;
    align-items:center;
}

#South .previewCont .previewPageBar button{
    width:50px;
    height:6px;
    border:none;
    background-color:rgba(224,224,224,0.4);
    border-radius:3px;
    box-sizing:border-box;
    outline:none;
    cursor:pointer;
    margin-left:2px;
    margin-right:2px;
}
#South .previewCont .previewPageBar button:hover,#South .previewCont .previewPageBar button.act{
    background-color:rgba(224,224,224,1);
}

.extension {
    position: absolute;
    top: 0px;
    right: -294px;
    width: 294px;
    height: 100%;
    display: none;
    background-color: rgba(24, 60, 116, 0.8);
    z-index: 6;
}
.extension .header {
    width: 100%;
    height: 68px;
    border-bottom: 1px solid rgba(197,197,197,0.5);
}
.extension .header .label {
    display: inline-block;
    margin: 20px;
    font-weight: bold;
    font-size: 20px;
    color: white;
}
.extension .header .ctrl {
    display: inline-block;
    position: relative;
    top: 10px;
    left: 155px;
    width: 33px;
    height: 33px;
    background-image: url(img/east/east_close_3.png);
    cursor: pointer;
}
.extension .content {
    width: 100%;
}

.ex-search .content .field {
    width: 100%;
    text-align: center;
    margin-top: 10px;
}
.ex-search .content .field .wrapper {
    display: inline-block;
    width: 256px;
    height: 30px;
    text-align: left;
    border-radius: 4px;
    border: 1px solid white;
    background-color: white;
}
.ex-search .content .field input {
    width: 220px;
    height: 30px;
    line-height: 30px;
    padding: 0 0 0 4px;
    font-size: 12px;
    border: none;
}
.ex-search .content .field .icon {
    position: relative;
    top: -24px;
    left: 232px;
    width: 17px;
    height: 17px;
    background-image: url(img/east/searchfield_icon.png);
    cursor: pointer;
}
.ex-search .content .loading {
    display: none;
    position: absolute;
    top: 30%;
    left: 50%;
    margin-left: -35px;
    width: 50px;
    height: 50px;
    color: white;
    /* background-image: url(/system/javascript/viewer2/ext/01/img/preload2.gif); */
}
.ex-search .content .noresult, .ex-search .content .placeholder {
    position: relative;
    top: 100px;
    padding: 0 15px;
    text-align: center;
    color: white;
    font-size: 13px;
}
.ex-search .content .noresult {
    display: none;
}
.ex-search .content .results {
    margin-top: 15px;
}
.ex-search .content .results .results_wrapper {
    display: flex;
    /* justify-content: center; */
    flex-wrap: wrap;
    position: relative;
    width: 290px;
    margin: 0 auto;
}
.ex-search .content .results .results_wrapper div.item {
    width: 90px;
    margin: auto;
    position: relative;
}
.ex-search .content .results div.item img {
    width: 100%;
    cursor: pointer;
}
.ex-search .content .results .seethrough {
    background-color: rgba(131, 186, 225, 0.8);
    position: absolute;
    bottom: 4px;
    left: 0px;
    color: white;
    font-weight: bold;
    font-size: 9pt;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.ex-search .content .results .seethrough .text {
    text-align: center;
}
.ex-search .content .pagination {
    margin-top: 12px;
    color: white;
    text-align: center;
    font-size: 12px;
}
.ex-search .content .pagination a {
    color: rgb(188, 188, 188);
    text-decoration: none;
    margin: 0 3px;
    font-weight: normal;
}
.ex-search .content .pagination a.left,
.ex-search .content .pagination a.right {
    display: none;
    cursor: pointer;
}
.ex-search .content .pagination span a.on {
    color: white;
    font-weight: bold;
}

.search_highlight {
    position: absolute;
    background: yellow;
    opacity: 0.3;
    display: none;
}

.ex-print .preview {
    width: 100%;
    height: 162px;
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(197,197,197,0.5);
}
.ex-print .preview img {
    max-width: 290px;
    max-height: 162px;
}
.ex-print .options {
    font-size: 13px;
    color: white;
    margin-top: 10px;
}
.ex-print .options .subject {
    margin-left: 10px;
    font-weight: bold;
}
.ex-print .options .range {
    margin: 10px 0 0 10px;
}
.ex-print .options .range li {
    line-height: 2.0;
}
.ex-print .options .range input[type="radio"] {
    vertical-align: middle;
    margin-top: -1px;
}
.ex-print .options .range input[name="range_fromto"] {
    width: 80px;
    height: 28px;
    border-radius: 4px;
    border: none;
    margin-left: 28px;
    padding: 0 0 2px 4px;
    /* color: white;
    background-color: rgb(96,115,145); */
}
.ex-print .run {
    margin-top: 40px;
    width: 100%;
    text-align: center;
}
.ex-print .run button {
    width: 252px;
    height: 42px;
    color:#74a9d2;
    border: 2px solid #74a9d2;
    font-size: 18px;
    font-weight: bold;
    border-radius: 4px;
    background-color: transparent;
    cursor: pointer;
}
.ex-print .run button:hover {
    color: white;
    background-color: #fff);
}

.ex-share .url {
    margin: 10px 0 0 10px;
}
.ex-share .url input {
    width: 200px;
    height: 24px;
    border-radius: 4px;
    border: none;
    color: white;
    padding: 0 0 2px 4px;
    background-color: rgb(96,115,145);
}
.ex-share .url button {
    position: relative;
    top: 1px;
    width: 64px;
    height: 28px;
    font-size: 12px;
    font-weight: bold;
    border: none;
    color: rgb(63,63,63);
    background-color: rgb(229,229,229);
    cursor: pointer;
}
.ex-share .subject {
    margin: 20px 0 10px 10px;
    color: white;
    font-weight: bold;
    font-size: 12px;
}
.ex-share .sns {
    position: relative;
    margin-left: 10px;
}
.ex-share .sns li {
    display: inline;
    /* width: 30px;
    height: 30px; */
    cursor: pointer;
}
.ex-share .sns li a {
    text-decoration: none;
    float: left;
}
.ex-share .sns li .help {
    position: absolute;
    top: 30px;
    display: none;
}
.ex-share .sns li.ichi .help {
    left: 0px;
}
.ex-share .sns li.ni .help {
    left: 30px;
}
.ex-share .sns li.san .help {
    left: 60px;
}
.ex-share .sns li.si .help {
    left: 90px;
}

.ex-link {
    position: absolute;
    z-index: 11;
}
.ex-link-goto {
    background: green;
    opacity: 0.3;
}
.ex-link-goto:hover {
    border: 2px solid red;
}
.ex-link a {
    display: block;
    width: 100%;
    height: 100%;
}
.ex-link-open {
    background: blue;
    opacity: 0.3;
}
.ex-link-open:hover {
    border: 2px solid red;
}
.ex-link-video video {
    width: 100%;
    height: 100%;
}

#rawdownload {
    position: absolute;
    width: 543px;
    height: 403px;
    padding: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background-color: white;
    border-radius: 4px;
    border: 1px solid #999;
    display: none;
}
#rawdownload .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
#rawdownload .header .t1 {
    color: #7087BB;
    font-size: 26px;
}
#rawdownload .header .t2 {
    margin-left: 10px;
    font-size: 20px;
}
#rawdownload .header .close {
    width: 22px;
    height: 22px;
    margin-right: 10px;
    background-image: url(img/north/cross_small.png);
    cursor: pointer;
}
#rawdownload .delimiter1 {
    width: 100%;
    height: 5px;
    background-color: #DFDFDF;
}
#rawdownload .delimiter2 {
    width: 100%;
    height: 2px;
    margin-top: 10px;
    background-color: black;
}
#rawdownload .label {
    display: flex;
    justify-content: space-between;
    margin: 30px 0 15px 0;
}
#rawdownload .label .name {
    margin-left: 10px;
}
#rawdownload .label .download {
    margin-right: 40px;
}
#rawdownload .list {
    height: 220px;
    overflow: auto;
}
#rawdownload .list .item {
    display: flex;
    justify-content: space-between;
    height: 40px;
    margin: 20px 0;
    border-bottom: 1px solid #D9D9D9;
}
#rawdownload .list .item .download {
    margin-right: 30px;
}
#rawdownload .list .item .download button {
    width: 68px;
    height: 24px;
    color: #9bb6d1;
    font-size: 11px;
    border: 1px solid #9bb6d1;
    background-color: white;
    border-radius: 15px;
    cursor: pointer;
}
#rawdownload .allFiles {
    margin-top: 20px;
    width: 100%;
    text-align: center;
}
#rawdownload .allFiles button {
    width: 180px;
    height: 40px;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 3px;
    background-color: #6889AA;
    cursor: pointer;
}

@media print {
    #outerContainer {
        display: none;
    }
    #printArea {
        display: block;
    }
    html, body {
        width: 210mm;
        height: 296mm;
    }
    @page {
        size: A4;
        margin: 0;
    }
    #printArea div {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 296mm;
    }
    #printArea div:not(:first-child) {
        page-break-before: always;
    }
    #printArea img {
        max-width: 200mm;
        max-height: 286mm;
        border: none;
    }
}