@font-face {
    font-family: "Neutraface-Demi";
    src: url("../font/neutra/Neutraface Text Demi.eot");
    src: url("../font/neutra/Neutraface Text Demi.eot?#iefix") format("embedded-opentype"), url("../font/neutra/Neutraface Text Demi.ttf") format("truetype"), url("../font/neutra/Neutraface Text Demi.woff") format("woff"), url("../font/neutra/Neutraface Text Demi.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'fontello';
    src: url('../font/fontello.eot?60518104');
    src: url('../font/fontello.eot?60518104#iefix') format('embedded-opentype'), url('../font/fontello.woff?60518104') format('woff'), url('../font/fontello.ttf?60518104') format('truetype'), url('../font/fontello.svg?60518104#fontello') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'icomoon';
    src: url('../font/icons-eb/icomoon.eot?wn6rxf');
    src: url('../font/icons-eb/icomoon.eot?wn6rxf#iefix') format('embedded-opentype'), url('../font/icons-eb/icomoon.ttf?wn6rxf') format('truetype'), url('../font/icons-eb/icomoon.woff?wn6rxf') format('woff'), url('../font/icons-eb/icomoon.svg?wn6rxf#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'CrimsonPro';
    src: url('../font/crimson-pro/CrimsonPro-Italic-VariableFont_wght.eot?wn6rxf');
    src: url('../font/crimson-pro/CrimsonPro-Italic-VariableFont_wght.eot?wn6rxf#iefix') format('embedded-opentype'), url('../font/crimson-pro/CrimsonPro-Italic-VariableFont_wght.ttf?wn6rxf') format('truetype'), url('../font/crimson-pro/CrimsonPro-Italic-VariableFont_wght.woff?wn6rxf') format('woff'), url('../font/crimson-pro/CrimsonPro-Italic-VariableFont_wght.svg?wn6rxf#CrimsonPro') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}
/* vietnamese */
@font-face {
    font-family: 'Crimson Text';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/crimsontext/v19/wlp2gwHKFkZgtmSR3NB0oRJfYAhTM_I.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
  }
  /* latin-ext */
  @font-face {
    font-family: 'Crimson Text';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/crimsontext/v19/wlp2gwHKFkZgtmSR3NB0oRJfYQhTM_I.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
  }
  /* latin */
  @font-face {
    font-family: 'Crimson Text';
    font-style: normal;
    font-weight: 400;
    src: url(https://fonts.gstatic.com/s/crimsontext/v19/wlp2gwHKFkZgtmSR3NB0oRJfbwhT.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  
[class^="icon-"],
[class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'icomoon' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-eb-arrow:before {
    content: "\e900";
    color: #231758;
}

.icon-eb-search:before {
    content: "\e901";
    color: #231758;
}

.icon-eb-book:before {
    content: "\e902";
    color: #231758;
}

.icon-eb-font:before {
    content: "\e903";
    color: #231758;
}

.icon-eb-full:before {
    content: "\e904";
    color: #231758;
}

.dropdown-menu--custom {
    width: 350px !important;
    padding: 20px !important;
    box-shadow: 0px 0px 40px rgba(112, 144, 176, 0.2) !important;
    border-radius: 12px !important;
}

#bookmark {
    margin-right: 0 !important;
}

#sidebar {
    display: none !important;
    opacity: 0;
}

.irs--flat .irs-line {
    background: none !important;
}

.irs--flat .irs-bar--single {
    border-radius: 0 !important;
}

.irs-handle,
.irs-handle i {
    background: #DC002D !important;
}

.custom-control-input:checked~.custom-control-label::before {
    background-color: #231758 !important;
    border-color: #231758 !important;
}

.sub-drop-item {
    position: relative;
}

.drop-close {
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
}

.irs--flat .irs-bar {
    background-color: #231758 !important;
}

.page-footer-title {
    position: fixed;
    bottom: 20px;
    left: 50%;
    width: 90%;
    background-color: white;
    z-index: 10;
    margin: 0 auto;
    transform: translateX(-50%);
}

.navi-page-number {
    font-family: Arial, Helvetica, sans-serif;
    margin: 1em 0;
    text-align: right;
}

.progress {
    border-radius: 0 !important;
    height: 9px !important;
    background: none !important;
}

.progress-bar {
    background-color: #231758 !important;
    height: 9px !important;
}

html * {
    font-family: "Neutraface-Demi";
}

body {
    background: #4e4e4e;
    overflow: hidden;
    color: #231758;
    font-family: "Neutraface-Demi" !important;
}

#chapter-title,
#title-seperator {
    color: #DC002D !important;
}

p {
    color: #231758;
}

#show-Toc::before {
    color: #ffffff !important;
}

#show-Bookmarks::before {
    color: #ffffff !important;
}

