@import 'new-styles.css';
.main-footer {
    position: relative !important;
}

.book-details tbody tr td {
    font-size: 14px;
    padding: 2px;
}

.book-details tbody tr td:first-child {
    width: 9rem;
    font-weight: 500;
}

.book-title {
/*     height: 3.9rem; */
}

.author-name {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pagination-wrapper nav > div:first-child {
    display: none;
}

.pagination-wrapper nav > div:last-child > div:first-child {
    display: none;
}

.pagination-wrapper nav > div:last-child > div:last-child span {
    display: flex;
    box-shadow: unset !important;
}

.pagination-wrapper nav > div:last-child > div:last-child span > a,
span {
    border-color: #e0e0e0 !important;
    /* padding: 0.25rem 0.5rem !important; */
    height: fit-content;
}
.pagination-wrapper nav > div:last-child > div:last-child span > span span {
    border-color: #e0e0e0 !important;
}

.pagination-wrapper nav > div:last-child > div:last-child span svg {
    width: 1.5rem;
    height: 1.5rem;
}

.pagination-wrapper
    nav
    > div:last-child
    > div:last-child
    span
    span[aria-current="page"]
    span {
    background-color: #0c4da2 !important;
    color: #fff;
    /* padding: 0.25rem 0.75rem !important; */
    height: fit-content;
}

.pagination-wrapper
    nav
    > div:last-child
    > div:last-child
    span
    > [aria-label="Next &raquo;"] {
    margin-left: 1rem;
    border-radius: 0 0.25rem 0.25rem 0;
}
.pagination-wrapper
    nav
    > div:last-child
    > div:last-child
    span
    > [aria-label="Next &raquo;"]
    > * {
    border-radius: 0 0.25rem 0.25rem 0;
}
.pagination-wrapper
    nav
    > div:last-child
    > div:last-child
    span
    > [aria-label="&laquo; Previous"]
    > * {
    border-radius: 0.25rem 0 0 0.25rem;
}

.pagination-wrapper
    nav
    > div:last-child
    > div:last-child
    span
    > [aria-label="&laquo; Previous"] {
    margin-right: 1rem;
    border-radius: 0.25rem 0 0 0.25rem;
}

.pagination-wrapper
    nav
    > div:last-child
    > div:last-child
    span
    > [aria-disabled="true"]
    > span {
    background-color: #e0e0e0 !important;
    /* padding: 0.25rem 0.5rem !important; */
    height: fit-content;
}
.pagination-wrapper
    nav
    > div:last-child
    > div:last-child
    span
    > [aria-disabled="true"]
    > span:hover {
    cursor: not-allowed;
}

:root {
    --modal-overlay-size: 360px;
}

.modal-overlay .modal-dialog {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    right: calc(-1 * 360px);
    height: 100%;
    margin: 0;
    width: 360px;
    transition: all 0.3s ease-in-out;
}
@media screen and (max-width: 540px) {
    .modal-overlay .modal-dialog {
        width: 100%;
        bottom: 0;
        margin-top: auto;
        height: auto;
    }
}
.modal-overlay.show .modal-dialog {
    right: 0;
}
.modal-overlay .modal-content {
    height: 100%;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.modal-overlay .modal-body {
    overflow-y: auto;
    padding: unset;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.modal-overlay .modal-body .filter {
    padding: 1rem;
    flex-grow: 1;
}

.modal-overlay .modal-body .modal_head,
.modal_foot {
    position: sticky;
    background-color: #fff;
    padding: 0.75rem 1rem;
}

.modal-overlay .modal-body .modal_head {
    top: 0;
    border-bottom: 1px solid #e0e0e0;
    z-index: 2;
}
.modal-overlay .modal-body .modal_foot {
    bottom: 0;
    border-top: 1px solid #e0e0e0;
}

@media screen and (max-width: 540px) {
    .modal-overlay .modal-body {
        height: 100%;
        overflow: auto;
        flex: none;
    }
}
@media screen and (max-width: 768px) {
    .filter {
        position: unset;
        top: unset;
        margin-bottom: 0.75rem;
    }
    .filter .filter-item {
        box-shadow: unset;
        padding: unset;
    }
    .filter .filter-item:last-child {
        margin-bottom: 0;
    }
}

.section-hero-banner {
    margin: 0;
    padding: 3rem 0;
    background: white;
    text-align: center;
    border-bottom: 1px solid #e8e5ef;
}

.inner-page {
    margin-bottom: -4rem;
    padding-bottom: 4rem;
}

.inner-page .card-01 {
    background-color: White;
    border: 1px solid #e8e5ef;
}
.inner-page .card-01:hover {
    box-shadow: unset;
}

.inner-page .filter .filter-item {
    box-shadow: unset;
    border: 1px solid #e8e5ef;
}

#multiple-selection .select2-selection {
    /* min-height: 29px; */
    /* padding: 0; */
    border: 1px solid #bbbfc2;
}
#multiple-selection .select2-selection .select2-selection__choice {
    /* margin-top: 0.25rem; */
    /* margin-bottom: 0.25rem; */
    background-color: #0c4da2;
    border-color: #0c4da2;
    color: #fff;
    font-size: 14px;
}
#multiple-selection
    .select2-selection
    .select2-selection__choice
    .select2-selection__choice__display,
#multiple-selection
    .select2-selection
    .select2-selection__choice
    .select2-selection__choice__remove {
    background-color: #0c4da2;
    color: #fff;
    border: none;
    font-size: 14px;
}

.info-box .info-box-icon {
    padding: 1rem !important;
}

.search-card,
.search-card-sm {
    position: absolute;
    right: 0;
    z-index: 1;
    top: 50%;
    width: 100%;
    transition: all 0.2s cubic-bezier(0.83, 0, 0.17, 1);
    transform: translateY(-200%) scale(0);
    opacity: 0;
}
@media (max-width: 991.98px) {
    .search-card,
    .search-card-sm {
        min-width: 25rem;
    }
}
@media (max-width: 767.98px) {
    .search-card,
    .search-card-sm {
        min-width: 0;
        width: 100%;
    }
}
.search-card input,
.search-card-sm input {
    height: 100%;
}
.search-card.toggle,
.search-card-sm.toggle {
    transform: translateY(-50%) scale(1);
    opacity: 1;
}
.search-card .close,
.search-card-sm .close {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1rem;
    cursor: pointer;
    font-size: 0.875rem;
}
@media (max-width: 767.98px) {
    .search-card .close,
    .search-card-sm .close {
        right: 1.5rem;
    }
}
.search-card-sm {
    width: 100%;
    display: none;
    padding: 0.75rem 0.5rem;
}
@media (max-width: 991.98px) {
    .search-card-sm {
        display: block;
        height: 100%;
    }
}

.table-responsive {
    border-radius: 0.25rem 0.25rem 0 0;
}

.table-01 {
    width: 100%;
}

.table-01 thead {
    border: 1px solid #ecf1f5;
}

.table-01 thead tr th:first-child {
    border-top-left-radius: 0.25rem;
}
.table-01 thead tr th:last-child {
    border-top-right-radius: 0.25rem;
}

.table-01 tbody {
    border: 1px solid #e0e0e0;
}

.table-01 thead {
    background-color: #ecf1f5;
    /* color: #fff; */
}
.table-01 th,
td {
    padding: 0.75rem 1rem;
}
.table-01 th {
    color: #666666;
}

.table-01 td {
    font-size: 14px;
    font-weight: 400;
}

.table-01 .qty {
    width: 140px;
}
.table-01 .action {
    width: 90px;
}
.table-01 .price {
    width: 130px;
}

.has-action tr td:last-child,
.has-action tr th:last-child {
    text-align: right;
}

.table-01 .media-wrapper {
    width: 6rem;
    height: 3rem;
    margin-right: 0.75rem;
}

.card-cart {
    border-radius: 0.25rem;
}

.card-cart .card-cart-head,
.card-cart-foot {
    padding: 0.75rem 1rem;
    background-color: #ecf1f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.card-cart .card-cart-head {
    border-radius: 0.25rem 0.25rem 0 0;
}
.card-cart .card-cart-foot {
    border-radius: 0 0 0.25rem 0.25rem;
}
.card-cart .card-cart-body {
    padding: 1rem;
    border-right: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
}
.card-cart .card-cart-head h5 {
    color: #666666;
}

.card-cart .card-cart-body .body-head {
    font-weight: 500;
}
.card-cart .card-cart-body .list-dot li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list-dot {
    padding: 0;
    margin: 0;
}
.list-dot li {
    position: relative;
    padding-left: 1rem;
    font-size: 14px;
}
.list-dot li:before {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    background-color: #8a8c8f;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
}
.list-dot li:not(:last-child) {
    margin-bottom: 1rem;
}

.navbar .navbar-top .badge {
    position: relative;
}
.navbar .navbar-top .badge span {
    position: absolute;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    /* width: 12px;
    height: 12px; */
    color: white;
    background-color: #f4372a;
    border-radius: 0.25rem;
    top: -0.125rem;
    left: 1.625rem;
}
.toast,
.toast-wishlist,
.toast-error {
    position: fixed;
    bottom: 3.5rem;
    right: 3rem;
    border-radius: 5px;
    z-index: 1000;
    transition: 0.3s all ease-in-out;
    color: #fff;
    box-shadow: 0px 4px 8px 5px rgb(227 227 227 / 0%);
}
.toast {
    background-color: #00a552;
}
.toast-wishlist,
.toast-error {
    background-color: #e21f1f;
}
.toast .card,
.toast-wishlist .card,
.toast-error .card {
    border-radius: 5px;
}
.toast .card:hover,
.toast-wishlist .card:hover,
.toast-error .card:hover {
    box-shadow: 0px 4px 8px 5px rgb(212 212 212 / 50%) !important;
}
.toast-body {
    color: #fff;
    font-size: 15px;
    padding: 5px 20px;
}

.section-contact {
    margin-top: 0;
}

.section-contact .media-wrapper {
    height: 25rem;
}
.section-contact .media-wrapper img {
    object-fit: cover;
}
.section-contact .title-02 {
    color: white;
}
@media (max-width: 768px) {
    .section-contact .title-02 {
        margin-top: 1rem;
    }
}
.section-contact .contact {
    margin-top: -8rem;
    background-color: white;
    box-shadow: 0px 0px 22px rgba(0, 0, 0, 0.08);
}
.section-contact .contact-form {
    padding: 1.5rem 0rem 1.5rem 1.5rem;
}
@media (max-width: 768px) {
    .section-contact .contact-form {
        padding: 1rem;
    }
}
.section-contact .contact-details {
    height: 100%;
    background-color: #0c4da2;
    padding: 4rem 1.5rem;
    color: white;
}
@media (max-width: 768px) {
    .section-contact .contact-details {
        padding: 1rem;
    }
}
.section-contact .contact-details .title-04 {
    color: white;
}
.section-contact .contact-details a i {
    font-size: 20px;
    margin-right: 0.5rem;
}

.section-contact .contact-details .social-links {
    border-top: 1px solid white;
    margin-top: 1rem;
    padding-top: 1.5rem;
}
.section-contact .contact-details .social-links a {
    align-items: center;
}

.heading-02 {
    font-size: 20px;
    color: #0c4da2;
    font-weight: 700;
}

.title-04 {
    font-size: 16px;
    font-weight: 600;
    color: #0c4da2;
    margin: 1rem 0 0.25rem 0;
}

.table-responsive table {
    min-width: 750px;
}

/* login modal */
/* .modal-login .modal-content {
    max-width: 480px;
} */

.modal-login .modal-body {
    max-height: 90vh;
    overflow: auto;
    /* display: flex;
    align-items: center;
    flex-direction: column; */
    text-align: center;
}

.modal-login .modal-body .icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: #bad8ff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem auto;
}
.modal-login .modal-body .form-group {
    text-align: left;
}
.modal-login .modal-body .icon i {
    color: #0c4da2;
    font-size: 32px;
}

