html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Adjust based on navbar height */
}

body {
    margin: 0;
    background-color: #ededed;
    color: #4c4747;
    /* font-family: Merriweather Sans; */
    font-size: 0.95rem;
    /* font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif; */
    /* font-family: serif; */
    word-break: break-word;
    overflow-wrap: break-word;
    /* line-height: 1.4; */
    /* font-family: Open Sans, Noto Sans; */
}

h1 {
    font-size: 1.4rem;
}

h2 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

h3 {
    font-size: 1rem;
}

/* h1, h2, h3 {
    font-family: Merriweather;
} */

img {
    object-fit: cover; /* Ensures that image is cropped and aspect ratio is maintained when displayed in a different aspect ratio */
}

img[loading="lazy"] {
    /* background: url('https://assets.bookfylo.blr1.cdn.digitaloceanspaces.com/assets/image/loading.gif') center center / cover no-repeat; */
    background: url('https://assets.bookfylo.com/assets/image/loading.gif') center center / cover no-repeat;
    width: 100%; /* Ensure proper size */
    height: auto; /* Let it adjust */
    /* display: block; */
}

ol, ul {
    padding-left: 20px;
}

#page {
    background-color: white;
    /* max-width: 1080px; */
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    /* padding-bottom: 4rem; */
}

.wbs-hover:hover {
    background-color: Beige;
    /* border: 1px solid gainsboro; */
    /* border-radius: 5px; */
}

#wbs-top-nav {
    position: sticky;
    top: 0px;
    z-index: 100;
    margin: auto;
    background-color: white;
    /* padding: 0.5rem 0.75rem 0.5rem 0.75rem; */
    padding: 0.5rem;
    /* border-bottom: 1px LightGray solid; */
    box-shadow: 1px 1px 4px 0 rgba(24, 22, 22, 0.19), -1px -1px 4px 0 rgba(24, 22, 22, 0.19);
}

#wbs-nav-menu {
    position: fixed;
    bottom: 0px;
    left: 0px;
    right: 0px;
    z-index: 50;
    display: flex;
    align-items: center;
    background-color: white;
    /* padding: 0.5rem 0.75rem 0.5rem 0.75rem; */
    border-top: 1px LightGray solid;
    width: 100%;
}

/* On larger screens, nav menu moves to top below the nav bar */
@media (min-width: 620px) {
    #wbs-nav-menu {
        position: relative;
        border-top: 0px;
        border-bottom: 1px LightGray solid;
    }
}

.wbs-nav-menu__item {
    padding: 0.25rem;
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: #4c4747;
}

.wbs-nav-menu__item--selected, .wbs-nav-menu__item:hover {
    font-weight: bold;
    color: black;
    /* color: white; */
    /* background-color: rgb(51, 48, 48); */
}

/******************************************************************************
* Book Creator
*******************************************************************************/
.interior-layout-center {
    text-align: center;
}

.interior-layout-justify {
    text-align: justify;
}

.interior-layout-full-justify {
    text-align: justify;
    text-align-last: justify;
}

/******************************************************************************
* Utilities
*******************************************************************************/
.wbs-box-shadow {
    /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); */
    box-shadow: 1px 1px 4px 0 rgba(24, 22, 22, 0.19), -1px -1px 4px 0 rgba(24, 22, 22, 0.19);
    /* padding: 10px; */
}

.wbs_hover:hover {
    background-color: Gainsboro;
    color: black;
    border: 1px solid gray;
    /* border-radius: 5px; */
}

/******************************************************************************
* Google Material Icons override
*******************************************************************************/

.material-symbols-outlined {
    display: inline-block;
    vertical-align: middle;
    font-size: inherit;
    /* margin-top: -3px; */
    /* margin-top: 0; */
    /* font-variation-settings: 
        'FILL' 1, 
        'wght' 600, 
        'GRAD' 0, 
        'opsz' 48; */
}

/******************************************************************************
* Bootstrap override
*******************************************************************************/

.btn-primary {
    background-color: SlateBlue;
    border-color: SlateBlue;
}

.btn-primary:hover {
    /* background-color: SlateBlue; */
    border-color: SlateBlue;
}

.btn-outline-primary {
    color: SlateBlue;
    border-color: SlateBlue;
    /* border-width: 3px; */
}

.btn-outline-primary:hover {
    background-color: SlateBlue;
    border-color: SlateBlue;
    color: white;
}

.border-primary {
    border-color: SlateBlue !important;
}

.bg-primary {
    background-color: SlateBlue !important;
}

.text-primary {
    /* color: SlateBlue; */
    color: SlateBlue !important;
}

.form-label {
    font-weight: bold;
    /* color: SlateBlue; */
}

.form-control {
    border-color: lightgray;
}

.form-check-input {
    border-color: lightgray;
}

/* Woocommerce */

.order-again {
    display: None;
}