#container-view-tts-settings > center {
    display: flex;
    justify-content: center;
    padding: 5px
}

a {
    color: inherit;
}

#container-view-tts-settings > center {
    display: flex;
    justify-content: center;
    padding: 5px;
}

#container-view-tts-settings > div {
    padding: 5px;
}

#container-view-tts-settings > div {
    padding: 5px;
}

.range-slider > label {
    display: block;
    text-align: center;
    line-height: 12pt;
}

.range-slider > label {
    display: block;
    text-align: center;
    line-height: 12pt;
}

.range-slider > label {
    display: block;
    text-align: center;
    line-height: 12pt;
}

.range-slider > label {
    display: block;
    text-align: center;
    line-height: 12pt;
}

.theme-btn.day {
    background-color: white;
    border-radius: 25px 0px 0px 25px;
    color: black;
}

.theme-btn.night {
    background-color: black;
    border-radius: 0px 25px 25px 0px;
    color: white;
}

.theme-btn.sepia {
    background-color: wheat;
    color: black;
}

#container-view-settings-custom > div {
    padding: 5px;
}

#container-view-settings-custom > div {
    padding: 5px;
}

#scrollMode > label {
    display: block;
    text-align: center;
    line-height: 12pt;
}

#textAlignment > label {
    display: block;
    text-align: center;
    line-height: 12pt;
}

#columnCount > label {
    display: block;
    text-align: center;
    line-height: 12pt;
}

.range-slider > label {
    display: block;
    text-align: center;
    line-height: 12pt;
}

.range-slider > label {
    display: block;
    text-align: center;
    line-height: 12pt;
}

.range-slider > label {
    display: block;
    text-align: center;
    line-height: 12pt;
}

.range-slider > label {
    display: block;
    text-align: center;
    line-height: 12pt;
}

#container-view-layer-settings > center {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px
}

#container-view-mediaoverlay-settings > center {
    display: flex;
    justify-content: space-around;
    padding: 5px
}

.range-slider > label {
    display: block;
    text-align: center;
    line-height: 12pt;
}

.range-slider > label {
    display: block;
    text-align: center;
    line-height: 12pt;
}

#container-view-linefocus-settings > div {
    padding: 5px
}

#container-view-linefocus-settings > div {
    padding: 5px
}

#container-view-linefocus-settings > div {
    padding: 5px
}

#footerMenu > .prev {
    margin-top: 100px;
}

#reader-info-bottom > div {
    display: flex;
    justify-content: center;
}

#iframe-wrapper > div {
    height: 0px
}


#highlightIcon > span {
    background: yellow;
    display: inline-block;
    width: 24px;
    height: 24px;
}

#underlineIcon > span {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-bottom: yellow solid 4px;
}

#noteIcon > span {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-bottom: yellow solid 4px;
}

#bookmarkIcon > span {
    display: inline-block;
    width: 24px;
    height: 24px;
}

#speakIcon > span {
    display: inline-block;
    width: 24px;
    height: 24px;
}

#anIcon > span {
    display: inline-block;
    width: 24px;
    height: 24px;
}

#sidenav-section-gotopage {
    padding-left: 16px
}

#goToPageNumberInput {
    width: 100px;
}

#container-view-tts-settings {
    width: 250px;
    padding: 10px;
}

#tts-play {
    width: 24%;
    font-size: 8pt;
}

#tts-stop {
    width: 24%;
    font-size: 8pt;
}

#tts-pause {
    width: 24%;
    font-size: 8pt;
}

#tts-resume {
    width: 24%;
    font-size: 8pt;
}

#preferred-languages {
    width: 80%;
}

#container-view-settings-custom {
    width: 300px;
    padding: 10px;
}

#fontFamily {
    width: 80%;
}

#scrollMode {
    padding: 5px;
    padding-bottom: 10px
}

#columnCount {
    padding: 5px;
}

#reset {
    padding: 5px;
    padding-bottom: 10px
}

#resetUserSettings {
    width: 100px;
    background-color: white;
    height: 50px;
    border-radius: 25px 25px 25px 25px;
    border-color: #00000020;
    border-width: 1px;
    border-style: solid;
    color: black;
    font-size: 9pt;
    text-transform: uppercase
}

