html,
body,
#reader {
  overflow: hidden;
  font-family: Verdana;
}
body {
  background-color: #ffffff;
  color: #000000;
  margin: 0px;
  -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */
  -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */
  -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */
  -ms-touch-action: none; /* Gets or sets a value that indicates whether and how a given region can be manipulated by the user. */
  -ms-text-size-adjust: none; /* Specifies a size adjustment for displaying text content in Internet Explorer. */
  -ms-user-select: none; /* Controls the appearance of selection. */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
}
[tabindex]:not(.disabled):not([disabled]):focus/*, [tabindex]:active*/ {
  /*outline:#3FBCAA solid 3px;*/
  /*outline:#26FFFF solid 3px;*/
  outline: none;
  z-index: +1;
}
:required,
:invalid {
  box-shadow: none;
  -moz-box-shadow: none;
}
/*:not(.custom-object):not(.user-object):not(.default-object) :invalid {*/
.bubble :invalid {
  font-style: italic;
}

.left {
  float: left;
}
.right {
  float: right;
}

.icon-bullet:before {
  content: "";
  position: absolute;
}
.icon,
.custom-dropdown2:after,
.icon-bullet:before,
.book-toc-item[data-restype]:before,
.book-toc-item.shared:after,
.book-toc-item.assigned .book-toc-item-label:after {
  display: inline-block;
  background-image: url(../images/1024/icons1024.png);
  background-repeat: no-repeat;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-tap-highlight-color: transparent;
}

.icon.pressed, .icon-wrapper.pressed .icon:not(.disabled):not(.static),
/*#book[data-pagemode="single"] .icon.button-pagemode,*/
/*#book[data-pagemode="double"] .icon.button-pagemode,*/
/*#reader[data-forceNoSync="false"] .icon.button-profile,*/
#book[data-mode="drawing"] .icon.button-drawing,
#book[cropview] .icon.button-crop {
  background-image: url(../images/1024/icons1024_on.png);
}

.icon:not(.disabled):not(.static):focus,
.icon:not(.disabled):not(.static):active,
.icon-wrapper:focus .icon:not(.disabled):not(.static),
.icon-wrapper:active .icon:not(.disabled):not(.static),
.custom-dropdown2:focus:after,
.custom-dropdown2:active:after,
.book-toc[data-tab="Contents"] .book-toc-tab[data-name="Contents"],
.book-toc[data-tab="Resources"] .book-toc-tab[data-name="Resources"],
.book-toc[data-tab="Bookmarks"] .book-toc-tab[data-name="Bookmarks"],
.book-toc[data-tab="MyTagging"] .book-toc-tab[data-name="MyTagging"],
.book-toc-item[data-restype]:focus:before,
.book-toc-item[data-restype]:active:before,
.book-toc-item.shared:focus:after,
.book-toc-item.shared:active:after {
  background-image: url(../images/1024/icons1024_over.png);
}

.nine-dots-item .icon {
  background-image: url(../images/1024/nine-dots.png);
}

.nine-dots-item .icon:not(.disabled):not(.static):focus,
.nine-dots-item .icon:not(.disabled):not(.static):active,
.nine-dots-item .icon-wrapper:focus .icon:not(.disabled):not(.static),
.nine-dots-item .icon-wrapper:active .icon:not(.disabled):not(.static) {
  background-image: url(../images/1024/nine-dots_over.png);
}

.icon.disabled {
  cursor: default;
}
#reader[data-platform="128"] #bookshelf .icon.button-profile,
#reader[data-lang="en-US"] .lang-tc,
#reader[data-lang="zh-HK"] .lang-en {
  display: none;
}

.user-object[data-type="text"] {
  width: auto;
  height: auto;
}

[moving-object] .user-object {
  cursor: default;
}

/* Custom Animated Loading */
.custom-animated-loading {
  position: absolute;
  display: inline-block;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 70px;
  height: 70px;
  text-align: center;
}

.custom-animated-loading > div {
  width: 18px;
  height: 18px;
  background-color: #333555;

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: bouncedelay 1.4s infinite ease-in-out;
  animation: bouncedelay 1.4s infinite ease-in-out;
  /* Prevent first frame from flickering when animation starts */
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.custom-animated-loading .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.custom-animated-loading .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes bouncedelay {
  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
  }
  40% {
    -webkit-transform: scale(1);
  }
}