* {
    font-family: "Neutraface-Demi" !important;
}

p * {
    font-family: "Neutraface-Demi";
    color: #231758;
}

#main {
    /* height: 500px; */
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0;
    /* left: 40px; */
    /*   -webkit-transform: translate(40px, 0);
-moz-transform: translate(40px, 0); */
    /* border-radius: 5px 0px 0px 5px; */
    background: #fff;
    overflow: hidden;
    box-shadow: none !important;
}

.navbarDropdown {
    width: 150px !important;
    height: 28px !important;
    background: none;
    border: none;
    color: #231758 !important;
    outline: none !important;
    apperance: none !important;
}

.navbarDropdown:hover {
    color: #231758 !important;
    opacity: 1 !important;
    border: none !important;
    padding: 4px !important;
    box-shadow: none !important;
}

#title-controls a img {
    width: 14px !important;
}

.bookmark-chapter-list h3 {
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    color: #231758;
}

.bookmark-chapter-list__item {
    margin-bottom: 24px;
}

.bookmark-chapter-list__item:last-child {
    margin-bottom: 0;
}

.cursor-p {
    cursor: pointer;
}

.eb-nt__chapter h3 {
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    color: #000000;
}

.eb-note-list__item {
    margin-bottom: 24px;
}

.eb-note-list__item:last-child {
    margin-bottom: 0;
}

.eb-nt__text .eb-delet img {
    width: 16px;
}

.eb-nt__text h4 {
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #000000;
    background: #FCD63F;
    padding: 0 5px;
}

.eb-nt__body {
    background: #F1F3F4;
    border-radius: 8px;
    padding: 10px;
}

.eb-nt__body p {
    margin: 0;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #000000;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.4em solid !important;
    border-right: 0.4em solid transparent !important;
    border-bottom: 0;
    border-left: 0.4em solid transparent !important;
    transform: translate(-3px, 2px);
}

.navbarDropdown--none::after {
    display: none !important;
}

.dropdown {
    display: flex;
    align-items: center;
}

.dropdown-menu li {
    text-align: center !important;
}

.icon-resize-full::before {
    display: none !important;
}

.icon-resize-small img {
    display: none;
}

.chapter-dropdown .dropdown-menu {
    padding-top: 15px !important;
}

.dropdown-item {
    width: 100% !important;
    color: #DC002D !important;
    height: auto !important;
    padding: 4px 10px !important;
    background-color: none !important;
    text-align: center !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    line-height: 20px !important;
}

.dropdown-item:focus,
.dropdown-item:hover {
    color: #DC002D !important;
    background-color: none !important;
    border: none !important;
    opacity: 1 !important;
    background: none !important;
}

.dropdown-item:active {
    color: #DC002D !important;
    background-color: none !important;
}

.dropdown-menu {
    background: #FFFFFF;
    box-shadow: 0px 0px 40px rgba(112, 144, 176, 0.2);
    border-radius: 12px;
    border: none !important;
}

.red-stroke {
    display: none;
    pointer-events: none;
}

.sub-drop-item__head h3 {
    font-weight: 600;
    font-size: 14px;
    line-height: 16px;
    color: #DC002D;
    font-family: 'Neutraface-Demi' !important;
}

.eb-search-input {
    border: 0.5px solid #000000;
    border-radius: 8px;
    padding: 5px;
    height: 36px;
    outline: none !important;
    width: 100%;
}

.eb-saerch-item {
    padding: 12px;
    background: #F1F3F4;
    border-radius: 8px;
}