#container-view-layer-settings {
    width: 300px;
    padding: 10px;
}

#container-view-mediaoverlay-settings {
    width: 300px;
    padding: 10px;
}

#container-view-linefocus-settings {
    width: 300px;
    padding: 10px;
}

#bookmarkAnchor {
    display: flex;
    text-decoration: none;
    cursor: pointer;
    align-items: center;
}

#emoticonAnchor {
    display: flex;
    text-decoration: none;
    cursor: pointer;
    align-items: center;
}

#starAnchor {
    display: flex;
    text-decoration: none;
    cursor: pointer;
    align-items: center;
}

#container-view-search {
    width: 410px;
    padding: 10px;
}

#searchInput {
    padding-left: 25px;
    width: 100%;
    height: 40px;
}

#history-back {
    padding-left: 7px;
    padding-right: 7px;
}

#history-forward {
    padding-left: 7px;
    padding-right: 7px;
}

#D2Reader-Container {
    height: calc(100vh - 140px);
}

#lineFocusContainer {
    display: none;
    height: calc(100vh - 140px);
}

#toast {
    visibility: hidden;
    max-width: 1px;
    height: 4rem;
    margin: auto;
    background-color: #e60073;
    text-align: center;
    position: fixed;
    z-index: 99999;
    left: 0;
    right:0;
    bottom: 15px;
    white-space: nowrap;
}
#toast.contrast-active {
    background-color: #fff;
}

#toast.contrast-active > #description {
    color: #000000;
}

.loading {
    top: 50%;
}
#iframe-wrapper {
    height: calc(100vh - 130px);
}
@media (max-width: 767px) {
    #iframe-wrapper {
        height: calc(100vh - 260px);
    }
}

#positionSlider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    cursor: pointer;
    outline: none;
    overflow: hidden;
    height: 10px;
}

/* Track: webkit browsers */
#positionSlider::-webkit-slider-runnable-track {
    height: 10px;
    background: #F9D0E5;
}

/* Track: Mozilla Firefox */
#positionSlider::-moz-range-track {
    height: 10px;
    background: #F9D0E5;
}

/* Thumb: webkit */
#positionSlider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 10px;
    width: 10px;
    background-color: #EB0A7B;
    border-radius: 50%;
    border: 1px solid #EB0A7B;
    box-shadow: -100.4375em 0 0 100em #EB0A7B;
}

#positionSlider::-moz-range-thumb {
    appearance: none;
    height: 10px;
    width: 10px;
    background-color: #EB0A7B;
    border-radius: 50%;
    border: 1px solid #EB0A7B;
    box-shadow: -100.4375em 0 0 100em #EB0A7B;
}

/* Thumb: Firefox */
.contrast-active #positionSlider::-moz-range-thumb {
    background-color: #666;
    border: 1px solid #666;
    box-shadow: -100.4375em 0 0 100em #666;
}

.contrast-active #positionSlider::-webkit-slider-runnable-track {
    background: #FFFFFF;
}

/* Track: Mozilla Firefox */
.contrast-active #positionSlider::-moz-range-track {
    background: #FFFFFF;
}

/* Thumb: webkit */
.contrast-active #positionSlider::-webkit-slider-thumb {
    background-color: #666;
    border: 1px solid #666;
    box-shadow: -100.4375em 0 0 100em #666;
}

/* Thumb: Firefox */
.contrast-active #positionSlider::-moz-range-thumb {
    background-color: #666;
    border: 1px solid #666;
    box-shadow: -100.4375em 0 0 100em #666;
}

#dismissIcon {
    background-color: gainsboro;
}

#colorIcon {
    display: unset;
}

#highlightIcon {
    background-color: gainsboro;
}

#underlineIcon {
    background-color: gainsboro;
}

#noteIcon {
    background-color: gainsboro;
}

#bookmarkIcon {
    background-color: gainsboro;
}

#citationIcon {
    background-color: gainsboro;
}

#speakIcon {
    background-color: gainsboro;
}

#actionIcon {
    background-color: gainsboro;
    display: unset;
}

#commentIcon {
    background-color: gainsboro;
    display: none
}