@keyframes bouncedelay {
  0%,
  80%,
  100% {
    transform: scale(0);
    -webkit-transform: scale(0);
  }
  40% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}
/* //Custom Animated Loading */

/* Custom Dropdown */
.custom-dropdown {
  display: inline-block;
  position: relative;
  cursor: default;
  outline: none;
  color: #000;
}
.custom-dropdown .custom-dropdown-label {
  width: 60%;
  width: calc(100% - 28px);
  height: 22px;
  display: inline-block;
  vertical-align: top;
  background-color: #fff;
  border: 2px inset #34495e;
  line-height: 23px;
  font-size: 16px;
  text-indent: 2px;
  overflow: hidden;
  white-space: nowrap;
  outline: none;
  text-overflow: ellipsis;
}
.custom-dropdown .custom-dropdown-label[placeholder] {
  color: #777;
}
.custom-dropdown .custom-dropdown-button.icon {
  display: inline-block;
  outline: none;
  width: 28px;
  height: 27px;
  cursor: pointer;
  margin-left: -4px;
}

.custom-dropdown .custom-dropdown-list {
  display: none;
  position: absolute;
  z-index: 2;
  top: 27px;
  left: 0;
  /*width: 80%;*/
  /*width: calc(100% - 14px);*/
  height: auto;
  max-height: 100px;
  border: 1px #4386a7 solid;
  padding: 2px;
  overflow-x: hidden;
  overflow-y: auto;
  text-indent: 4px;
  background-color: white;
  -webkit-overflow-scrolling: touch;
}
.custom-dropdown .custom-dropdown-list .custom-dropdown-item {
  width: 100%;
  height: 22px;
  line-height: 22px;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.custom-dropdown .custom-dropdown-list .custom-dropdown-item[selected] {
  font-weight: bold;
}
.custom-dropdown .custom-dropdown-list .custom-dropdown-item:focus,
.custom-dropdown .custom-dropdown-list .custom-dropdown-item:active {
  background-color: #cee7ef;
}

.custom-dropdown ::-webkit-scrollbar {
  width: 8px;
}

.custom-dropdown ::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(72, 138, 170, 0.3);
  border-radius: 10px;
}

.custom-dropdown ::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 6px 6px 6px 6px rgba(72, 138, 170, 0.5),
    inset 6px 0 6px rgba(72, 138, 170, 0.5);
}

.custom-dropdown ::-webkit-scrollbar-thumb:active {
  -webkit-box-shadow: inset 6px 6px 6px 6px rgba(72, 138, 170, 0.5);
}
/**********************  **********************/
.custom-dropdown2 {
  position: relative;
  display: inline-block;
  height: 27px;
  cursor: pointer;
}

.custom-dropdown2 .fake-dropdown {
  display: inline-block;
  position: absolute;
  width: 90%;
  width: calc(100% - 25px);
  height: 100%;
  vertical-align: middle;
  overflow: hidden;
  text-overflow: ellipsis;
  text-indent: 0.5em;
  line-height: 1.8em; /*1.5em;*/
  background-color: #fff;
  border: 1px inset #487185;
  color: #000;
  cursor: default;
}

.custom-dropdown2 .fake-dropdown[default] {
  color: #777;
}

.custom-dropdown2:after {
  content: "";
  position: absolute;
  width: 27px;
  height: 27px;
  top: 0px;
  right: -2px;
  display: block;

  -webkit-pointer-events: none;
  -moz-pointer-events: none;
  pointer-events: none;
}

.custom-dropdown2 select {
  display: inline-block;
  position: absolute;
  padding: 3px;
  width: 100%;
  border: 0;
  vertical-align: middle;
  outline: 0 none;
  opacity: 0;
  font-size: 1.2em;
  cursor: pointer;
  /*font: normal 12px/14px "Segoe UI", Arial, Helvetica, Sans-serif;*/
}

.custom-dropdown2 option {
  color: #000;
  font-size: 18px;
}

.custom-dropdown2 option[disabled] {
  display: none;
}
/**********************  **********************/

.custom-dropdown.theme-dark .custom-dropdown-button.icon {
  width: 23px;
  height: 23px;
}