.eb-saerch-item__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.eb-saerch-item__head h3 {
    font-size: 15px;
    font-weight: 600;
    color: #231758;
}

.eb-saerch-item__body p {
    font-size: 14px !important;
    line-height: 18px !important;
    font-weight: 500;
    color: #231758;
    margin: 0;
}

@media (min-width: 992px) {
    .chapter-dropdown {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (min-width: 992px) {
    .sub-drop-item__head h3 {
        font-weight: 600;
        font-size: 18px;
        line-height: 20px;
        color: #DC002D;
    }
    #titlebar span {
        font-size: 30px;
        line-height: 35px
    }
    #metainfo {
        transform: translate(150px, 90px);
    }
    .epub-container {
        /* padding-top: 100px; */
    }
    .red-stroke {
        height: 188px;
        position: fixed;
        left: 50%;
        width: 90%;
        z-index: 99;
        margin: 0 auto;
        transform: translateX(-50%);
        top: 0;
        display: inline-block;
    }
    #titlebar {
        width: 90%;
        margin: 0 auto;
    }
    #titlebar a.titlebar-link {
        margin-right: 20px;
    }
    .chapter-dropdown {
        padding-left: 30px !important;
    }
}

.page-footer-title * {
    font-size: 16px !important;
    text-transform: uppercase;
    color: #DC002D;
}

.range-slider-eb {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.irs--flat {
    height: 37px !important;
}

.fnt-neutra {
    font-family: 'Neutraface-Demi' !important;
}

#titlebar {
    height: 50px;
    min-height: 20px;
    padding: 10px;
    /* margin: 0 50px 0 50px; */
    position: relative;
    color: #4f4f4f;
    font-weight: 100;
    font-family: 'Neutraface-Demi' !important;
    opacity: 1;
    text-align: center;
    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -ms-transition: opacity .5s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#title-controls {
    min-width: 30%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
}

#titlebar:hover {
    opacity: 1;
}

#titlebar a.titlebar-link {
    width: auto !important;
    height: auto !important;
    ;
    line-height: 20px;
    overflow: hidden;
    display: inline-block;
    opacity: 1;
    padding: 4px;
    border-radius: 4px;
}

#titlebar a.titlebar-link::before {
    visibility: visible;
}


/* #titlebar a.titlebar-link:hover {
    opacity: .8;
    border: 1px rgba(0, 0, 0, .2) solid;
} */

#titlebar a.titlebar-link:hover {
    opacity: 1 !important;
    border: none !important;
}

#titlebar a.titlebar-link:active {
    opacity: 1;
    color: rgba(0, 0, 0, .6);
    /* margin: 1px -1px -1px 1px; */
    -moz-box-shadow: inset 0 0 6px rgba(155, 155, 155, .8);
    -webkit-box-shadow: inset 0 0 6px rgba(155, 155, 155, .8);
    -ms-box-shadow: inset 0 0 6px rgba(155, 155, 155, .8);
    box-shadow: inset 0 0 6px rgba(155, 155, 155, .8);
}

#book-title {
    font-weight: 600;
    color: #DC002D;
}

#book-title:hover {
    color: #DC002D !important;
}

#title-seperator {
    display: none;
}

#viewer {
    width: 90%;
    height: calc(100% - 120px);
    /* margin-left: 10%; */
    margin: 0 auto;
    max-width: 1250px;
    z-index: 2;
    position: relative;
    overflow: hidden;
}

#viewer iframe {
    border: none;
}

#prev {
    left: 40px;
}

#next {
    right: 40px;
}

.arrow {
    position: absolute;
    top: 50%;
    margin-top: -32px;
    font-size: 64px;
    color: #E2E2E2;
    font-family: arial, sans-serif;
    font-weight: bold;
    cursor: pointer;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.arrow:hover {
    color: #231758 !important;
}

.arrow:active,
.arrow.active {
    color: #231758 !important;
}

#sidebar {
    background: #6b6b6b;
    position: absolute;
    /* left: -260px; */
    /* -webkit-transform: translate(-260px, 0);
-moz-transform: translate(-260px, 0); */
    top: 0;
    min-width: 300px;
    width: 25%;
    height: 100%;
    -webkit-transition: -webkit-transform .5s;
    -moz-transition: -moz-transform .5s;
    -ms-transition: -moz-transform .5s;
    overflow: hidden;
}

