/*********************************************
 * globals
 *********************************************/
html, body {
  background-color: #f3f5f6;
  font-family: "Segoe UI", Arial, "Malgun Gothic", Gulim, sans-serif; }

/*********************************************
 * modal
 *********************************************/
.popup-modal-wrapper .close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  font-size: 15px;
  color: #000;
  border-radius: 50%;
  background-color: rgb(255, 255, 255);
  cursor: pointer;
  opacity: 1.0;
  outline: none;
  z-index: 9999;
  box-shadow: 0 0 15px rgba(0,0,0,.3); }
.modal {
  position: absolute;
  min-width: 200px; }
.modal-open .modal {
  overflow: hidden; }
.modal.popup-modal .modal-header {
  border-bottom: 0;
  min-height: 50px;
  padding: 0; }
.modal.popup-modal .modal-content {
  margin-top: 0; }
.modal.popup-modal .modal-content .close {
  color: #000;
  background-color: rgb(255, 255, 255);
  box-shadow: 0 0 15px rgba(0,0,0,.3); }
.modal.popup-modal .close .glyphicon {
  padding: 0; }
.modal.popup-modal .modal-body {
  background: none; }
.modal.popup-modal .popup-container {
  position: relative;
  margin: 0;
  padding: 0; }

/*********************************************
 * panel
 *********************************************/
.panel { top: 0; }
.panel > .panel-heading {
  color: #363636;
  height: 60px;
  padding: 0;
  border-bottom: 1px solid #dddddd;
  border-radius: 0; }
.panel-heading .panel-title {
  font-size: 25px; }
.panel-heading .btn-group {
  height: 100%; }
.panel-heading .close {
  width:60px;
  height: 100%;
  border-radius: 0;
  font-size: 35px;
  opacity: 0.8;
  filter: alpha(opacity=100); }
.panel-heading .close:active {
  background-color: rgba(204, 204, 204, 0.2); }
.panel-body {
  position: relative;
  padding: 0;
  height: 100%;
  min-width: 100px;
  font-size: 15px;
  font-weight: 200; }
.panel-body .container {
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: auto; }
.panel-body .container .row:hover {
  background-color: #dddddd;
  -webkit-transition: background-color .3s ease-in-out;
      -ms-transition: background-color .3s ease-in-out;
       -o-transition: background-color .3s ease-in-out;
          transition: background-color .3s ease-in-out; }
/*********************************************
 * tab-content
 *********************************************/
.tab-content > .tab-pane {
  position: absolute;
  top:41px;
  bottom: 0;
  padding-bottom: 61px;
  width: 100%;
  overflow: auto; }

/*********************************************
 * dropdown-menu
 *********************************************/
.dropdown-menu {
  background: white !important;
  border: 1.0px solid #d2d2d2  !important;
  z-index: 9999; }
.dropdown-menu > li > a {
  padding: 6px 35px; }
.dropdown-menu .glyphicon {
  left: -18px;
  top: 2px; }
.dropdown-menu .fa {
  position: relative;
  top: 1px;
  left: -18px !important;
  display: inline-block;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; }
.dropdown-menu .divider {
  margin: 2px 0; }
.dropup .dropdown-menu, .navbar-fixed-bottom .dropdown .dropdown-menu {
  margin-bottom: 6px; }
