/*Global*/
li {
    list-style-type: none;
}
h1{
    font-size: 22px;
    font-weight: 600;
}
input[type=file]{
    height: 50px;
    max-width: 350px;
    cursor: pointer;
}
.content {
    height: 100%;
    min-height: calc(70.8vh);
}
a:not([href]):not([tabindex]) {
    text-decoration: none;
}
a{
    color:rgb(90, 136, 148);
    text-decoration: none;
    cursor: pointer;
}
a:hover{
    color: dimgrey;
    text-decoration: none;
}
body{
    font-family: -apple-system,BlinkMacSystemFont,Open Sans,Roboto,Helvetica Neue,Helvetica,sans-serif;
}
.ad{
    margin-top: 10px;
}
.ad > div{
    margin: auto;
    padding: 0 15px;
    overflow: hidden;
}
div.secret{
    margin-top: 10px;
    overflow: hidden;
}
/*TopBanner*/
.top-banner{
    width: 100%;
    height: 150px;
    position: relative;
}
.top-banner > .container{
    position: relative;
    height: 100%;
}
.top-background{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
    z-index: 2;
    pointer-events: none;
}
.change-theme{
    position: absolute;
    top: 55px;
    right: 8px;
    width: 50px;
    z-index: 2;
    -webkit-filter: drop-shadow(-10px -10px 40px white);
    filter: drop-shadow(-10px -10px 40px white);
}
.change-theme > img{
    -webkit-filter: drop-shadow(0px 0px 20px white);
    filter: drop-shadow(0px 0px 20px white);
}
.logo{
    position: absolute;
    display: block;
    left: 8px;
    top: 45px;
    height: 60px;
    width: 250px;
    z-index: 2;
    background-position: left;
    background-size: 250px;
    background-repeat: no-repeat;
}
/*search*/
.search-block{
    display: flex;
    position: absolute;
    top: 55px;
    left: 300px;
    right: 300px;
    z-index: 6;
}
.search-block input{
    font-weight: 600;
    border: unset !important;
    width: 100%;
    height: 40px;
}
.search-block > #div-s{
    flex-grow: 1;
}
.search-block > span{
    align-self: center;
    padding: 6px 10px 3px 0;
}
.search-block i{
    font-size: 23px;
    opacity: 0.3;
}
.search-block input:focus{
    box-shadow: unset;
}
.search-block > .dropdown-menu{
    width: 100%;
    overflow: auto;
    max-height: 330px;
    text-overflow: ellipsis;
}
.search-block > .dropdown-menu > .dropdown-item{
    height: 88px;
    text-align: left;
}
.search-block > .dropdown-menu img{
    max-height: 80px;
    float: left;
}
.search-block > .dropdown-menu div{
    padding: 10px;
    height: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
}
.search-block > .dropdown-menu div b{
    text-overflow: ellipsis;
}
/*NavBar*/
.navbar{
    padding: 0 16px;
}
.navbar-brand{
    padding: 0;
    font-size: 25px;
}
.navbar-toggler.mr-right{
    margin: 3px 0;
}
.navbar-brand > img{
    height: 30px;
    margin-bottom: 5px;
    margin-right: 10px;
}
.navbar-nav.mr-right .nav-link{
    padding: 12px 16px;
}
.navbar-collapse .nav-link{
    padding-top: 12px;
    padding-bottom: 12px;
}
#navbarCollapse{
    margin-bottom: 0;
}
.navbar-collapse.collapse.show a{
    float: left !important;
    justify-content: flex-start !important;
}
/*DropDown Login Form*/
.drop-login-form{
    color: #cccccc;
    padding: 10px 20px !important;
    z-index: 10;
}
.ulogin-buttons-container > div{
    margin: 0 5px 10px 5px !important;
}
/*Footer*/
.footer{
    margin-top: 20px;
    background-color: rgb(35, 37, 41);
    min-height: 40px;
    max-height: 48px;
}
.footer-icon{
    font-size: 1rem;
    padding: 12px 16px;
    display: inline-block;
    color: white;
}
/*card*/
.card{
    margin-top: 10px;
    border: none;
    border-radius: unset;
}
.card-title{
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 600;
    padding: 5px;
    z-index: 1;
}
.card-title > a{
    font-weight: 600;
}
/*notification*/
.notification{
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 999999;
    border: solid 1px;
    padding: 10px;
    display: none;
}
/*notifications-popover*/
#notifications-popover{
    display: none;
}
.notif.row.unread{
    background-color:#e7e7e7;
}
#notifications{
    position: relative;
    display: inline-block;
}
.notification-count{
    padding: 1px 4px;
    border: 2px solid rgb(35, 37, 41);
    border-radius: 12px;
    font-size: 12px;
    height: 16px;
    line-height: 10px;
    min-width: 5px;
    top: 5px;
    left: 22px;
    text-align: center;
    position: absolute;
    font-weight: 900;
}
a.notif.row{
    border-bottom: 1px lightgrey solid;
    padding: 5px 0;
}
a.notif.row > .col-3 > img{
    width: 100%;
    margin: auto;
    border-radius: 4px;
}
.popover{
    max-width: 400px;
}
.popover > .popover-header > a{
    font-size: 13px;
    float: right;
    margin-top: 2px;
    text-decoration: underline;
}
.popover-body{
    padding: 0 15px;
    overflow: auto;
    max-height: 400px;
}
/*DropDown*/
.dropdown-menu{
    background-color: #343a40;
    padding: 0;
    margin-top: 0;
    overflow: hidden;
}
.dropdown-menu > .dropdown-item{
    text-align: center;
    font-size: 15px;
    line-height: 1.5;
    cursor: pointer;
}
/*Item*/
.item{
    display: block;
    vertical-align: middle;
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 20px;
}
.item-img{
    display: block;
    width: 100%;
    border-radius: 4px;
}
.item-caption{
    margin-top: 5px;
    bottom: 0;
    width: 100%;
    min-height: 40px;
}
.item-caption > .item-name{
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 51px;
}
.item-caption > .item-info {
    margin-top: 5px;
    display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
    font-size: 12px;
    color: grey;
}
.img-container{
    position: relative;
    width: 100%;
}
.item-rating{
    position: absolute;
    top: 5px;
    left: 5px;
    width: 70px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    min-height: 25px;
    padding-top: 3px;
    font-size: 14px;
    border-radius: 4px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}