/*
add by matt
*/
#reader[data-offlinemode="true"]
  .custom-dropdown.theme-orange
  .custom-dropdown-button.icon {
  background-position: -99px -351px;
  width: 28px;
  height: 35px;
}
.custom-dropdown2.theme-orange:after,
.custom-dropdown.theme-orange .custom-dropdown-button.icon {
  width: 28px;
  height: 31px;
}
.custom-dropdown.theme-orange .custom-dropdown-label {
  height: 27px;
}
.custom-dropdown2.theme-lightblue {
  height: 33px;
  font-size: 16px;
}
.custom-dropdown2.theme-lightblue select {
  padding: 5px;
}
.custom-dropdown2.theme-lightblue:after {
  top: 0;
  right: -3px;
}
.custom-dropdown2.theme-lightblue .fake-dropdown {
  line-height: 33px;
  font-size: 16px;
  font-weight: bold;
}

/* //Custom Dropdown */

/* Custom Progressbar */
.custom-progressbar {
  background-color: #cee7ef;
  border: thin #cee7ef solid;
  border-radius: 10px;
}
.custom-progressbar > * {
  background-color: #488aaa;
}

.progressbar {
  background-color: #fff;
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 0;
  right: 0;
  width: 12px;
  margin: 0 auto;
  border-radius: 3px;
}
.progressbar.theme-midnightblue {
  background-color: #45607a;
}
.progressbar .progressbar-visited {
  background-color: #ffd24d;
  position: absolute;
  display: inline-block;
  width: 100%;
  bottom: 0;
  border-radius: 3px;
}
.progressbar .progressbar-seeker {
  left: -35%;
}
.progressbar .progressbar-seeker:not(.icon) {
  position: absolute;
  display: inline-block;
  /*bottom: -17.5px;*/
  width: 21px;
  height: 21px;
  border-radius: 3px;
  background-color: #ed6b06;
}
.progressbar .progressbar-seeker:not(.icon):focus,
.progressbar .progressbar-seeker:not(.icon):active {
  background-color: #26ffff;
}
/* //Custom Progressbar */

/* Custom Button */
.custom-button {
  display: inline-block;
  border: thin #36a3c0 solid;
  border-radius: 5px;
  background-color: #36a3c0;
  color: white;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
  padding: 5px 10px;
  margin: 0;
  cursor: pointer;
  width: auto;
}
.custom-button:not([disabled]):active {
  border-style: inset;
  outline: none;
}
.custom-button[disabled] {
  color: #eee;
  background-color: #bbb;
  border-color: #999;
}
.custom-button.drawing-button {
  display: inline-block;
  height: 29px;
  width: 34px;
  padding: 0px;
}
.custom-button.theme-orange {
  border: thin #ed6b06 solid;
  background-color: #ed6b06;
}
.custom-button.theme-orange:focus,
.custom-button.theme-orange:active {
  background-color: #00ffff;
}
.custom-button.theme-steelblue2 {
  background-color: #4587a7;
  border-color: #4587a7;
}
.custom-button.round-corner {
  border-radius: 15px;
}

#playback-speed {
  background-color: rgb(167, 187, 207);
  width: 80px;
  height: 35px;
  font-weight: 700;
  border-radius: 8px;
}
/* //Custom Button */

/* Custom Radio Button */
.custom-radio {
  color: #fff;
  cursor: pointer;
  line-height: 20px;
  font-size: 14px;
  vertical-align: middle;
}
.custom-radio[disabled] {
  cursor: default;
}
.custom-radio:active,
.custom-radio:focus,
.custom-radio[checked] {
  color: #26ffff;
}
.custom-radio:before {
  display: inline-block;
  content: "\2713";
  margin: 5px 10px 5px 0px;
  border-radius: 3px;
  width: 20px;
  height: 19px;
  color: #fff;
  background-color: #fff;
  text-align: center;
  font-size: 20px;
  line-height: 19px;
  vertical-align: middle;
}
.custom-radio[checked]:before {
  visibility: visible;
  background-color: #03dde9;
}
.custom-radio input[type="radio"][name^="custom-radio"] {
  display: none;
}
/* //Custom Radio Button */

