/*!
Theme Name: TVO Manga
Theme URI: http://mtlnovel.club/
Author: TVO
Author URI: http://mtlnovel.club/
Description: This is theme Tvo Manga
Version: 1.1.1
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tvo-manga
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
    font-size: 16px;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}

main.container {
    flex-grow: 1;
    margin-top: 1.5rem;
    padding: 0;
}

footer {
    border-top: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
    width: 100%;
    text-align: center;
    line-height: 1.75rem;
    font-size: 0.875rem;
    padding: 1rem;
}

footer a {
    margin-right: 1rem;
}
.m-card-header-horizontal {
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.m-card-header-horizontal .m-card-header-right {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    justify-content: end;
}

.m-card-header-horizontal .m-card-header-right > * {
    margin-left: 0.5rem;
}
.m-card {
    position: relative;
    width: 100%;
    padding: 0.5rem;
    box-sizing: border-box;
    margin-bottom: 1.5rem;
}

.m-card-header {
    border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    font-size: 1.25rem;
    font-weight: 500;
}

/* Navbar and search */
nav.navbar > .container {
    padding: 0 1rem;
}


.navbar-toggler {
    padding: 0.125rem;
}

#search-form {
    position: relative;
}

#search-form .search-input {
    width: 1rem;
}

#search-form .search-input:focus {
    box-shadow: none;
}

#search-form .search-result {
    display: none;
    position: absolute;
    top: 2.5rem;
    left: 0;
    right: 0;
    border-radius: .25rem;
    padding-top: .25rem;
    background-color: var(--bs-tertiary-bg);
    border: solid var(--bs-border-color);
    z-index: 1;
}

.search-result-list {
    padding: 0.5rem;
    overflow: auto;
    max-height: 30rem;
}

.search-result-more {
    padding: .5rem;
    margin-top: 0.5rem;
    border-radius: 0 0 .25rem .25rem;
    display: block;
    text-align: center;
    background-color: var(--bs-secondary-bg);
}

.navbar.show-search #search-form .search-result.show {
    display: block;
}

.navbar.show-search .navbar-brand,
.navbar.show-search .navbar-collapse,
.navbar.show-search .navbar-toggler {
    display: none;
}

.navbar.show-search i {
    left: 0;
    display: block;
}

.navbar-brand {
    flex-grow: 1;
}

.navbar-brand img {
    height: 32px;
}

#search-form {
    flex-grow: 1;
}

.search-result-item {
    width: 100%;
    padding: 0.125rem 0;
    display: flex;
}

.search-result-item img {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
    flex-shrink: 0;
}

.search-result-item-text {
    flex-grow: 1;
    padding-left: 0.25rem;
    overflow: hidden;
}

.search-result-item span {
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    overflow: hidden;
}

@media only screen and (min-width: 576px) {

    .navbar.show-search .navbar-brand {
        display: block;
    }

    .navbar-brand {
        flex-grow: 0;
    }

    #search-form {
        flex-grow: 0;
        order: 1;
    }

    #search-form .search-result {
        width: 30rem;
        left: auto;
    }

    #search-form .search-input {
        width: 6rem;
    }
}

@media only screen and (min-width: 768px) {
    #search-form .search-input {
        width: 10rem;
    }
}

/* End navbar and search */


@media only screen and (max-width: 575.9px) {
    .row {
        margin: 0;
    }

    .row > * {
        padding: 0;
    }
}

@media only screen and (min-width: 576px) {
    .m-card {
        padding: 1rem;
        border: solid var(--bs-border-color);
        border-radius: 3px;
    }

    nav.navbar > .container {
        padding: 0;
    }
}

@media only screen and (min-width: 768px) {
    .m-card-header {
        /*        flex-direction: row;
        justify-content: space-between;*/
    }
}

a {
    text-decoration: none;
}

.rating1 .stars1 {
    display: inline-block;
    background: url(./assets/images/transparent-star.svg) repeat-x;
    background-size: 20%;
    height: 15px;
    width: 75px;
}

.rating1 .stars1 .score {
    display: block;
    height: 15px;
    background: url(./assets/images/yellow-star.svg) repeat-x;
}


.stars .star {
    display: inline-block;
    background: url(./assets/images/transparent-star.svg) no-repeat;
    height: 15px;
    width: 15px;
}

.stars .star .star-fill {
    display: block;
    height: 15px;
    background: url(./assets/images/yellow-star.svg) no-repeat;
}


.update-box {
    display: flex;
}

.update-box:not(:last-child) {
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 1rem;
}

.update-box img {
    width: 6rem;
    height: 8rem;
    object-fit: cover;
    margin-right: 1rem;
}

.update-box-chapter {
    margin-bottom: 0.25rem;
}

.novel-list {
    margin: 0 -0.25rem;
}

.novel-box {
    padding: 0 0.25rem 0.5rem;
}

.novel-box-inner {
    border: 1px solid var(--bs-border-color);
}

.novel-box .novel-image {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding-top: 133.3333%;
}

.novel-box .novel-image a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.novel-box .novel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.novel-box .novel-content {
    padding: 0.5rem;
}

.novel-box .novel-content p {
    margin-bottom: 0;
}

.novel-box .title {
    font-size: 1rem;
    line-height: 1.2rem;
    height: 2.4rem;
    margin: 0 0 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.novel-box .genre {
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

ul.dropdown-menu.show {
    max-height: 20rem;
    overflow: auto;
}

.content-main-image-wrapper {
    max-width: 20rem;
    margin: auto;
}

.content-main-image {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    width: 100%;
    padding-top: 133.3333%;
}

.content-main-image img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    object-fit: cover;
}

.chapter-group {
    margin-bottom: 0.5rem;
}

.chapter-group .card-title {
    margin-bottom: 0;
    text-align: left;
    border-color: var(--bs-border-color);
}

.chapter-group .card-title:hover {
}

.chapter-group .card-title:focus {
    box-shadow: none;
}

.chapter-group .card-body {
    padding: 0 1.25rem;
}

.chapter-group .card-body > :first-child {
    margin-top: 1rem;
}

.chapter-group .card-body > :last-child {
    margin-bottom: 1rem;
}

.chapter-group .card-body img {
    max-width: 100%;
    height: auto;
}

.chapter-group a:visited {
    color: var(--bs-secondary-color);
}

ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}

ins.adsbygoogle[data-ad-status='filled'] {
    margin-bottom: 1rem;
}

.loader {
    border: .5rem solid #f3f3f3; /* Light grey */
    border-top: .5rem solid #3498db; /* Blue */
    border-radius: 50%;
    width: 6rem;
    height: 6rem;
    animation: spin 2s linear infinite;
    margin: 2rem auto;
}
.page-chapter {
    position: relative;
    text-align: center;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}