@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;400;500;700;800');
/* @import url('https://fonts.googleapis.com/css2?family=Viaoda+Libre'); */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;700');

@font-face
{
    font-family: 'Viaoda Libre';
    font-weight: normal;
    font-style: normal;

    src: url('./fonts/ViaodaLibre-Regular.ttf')
}

body {
    font-family: 'Quicksand', sans-serif;
}

.page {
    margin: 0em;
    min-height: 70VH;
}

.book-page-content {
    min-height: 80VH;
}

h1 {
    font-family: 'Viaoda Libre', cursive;
}

h2 {
    font-family: 'Noto Sans TC', sans-serif;
}

h3 {
    font-family: 'Quicksand', sans-serif;
}

a,
a:visited {
    color: #57617a;
}

a:hover {
    text-decoration: none;
    color: #57617a;
}

textarea,
input[type="email"],
input[type="text"] {
    background: none;
    border: none;
    border-bottom-color: currentcolor;
    border-bottom-style: none;
    border-bottom-width: medium;
    border-bottom: 1px solid;
    width: 100%;
    border-radius: 0;
}

.dropdown-item {
    color: #57617a;
}

.green-f {
    color: #000 !important;
}

.vertical-center {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


#loginform p,
#loginform label {
    font-family: 'Noto Sans TC', sans-serif;
}
.site{
    margin-top: 135px;
}

/* menu */
/* * The sticky class is added to the navbar with JS when it reaches its scroll position */ 
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

.above-menu {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    margin-top: 45px;
    justify-content: flex-end;
}

.pricing-div,
.login-div,
.search-icon {
    margin-right: 2%;
}

#search-form,
.fa-times {
    display: none;
}


.site-branding {
    width: 57%;
    padding: 5px;
}

.site-title a {
    text-transform: uppercase;
    color: #fff;
}

.search-form label {
    width: 70%;
}

.search-field {
    width: 100%;
}

.search-submit {
    background: none;
    border: none;
}

.pricing-div a {
    margin-right: 20px;

}

.children {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 10px !important;
}

.menu-container {
    background: #000;
    padding-top: 10px;
    padding-bottom: 10px;
}

.main-navigation ul {
    display: flex;
    justify-content: center;
}

.main-navigation li {
    margin-right: 50px;
}

.main-navigation li a,
.main-navigation li a:visited {
    color: #fff;
    font-weight: 900;
    font-family: 'Viaoda Libre', cursive;
    text-transform: uppercase;
}


/* header */

.site-header {
    background-color: #fff;
    color: #484848;
    width: 100%;
    z-index: 9992;
    box-shadow: 0 1px 8px rgba(0, 0, 0, .1);
}


/* carousel */

.carousel-item {
    height: 90VH;
    background-size: cover;
    background-position: bottom;
}

.carousel-caption {
    top: 30px;
}

.carousel-caption h1 {
    font-size: 40px;
    color: #484848;
    text-transform: uppercase;
    font-family: Montserrat, -apple-system, BlinkMacSystemFont, Segoe UI, Fira Sans, Helvetica Neue, Arial, sans-serif;
    font-weight: 700;
}

.carousel-caption h2 {
    font-size: 30px;
    color: #484848;
}


/* books home page slides */

.sliders-book .container h3,
.popular-categories .container h3 {
    font-family: 'Viaoda Libre', cursive;
}

.slick-slider {
    margin-top: 15px;
}

.slick-slide {
    margin: 0 10px;
}

.slick-list {
    margin: 0 -10px;
}

.slick-arrow {
    position: absolute;
    top: 40%;
    z-index: 100;
}

.prev {
    left: -30px;
}

.next {
    right: -30px;
}

.slider-book-title {
    font-weight: 400;
    overflow: hidden;
    line-height: 1.3125em;
    max-height: 2.625em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 14px;
    color: #000514;
    margin: 4px 0 0;
    font-family: 'Noto Sans TC', sans-serif;
    min-height: 40px;
}

.slider-book-author {
    overflow: hidden;
    line-height: 1.35714em;
    max-height: 1.35714em;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    font-size: 12px;
    color: #57617a;
    font-family: 'Quicksand', sans-serif;
    margin-bottom: 0px;
}


/* 

template single  */

.book-image {
    height: 245px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position-y: center;
}

.later-single-template {
    display: flex !important;
    justify-content: flex-end !important;
}

.fa-star,
.fa-star-half-alt {
    font-size: 10px;
    color: #ed8f02;
}

.books-categories-div {
    background: #fff;
    border: 1px solid #e9edf8;
    border-radius: 19px;
    color: #000;
}

.books-categories-div:hover {
    background: #f3f6fd;
}

.books-categories-div a {
    display: block;
    padding: 8px 24px;
    text-align: center;
    ;
}


/* single page - book */

.add-for-later-book {
    width: 100%;
    display: block;
}

.downloads-div {
    display: flex;
}

.header-container,
.entry-header {
    background-color: #dbdbdb;
    padding: 20px;
}