/* Custom Checkbox */
.custom-checkbox {
  cursor: pointer;
  text-indent: 1em;
}
.custom-checkbox[disabled] {
  cursor: default;
}
.custom-checkbox:not([label="after"]) {
  text-indent: 3em;
}
.custom-checkbox:not([label="after"]):before,
.custom-checkbox[label="after"]:after {
  content: "\1";
  display: inline-block;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto 1em;
  padding: 1px;
  font-weight: bolder;
  color: #a8bace;
  background-color: #a0c5d7;
  width: 1.2em;
  height: 1.2em;
  line-height: 1.2em;
  text-align: center;
  text-indent: 0;
  border-radius: 4px;
}
.custom-checkbox[label="after"]:after {
  right: 0;
}
.custom-checkbox:not([label="after"]):before {
  left: 0;
}
.custom-checkbox[label="after"]:focus:after,
.custom-checkbox[label="after"]:active:after,
.custom-checkbox:not([label="after"]):focus:before,
.custom-checkbox:not([label="after"]):active:before {
  color: #73ffff;
}
.custom-checkbox.theme-white:before,
.custom-checkbox.theme-white:after {
  background-color: #fff;
}

.custom-checkbox[label="after"][checked]:after,
.custom-checkbox:not([label="after"])[checked]:before {
  content: "\2713";
  background-color: #ed6b06;
  color: #fff;
}

.custom-checkbox[checked] {
  color: #ed6b06;
}

/* //Custom Checkbox */

/* Custom Search Input */
.custom-search {
  display: inline-block;
  background-color: white;
  width: auto;
  padding-right: 60px;
  height: 32px;
}
.custom-search input[type="search"] {
  width: 100%;
  height: 30px;
  border: none;
  outline: none;
  margin: 0;
  padding: 0;
  float: left;
  vertical-align: middle;
  line-height: 30px;
  text-indent: 10px;

  -webkit-appearance: none;
  -webkit-border-radius: 0;
}
html[data-user-agent*="Android"] .custom-search input[type="search"] {
  text-indent: 0px;
}
.custom-search input[type="search"]::-ms-clear,
.custom-search input[type="search"]::-ms-reveal {
  display: none;
  width: 0;
  height: 0;
}
.custom-search input[type="search"]::-webkit-search-cancel-button,
.custom-search input[type="search"]::-webkit-search-decoration,
.custom-search input[type="search"]::-webkit-search-results-button,
.custom-search input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

.custom-search .custom-search-icon {
  display: inline-block;
  /*background-position: top left;*/
  width: 30px;
  height: 30px;
  float: left;
  vertical-align: middle;
  margin-right: -35px;
}
.custom-search .button-search-cancel {
  /*display: none;*/
  /*cursor: default;*/
  width: 30px;
  height: 30px;
  vertical-align: middle;
  position: absolute;
  right: 85px;
}
.custom-search input:invalid + .button-search-cancel {
  display: none;
}
.custom-search input:valid + .button-search-cancel {
  display: inline-block;
}

.custom-search .button-search {
  display: inline-block;
  width: 30px;
  height: 30px;
  vertical-align: middle;
  position: absolute;
  right: 55px;
}
/* //Custom Search Input */

/* Custom ListView */
.custom-listview {
  position: relative;
  display: inline-block;
  overflow-x: hidden;
  overflow-y: auto;
  top: 0;
  left: 0;
  padding: 0;
  margin: 0;
  /*background-color: #406679;
	scrollbar-base-color: #488AAA;
	scrollbar-3dlight-color: #488AAA;
	scrollbar-highlight-color: #488AAA;
	scrollbar-track-color: #CEE7EF;
	scrollbar-arrow-color: #488AAA;
	scrollbar-shadow-color: #488AAA;
	scrollbar-dark-shadow-color: #488AAA;*/
  -webkit-overflow-scrolling: touch;
}
/*
.custom-listview::-webkit-scrollbar {
    width: 14px;
}
.custom-listview::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 4px rgba(72,138,170,0.3);
    border-radius: 10px;
}
.custom-listview::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 4px 4px 4px 4px rgba(72,138,170,0.5), inset 4px 0 4px rgba(72,138,170,0.5);
}
.custom-listview::-webkit-scrollbar-thumb:active {
    -webkit-box-shadow: inset 4px 4px 4px 4px rgba(72,138,170,0.5);
}
*/
.custom-listview .custom-list-item {
  height: 38px;
  line-height: 38px;
  /*border: 1px #5B8093 solid;*/
  border-left: none;
  border-right: none;
  cursor: pointer;
  /*background-color: #487186;*/
}
.custom-listview .custom-list-item > * {
  display: inline-block;
  position: relative;
  height: 38px;
  vertical-align: top;
}
/* //Custom ListView */