#deleteIcon {
    background-color: gainsboro;
    display: none
}

#highlight-toolbox-mode-action {
}


.open-epub:disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

#anIcon {
    background-color: gainsboro;
}

#errorIcon {
    background-color: gainsboro;
}

#helpIcon {
    background-color: gainsboro;
}

#checkIcon {
    background-color: gainsboro;
}

#emoticonIcon {
    background-color: gainsboro;
}

#starIcon {
    background-color: gainsboro;
}

#collapseIcon {
    background-color: gainsboro;
}

#container-view-security {
}

#container-view-timeline {
    top: 5rem;
    bottom: 2.5rem;
}

#previous-chapter {
    top: 0;
    left: 50%;
    position: fixed;
    color: #000;
    height: 24px;
    background: #d3d3d33b;
    width: 150px;
    transform: translate(-50%, 0);
    display: none
}

iframe:not([height]) {
    height: inherit;
}

#next-chapter {
    bottom: 8.7rem;
    left: 50%;
    position: fixed;
    color: #000;
    height: 24px;
    background: #d3d3d33b;
    width: 150px;
    transform: translate(-50%, 0);
    display: none
}

.material-icons.tts-color {
    color: indianred;
    font-size: 24pt;
}

.range-slider {
    padding: 5px;
}

.theme-btn {
    text-align: -webkit-center;
    width: 30%;
    height: 50px;
    border-color: #00000020;
    border-width: 1px;
    border-style: solid;
    font-size: 9pt;
    text-transform: uppercase
}

.scroll-btn {
    text-align: -webkit-center;
    width: 100px;
    background-color: white;
    height: 50px;
    border-radius: 0px 0px 0px 25px;
    border-color: #00000020;
    border-width: 1px;
    border-style: solid;
    color: black;
    font-size: 9pt;
    text-transform: uppercase
}


.settings-btn-left {
    text-align: -webkit-center;
    width: 30%;
    height: 50px;
    border-radius: 25px 0px 0px 25px;
    border-color: #00000020;
    border-width: 1px;
    border-style: solid;
    font-size: 9pt;
    text-transform: uppercase
}

.settings-btn-middle {
    text-align: -webkit-center;
    width: 30%;
    height: 50px;
    border-color: #00000020;
    border-width: 1px;
    border-style: solid;
    font-size: 9pt;
    text-transform: uppercase
}

.settings-btn-right {
    text-align: -webkit-center;
    width: 30%;
    height: 50px;
    border-radius: 0px 25px 25px 0px;
    border-color: #00000020;
    border-width: 1px;
    border-style: solid;
    font-size: 9pt;
    text-transform: uppercase
}

.settings-btn-right {
    text-align: -webkit-center;
    width: 100px;
    height: 50px;
    border-radius: 0px 25px 25px 0px;
    border-color: #00000020;
    border-width: 1px;
    border-style: solid;
    font-size: 9pt;
    text-transform: uppercase
}

.settings-btn-single {
    text-align: -webkit-center;
    width: 30%;
    height: 50px;
    border-radius: 25px 25px 25px 25px;
    border-color: #00000020;
    border-width: 1px;
    border-style: solid;
    font-size: 9pt;
    text-transform: uppercase
}

.settings-btn-plain {
    color: black;
    background-color: white;
}


.scroll-btn.scroll {
    border-radius: 25px 0px 0px 25px;
}

.scroll-btn.paginated {
    border-radius: 0px 25px 25px 0px;
}

.mui-list--inline.mui--text-body2 {
    padding: 10px;
}

.material-icons.left {
    margin-right: -25px;
    position: relative;
}

.mui--text-right {
    text-align: right;
    padding-right: 10px
}

.mui-tabs__bar {
    display: flex;
    justify-content: space-evenly;
}

.mui-appbar.mui--appbar-line-height {
    background-color: white;
    color: black
}

.material-icons.black-text {
    left: calc(50% - 12px);
    position: relative;
}

#player {
    align-items: flex-start;
}

#player-title-block {
    z-index: 100;
}

#player .limit-title {
    max-height: 3.2rem;
    overflow: hidden;
}

.prev-chapter-js:disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

.next-chapter-js:disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