#sidebar.open {
    /* left: 0; */
    /* -webkit-transform: translate(0, 0);
-moz-transform: translate(0, 0); */
}

#main.closed {
    /* left: 300px; */
    -webkit-transform: translate(300px, 0);
    -moz-transform: translate(300px, 0);
    -ms-transform: translate(300px, 0);
}

#main.single {
    width: 75%;
}

#main.single #viewer {
    /* width: 60%;
margin-left: 20%; */
}

#panels {
    background: #4e4e4e;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding: 13px 0;
    height: 14px;
    -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, .6);
    -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, .6);
    -ms-box-shadow: 0px 1px 3px rgba(0, 0, 0, .6);
    box-shadow: 0px 1px 3px rgba(0, 0, 0, .6);
}

#opener {
    /* padding: 10px 10px; */
    float: left;
}


/* #opener #slider {
width: 25px;
} */

#metainfo {
    display: inline-block;
    text-align: center;
    max-width: 30%;
}

#title-controls {
    float: right;
    /* margin-right: 30px !important; */
}

#divider {
    border: none !important;
    box-shadow: none !important;
}

#panels a {
    visibility: hidden;
    width: 18px;
    height: 20px;
    overflow: hidden;
    display: inline-block;
    color: #ccc;
    margin-left: 6px;
}

#panels a::before {
    visibility: visible;
}

#panels a:hover {
    color: #AAA;
}

#panels a:active {
    color: #AAA;
    margin: 1px 0 -1px 6px;
}

#panels a.active,
#panels a.active:hover {
    color: #AAA;
}


/* #searchBox {
    width: 165px;
    float: left;
    margin-left: 10px;
    margin-top: -1px;
    /* border-radius: 5px;
    background: #9b9b9b;
    float: left;
    margin-left: 5px;
    margin-top: -5px;
    padding: 3px 10px;
    color: #000;
    border: none;
    outline: none;
}*/
input::-webkit-input-placeholder {
    color: #454545;
}
input:-moz-placeholder {
    color: #454545;
}
input:-ms-placeholder {
    color: #454545;
}
#divider {
    position: absolute;
    width: 1px;
    border-right: 1px #000 solid;
    height: 80%;
    z-index: 1;
    left: 50%;
    margin-left: -1px;
    top: 10%;
    opacity: .15;
    box-shadow: -2px 0 15px rgba(0, 0, 0, 1);
    display: none;
}
#divider.show {
    display: block;
}
#loader {
    position: absolute;
    z-index: 10;
    left: 50%;
    top: 50%;
    margin: -33px 0 0 -33px;
}
#tocView,
#bookmarksView {
    overflow-x: hidden;
    overflow-y: hidden;
    min-width: 300px;
    width: 25%;
    height: 100%;
    visibility: hidden;
    -webkit-transition: visibility 0 ease .5s;
    -moz-transition: visibility 0 ease .5s;
    -ms-transition: visibility 0 ease .5s;
}
#sidebar.open #tocView,
#sidebar.open #bookmarksView {
    overflow-y: auto;
    visibility: visible;
    -webkit-transition: visibility 0 ease 0;
    -moz-transition: visibility 0 ease 0;
    -ms-transition: visibility 0 ease 0;
}
#sidebar.open #tocView {
    display: block;
}
#tocView>ul,
#bookmarksView>ul {
    margin-top: 15px;
    margin-bottom: 50px;
    padding-left: 20px;
    display: block;
}
#tocView li,
#bookmarksView li {
    margin-bottom: 10px;
    width: 225px;
    font-family: 'Neutraface-Demi' !important;
    list-style: none;
    text-transform: capitalize;
}
#tocView li:active,
#tocView li.currentChapter {
    list-style: none;
}
.list_item a {
    color: #DC002D;
    text-decoration: none;
}
.list_item a.chapter {
    font-size: 1em;
}
.list_item a.section {
    font-size: .8em;
}
.list_item.currentChapter>a,
.list_item a:hover {
    /* color: #f1f1f1; */
    
    color: #231758;
}