.dropdown-menu a.dropdown-toggle:active,
.dropdown-menu a.dropdown-toggle:hover {
  color: #fff;
  background-color: #526bbe; }
.dropdown-submenu>.dropdown-menu {
  bottom:0; }
.dropdown-menu .sub-menu {
  top: auto; }
.dropdown-menu li a.checked:before {
  visibility: visible;
  content: "✓";
  font-size: 18px;
  margin-left: -18px;
  margin-right: 3px; }

li.disabled,
li[disabled] {
  cursor: not-allowed !important;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  opacity: .65 !important;
}
li.disabled:active,
li.disabled:hover,
li[disabled]:active,
li[disabled]:hover {
  cursor: not-allowed !important;
  background: none !important;
  outline: 0 !important;
  border: 0 !important;
}

/*********************************************
 * navbar
 *********************************************/
.navbar {}
.navbar-brand img {
  /*width: 100%;*/
  width: auto;
  max-width: 100%;
  height: 100%; }

/*********************************************
 * 확대/축소
 *********************************************/
.zoom-bar {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 40px;
  background: white;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
  z-index: 5000;
  -webkit-transform: translate(0, -50%);
      -ms-transform: translate(0, -50%);
          transform: translate(0, -50%); }
.zoom-bar .btn {
  position: relative;
  width: 100%;
  height: 40px;
  top: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  cursor: default; }

.zoom-bar .btn .icon {
  position: absolute;
  left: 0;
  top: 0;
  padding: 6px;
  margin: 0;
  width: 100%;
  height: 100%;
  opacity: 1.0;
  -webkit-transition: all 0.2s ease;
      -ms-transition: all 0.2s ease;
          transition: all 0.2s ease; }

.zoom-bar .btn.active {
  color: #fff;
  background: #4387f8; }
.zoom-bar .btn.active .svg-icon {
  fill: white; }
.zoom-bar .divider {
  position: absolute;  
  left: 0;
  right: 0;
  height: 1px;
  bottom: -2px;
  margin-left: 10px;
  margin-right: 10px;
  background: #ddd;   }
.zoom-bar .btn.active .divider {
  display: none; }
.zoom-bar .divider.top {
  top: -1px; }

.zoom-bar .form-group {
  margin: 0;
  overflow: hidden; }

#zoom-slider {
  position: relative;
  margin-top : 10px;
  margin-bottom: 10px;
  height: 150px; }
#zoom-slider > .handle-drag {
  position: absolute;
  cursor: pointer;
  width: 40px;
  height: 40px;
  left: 0; }

#zoom-slider > .handle-drag > .handle-drag-inner {
  position: absolute;
  cursor: pointer;
  width: 28px;
  height: 28px;
  left: 6px;
  top: 6px;
  background: white;
  border: 1px solid #dddddd;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
  border-radius: 50%;
}

.vertical-bar {
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 100%; }

.vertical-line {
  position: absolute;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  height: 100%;
  background: #4387f8; }


/*********************************************
 * 상단 검색바 
 *********************************************/
.searchbar {
  position: absolute;
  top: -60px;
  margin-top: 0px;
  width: 100%;
  height: 50px;
  z-index: 9999;
  -webkit-transition: all 0.2s ease;
     -moz-transition: all 0.2s ease;
      -ms-transition: all 0.2s ease;
          transition: all 0.2s ease; }
.searchbar button {
  outline: none;
}
.searchbar .btn {
  border-radius: 0;
  border: 0; }
.searchbar .translucent {
  position: absolute;
  width: 100%;
  height: 100%; }
.searchbar .container {
  position: absolute;
  width: 800px;
  left: 50%;
  margin-left: -400px;
  height: 100%;
  padding-right: 0;
  padding-left: 0;
  background-color: #fff;
  vertical-align: top;
  border-radius: 2px;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08);
  transition: box-shadow 200ms cubic-bezier(0.4, 0.0, 0.2, 1); }

.searchbar .searchinput {
  position: absolute;
  top: -1px;
  bottom: -1px;
  width: 100%;
  margin: 0;
  padding: 10px 65px 10px 65px;
  border: none;
  border-left: 1px solid #adadad;
  border-right: 1px solid #adadad;
  border-radius: 0;
  outline: none;
  background: #fff;
  font-family: inherit;
  font-size: 20px;
  color: #2c3e50;
  height: 100%; }
.searchbar.has-search-result .searchinput {
  padding: 10px 100px 10px 65px; }
.searchbar .searchinput:focus,
.searchbar .searchinput:active {
  outline: none; }
