.reader-header {
    height: auto;
    margin-top: 0;
}
.aside.right.active {
    left: calc(100% - 380px) !important;
}
@media (max-width: 800px) {
    /*#btnFullScreen,*/ .form-search {
        display: none !important;
    }
}
@media (max-width: 500px) {
    .left .reader-header > nav{
        display: block;
    }
    .reader-header nav .navbar-right>.btn, .reader-header nav .navbar-right>.btn-group-dropdown {
        margin-left: 0;
    }
}
@media (max-width: 800px) {
    .left .chapter_select, .left .form-search {
        display: none;
    }
}
@media (max-width: 1100px) {
    .hidden-xs {
        display: none !important;
    }
}
@media (max-width: 1200px) {
    .chapter_select {
        margin-right: 0 !important;
    }
}
@media (max-width: 780px) {
    .pager .prev, .pager .next {
        width: 50% !important;
    }
    nav a.btn {
        padding: 8px 0px !important;
    }
}
@media (max-width: 500px) {
    .aside {
        max-width: 100% !important;
        left: 0 !important;
        top: 50px;
        display: none;
    }
    .aside.active {
        display: block;
    }
    #reader.left header {
        right: 0 !important;
        z-index: 9999;
    }
    body {
        padding: 0 !important;
    }
    .aside.right.active {
        right: 100% !important;
        left: 0 !important;
    }
}
.text-wrapper {
    overflow: inherit !important;
}
.chapter_select {
    display: inline;
    flex: auto;
    text-align: center;
    margin-right: 8%;
}
.chapter_select select {
    width: 190px;
    margin-bottom: 0px;
}
.pager .prev, .pager .next {
    width: 37%;
}
nav {
    width: 100%;
    display: inline-flex;
}
/*#text-container {*/
/*font-family: Roboto;*/
/*line-height: 1.35em !important;*/
/*font-size: 18px*/
/*}*/

#reader.left .reader-header .hidden-xs {
    display: none;
}
#reader.left header {
    left: 0 !important;
    right: 380px;
}
.aside.right {
    right: -100%;
    z-index: 4;
}
#settings {
    border-left: 1px solid #ccc;
    z-index: 9999;
}
#settings .sr {
    padding: 10px;
}
#readpage .content-text * {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}
@media (max-width: 767px) {
    #btnFullScreen {
        height: 32px;
        width: 32px;
        padding-left: 8px !important;
    }
    .chapter_select {
        margin-right: 0;
    }
}
.spinner {
    display: block;
    font-size: 0;
    color: #7f8c8e;
    width: 40px;
    height: 26px;
}
#reader.left.loading .spinner {
    left: calc(50% - 215px);
}
.left #up, .left #down {
    display: none !important;
}
.loading .reader-header {
    z-index: 9999 !important;
}
.brightness-1 #control_autoscroll, .brightness-2 #control_autoscroll {
    background-color: #000 !important;
}
.btn-brd:hover:not([disabled]) {
    background-color: #7f8c8d !important;
}
.tether-drop-content {
    text-align: center;
}
@media (max-width: 370px) {
    .chapter_select > select {
        width: 100px;
    }
    .chapter_select {
        padding: 0 5px
    }
}