/* #tocView li.openChapter > a, */
.list_item ul {
    padding-left: 10px;
    margin-top: 8px;
    display: none;
}
.list_item.currentChapter>ul,
.list_item.openChapter>ul {
    display: block;
}
#tocView.hidden {
    display: none;
}
.toc_toggle {
    display: inline-block;
    width: 14px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.toc_toggle:before {
    content: '▸';
    color: #fff;
    margin-right: -4px;
}
.currentChapter>.toc_toggle:before,
.openChapter>.toc_toggle:before {
    content: '▾';
}
.view {
    width: 300px;
    height: 100%;
    display: none;
    padding-top: 50px;
    overflow-y: auto;
}
#searchResults {
    /* margin-bottom: 50px;
    padding-left: 20px;
    display: block; */
    
    padding-left: 0;
    display: block;
    list-style: none;
    overflow: auto;
    margin-top: 20px;
    margin-bottom: 0;
}
#searchResults li {
    margin-bottom: 20px;
}
#searchResults li:last-child {
    margin-bottom: 0;
}
#searchResults li a,
#searchResults li a:hover,
#searchResults li a span,
#searchResults li a:hover span {
    font-size: 15px;
    font-weight: 600;
    color: #231758;
    text-decoration: none;
    line-height: 1;
}
#searchResults li span span {
    text-align: left;
}
#searchResults li p,
#searchResults li a p,
#searchResults li a:hover p {
    font-size: 14px !important;
    line-height: 18px !important;
    font-weight: 500;
    color: #231758;
    margin: 0;
    text-align: left;
}

/* #searchResults li {
    margin-bottom: 10px;
    width: 225px;
    font-family: 'Neutraface-Demi' !important;
    list-style: none;
}
#searchResults a {
    color: #AAA;
    text-decoration: none;
}
#searchResults p {
    text-decoration: none;
    font-size: 12px;
    line-height: 16px;
}
#searchResults p .match {
    background: #ccc;
    color: #000;
}
#searchResults li>p {
    color: #AAA;
}
#searchResults li a:hover {
    color: #E2E2E2;
} */
#searchView.shown {
    display: block;
    overflow-y: scroll;
}
#notes {
    padding: 0 0 0 34px;
}
#notes li {
    color: #eee;
    font-size: 12px;
    width: 240px;
    border-top: 1px #fff solid;
    padding-top: 6px;
    margin-bottom: 6px;
}
#notes li a {
    color: #fff;
    display: inline-block;
    margin-left: 6px;
}
#notes li a:hover {
    text-decoration: underline;
}
#notes li img {
    max-width: 240px;
}
#note-text {
    display: block;
    width: 260px;
    height: 80px;
    margin: 0 auto;
    padding: 5px;
    border-radius: 5px;
}
#note-text[disabled],
#note-text[disabled="disabled"] {
    opacity: .5;
}
#note-anchor {
    margin-left: 218px;
    margin-top: 5px;
}
#settingsPanel {
    display: none;
}
#settingsPanel h3 {
    color: #f1f1f1;
    font-family: 'Neutraface-Demi' !important;
    margin-bottom: 10px;
}
#settingsPanel ul {
    margin-top: 60px;
    list-style-type: none;
}
#settingsPanel li {
    font-size: 1em;
    color: #f1f1f1;
}
#settingsPanel .xsmall {
    font-size: x-small;
}
#settingsPanel .small {
    font-size: small;
}
#settingsPanel .medium {
    font-size: medium;
}
#settingsPanel .large {
    font-size: large;
}
#settingsPanel .xlarge {
    font-size: x-large;
}
.highlight {
    background-color: yellow
}
.modal {
    position: fixed;
    top: 50%;
    left: 15%;
    width: 70%;
    height: auto;
    z-index: 2000;
    visibility: hidden;
    margin-top: -160px;
}
.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    visibility: hidden;
    top: 0;
    left: 0;
    z-index: 1000;
    opacity: 0;
    background: rgba(255, 255, 255, 0.8);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    transition: all 0.3s;
}
.md-show {
    visibility: visible;
}
.md-show~.overlay {
    opacity: 1;
    visibility: visible;
}

