:root {
    --header-height: 5.0rem;
    --header-height-min: 80px;
    --heading-font: "Prata", Georgia, serif;
    --dark-text-color: #2f2f2f;
    --dark-yellow-color: #74642F;
}

@media screen and (max-width: 600px) {
    :root {
        --header-height: 100px;
        --header-height-min: 80px;
    }
}

body {
    padding-top: var(--header-height);
    min-height: var(--header-height-min);
}

h1.dark-color,
.h1-dark-color,
h2.dark-color,
.h2-dark-color,
h3.dark-color,
.h3-dark-color,
h4.dark-color,
.h4-dark-color,
h5.dark-color,
.h5-dark-color,
h6.dark-color,
.h6-dark-color {
    /*font-family: var(--heading-font);*/
    /*line-height: 1.2;*/
    color: var(--dark-text-color);
}

.navbar-brand{
    font-size: 2.7em;
    font-weight: 500;
    position: relative;
    /*font-family: var(--heading-font);*/
    font-family: var(--heading-font);
    line-height: 1.2;
    color: var(--dark-text-color);
}

.navbar-brand > img
{
    max-width: 64px;
    vertical-align: text-top !important;
}


h1, h2, h3 {
    margin: 25px 0;
    text-transform: capitalize;
}


/* Forms  */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
    padding: 6px 10px;
    /* The 6px vertically centers text on FF, ignored by Webkit */
    background-color: #fff;
    border: 1px solid #D1D1D1;
    border-radius: 4px;
    box-shadow: none;
    box-sizing: border-box;
}

/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

textarea {
    min-height: 65px;
    padding-top: 6px;
    padding-bottom: 6px;
}

input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    border: 1px solid #33C3F0;
    outline: 0;
}

label,
legend {
    display: block;
    margin-bottom: .5rem;
    font-weight: 600;
}

fieldset {
    padding: 0;
    border-width: 0;
}

input[type="checkbox"],
input[type="radio"] {
    display: inline;
}

label > .label-body {
    display: inline-block;
    margin-left: .5rem;
    font-weight: normal;
}

input, textarea, select, fieldset {
    margin-bottom: 1.5rem;
}


/*- Subscribe Section --*/
#subscribe {
    padding: 120px 0;
}

#subscribe .subscribe-content {
    margin-left: 15px;
}

#subscribe .subscribe-content input[type="text"] {
    background: none;
    border: none;
    width: 252px;
}

#subscribe form#form,
#subscribe form.form {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #6F6F6F;
    /*border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;*/
}

::-webkit-input-placeholder {
    color: var(--bs-dark);
}

:-ms-input-placeholder {
    color: var(--bs-dark);
}


@media screen and (max-width: 1200px) {
    #subscribe form#form,
    #subscribe form.form {
        width: 90%;
    }

    #subscribe .subscribe-content input[type="text"] {
        width: 100%;
    }

    #subscribe .btn-subscribe {
        width: 30%;
    }
}

@media screen and (max-width: 980px) {

    #subscribe .grid {
        flex-wrap: wrap;
        justify-content: center;
    }
    #subscribe .section-title {
        width: 100%;
        margin: 0 auto 50px;
    }

    #subscribe p {
        width: 100%;
        text-align: left;
        margin: 30px auto;
    }

    #subscribe form#form,
    #subscribe form.form,
    #subscribe .subscribe-content {
        width: 100%;
    }

    #subscribe form#form,
    #subscribe form.form {
        margin: 0 auto;
    }

    #subscribe .subscribe-content {
        margin-left: 0;
    }

    #subscribe {
        margin-bottom: 90px;
    }

}

@media screen and (max-width: 780px) {
  #subscribe form#form {
      width: 90%;
  }
  #subscribe .subscribe-content {
      width: 90%;
  }
}

#subscribe .btn-subscribe {
    width: 30%;
    color: #111;
    background: transparent;
    margin: 0;
    height: max-content;
    font-size: 1em;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
}

#subscribe .btn-subscribe span {
    transition: 0.5s ease-out;
    padding-right: 5px;
    opacity: 1;
}

#subscribe .btn-subscribe:hover span {
    padding-right: 10px;
    opacity: 0.5;
}

#subscribe pre,
#subscribe p,
#subscribe form {
     margin-bottom: 2.5rem;
}

#subscribe input{
    margin-bottom: 1.5rem;
}

/*- End Subscribe Section --*/

/*- Section Title -*/
.section-header {
    position: relative;
}

.section-title {
    font-size: 3em;
    font-weight: 500;
    line-height: 1;
    position: relative;
    margin-bottom: 75px;
}