/* Custom Player */

.custom-player {
  width: 100%;
  /*height: 100%;*/
  height: 38px;
  padding-top: 5px;
  color: #fff;
}
.custom-player > * {
  display: inline-block;
}
.custom-player .track-option {
  margin-left: 10px;
}
.custom-player .button-volume {
  position: absolute;
  /*left: 75px;*/
  left: 15px;
  width: 40px;
  border-radius: 180px;
  border-color: #18222e;
  border-width: 100px;
}
.custom-player .button-playback {
  position: absolute;
  /*left: 130px;*/
  left: 70px;
  width: 45px;
  height: 35px;
  cursor: pointer;
}
.custom-player .button-playback:before,
.custom-player .button-playback:after {
  display: inline-block;
  width: 45px;
  height: 35px;
  font-size: 40px;
  line-height: 25px;
  color: #a7b9cd;
  text-align: center;
  text-indent: 4px;
  text-shadow: 0pt 0pt 3pt #777;
  cursor: pointer;
}
.custom-player .playback-speed-container {
  position: absolute;
  top: 3px;
  right: 100px;
  width: 45px;
  height: 35px;
  cursor: pointer;
}
html[data-user-agent*="Trident"] .custom-player .button-playback:before,
html[data-user-agent*="Trident"] .custom-player .button-playback:after,
html[data-user-agent*="MSIE"] .custom-player .button-playback:before,
html[data-user-agent*="MSIE"] .custom-player .button-playback:after {
  line-height: 32px;
}
html[data-user-agent*="iPad"] .custom-player .button-playback:before,
html[data-user-agent*="iPad"] .custom-player .button-playback:after,
html[data-user-agent*="Android"] .custom-player .button-playback:before,
html[data-user-agent*="Android"] .custom-player .button-playback:after,
#reader[data-isApp="true"] .custom-player .button-playback:before,
#reader[data-isApp="true"] .custom-player .button-playback:after {
  font-size: 30px;
  line-height: 30px;
}
.custom-player .button-playback:after {
  content: "\25B6";
}
.custom-player[playing] .button-playback:before,
.custom-player[playing] .button-playback:after {
  content: "\258D";
  width: 18px;
  font-size: 28px;
  line-height: 28px;
  text-indent: 0;
}
.custom-player[playing] .button-playback:before {
  margin-left: 8px;
}
.custom-player .button-playback:active:before,
.custom-player .button-playback:active:after,
.custom-player .button-playback:focus:before,
.custom-player .button-playback:focus:after {
  color: #26ffff;
}
.custom-player .timeline {
  position: absolute;
  /*left: 200px;*/
  left: 140px;
  right: 160px;
  top: 16px;
  min-width: 250px;
  height: 100%;
  cursor: default;
}
.custom-player .timeline .progressbar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 130px;
  width: initial;
  height: 12px;
  background-color: #fff;
}
html[data-user-agent*="Trident"] .custom-player .timeline .progressbar,
html[data-user-agent*="MSIE"] .custom-player .timeline .progressbar {
  width: auto;
}
.custom-player .timeline .progressbar .progressbar-visited {
  height: 12px;
}
.custom-player .timeline .progressbar .button-progressbar-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -10px;
  margin: auto 0;
  width: 20px;
}
html[data-user-agent*="Firefox"]
  .custom-player
  .timeline
  .progressbar
  .button-progressbar-handle {
  top: -45%;
}
.custom-player .timeline .timer,
.custom-player .timeline .timer > * {
  display: inline-block;
  line-height: 12px;
}
.custom-player .timeline .timer {
  position: absolute;
  right: 0;
}
.custom-player .button-fullscreen {
  position: absolute;
  right: 10px;
}
.custom-player .button-close {
  position: absolute;
  right: 10px;
}

.volume-controller {
  background-color: #18222e;
  width: 50px;
  height: 200px;
  /*bottom: 60px;*/
  bottom: 15px;
  /*left: 70px;*/
  left: 10px;
}
.volume-controller:after {
  border-color: #18222e transparent;
  left: 10px;
}

/* //Custom Player */