/* Content styles */
.md-content {
    color: #fff;
    background: #6b6b6b;
    position: relative;
    border-radius: 3px;
    margin: 0 auto;
    height: 320px;
}
.md-content h3 {
    margin: 0;
    padding: 6px;
    text-align: center;
    font-size: 22px;
    font-weight: 300;
    opacity: 0.8;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px 3px 0 0;
}
.md-content>div {
    padding: 15px 40px 30px;
    margin: 0;
    font-weight: 300;
    font-size: 14px;
}
.md-content>div p {
    margin: 0;
    padding: 10px 0;
}
.md-content>div ul {
    margin: 0;
    padding: 0 0 30px 20px;
}
.md-content>div ul li {
    padding: 5px 0;
}
.md-content button {
    display: block;
    margin: 0 auto;
    font-size: 0.8em;
}

/* Effect 1: Fade in and scale up */
.md-effect-1 .md-content {
    -webkit-transform: scale(0.7);
    -moz-transform: scale(0.7);
    -ms-transform: scale(0.7);
    transform: scale(0.7);
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    transition: all 0.3s;
}
.md-show.md-effect-1 .md-content {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}
.md-content>.closer {
    font-size: 18px;
    position: absolute;
    right: 0;
    top: 0;
    font-size: 24px;
    padding: 4px;
}
@media only screen and (max-width: 1040px) {
    #viewer {
        width: 50%;
        margin-left: 25%;
    }
    
    #divider,
    #divider.show {
        display: none;
    }
}
@media only screen and (max-width: 900px) {
    #viewer {
        width: 60%;
        margin-left: 20%;
    }
    
    #prev {
        left: 20px;
    }
    
    #next {
        right: 20px;
    }
}
@media only screen and (max-width: 550px) {
    #viewer {
        width: 80%;
        margin-left: 10%;
    }
    
    #prev {
        left: 0;
    }
    
    #next {
        right: 0;
    }
    
    .arrow {
        height: 100%;
        padding: 0 15px;
        /* top: 45px;
      width: 10%;
      text-indent: -10000px; */
    }
    
    #main {
        -webkit-transform: translate(0, 0);
        -moz-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        -webkit-transition: -webkit-transform .3s;
        -moz-transition: -moz-transform .3s;
        -ms-transition: -moz-transform .3s;
    }
    
    #main.closed {
        -webkit-transform: translate(260px, 0);
        -moz-transform: translate(260px, 0);
        -ms-transform: translate(260px, 0);
    }
    
    #titlebar {
        /* font-size: 16px; */
        /* margin: 0 50px 0 50px; */
    }
    
    #metainfo {
        font-size: 10px;
    }
    
    #tocView {
        width: 260px;
    }
    
    #tocView li {
        font-size: 12px;
    }
    
    #tocView>ul {
        padding-left: 10px;
    }
    
    #title-controls {
        margin-right: 0 !important;
    }
    
    #titlebar a.titlebar-link {
        font-size: 14px;
    }
    
    #naviChapterList>ul {
        max-width: 100% !important;
        left: 0;
    }
}
[class^="icon-"]:before,
[class*=" icon-"]:before {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    /* opacity: .8; */
    /* For safety - reset parent styles, that can break glyph codes*/
    
    font-variant: normal;
    text-transform: none;
    /* you can be more comfortable with increased icons size */
    
    font-size: 112%;
    color: #231758;
}
.icon-search:before {
    content: '\e807';
}

/* '' */
.icon-resize-full-1:before {
    content: '\e804';
}

/* '' */
.icon-cancel-circled2:before {
    content: '\e80f';
}

/* '' */
.icon-link:before {
    content: '\e80d';
}

/* '' */
.icon-bookmark:before {
    content: '\e805';
}

/* '' */
.icon-bookmark-empty:before {
    content: '\e806';
    color: #231758 !important;
    font-weight: 700 !important;
}

/* '' */
.icon-download-cloud:before {
    content: '\e811';
}