.book-button {
    background-color: #000 !important;
    color: #fff !important;
    text-align: center;
    border: 2px solid #fff !important;
}

.book-button:hover {
    background-color: #fff !important;
    color: #000 !important;
    border: 2px solid #000 !important;
}

.book-transparent-button {
    background-color: #fff !important;
    color: #000 !important;
    border-radius: 5px;
    text-align: center;
    border: 2px solid #000;
}

.book-transparent-button:hover {
    background-color: #000 !important;
    color: #fff !important;
    border: 2px solid #fff !important;
}

.download-button:visited {
    color: #000 !important;
}

.download-button {
    background-color: #fff;
    padding: 5px 20px;
    color: #000;
    border-radius: 55px;
    text-align: center;
    border: 1px solid #000;
    display: block;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3em;
    font-family: 'Quicksand', sans-serif;
    display: flex;
    align-items: center;
    height: 35px;
}

.download-button:hover {
    background-color: #000;
    color: #fff;
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
}

.login-wisread:hover {
    background-color: #000 !important;
    color: #fff !important;
    border: 2px solid #000;
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
}

.free-trial-button:visited {
    color: #000;
}

.free-trial-button {
    margin-top: 20px;
    background-color: #fff;
    padding: 12px;
    color: #000;
    border-radius: 55px;
    text-align: center;
    border: 1px solid #000;
    display: block;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3em;
    font-family: 'Quicksand', sans-serif;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    height: 35px;
}

.free-trial-button:hover {
    background-color: #000;
    color: #fff;
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
}

.download-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-bottom: 10px;
    align-items: center;
}

.download-container .fa-file-pdf {
    font-size: 43px;
}

.share-btn {
    color: #57617a;
    font-family: 'Quicksand', sans-serif;
}

.pmpro_btn-submit-checkout {
    background-color: #000 !important;
    padding: 12px !important;
    color: #fff !important;
    border-radius: 55px !important;
    text-align: center;
    border: 2px solid #fff;
    display: block;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3em;
    font-family: 'Quicksand', sans-serif;
}

.pmpro_btn-submit-checkout:hover {
    background-color: #fff !important;
    color: #000 !important;
    border: 2px solid #000 !important;
}

.link-like-button i {
    padding-top: 15px;
    font-size: 25px;
    padding-right: 15px;
}

.link-like-button {
    margin-top: 12px;
    display: block;
}

.book-details p {
    padding: 0;
    margin: 0;
}

.rating,
.book-details {
    margin-top: 10px;
}

.author-container {
    margin-top: 30px;
    padding-top: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
}

.author-details {
    height: 100px;
    overflow: hidden;
}

.decrease-author-details {
    display: none;
}

.book-content {
    height: 460px;
    overflow: hidden;
}

.cover-over-text {
    background-color: rgba(255, 255, 255, 0.8);
    height: 35px;
    position: inherit;
    margin-top: -35px;
}

.loader {
    text-align: center;
    position: absolute;
    top: 0;
    width: 100%;
    display: none;
    background-color: rgba(255, 255, 255, 0.75);
    height: 460px;
}


/* .expand-div::before {

content: " ";

display: block;

position: absolute;

height: 40px;

bottom: 75px;

left: 0;

right: 0;

background: linear-gradient(0deg, #fff, hsla(0, 0%, 100%, .5) 70%, hsla(0, 0%, 100%, 0));

} */

.extend-post-content,
.extend-author-details {
    cursor: pointer;
}

.decrease-post-content,
.decrease-author-details {
    display: none;
    cursor: pointer;
}

.download-book,
.add-for-later-book {
    cursor: pointer;
}

#share-book:hover {
    cursor: pointer;
}

.sharelinks {
    display: none;
}

.books-categories {
    display: flex;
    flex-wrap: wrap;
}

.single-category-button,
.single-category-button:visited {
    border: 1px solid #57617a;
    border-radius: 50px;
    padding: 5px 10px;
    margin: 5px;
    color: #57617a;
}

.single-category-button:hover {
    background-color: #f3f6fd;
    color: #57617a;
}


/* modal */

#wp-submit {
    background-color: #000 !important;
    padding: 12px;
    color: #fff;
    border-radius: 5px;
    text-align: center;
    border: 2px solid #fff;
    display: block;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3em;
}

#add-list {
    cursor: pointer;
}

#create-list-container {
    display: none;
}


/* store .page */

.page-numbers {
    padding: 5px;
    margin: 5px;
}

.page-numbers.current {
    border: 1px solid;
    border-radius: 50%;
    width: 1em;
    height: 1em;
    display: inline-block;
    line-height: 1em;
    box-sizing: content-box;

}

/* slider */

.books-sidebar-main-div {
    margin-top: 4.5rem;
    margin-bottom: 4.5rem;
}

.sidebar-links {
    display: block;
}

.sidebar-filter-div {
    height: 30VH;
    overflow-y: scroll;
}


/* profile .page */