/* Custom Toggle */
.custom-toggle {
  display: inline-block;
  vertical-align: middle;
}
.custom-toggle .custom-toggle-option {
  display: none;
  position: absolute;
  color: #18222e;
  width: 90%;
  height: 100%;
  text-align: right;
  font-size: 14px;
}
.custom-toggle .custom-toggle-option:nth-child(2),
.custom-toggle .custom-toggle-option:last-child {
  text-align: left;
  left: 5px;
}
.custom-toggle:not([checked]) .custom-toggle-option:first-child,
.custom-toggle[checked] .custom-toggle-option:nth-child(2),
.custom-toggle[checked] .custom-toggle-option:last-child {
  display: block;
}
.custom-toggle:before {
  content: "";
  display: block;
  position: absolute;
  /*margin: 1px 2px;*/
  margin: 3px 2px;
  /*width: 20px;*/
  /*height: 20px;*/
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #01648b;
  -webkit-transition: margin-left 0.1s;
  -moz-transition: margin-left 0.1s;
  -ms-transition: margin-left 0.1s;
  -o-transition: margin-left 0.1s;
  transition: margin-left 0.1s;
}
.custom-toggle[checked]:before {
  /*margin-left: 40px;*/
  margin-left: 45px;
  background-color: #0b0;
}
/* //Custom Toggle */

/* Bubble */
.bubble {
  display: none;
  position: absolute;
  z-index: 99;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  /*box-shadow: #999999 1px 1px 10px 2px;*/
  box-shadow: #999999 3px 7px 15px 0px;
}
.bubble:after {
  content: "";
  position: absolute;
  border-style: solid;
  display: block;
  width: 0;
  bottom: -15px;
  border-width: 15px 15px 0;
}
.bubble.bubble-below:after {
  bottom: auto;
  left: auto;
  top: -15px;
  border-width: 0 15px 15px;
}
.bubble.bubble-standalone:after {
  display: none;
}

.bubble .bubble-header {
  height: 40px;
  border-color: #18222e;
  -webkit-border-radius: 5px 5px 0 0;
  -moz-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
  background-color: #18222e;
}

.bubble .bubble-footer {
  background-color: #18222e;
  border-color: #18222e;
  -webkit-border-radius: 0 0 5px 5px;
  -moz-border-radius: 0 0 5px 5px;
  border-radius: 0 0 5px 5px;
  height: 2.5em;
}
.bubble .bubble-content {
  background-color: #fbf5ea;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.bubble .bubble-header .bubble-title {
  float: left;
  margin: 3px 10px;
  line-height: 33px;
  font-size: 16px;
  color: #fff;
}
.bubble .bubble-close {
  width: 35px;
}
.bubble .bubble-header .bubble-close {
  position: absolute;
  right: 5px;
  margin: 4px 0;
}
/* //Bubble */

/* Nine Dots */
.nine-dots {
}
.nine-dots .nine-dots-item {
  display: inline-block;
  width: 33%;
  width: calc(100% / 3);
}
/* //Nine Dots */

.search-result-highlight {
  color: #ed6b06;
}

/* Restrict */
.unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: -moz-none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;

  -webkit-user-drag: none; /* Prevents dragging of images/divs etc */
  user-drag: none;
}
/*.selectable {
    -webkit-touch-callout: auto;
    -webkit-user-select: auto;
    -khtml-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    -o-user-select: auto;
    user-select: auto;

    -webkit-user-drag: auto;
    user-drag: auto;
}*/
.selectable {
  -webkit-touch-callout: auto;
  -webkit-user-select: text;
  -khtml-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  -o-user-select: text;
  user-select: text;

  -webkit-user-drag: auto;
  user-drag: auto;
}

img.tran {
  width: 100%;
  height: 100%;
  /*position: absolute;*/
}

/*
 * Absolute hidden when ...
 */
.invisible,
.invisible *,
#reader > .invisible,
#reader > .invisible *,
#reader > * .invisible,
#reader > * .invisible * {
  display: none;
}
.ebook-focusing-element {
  /*outline:#3FBCAA solid 3px;*/
  z-index: +1;
}

/*html[data-user-agent*="Firefox"]
#reader #book .bubble.visible {
	z-index: 9;
}*/

#reader[data-betaversion] .deprecated,
#reader[data-deprecated] .beta-feature {
  display: none;
}

#reader[data-archive="true"] #book .currYearFn,
#reader[data-archive="true"] #book .currYearFn * {
  /*opacity: .7;*/
  cursor: default;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}