.dropdown-trigger-epub {
    display: block;
    cursor: pointer;
    position: relative;
    z-index: 20
}

/* Important rule for listbox NVDA focus mode bug*/
@-moz-document url-prefix() {
    ol, ul, li {
        list-style-type: circle !important;
        overflow: hidden;
    }
    li::marker {
        content: ' ';
        width: 2px;
        height: 2px;
    }
}

.dropdown-epub {
    position: absolute;
    top: 0;
    margin-top: 3rem;
    margin-right: -.5rem;
    --bg-opacity: 1;
    background-color: #f7f7f7;
    background-color: rgba(247, 247, 247, var(--bg-opacity));
    border-width: 1px;
    --border-opacity: 1;
    border-color: #757575;
    border-color: rgba(117, 117, 117, var(--border-opacity));
    right: 0;
    z-index: 20
}

.contrast-active .dropdown-epub {
    --border-opacity: 1;
    border-color: #fff;
    border-color: rgba(255, 255, 255, var(--border-opacity));
    --bg-opacity: 1;
    background-color: #000;
    background-color: rgba(0, 0, 0, var(--bg-opacity));
    --text-opacity: 1;
    color: #fff;
    color: rgba(255, 255, 255, var(--text-opacity))
}

.dropdown-epub:before {
    content: "";
    position: absolute;
    --transform-translate-x: 0;
    --transform-translate-y: 0;
    --transform-rotate: 0;
    --transform-skew-x: 0;
    --transform-skew-y: 0;
    --transform-scale-x: 1;
    --transform-scale-y: 1;
    transform: translateX(var(--transform-translate-x)) translateY(var(--transform-translate-y)) rotate(var(--transform-rotate)) skewX(var(--transform-skew-x)) skewY(var(--transform-skew-y)) scaleX(var(--transform-scale-x)) scaleY(var(--transform-scale-y));
    --transform-skew-y: 12deg;
    --transform-skew-x: 12deg;
    top: 0;
    right: 0;
    margin-right: .5rem;
    margin-top: -.75rem;
    --transform-rotate: -45deg;
    width: 1.5rem;
    height: 1.5rem;
    --bg-opacity: 1;
    background-color: #f7f7f7;
    background-color: rgba(247, 247, 247, var(--bg-opacity));
    border-top-width: 1px;
    border-right-width: 1px;
    --border-opacity: 1;
    border-color: #757575;
    border-color: rgba(117, 117, 117, var(--border-opacity));
    --transform-translate-y: -1px;
    --transform-translate-x: -0.25rem
}

.contrast-active .dropdown-epub:before {
    --text-opacity: 1;
    color: #000;
    color: rgba(0, 0, 0, var(--text-opacity));
    --border-opacity: 1;
    border-color: #fff;
    border-color: rgba(255, 255, 255, var(--border-opacity));
    --bg-opacity: 1;
    background-color: #000;
    background-color: rgba(0, 0, 0, var(--bg-opacity))
}

.dropdown-epub.reverse {
    top: auto;
    bottom: 0;
    margin-bottom: 4rem;
    left: 0;
    width: 3rem
}

.dropdown-epub.reverse:before {
    content: "";
    left: 0;
    margin-left: auto;
    margin-right: auto;
    top: auto;
    bottom: 0;
    margin-bottom: -.5rem;
    --transform-translate-y: -1px;
    width: .75rem;
    height: .75rem;
    --transform-translate-x: 0;
    --transform-rotate: 136deg
}

@media (min-width: 1100px) {
    .dropdown-epub {
        margin-right: 0.5rem
    }

    .dropdown-epub:before {
        margin-right: 0.5rem
    }
}
.dropdown-epub {
    display: block
}

.dropdown-epub.reverse_big {
    top: auto;
    bottom: 0;
    margin-bottom: 4rem;
    width: 9rem;
}

.dropdown-epub.reverse_big:before {
    content: "";
    left: 0;
    margin-left: auto;
    margin-right: auto;
    top: auto;
    bottom: 0;
    margin-bottom: -.5rem;
    --transform-translate-y: -1px;
    width: .75rem;
    height: .75rem;
    --transform-translate-x: 0;
    --transform-rotate: 136deg
}