/* '' */
.icon-edit:before {
    content: '\e814';
}

/* '' */
.icon-menu:before {
    content: '\e802';
    color: #231758 !important;
    font-weight: 700 !important;
}

/* '' */
.icon-cog:before {
    content: '\e813';
    color: #231758 !important;
    font-weight: 700 !important;
}

/* '' */
.icon-resize-full:before {
    content: '\e812';
    color: #231758 !important;
    font-weight: 700 !important;
}

/* '' */
.icon-cancel-circled:before {
    content: '\e80e';
}

/* '' */
.icon-up-dir:before {
    content: '\e80c';
}

/* '' */
.icon-right-dir:before {
    content: '\e80b';
}

/* '' */
.icon-angle-right:before {
    content: '\e809';
}

/* '' */
.icon-angle-down:before {
    content: '\e80a';
}

/* '' */
.icon-right:before {
    content: '\e815';
}

/* '' */
.icon-list-1:before {
    content: '\e803';
}

/* '' */
.icon-list-numbered:before {
    content: '\e801';
}

/* '' */
.icon-columns:before {
    content: '\e810';
}

/* '' */
.icon-list:before {
    content: '\e800';
}

/* '' */
.icon-resize-small:before {
    content: '\e808';
}

/* '' */
p {
    font-size: 20px;
    line-height: 26px;
    color: #231758 !important;
}
.calibre {
    color: #231758 !important;
    font-family: "Neutraface-Demi" !important;
}
.calibre5 {
    font-size: 30px;
    color: #DC002D !important;
}
@media (min-width: 992px) {
    .calibre5 {
        font-size: 48px;
        color: #DC002D !important;
    }
}