.section-title.divider {
    width: 100%;
}

.section-title.divider:after {
    content: "";
    border-bottom: 3px solid #74642F;
    position: absolute;
    right: 0;
    bottom: -16px;
    left: 0;
    width: 50px;
}

.section-header .section-title:before,
.section-header .section-title:after {
    content: "";
    border-bottom: 1px solid #E0E0E0;
    position: absolute;
    top: 30px;
    width: 25%;
    align-items: center;
}

.section-header .section-title:before {
    left: 3px;
}

.section-header .section-title:after {
    right: 3px;
}

.section-header .title span {
    font-size: 14px;
    color: #afafaf;
    text-transform: uppercase;
}


@media screen and (max-width: 1366px) {

    .section-header .section-title:before,
    .section-header .section-title:after {
        width: 30%;
    }
}

@media screen and (max-width: 999px) {

    .section-header .section-title:before,
    .section-header .section-title:after {
        width: 25%;
    }
}

@media screen and (max-width: 768px) {
    .section-title {
        font-size: 2em;
    }

    .section-header .section-title:before,
    .section-header .section-title:after {
        top: 60px;
        width: 100%;
    }
}

/*- END Section Title -*/


/*- Latest Blog Section --*/
.latest-blog {
}

.latest-blog article.column {
    margin-bottom: 60px;
}

.latest-blog figure {
    margin-bottom: 30px;
}

.latest-blog .meta-date {
    font-family: "Prata", Georgia, serif;
    color: #74642F;
    padding-bottom: 20px;
}

.latest-blog h3:hover {
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
}

.latest-blog h3 {
    /*font-size: 1.7em;*/
    font-weight: 500;
    margin-top: 0;
}
.latest-blog h3:hover {
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
}

.latest-blog h3 {
    font-size: 1.4em;
    line-height: 1.4;
    font-weight: 500;
    margin-top: 0;
}


@media screen and (max-width: 999px) {
    .latest-blog h3 {
        font-size: 1.4em;
    }
}


.latest-blog .links-element {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #C8C8C8;
    padding-top: 20px;
}

.latest-blog .categories {
    text-transform: uppercase;
}

.latest-blog .categories a {
    text-decoration: none;
}

.social-links li {
    padding-right: 20px;
}

@media screen and (max-width: 999px) {
    .latest-blog h3 {
        font-size: 1.4em;
    }
}

@media screen and (max-width: 767px) {
    .latest-blog .grid {
        flex-wrap: wrap;
    }

    .latest-blog article.column {
        width: 100%;
    }
}

.image-hvr-effect {
    display: flex;
    overflow: hidden;
}

.image-hvr-effect img.post-image {
    transform: scale(1);
    will-change: transform;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 0;
}

.image-hvr-effect:hover img.post-image {
    transform: scale(1.1);
}


img.post-image {
    width: 100%;
    height: 328px;
    object-fit: cover;
}
/*- END Latest Blog Section --*/


/*- Footer Section --*/
footer#footer {
    padding-bottom: 80px;
    margin-top: 100px;
    margin-bottom: 60px;
    border-bottom: 1px solid #E0E0E0;
}
.footer-bottom {
    border-top: 1px solid #E0E0E0;
    padding-top: 2.5rem;
}
.footer-bottom p {

}

#footer .footer-item {
    margin-right: 100px;
}

#footer .footer-item img.footer-logo {
    margin-bottom: 40px;
}

#footer .footer-item p {
    width: 80%;
}

#footer .footer-menu {
    margin-right: 40px;
    margin-bottom: 40px;
}

#footer .footer-menu ul {
    list-style: none;
}

#footer .footer-menu ul a {
    color: var(--dark-text-color);
    text-decoration: none;
}

#footer .footer-menu:last-child {
    margin-right: 0;
}

.footer-menu h5 {
    font-size: 1.5em;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 40px;
    text-transform: capitalize;
}

@media screen and (max-width: 768px) {
    #footer .footer-item {
        margin-right: 0;
    }
}


.social-links ul {
    list-style: none;
    display: flex;
    margin-bottom: 0;
}

.social-links a {
    text-decoration: none;
    /*color: var(--dark-text-color);*/
    color: var(--bs-link-hover-color);
}

.social-links a:hover {
    color: var(--bs-link-color);
}

.social-links li {
    padding-right: 20px;
}

