.mdui-list-item,
.mdui-list-item:hover {
    border-radius: 20px;
}
.mdui-container {
    margin-top: 20px;
    margin-bottom: 30px;
}
.mdui-card {
    box-shadow: none;
}
.search-input {
    border-bottom: none;
}
.mdui-textfield-focus .mdui-icon,
.mdui-textfield-focus .mdui-textfield-label {
    color: rgba(0, 0, 0, .54);
}

.mdui-textfield-focus .mdui-textfield-input,
.mdui-textfield-focus .mdui-textfield-input:hover {
    border-bottom: none;
    box-shadow: none;
}

.mdui-textfield-input:not([disabled]):hover {
    border-bottom: none;
    box-shadow: none;
}
.wordWrap {
    /*这两行代码可以解决大部分场景下的换行问题*/
    word-break: break-all;
    word-wrap: break-word;
    /*但在有些场景中，还需要加上下面这行代码*/
    white-space: normal;
}

#title {
    width: 900px;
    min-height: 18px;
    margin: 10px auto;
    text-align: center;
    font-size: 16px;
    color: #E2E2E2;
    font-weight: 400;
}

#title:hover {
    color: #777;
}

#viewer.spreads .epub-view > iframe {
    background: white;
}

#viewer.scrolled {
    overflow: hidden;
    width: 800px;
    margin: 0 auto;
    position: relative;
    /*background: url('ajax-loader.gif') center center no-repeat;*/
}

#viewer.scrolled .epub-container {
    background: white;
    box-shadow: 0 0 4px #ccc;
    margin: 10px;
    padding: 20px;
}

#viewer.scrolled .epub-view > iframe {
    background: white;
}

#prev {
    left: 15px;
}

#next {
    right: 18px;
}

#toc {
    display: block;
    margin: 10px auto;
}

@media (min-width: 1000px) {
    #viewer.spreads:after {
        position: absolute;
        width: 1px;
        border-right: 1px #000 solid;
        height: 90%;
        z-index: 1;
        left: 50%;
        margin-left: -1px;
        top: 5%;
        opacity: .15;
        box-shadow: -2px 0 15px rgba(0, 0, 0, 1);
        content:  "";
    }

    #viewer.spreads.single:after {
        display: none;
    }

    #prev {
        left: 15px;
    }

    #next {
        right: 15px;
    }
}

.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;
    -moz-user-select: none;
    user-select: none;
    text-decoration: none;
}

.navlink {
    margin: 14px;
    display: block;
    text-align: center;
    text-decoration: none;
    color: #ccc;
}

.arrow:hover, .navlink:hover {
    color: #777;
}

.arrow:active, .navlink:hover {
    color: #000;
}

#book-wrapper {
    width: 480px;
    height: 640px;
    overflow: hidden;
    border: 1px solid #ccc;
    margin: 28px auto;
    background: #fff;
    border-radius: 0 5px 5px 0;
    position: absolute;
}

#book-viewer {
    width: 480px;
    height: 660px;
    margin: -30px auto;
    -moz-box-shadow:      inset 10px 0 20px rgba(0,0,0,.1);
    -webkit-box-shadow:   inset 10px 0 20px rgba(0,0,0,.1);
    box-shadow:           inset 10px 0 20px rgba(0,0,0,.1);
}

#book-viewer iframe {
    padding: 40px 40px;
}

#controls {
    position: absolute;
    bottom: 16px;
    left: 50%;
    width: 400px;
    margin-left: -200px;
    text-align: center;
    display: none;
}

#controls > input[type=range] {
    width: 400px;
}

#navigation {
    width: 400px;
    height: 100vh;
    position: absolute;
    overflow: auto;
    top: 0;
    left: 0;
    background: #777;
    -webkit-transition: -webkit-transform .25s ease-out;
    -moz-transition: -moz-transform .25s ease-out;
    -ms-transition: -moz-transform .25s ease-out;
    transition: transform .25s ease-out;

}

#navigation.fixed {
    position: fixed;
}

#navigation h1 {
    width: 200px;
    font-size: 16px;
    font-weight: normal;
    color: #fff;
    margin-bottom: 10px;
}

#navigation h2 {
    font-size: 14px;
    font-weight: normal;
    color: #B0B0B0;
    margin-bottom: 20px;
}

#navigation ul {
    padding-left: 36px;
    margin-left: 0;
    margin-top: 12px;
    margin-bottom: 12px;
    width: 340px;
}

#navigation ul li {
    list-style: decimal;
    margin-bottom: 10px;
    color: #cccddd;
    font-size: 12px;
    padding-left: 0;
    margin-left: 0;
}

#navigation ul li a {
    color: #ccc;
    text-decoration: none;
}

#navigation ul li a:hover {
    color: #fff;
    text-decoration: underline;
}

#navigation ul li a.active {
    color: #fff;
}

#navigation #cover {
    display: block;
    margin: 24px auto;
}

#navigation #closer {
    position: absolute;
    top: 0;
    right: 0;
    padding: 12px;
    color: #cccddd;
    width: 24px;
}

#navigation.closed {
    -webkit-transform: translate(-400px, 0);
    -moz-transform: translate(-400px, 0);
    -ms-transform: translate(-400px, 0);
}

svg {
    display: block;
}

.close-x {
    stroke: #cccddd;
    fill: transparent;
    stroke-linecap: round;
    stroke-width: 5;
}

.close-x:hover {
    stroke: #fff;
}

#opener {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px;
    stroke: #E2E2E2;
    fill: #E2E2E2;

}

#opener:hover {
    stroke: #777;
    fill: #777;
}

input:-webkit-autofill , textarea:-webkit-autofill, select:-webkit-autofill {

    -webkit-text-fill-color: #756d6d !important;
    -webkit-box-shadow: 0 0 0px 1000px transparent  inset !important;
    background-color:transparent;
    background-image: none;
    transition: background-color 50000s ease-in-out 0s;
}

input {
    background-color:transparent;
}

.md-content {
    border-radius: 10px!important;
}

.br {
    border-radius: 10px!important;
}
.playlist-active{
    background-color: #cfd2e1
}
.mdui-theme-layout-dark {
    color: #fff;
    background-color: #424242;
}
@media (prefers-color-scheme: dark) {
    .mdui-theme-layout-auto {
        color: #fff;
        background-color: #424242;
    }
}