/* By Ghanshyam */
.font_size_selector+label,
.font_family_selector+label {
    color: #aaa;
}
.font_size_selector:checked+label,
.font_family_selector:checked+label {
    color: #000;
}
#naviChapterList>ul {
    width: 350px !important;
    overflow: auto;
    min-height: 300px;
    /* left: calc(50% - 185px) !important; */
    
    left: 0 !important;
}
#highlights::-webkit-scrollbar,
#searchResults::-webkit-scrollbar,
#naviChapterList>ul::-webkit-scrollbar {
    width: 2px;
}
#highlights::-webkit-scrollbar-track,
#searchResults::-webkit-scrollbar-track,
#naviChapterList>ul::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgba(5, 5, 5, 0.3);
}
#highlights::-webkit-scrollbar-thumb,
#searchResults::-webkit-scrollbar-thumb,
#naviChapterList>ul::-webkit-scrollbar-thumb {
    background-color: transparent;
    outline: 0px solid slategrey;
}
#naviChapterList ul li {
    text-align: left !important;
    padding: 5px 10px !important;
}
#naviChapterList ul li .toc_toggle {
    display: none;
}
#naviChapterList ul li ul {
    display: block;
    list-style: none;
}
#bookmarkChapter::-webkit-scrollbar {
    width: 2px;
}
#bookmarkChapter::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgba(5, 5, 5, 0.3);
}
#bookmarkChapter::-webkit-scrollbar-thumb {
    background-color: transparent;
    outline: 0px solid slategrey;
}
#bookmarkChapter {
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}
#bookmarkChapter li {
    text-align: left !important;
}
#bookmarkChapter li a.bookmark_link {
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 18px !important;
    color: #231758 !important;
}
hypothesis-notebook,
hypothesis-adder,
hypothesis-sidebar {
    display: none !important;
}
.highlights-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    overflow: auto;
}
.highlights-list li {
    margin-bottom: 24px;
}
.highlights-list li:last-child {
    margin-bottom: 0;
}
.highlights-list li div {
    margin-bottom: 10px;
}
.highlights-list li div a.title-link,
.highlights-list li div a.title-link:hover {
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #000000;
    background: #FCD63F;
    padding: 0 5px;
    text-decoration: none;
    text-align: left;
}
.highlights-list li div a.remove {
    width: 13px;
    height: 17px;
    background-image: url('../img/eb-delet.svg');
    text-decoration: none;
    text-indent: -9999px;
    margin-left: 20px;
}
.highlights-list li p {
    background: #F1F3F4;
    border-radius: 8px;
    padding: 10px;
    margin: 0;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #000000;
    text-align: left;
}
#highlightPopup {
    min-width: 300px !important;
    width: 300px !important;
    visibility: hidden;
    background: #FFFFFF;
    padding: 20px;
    box-shadow: 5px 0px 40px rgba(9, 18, 27, 0.5);
    border-radius: 15px;
    position: absolute;
    z-index: 1000;
    margin: 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-clip: padding-box;
}
.highlight-color {
    list-style: none;
    display: inline-block;
    padding: 0 0 10px;
    margin: 0;
}
.highlight-color li {
    display: inline-block;
    margin-right: 5px;
}
.highlight-color li label {
    border: 1px solid transparent;
    border-radius: 50%;
    text-indent: -99999px;
    display: block;
    width: 24px;
    height: 24px;
    padding: 5px;
    position: relative;
}
.highlight-color li label::after {
    content: "";
    border: 0 solid transparent;
    border-radius: 50%;
    display: block;
    width: 24px;
    height: 24px;
    position: absolute;
    left: 2px;
    top: -2px;
}
.highlight-color li input[type="radio"] {
    display: none;
}
.highlight-color li label.yellow::after {
    background-color: yellow;
}
.highlight-color li label.green::after {
    background-color: green;
}
.highlight-color li label.blue::after {
    background-color: blue;
}
.highlight-color li label.blueviolet::after {
    background-color: blueviolet;
}
.highlight-color li label:focus,
.highlight-color li label:hover,
.highlight-color li input[type="radio"]:checked+label {
    border: 1px solid #DC002D;
    padding: 6px;
}
.highlight-color li label:focus::after,
.highlight-color li label:hover::after,
.highlight-color li input[type="radio"]:checked+label::after {
    width: 20px;
    height: 20px;
    left: 1px;
    top: 1px;
}
.highlight-options {
    list-style: none;
    display: block;
    padding: 0;
    margin: 0;
}
.highlight-options li {
    display: block;
    margin-top: 5px;
    text-align: left!important;
}
.highlight-options li a {
    font-size: 18px;
    color: #000000;
    text-decoration: none;
}
a.add-a-note,
span.add-a-note {
    background: url(../img/add-note.svg) no-repeat left center;
    padding-left: 25px;
    font-size: 18px;
}
a.highlight-define {
    background: url(../img/eb-search.svg) no-repeat left center;
    padding-left: 25px;
    font-size: 18px;
}
.highlight-define-result {
    background: #F1F3F4;
    border-radius: 8px;
    padding: 10px;
    margin: 10px 0 0;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #000000;
    text-align: left;
}
.highlight-note-input {
    background-color: #F1F3F4;
}
.highlight-save {
    margin-top: 5px;
    padding-top: 0;
    padding-bottom: 0;
}

/* Styling modal */
.navi-modal-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    visibility: hidden;
    top: 0;
    left: 0;
    z-index: 9997;
    opacity: .8;
    background: rgba(55, 55, 55, 0.8);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    transition: all 0.3s;
}
.navi-modal {
    position: fixed;
    top: calc(50% - 100px);
    left: calc(50% - 200px);
    width: 100%;
    height: auto;
    z-index: 9999;
    visibility: hidden;
}
.navi-modal:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}
.navi-modal-dialog {
    display: inline-block;
    vertical-align: middle;
    width: 400px;
    height: 180px;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    /* transition: 1s; */
    
    -webkit-animation-name: navi-modal-animation;
    -webkit-animation-duration: 1s;
    animation-name: navi-modal-animation;
    animation-duration: 1s;
    position: relative;
}
.navi-modal-dialog .navi-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    width: 1.5rem;
    margin: 0;
    border: none;
    background: transparent;
}
.navi-modal-dialog h2 {
    margin: 0;
}
@-webkit-keyframes navi-modal-animation {
    from {
        opacity: 0;
    }
    
    to {
        opacity: 1;
    }
}
@keyframes navi-modal-animation {
    from {
        opacity: 0;
    }
    
    to {
        opacity: 1;
    }
}