/*-END  Footer Section --*/
/* - Section Padding
--*/
.padding-xsmall {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.padding-small {
    padding-top: 2em;
    padding-bottom: 2em;
}

.padding-medium {
    padding-top: 4em;
    padding-bottom: 4em;
}

.padding-xlarge {
    padding-top: 9.5em;
    padding-bottom: 9.5em;
}

.padding-2xlarge {
    padding-top: 15em;
    padding-bottom: 15em;
}

/* no padding */
.no-padding-top {
    padding-top: 0 !important;
}

.no-padding-bottom {
    padding-bottom: 0 !important;
}

.no-gutter {
    padding: 0 !important;
}

/* no padding and margin */
.no-padding {
    padding: 0;
}

.no-margin {
    margin: 0;
}

/* - Section margin
--*/
.margin-small {
    margin-top: 3em;
    margin-bottom: 3em;
}

.margin-medium {
    margin-top: 4.5em;
    margin-bottom: 4.5em;
}

.margin-large {
    margin-top: 6em;
    margin-bottom: 6em;
}

.margin-xlarge {
    margin-top: 7.5em;
    margin-bottom: 7.5em;
}

@media only screen and (max-width: 768px) {

    .margin-small,
    .margin-medium,
    .margin-large,
    .margin-xlarge {
        margin-top: 1em;
        margin-bottom: 1em;
    }
}


.breadcrumbs a {
    text-decoration: none;
}

/*----- Book Section   --------------------------------------------------------------*/
h1.book-title {
    margin: 0 0 0 0;
}
h3.sub-title{
    margin: 0 0 4px 0;
    font-style: italic;
}
h4.author-name{
    margin: 4px 0 4px 0;
}
h3.author-name a {
    color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
}

.related-editions {
    height: 200px;
    bottom: 0;
    width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: top;
}


.book-card {
    min-height: 100%;
    border: 1px solid #e0e0e0;
    transition: transform 0.2s ease;
}

.swiper-button-next, .swiper-button-prev {
    top: 35% !important;
}

.swiper-button-prev,
.swiper-button-next {
    transition: all 0.2s ease-in-out;
    opacity: .3;
    color: #212529 !important;
}

.swiper-slide:hover,
.book-card:hover {
    transform: scale(1.02);
}

.card-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.ratio-wrapper {
    position: relative;
    width: 100%;
    /*padding-top: 150%; !* 2:3 aspect ratio = 3/2 = 150% *!*/
    padding-top: 166.67%; /* for 3:5 ratio (300x500) -- (500 / 300) * 100% = 166.67% */
    overflow: hidden;
}

.img-fill-ratio {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

img {
    display: inline-block;
    border: 0;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.top-0-padded-sticky-nav {
    top: calc(var(--header-height) + 10px) !important;
}

body.no-scroll {
    overflow: hidden;
}

/** Genre Tabs **/
.genres.tabs {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    justify-content: left;
    list-style: none;
}
.genres.tabs .tab {
    color: inherit;
}

.genres.tabs a{
    text-decoration: none;
}

.tabs .tab.active,
.tabs .tab:hover {
    color: #111;
    border-bottom: 2px solid #9A884C;
}


.author-books .product-list {
    border-bottom: 1px solid #E0E0E0;
    margin-bottom: 30px;
}


/* Shop page */
.products-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.product-style {
    position: relative;
    overflow: hidden;
}

.slick-slider .product-style {
    margin: 0 15px 25px;
}

.product-style figcaption p {
    margin-bottom: 20px;
}

.product-style img.product-item {
    position: relative;
    background: #EFEEE8;
    border: 1px solid #EAE8DF;
    padding: 15%;
    cursor: pointer;
    width: 100%;
}

.product-style button.add-to-cart {
    position: absolute;
    background: #000;
    color: #fff;
    width: 100%;
    margin: 0;
    text-transform: uppercase;
    text-align: center;
    line-height: 3;
    bottom: 300px;
    bottom: -65px;
    left: 0;
    z-index: 9;
    transition: 0.3s ease-out;
}

.product-style:hover button.add-to-cart {
    bottom: 380px;
    bottom: 0;
}

.product-item figcaption {
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
}

.product-item figcaption > h3 {
    font-size: 1.4em;
    font-weight: 500;
    color: #74642F;
    margin: 0;
}

.product-item figcaption > p {
    margin: 0;
}

.product-item .item-price {
    color: #74642F;
    font-size: 1.3em;
}

@media screen and (max-width: 768px) {
    .products-grid .product-item {
        width: 45%;
    }

    .product-style img.product-item {
        /*height: 550px;*/
        object-fit: contain;
        margin: 0 auto;
    }

    .products-grid.col-3 .product-style,
    .products-grid.col-4 .product-style,
    .products-grid.col-5 .product-style {
        width: 100%;
    }
}

@media screen and (max-width: 575px) {
    .products-grid .product-style {
        width: 100%;
    }
}