.profile-div a {
    display: block;
}


/* footer */

.site-footer {
    background-color: #DBDBDB;
    margin-top: 50px;
}

.site-info {
    background: #000;
    color: #fff;
}

.site-info p {
    margin: 0px;
}

.footer-heading {
    font-size: 1.25rem;
    font-family: 'Viaoda Libre', cursive;
}

.footer-div a {
    display: block;
    font-family: 'Quicksand', sans-serif;
}

.site-info {
    margin-top: 4rem;
}

input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
textarea:focus-visible {
    outline: 1px solid #ccc;
}

input[type="email"] {
    width: 100%;
}

.pw {
    font-size: 26px;
}

.payment-div {
    margin-top: 8%;
}

.footer-heading-underline {
    height: 2px;
    width: 60px;
    display: inline-block;
    background-color: #000;
    text-align: left;
    margin-bottom: 10px;
}

#contact-send {
    background-color: #fff;
    padding: 8px;
    color: #000;
    border-radius: 5px;
    text-align: center;
    display: block;
    line-height: 1.3em;
    margin-bottom: 10px;
}

#masthead-footer {
    display: none;
}

/* affiliate */

.green-btn {
    background-color: green;
    color: white;
}

#copy {
    padding: 3px 20px;
    border-radius: 15px;
    margin-left: 30px;

}

/* RESPONISVE DESIGN */

@media only screen and (max-width: 767px) {
    .site {
        margin-top: 55px;
    }

    .logo-modal {
        display: none;
    }

    .above-menu {
        margin-top: 30px;
        justify-content: flex-start;

    }

    .sidebar-filter-div {
        display: none;
    }

    .carousel-caption h1 {
        text-shadow: 2px 2px #000;
    }

    .site-branding {
        width: 100%;
        margin: 2%;
    }

    .search-form label {
        width: 75%;
    }

    .login-div {
        padding-right: 10px;
    }

    .menu-toggle {
        display: none;
    }

    .main-navigation ul {
        display: flex;
        text-align: center;
        justify-content: space-evenly;
    }
    .main-navigation li {
        margin-right: 0;
    }

    .carousel-item {
        height: 250px;
        background-size: cover;
        background-position: bottom;
        margin-top: 0px;
    }

    .sliders-book .container h3,
    .popular-categories .container h3 {
        text-align: center;
        padding: 10px;
    }

    .books-categories-div a {
        padding: 10px;
    }

    .header-container,
    .entry-header {
        padding-top: 60px;
    }

    .footer-div {
        margin-bottom: 20px;
    }

    .payment-div {
        padding-left: 15px;
        padding-bottom: 20px;
    }

    .book-login-btn-div {
        margin-top: 130px;
    }

    #share-book,
    .at_or_below {
        margin-top: 30px;
        margin-bottom: 30px;
        text-align: center;
    }

    .a2a_kit,
    .a2a_menu,
    .a2a_modal,
    .a2a_overlay {
        display: flex;
        justify-content: center;
    }

    .book-image {
        height: 155px;
        background-size: cover;
        background-repeat: no-repeat;
        background-position-y: center;
    }

    .books-sidebar-main-div {
        margin: 0px;
    }

    .site-info {
        margin: 0px;
    }

    .site-info {
        background: #000;
        color: #fff;
    }

    #masthead-footer {
        display: block;
    }
}

@media screen and (max-width: 1200px) and (min-width: 768px) {
    .sidebar-filter-div {
        display: block;
    }

    .book-image {
        height: 186px;
    }

    .carousel-caption h1 {
        text-shadow: 2px 2px #000;
    }

    .site-branding {
        width: 100%;
        margin: 2%;
    }

    .pricing-div {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .search-form label {
        width: 75%;
    }

    .login-div {
        padding-right: 10px;
    }

    .menu-toggle {
        display: none;
    }

    .main-navigation ul {
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .carousel-item {
        height: 250px;
        background-size: cover;
        background-position: bottom;
        margin-top: 21px;
    }

    .sliders-book .container h3,
    .popular-categories .container h3 {
        text-align: center;
        padding: 10px;
    }

    .books-categories-div a {
        padding: 10px;
    }

    .header-container,
    .entry-header {
        padding-top: 60px;
    }

    .footer-div {
        margin-bottom: 20px;
    }

    .payment-div {
        padding-left: 15px;
        padding-bottom: 20px;
    }

    .book-login-btn-div {
        margin-top: 130px;
    }

    #share-book,
    .at_or_below {
        margin-top: 30px;
        margin-bottom: 30px;
        text-align: center;
    }

    .a2a_kit,
    .a2a_menu,
    .a2a_modal,
    .a2a_overlay {
        display: flex;
        justify-content: center;
    }

    .books-sidebar-main-div {
        margin: 0px;
        padding-top: 70px;
    }

    .site-info {
        margin: 0px;
    }

    .site-info {
        background: #000;
        color: #fff;
    }

    #masthead-footer {
        display: block;
    }
}