.searchbar .searchinput::-webkit-input-placeholder {
  color: #aaa; }
.searchbar .searchinput:-moz-placeholder {
  color: #aaa; }
.searchbar .searchinput::-moz-placeholder {
  color: #aaa; }
.searchbar .searchinput:-ms-input-placeholder {
  color: #aaa; }
.searchbar .container .btn.close {
  position: absolute;
  display: block;
  width: 50px;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0;
  margin: 0;
  border-right: 1px solid #c4c4c4;
  text-align: center;
  cursor: pointer;
  border-radius: 0;
  opacity: 1.0;
  z-index: 11;
  filter: alpha(opacity=100);  }
.searchbar .container .btn > span {
  font-size: 35px; }
.searchbar .btn-group {
  height: 100%; }
.searchbar .btn-list,
.searchbar .btn-search {
  top: 0;
  width: 50px;
  height: 100%;
  padding: 0;
  margin: 0;
  color: #000;
  border-radius: 0;
  text-align: center;
  cursor: pointer;
  z-index: 90;
  font-size: 22px;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  background: transparent;
  -webkit-font-smoothing: antialiased; }

.searchbar .btn-list {
  display: none;
  padding-top: 7px;
  border-left: 1px solid #c4c4c4;
  border-right: 1px solid #c4c4c4; }

.searchbar .btn.btn-list > span.badge {
  position: absolute;
  width: auto;
  height: auto;
  left: auto;
  top: 2px;
  right: 2px;
  padding: 3px 5px;
  font-size: 8px;
  background-color: red; }
.searchbar .searchsubmit {
  z-index: 90;}

/*********************************************
 * 검색  리스트
 *********************************************/
.toast-searchlist {
  position: absolute;
  width: 320px;
  left: -320px;
  z-index: 9999;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.15);
  color: #a1a1a1;
  background: white; 
  height: 100%; }
.toast-searchlist .container {
  overflow-x: hidden !important; }
.toast-searchlist .container .row {
  margin: 0;
  padding: 0; }
.toast-searchlist .container .row .col-md-3 {
  float: left;
  margin: 0;
  padding: 0; }
.toast-searchlist .container .row img {
  padding: 1px; }
.toast-searchlist .container .row .col-md-9 {
  float: left; }
.toast-searchlist hr {
  margin-top: 0px;
  margin-bottom: 0px;
  border-top: 1px solid #eee; }
.toast-searchlist .row span.highlight {
  color: rgb(0, 0, 0); background-color: rgb(255, 255, 102); }

/*********************************************
 * 전체보기(썸네일 보기)
 *********************************************/
 /*********************************************
 * 전체보기(썸네일 보기)
 *********************************************/
.toast-thumbnail {
  position: absolute;
  width: 100%;
  height: 130px;
  bottom: -130px;
  z-index: 9990;
  color: #a1a1a1;
  background-color: white;
}
.toast-thumbnail .container {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}
.toast-thumbnail .container > .row {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  display: inline-block;
}
.toast-thumbnail .container > .row:hover {
  background-color: transparent !important;
}
.toast-thumbnail .container > .row ul {
  width: 100%;
  overflow: visible !important;
}
.toast-thumbnail .container > .row ul .item {
  position: relative;
  float: left;
  padding: 0px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.toast-thumbnail .container > .row ul .item:hover {
  outline: 3px solid #4387f8;
  -webkit-transition: outline .3s ease-in-out;
      -ms-transition: outline .3s ease-in-out;
       -o-transition: outline .3s ease-in-out;
          transition: outline .3s ease-in-out;
}
.toast-thumbnail .container > .row ul .item .page-no {
  position: absolute;
  bottom: 8px;
  width: 100%;
  height: 18px;
  text-align: center;
}
.toast-thumbnail .container > .row ul .item .page-no > span {
  font-size: 10px;
  background-color: #4387f8;
}
.toast-thumbnail .close {
  position: absolute;
  width: 44px;
  height: 44px;
  right: 0;
  top: -44px;
  background: white;
  font-size: 35px;
  border-radius: 0;
  opacity: 1.0;
  cursor: pointer;
  box-shadow: -1px -2px 2px 0px rgba(0,0,0,0.1), 1px -2px 2px 0px rgba(0,0,0,0.1);
  filter: alpha(opacity=100); 
}
.toast-thumbnail .close:focus,
.toast-thumbnail .close.btn.focus,
.toast-thumbnail .close:active:focus,
.toast-thumbnail .close.active:focus,
.toast-thumbnail .close:active.focus,
.toast-thumbnail .close.active.focus {
  background: white;
  box-shadow: -1px -2px 2px 0px rgba(0,0,0,0.1), 1px -2px 2px 0px rgba(0,0,0,0.1);
  filter: alpha(opacity=100); 
}
.toast-thumbnail .lSSlideOuter {
  width: 100%;
  height: 100%;
}
.toast-thumbnail .lSSlideWrapper {
  position: absolute;
  left: 44px;
  right: 44px;
  height: 100%;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  padding-left: 5px;
  padding-right: 5px;
}

.toast-thumbnail .lSAction > a {
  display: block;
  top: 50%;
  width: 36px;
  height: 36px;
  color: #000;
  font-size: 36px;
  margin-top: -18px;
  opacity: 1.0;  
}

.toast-thumbnail .lSAction > a:active {
  background-color: #e9e9e9;
}
.toast-thumbnail .lSSlideAction > .lSNext {
  right: -10px;
}

/*********************************************
 * 목차 리스트
 *********************************************/
.toast-toc {
  position: absolute;
  width: 350px;
  left: -350px;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.15);
  color: #a1a1a1;
  background: white; 
  z-index: 9999;
}
.toast-toc .panel-body .container .jstree-container-ul {
  padding: 0 20px 0px 0;
}
.jstree > .jstree-container-ul > .jstree-node {
  min-height: 35px;
  line-height: 35px;
  min-width: 35px;
}
.jstree:not(.has-folder) > .jstree-container-ul > .jstree-node {
  margin-left: -15px;
}

.jstree li > .jstree-wholerow {
  height: 35px;
}
.jstree li > .jstree-wholerow-clicked {
  background: #dddddd;
}
.jstree li > .jstree-wholerow-hovered {
  background: #dddddd;
}
.jstree-icon:empty {
  display: inline-block;
  text-decoration: none;
  margin: 0;
  padding: 0;
  vertical-align: middle;
  text-align: center;
}
.jstree .jstree-anchor {
  line-height: 35px;
  height: 35px;
}
.jstree-pageno {
  display: none;
}

/* 목차 멀티라인 & 언더라인 확장 */
.toast-toc .panel-body .container {
  overflow-x: hidden;
  overflow-y: auto; }
.toast-toc .panel-body .container .jstree-container-ul {
  padding: 0; }
.toast-toc .panel-body .container .jstree-container-ul {
  padding: 0; }
.jstree > .jstree-container-ul .jstree-node {
  position: relative;
  margin-left: -20px;
  padding-left: 35px;
  padding-right: 15px;
  line-height: 1.4; }
.jstree > .jstree-container-ul > .jstree-node {
  margin-left: -30px;
  padding-right: 35px; }
.jstree a { 
  white-space:normal !important; height: auto; }
.jstree-ocl {
  vertical-align: top !important;
  margin-top: 5px !important;
  margin-right: 5px !important;
  z-index: 100; }
.jstree-icon:not(.jstree-ocl) {
  position: absolute;
  margin-left: -25px;
  margin-top: -2px; }
.jstree .jstree-file {
  margin-left: -30px !important; }
.jstree .jstree-anchor {
  word-break: keep-all;
  vertical-align: middle;
  min-width: 100px;
  line-height: 1.4;
  padding-top: 7px;
  padding-bottom: 7px;
  height: auto !important; }
.jstree.has-folder > .jstree-container-ul:not(.jstree-no-icons) .jstree-anchor {
  padding-left: 20px !important; }
.jstree li > ins { 
  vertical-align:top; }
.jstree-leaf {
  position: relative;
  height: auto; }
.jstree-leaf a {
  height: auto !important; }
.jstree li > .jstree-wholerow {
  display: none; }
.jstree-wholerowex {
  position: absolute;
  top: 0;
  left: 0;
  width: 500%;
  height: 100%;
  margin-left: -50%;
  border-bottom: 1px solid #EAEAEA; }
.jstree-wholerowex > .wholerowex-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1; }
.jstree li .jstree-anchor:hover .jstree-wholerowex > .wholerowex-inner,
.jstree li .jstree-wholerowex:hover > .wholerowex-inner {
  background: #dddddd; }

/*********************************************
 * 보관함
 *********************************************/
.toast-mystorage {
  position: absolute;
  left: -350px;
  width: 350px;
  height: 100%;
  color: #a1a1a1;
  background: white; 
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
}
.toast-mystorage .panel-heading .trash {
  width:60px;
  height: 100%;
  border-radius: 0;
  font-size: 20px;
  background-color: transparent;
  border-radius: 0;
  margin-top: -2px;
  border: 0;
  outline: 0; }
.toast-mystorage .panel-heading .trash:hover {
  opacity: 1.0; }
.toast-mystorage .panel-heading .trash:active {
  background-color: rgba(204, 204, 204, 0.1); }
.toast-mystorage .nav {
  border-bottom: 1px solid #dddddd; }
.toast-mystorage .container .row {
  margin: 0;
  padding: 0; }
.toast-mystorage .container .row .col-md-3 {
  float: left;
  margin: 0;
  padding: 0; }
.toast-mystorage .container .row img {
  padding: 1px;
  border-right: 1px solid #eee; }
.toast-mystorage .container .row .col-md-9 {
  float: left; }
.toast-mystorage hr {
  margin-top: 0px;
  margin-bottom: 0px;
  border-top: 1px solid #eee; }

/* 부분확대 */
#partial-zoom-modal .modal-body {
  padding: 0; }
#partial-zoom-modal .modal-body div {
  margin-bottom: 0; }
#partial-zoom-modal section.odd .shadow {
  background-image: none; }

/*********************************************
 * 공유하기
 *********************************************/
.popup-share-modal {}
.modal.popup-modal.popup-share-modal .modal-dialog {
  max-width: 350px; }
.modal.popup-modal.popup-share-modal .modal-content {
  border-radius: 0;
  background-color: white;
  box-shadow: 0 0 15px rgba(0,0,0,.3); }
.modal.popup-modal.popup-share-modal .modal-content .modal-header {
  position: relative;
  min-height: 60px; }
.modal.popup-modal.popup-share-modal .modal-content .title {
  position: absolute;
  width: 100%;
  font-size: 18px;
  text-align: center;
  top: 50%;
  -webkit-transform: translate(0, -50%);
    -moz-transition: translate(0, -50%);
      -ms-transform: translate(0, -50%);
          transform: translate(0, -50%);  }
.modal.popup-modal.popup-share-modal .modal-content .close {
  position: absolute;
  width: 44px;
  height: 44px;
  right: 10px;
  top: 50%;
  margin: 0;
  font-size: 28px;
  border-radius: 0;
  opacity: 1.0;
  background: none;
  box-shadow: none;
  cursor: pointer;
  -webkit-transform: translate(0, -50%);
    -moz-transition: translate(0, -50%);
      -ms-transform: translate(0, -50%);
          transform: translate(0, -50%); }
.modal.popup-modal.popup-share-modal .modal-body {
  background-color: white; }
.modal.popup-modal.popup-share-modal .modal-body .container-fluid {
  padding-left: 0;
  padding-right: 0; }


.popup-share-modal .btn-group.btn-share-group {
  text-align: center;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px; }
  
.popup-share-modal .btn-group.btn-share-group > .btn {
  width: 80px;
  margin: 0;
  padding: 6px 10px;
  padding-left: 0;
  padding-right: 0;
  box-shadow: none;
  border: 0;
  background-color: transparent; }

.popup-share-modal .group-copy-url {
  padding-left: 15px;
  padding-right: 15px;
  margin-top: 15px; }
.popup-share-modal .group-copy-url-ios {
  display: none;
  margin-top: 15px;
  margin-bottom: 15px;
  padding-left: 15px;
  padding-right: 15px; }
.popup-share-modal .btn.btn-copy-url {
  width: 100%;
  height: 36px;
  color: #000;
  background-color: #ddd;
  overflow: hidden; }
.popup-share-modal .copy-url-addon {
  cursor: pointer; }
.popup-share-modal .share-icon {
  width: 50px;
  height: 50px;
  display: block;
  margin: 0 auto;
  background-size: 100% 100%; }

.popup-share-modal button[command="sendKakaotalk"] { display: none; }
.popup-share-modal .share-icon.kakaotalk-icon {
  background-image: url("../../icons/kakaotalk.png"); }
.popup-share-modal .share-icon.kakaostory-icon {
  background-image: url("../../icons/kakaostory.png"); }
.popup-share-modal .share-icon.facebook-icon {
  background-image: url("../../icons/facebook.png"); }
.popup-share-modal .share-icon.twitter-icon {
  background-image: url("../../icons/twitter.png"); }
.popup-share-modal .share-icon.gplus-icon {
  background-image: url("../../icons/gplus.png"); }

/*********************************************
 * 커버페이지
 *********************************************/
.book-bg {
  position: absolute;
  display: none;
  border-radius: 10px;
  background: #3f51b5;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  box-shadow: 0 0 15px rgba(0,0,0,.3); }
.toast.has-book-bg .book-bg {
  display: block; }
.toast.bookzoom-activate .book-bg {
  display: none !important; }
.book-bg .book-bg-page {
  position: absolute; }
.book-bg .book-bg-page:first-child {
  background: #f0f0f0;
  border: 1.0px solid #d7d7d7; }
.book-bg .book-bg-page:nth-child(2) {
  background: #f7f7f7;
  border: 0.5px solid #d7d7d7; }
.book-bg .book-bg-page:nth-child(3) {
  background: #f7f7f7;
  border: 0.5px solid #d7d7d7; }


/*********************************************
 * 북마크
 *********************************************/
.bookmarks {
  min-height: 242px;
  overflow: visible;
  -webkit-overflow-scrolling: touch; }
.bookmarks .form-group {
  padding-top: 15px;
  margin-bottom: 0; }
.dialog-bar.bookmarks .container .body {
  padding-bottom: 15px; }
.bookmarks .form-group .page-title {
  padding-top: 5px; }
.bookmarks .form-group label.checkbox-label {
  padding-top: 5px;
  padding-bottom: 5px; }
.bookmarks .form-group .input-group {
  margin-top: -3px; }
.bookmarks textarea {
  resize: none; }
.bookmarks .btn-group > .btn {
    border-top-left-radius: 3px !important;
    border-bottom-left-radius: 3px !important;
}
/*********************************************
 * 디바이스 대응
 *********************************************/
@media (max-width: 450px) {
  .dialog-bar .container {
    width: 100%; }
}
@media (min-width: 768px) {
  .navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
      margin-left: 0; }
}
@media (max-width: 800px) {
  .searchbar .container {
    position: absolute;
    left: 0px;
    width: 100%;
    margin-left: 0; }
  .searchbar .searchinput {
    width: 100%; }
}
@media only screen and (max-device-width: 640px) {
  .toast-searchlist {
    position: absolute;
    width: 320px;
    left: -320px; }
}