.item-user-list{
    position: absolute;
    bottom: 5px;
    right: 5px;
    left: 5px;
    color: #fff;
    min-height: 25px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    padding: 0 5px;
    text-align: center;
}
.item-pos{
    position: absolute;
    top: 5px;
    right: 5px;
    width: 50px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    min-height: 25px;
    padding-top: 3px;
    font-size: 14px;
    border-radius: 4px;
    font-weight: 700;
    line-height: 18px;
}
span[list_type]{
    border: 1px solid lightgrey;
}
span[list_type='0']{
    background: #5ea4e2;
}
span[list_type='1']{
    background: #9534c7;
}
span[list_type='2']{
    background: #77c734;
}
span[list_type='3']{
    background: black;
}
span[list_type='4']{
    background: grey;
}
.subtitle{
    font-size: 17px;
    font-weight: 600;
    padding-bottom: 2px;
    border-bottom: 1px solid lightgrey;
}
@media(max-width: 450px){
    .item-rating{
        width: 60px;
        font-size: 12px;
        min-height: 20px;
        padding-top: 1px;
    }
    .item-pos{
        width: 60px;
        font-size: 12px;
        min-height: 20px;
        padding-top: 1px;
    }
}
/*Right Menu Titles*/
.right-menu-titles .title{
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 10px;
    padding: 5px 0;
    border-bottom: 1px solid lightgrey;
    border-top: 1px solid lightgrey;
    margin-top: -1px;
}
.right-menu-titles .title:hover{
    background-color: #ebebeb;
    margin: 0;
    margin-top: -1px;
    padding: 5px 10px;
}
.right-menu-titles .cover{
    position: relative;
    max-width: 110px;
}
.right-menu-titles .cover > img{
    width: 100%;
    border-radius: 4px;
}
.right-menu-titles .title-data{
    display: inline-flex;
    flex-direction: column;
    width: 100%;
    margin-left: 10px;
    color: black;
    font-weight: 600;
}
/*Other*/
select:focus{
    outline-color: transparent;
}
.row{
    position: relative;
}
.bg-yaoi{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 3;
    color: #ccc;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    border-radius: 4px;
}
.bg-yaoi > div{
    position: absolute;
    top: 40%;
    width: 100%;
}
.bg-yaoi:hover{
    color: transparent;
    background-color: transparent;
}
.asc{
    background-image: url("/static/icons/asc.f8a1940c9cf4.gif");
    background-repeat: no-repeat;
    background-position: center right;
    cursor: pointer;
}
.desc{
    background-image: url("/static/icons/desc.a54846803de3.gif");
    background-repeat: no-repeat;
    background-position: center right;
    cursor: pointer;
}
.mini{
    font-size: 12px;
    min-height: 16px;
    padding: 0;
}
.item-rating.mini{
    top: 2px;
    left: 2px;
    width: 60px;
}
.item-user-list.mini{
    bottom: 2px;
    left: 2px;
    right: 2px;
}
.super-mini{
    font-size: 11px;
    min-height: 15px;
    padding: 0;
}
.item-rating.super-mini{
    top: 1px;
    left: 1px;
    width: 50px;
}
.item-user-list.super-mini{
    bottom: 2px;
    left: 2px;
    right: 2px;
    border: unset;
}

