body {
    background: #000;
    color: #ddd;
}
a {
    color: #ddd;
}
a:hover {
    color: red;
}
img {
    max-width: 100%;
}

small-banner, big-banner {
    display: flex;
    justify-content: center;
    padding: 5px 0;
}

.ipprtcnt {
    bottom: 0 !important;
    top: unset !important;
}

.btn-primary {
    background: transparent;
    border-color: red;
}
.form-control,
.form-control:focus {
    background: transparent;
    border-color: red;
    color: #ccc;
}
.form-control:focus {
    background: transparent;
}

.header {
    border-bottom: 3px solid red;
}
.header .nav {
    border-top: 1px solid red;
}
.header .nav a {
    margin: 5px 20px 5px 0;
    font-size: 18px;
    display: inline-block;
}
.header .search-from {
    display: inline-block;
    width: 460px;
    float: right;
    margin-top: -47px;
}
.header .logo {
    display: inline-block;
}
.header .logo a {
    color: red;
}
.powered-link {
    font-size: 18px;
}

a .manga-card {
    color: #ccc;
    text-decoration: none !important;
}
.manga-card {
    max-width: 100%;
    background: transparent;
    border-color: #555;
}
.manga-card .image-block {
    position: relative;
}
.manga-card .image-block .time {
    position: absolute;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    padding: 1px 5px;
    border-radius: 5px 0 0 0;
}
.manga-card img {
    max-width: 100%;
}
.manga-card .img-preview {
    max-width: 100%;
    padding-top: 144%;
    /*background-image: url(https://cdn.ezerbox.com/p/248x358/0kta3i2vy.jpg);*/
    background-size: cover;
}
.manga-card .card-body {
    padding: 10px;
}
.manga-card .card-title {
    font-size: 14px;
    height: 48px;
    overflow: hidden;
    margin: 0;
}
.page-preview {
    padding-top: 144%;
    /*background-image: url(https://cdn.ezerbox.com/p/248x358/8bw4c870e.jpg);*/
    background-size: cover;
}

.tags span {
    font-size: 20px;
    display: inline-block;
}
.tags .title {
    margin-right: 10px;
}
.tags .tag {
    background: #333;
    padding: 3px 15px;
    margin-bottom: 10px;
    margin-right: 7px;
    border-radius: 5px;
}
.gallery-title {
    font-size: 30px;
}

.gallery-popup .container {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.full-image {
    text-align: center;
}
.full-image image {
    vertical-align: middle;
    border-style: none;
    text-align: center;
    margin: 15px auto;
    display: inherit;
}
.full-image .navigate {
    font-size: 20px;
    margin: 20px;
}
.full-image .navigate a {
    display: inline-block;
    /*margin: 0 5px;*/
}
.full-image .navigate .pages {
    display: inline-block;
    margin: 0 10px;
}
.full-image .to-gallery {
    font-size: 18px;
}

.pagination nav .page-item a {
    background: transparent !important;
    border-color: #555 !important;
    color: #ccc;
}
.pagination nav .page-item.active a {
    background: red !important;
}

span.count {
    font-size: 13px;
    background-color: #565656;
    display: inline-block;
    margin: -3px -15px -8px 5px;
    padding: 9px 5px;
    height: 36px;
    border-radius: 0 5px 5px 0;
    position: relative;
    top: -2px;
}

.main-img {
    padding-top: 118%;
    /*background-image: url(https://cdn.ezerbox.com/p/hentaix/640x756/te/tea1msqqvv2uf.jpg);*/
    background-size: cover;
    max-width: 100%;
}

.login {
    border-right: 1px solid #fff;
    padding-right: 20px;
}

@media (min-width: 576px) {
    .container {
        max-width: 670px;
    }
}
@media (max-width: 840px) {
    .header .search-from {
        width: 100%;
        float: none;
        margin-bottom: 15px;
        margin-top: 8px;
    }
    .page-item-hide {
        display: none;
    }
    .full-image {
        margin-left: -15px;
        width: calc(100% + 30px);
    }
    .full-image .container {
        max-width: unset;
        padding: 0;
    }
}
@media (max-width: 575px) {
    .col-sm-4 {
        width: 50% !important;
    }
    .col-sm-3 {
        width: 33.33333333% !important;
    }
    .hide-on-small {
        display: none !important;
    }
    .main-img {
        width: calc(100% + 30px);
        margin: 0 -15px;
        max-width: unset;
    }
    .manga-card {
        border: 0;
        border-radius: 0;
    }
    .manga-card .card-body {
        padding: 5px 0 0;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1610px;
    }
}
@media (max-width: 1199px) {
    .container {
        max-width: 100%;
    }
}