.modal-login .modal-body .close {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    z-index: 2;
}

.modal-login-header .close {
    color: #fff;
    opacity: 1;
}
.modal-login .modal-body .close:focus {
    outline: unset !important;
}
/* .modal-login .modal-body .close span:focus {
    outline: unset !important;
} */

.nav-tabs-login {
    display: flex;
    margin-bottom: 1rem;
}

.nav-tabs-login .nav-link.active {
    color: white;
    background-color: #0c4da2;
    border-color: #0c4da2;
}
.nav-tabs-login .nav-link {
    color: #232323;
    background-color: unset;
    border: 1px solid #e0e0e0;
    border-radius: unset;
}

.nav-tabs-login .nav-link:focus {
    outline: unset !important;
}
.order-success .card-main {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.order-success .card-main svg {
    width: 240px;
    height: auto;
}

.sticky-content {
    position: sticky;
    top: 10.5rem;
}

.section-about {
    margin: 2rem 0 0 0;
}

.section-about p {
    margin-bottom: 0.75rem;
}

.section-about .media-wrapper {
    height: 0;
    overflow: hidden;
    padding-top: calc(9 / 16 * 100%);
    background: white;
    position: relative;
}

.section-about .media-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Social media */

.social-media-google {
    cursor: pointer;
    background-color: #d34836 !important;
    color: #fff !important;
    font-size: 18px !important;
}

.social-media-fb {
    cursor: pointer;
    background-color: #3b5998 !important;
    color: #fff !important;
    font-size: 18px !important;
}

.google-fb-icon {
    margin-right: 18px;
    color: #fff !important;
    font-size: 20px !important;
}

/* toast  */
.colored-toast.swal2-icon-success {
    background-color: #00a552 !important;
}

.colored-toast.swal2-icon-error {
    background-color: #e21f1f !important;
}

.colored-toast.swal2-icon-warning {
    background-color: #f8bb86 !important;
}

.colored-toast.swal2-icon-info {
    background-color: #3fc3ee !important;
}

.colored-toast.swal2-icon-question {
    background-color: #87adbd !important;
}

.colored-toast .swal2-title {
    color: white;
}

.colored-toast .swal2-close {
    color: white;
}

.colored-toast .swal2-html-container {
    color: white;
}

.card-order-detail {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0px 4px 4px rgba(43, 57, 202, 0.08);
    padding: 1rem;
}

.card-order-detail .detail:not(:last-child) {
    border-right: 1px solid #e0e0e0;
}

.fs-14 {
    font-size: 14px;
}

@media screen and (max-width: 575px) {
    .card-order-detail .detail:not(:last-child) {
        border-right: unset;
        margin-bottom: 1rem;
    }
}