.ya-share2__icon{
    height: 30px !important;
    width: 30px !important;
}
.btn-group>.btn:not(:first-child) {
    margin-left: 0;
}
span.helptext{
    color: #6c757d;
    font-size: 80%;
    font-weight: 400;
}
img[user-type]{
    border-radius: 50%;
    border: 3px solid;
}
img[user-type='0']{
    border-color: red;
}
img[user-type='1']{
    border-color: orange;
}
img[user-type='2']{
    border-color: greenyellow;
}
img[user-type='3']{
    border-width: 1px;
    border-color: #ccc;
}
img[user-type='4']{
    border-color: grey;
}

.w-20{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20% !important;
    flex: 0 0 20% !important;
    max-width: 20%;
    padding: 0 10px;
}
@media(max-width: 1100px){
    .w-20{
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25% !important;
        flex: 0 0 25% !important;
        max-width: 25%;
    }
}
@media(max-width: 680px){
    .w-20{
        -webkit-box-flex: 0;
        -ms-flex: 0 0 30% !important;
        flex: 0 0 30% !important;
        max-width: 30%;
    }
    .d-flex{
        justify-content: center;
    }
}
@media(max-width: 680px){
    .w-20{
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50% !important;
        flex: 0 0 50% !important;
        max-width: 50%;
    }
}
/*Smart right block*/
#smart-right-block.fixed{
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
}
#smart-right-block.fixed > .inner{
    position: fixed;
    bottom: 10px;
}
#smart-right-block.fixed-top{
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    left: unset;
}
#smart-right-block.fixed-top > .inner{
    position: fixed;
    top: 0;
}
#smart-right-block.abs > .inner{
    position: absolute;
    bottom: 0;
}
/*Chosen*/
input.chosen-search-input{
    width: 100%;
    background-color: transparent !important;
}
.chosen-container-multi .chosen-choices li.search-choice{
    background-color: transparent !important;
    background-image: unset !important;
    box-shadow: unset !important;
    padding: 3px 20px 4px 5px;
}
/*chapters Table*/
.last-updates-table{
    padding: 0;
}
.last-updates-table .title-update{
    min-height: 140px;
    border-bottom: solid 1px lightgrey;
    display: flex;
    align-items: center;
}
.last-updates-table .title-data{
    display: inline-flex;
    flex-direction: column;
    width: 100%;
    margin: 10px 20px 0 10px;
    align-self: normal;
}
.last-updates-table .cover{
    width: 110px;
    margin: 10px;
    position: relative;
}
.last-updates-table .cover > img{
    width: 100%;
    border-radius: 4px;
}
.last-updates-table .title-name{
    border-bottom: 1px solid lightgrey;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    padding-bottom: 2px;
}
.last-updates-table .title-name > a{
    color: black;
}
.last-updates-table .title-name > a.text-muted{
    font-size: 14px;
    font-weight: 400;
}
.last-updates-table .chapters.not-all{
    max-height: 70px;
    overflow: hidden;
}
.last-updates-table .chapters a{
    display: block;
    font-size: 15px;
    padding: 1px 0;
}
.show-all{
    padding-right: 20px;
}
/*TableSorter*/
table.tablesorter thead tr .tablesorter-headerUnSorted:not(.sorter-false) {
    background-repeat: no-repeat;
    background-position: center right;
    cursor: pointer;
}
table.tablesorter thead tr .tablesorter-headerAsc:not(.sorter-false) {
    background-repeat: no-repeat;
    background-position: center right;
    cursor: pointer;
}
table.tablesorter thead tr .tablesorter-headerDesc:not(.sorter-false) {
    background-repeat: no-repeat;
    background-position: center right;
    cursor: pointer;
}

@media (min-width: 200px) {
    .container {
        max-width: 100%;
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 100%;
    }
}
@media (min-width: 800px){
    .container{
        max-width: 1100px;
    }
    .search-block{
        right: 200px;
    }
}
@media (min-width: 1200px){
     .container {
        max-width: 1300px;
    }
}
@media (min-width: 1300px) {
    .container {
        max-width: 1400px;
    }
}
@media(max-width: 970px){
    .logo{
        top: 25px;
        height: 40px;
        background-size: 200px;
    }
    .search-block{
        width: 90%;
        left: 5%;
        top: 90px;
    }
    .change-theme{
        top: 25px;
    }
}