.product-media img {
    height: 315px;
}

.filter-radio {
    appearance: auto;
    margin-top: 0;
    vertical-align: middle;
}

.filter-items li {
    padding-left: 0;
}

.clear_all {
    position: absolute;
    right: 0;
    top: -40px;
    display: inline;
}

.about_img_banner {
    height: 450px !important;
    object-fit: cover;
}

.img_height_cover {
    height: 315px !important;
    object-fit: scale-down !important;
}

.intro-slider .banner figure {
    height: 50rem;
}

.badge-counter {
    color: #fff;
    background-color: #647180;
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

.category-owl .owl-stage,
.category-owl .owl-stage .owl-item {
    width: auto !important;
}

.category-content-position {
    width: 80%;
    text-align: center;
    margin: 0 auto;
}

.minipopup-area {
    display: none;
}

/* Loader css */
.loader {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    /* border: 3px solid; */
    border-color: #ccc #ccc transparent transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.loader::after,
.loader::before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    border: 3px solid;
    border-color: transparent transparent #bf1e2d #bf1e2d;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-sizing: border-box;
    animation: rotationBack 0.5s linear infinite;
    transform-origin: center center;
}

.loader::before {
    width: 32px;
    height: 32px;
    border-color: #ccc #ccc transparent transparent;
    animation: rotation 1.5s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotationBack {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(-360deg);
    }
}

.text-justify {
    text-align: justify;
}

/* Custom Footer */
.custom_footer {
    background-color: #fff;
    color: #000;
    /* margin-top: 14%; */
}

.custom_footer .footer-middle .widget-title {
    color: #000;
}

.custom_footer .footer-middle .widget-body {
    color: #000;
}

.position-relative {
    position: relative;
}

.custom_footer .student_sitting_img {
    position: absolute;
    left: 87%;
    width: 325px;
    height: 405px;
    object-fit: cover;
    opacity: 0.3;
    top: -10%;
}

.footer.custom_footer .social-link {
    color: #000;
    border-color: #000;
}

.custom_footer .footer-middle,
.custom_footer .footer-top {
    border-bottom: 1px solid #dfdfdf;
}

.custom_footer .left-side-graphic {
    position: absolute;
    width: 14.74%;
    bottom: 14%;
    left: -2%;
}

.custom_footer .right-side-graphic {
    left: 73%;
    width: 260px;
    height: 60px;
    position: absolute;
    bottom: 15%;
}

.custom_footer .footer-top {
    background-color: #000;
}

.custom_footer .pop-up-newsletter {
    top: 0;
    left: 0;
    border-radius: 20px;
    background: linear-gradient(90.49deg, #f8c8c0, #f4dc9c);
    position: absolute;
    width: 100%;
    padding-top: 29px;
    padding-bottom: 29px;
}

.custom_footer .menu-container {
    margin-top: 5%;
}

.custom_footer .widget-newsletter input {
    background-color: #f5d8a4;
    border: 1px solid #000;
    color: #000;
}

.custom_footer .widget-newsletter .widget-title,
.custom_footer .widget-newsletter p {
    color: #000;
}

.custom_footer .widget-newsletter .btn {
    border-color: #bf1e2d;
    background: #bf1e2d;
}

/* End of custom footer */

/* Header Menu */
/* .submenu-book-icon {
    width: 39px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 4px;
    padding: 7px;
} */


/* our products dropdown */

.cust-dropdown-menu {
    padding: 5rem !important;
    border-radius: 2.2rem;
    width: 69vw;
}

.cust-dropdown-menu>li:hover+a {
    background: #FFF0CB;
}

.submenu-book-icon {
    width: 7rem;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
    border-radius: 4px;
    padding: 7px;
}

.cust-submenu-item {
    width: 35% !important;
}

.cust-second-menu {
    left: 38% !important;
    width: 44.85VW;
}

.menu>li>a {
    padding: 2.3rem 0 !important;
}

.primary-dropdown {}

.primary-dropdown:hover>.second-menu {
    display: block !important;
}

.second-menu {
    display: none;
    background: white;
    position: absolute;
    top: 42px;
    z-index: 9999;
    min-width: 70vw;
    /* padding: 5rem 4rem; */
    padding: 2rem 4rem;
    margin-top: 2rem;
    border-radius: 4rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.menu-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    gap: 1rem;
    overflow: auto;
}

.card-name {
    color: #170F49;
    /* font-size: 16px; */
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    text-align: center;
    display: flex;
    flex-direction: row;
    /* gap: 20px; */
    align-items: center;
}

/* .card-name::after {
    content: "\27F6";
    color: rgba(255, 123, 58, 1);
    text-align: center;
} */

.card-description {
    color: #6F6C90;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.menu-items-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-item-holder {
    display: flex;
    gap: 20px;
    align-items: center;
    position: static !important;
}

.menu-item-holder:hover>div {
    display: block !important;
}

.vr {
    width: 1px;
    border-left: 1px solid rgb(122, 122, 122);
}

.modal-menu-wrapper {
    display: flex;
    gap: 30px;
    position: relative;
}

.sub-menu-container {
    display: none;
    position: absolute;
    /* left: 33rem; */
    /* left: 25rem; */
    left: 12rem;
    height: 90%;
    /* top: 5rem; */
    top: 2rem;
    padding-left: 8vw;
    width: 46vw;
}

.sub-menu-wrapper {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.sub-menu-wrapper>div {
    flex: 1;
    width: fit-content;
    height: fit-content;
}

.submenu-item-heading {
    color: #1E1E1E;
    /* font-size: 18px; */
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 0;
}

.submenu-items-wrapper {
    list-style: none;
    display: flex;
    flex-direction: column;
    /* gap: 10px; */
    padding: 0 !important;
}

.submenu-items-wrapper>li>a {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #535353;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.secondary-badge {
    background-color: rgba(217, 217, 217, 1);
    min-width: 25px;
    min-height: 25px;
    border-radius: 50%;
    color: #535353;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* footer */
.input-subscribe-wrapper {
    display: flex;
    justify-content: center;
    padding: 0 2rem;
    gap: 2rem;
}

@media (max-width: 991px) {
    .footer-middle {
        padding: 16.8rem 0 4.8rem !important;
    }
}

.book-types-wrapper {}

/* home-page */

.home-title {
    color: #000;
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
}

.banner-content>.banner0-title:nth-child(2) {
    margin: 0 !important;
}

.banner0-img-wrapper {
    position: relative;
}

.banner0-img-wrapper .banner0-intro {
    object-fit: contain !important;
    position: absolute;
    right: -11.5rem;
    height: 16rem !important;
}

.banner0-arrow {
    position: absolute;
    width: 844px !important;
    height: 287px !important;
    left: 13%;
    top: 19rem !important;
    z-index: 0;
}


@media (min-width: 992px) {
    .banner0-img-wrapper .banner0-intro {
        border-radius: 184px 163px 160px 190px;
        -webkit-border-radius: 184px 163px 160px 190px;
        -moz-border-radius: 184px 163px 160px 190px;
        background-image: url(../vendor/images/banner/banner0-img-background.svg);
        position: absolute !important;
        width: 455px !important;
        height: 398px !important;
        right: 6rem !important;
        z-index: 1;
    }
}

.want-to-read {
    color: #BF1E2D !important;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
    /* 100% */
}

.btn-banner-red {
    background-color: rgba(191, 30, 45, 1);
    color: #FFFEFD;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    border-radius: 0.5rem !important;
}

.banner0-title {
    color: #000 !important;
    font-size: 50px;
    font-style: normal;
    font-weight: 600 !important;
    /* 125% */
}

.title-end {
    justify-content: flex-end;
}

/* home our category card */
.doodle-dots {
    position: absolute;
    left: -11rem;
    top: 5rem;
    transform: rotate(90deg);
    width: 20rem;
}

.post-details {
    padding: 2.2rem 0 3rem !important;
}

.post-details>h4 {
    font-size: 32px;
    text-align: center;
    font-style: normal;
    font-weight: 600;
}

.post-details>h4>a {
    width: 100%;
}

.category-card {
    border-radius: 4rem;
}

.category-card[aria-label="Textbook"] {
    background: rgba(252, 228, 236);
}

.category-card[aria-label="Grammar Books"] {
    background: rgba(235, 242, 255, 1);
}

.category-card[aria-label="Writing Book"] {
    background: #FFF0CB;
}

.category-card-image-wrapper {
    margin: 4rem auto 6rem;
    background-repeat: no-repeat;
    background-size: contain;
    width: 138px;
    height: 141px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.category-card-image-wrapper img {
    width: 123px !important;
    height: 123px !important;
}

/* end home our category card */

/* home - event */
.doodle-event-book-right {
    position: absolute;
    right: 0;
    top: -10rem;
    opacity: 0.75;
    z-index: -1;
}

.doodle-event-book-right img {
    width: 154.99px;
    height: 131.48px;
}

.doodle-event-arrow {
    position: absolute;
    right: 0;
    top: 8rem;
    height: 10rem;
}

.doodle-event-arrow-left {
    position: absolute;
    left: 0;
    bottom: -9rem;
    width: 21rem;
    height: 13rem;
    z-index: -1;
}

.doodle-event-arrow-left img,
.doodle-event-dots img {
    height: 100%;
    width: 100%;
}

.doodle-event-dots {
    position: absolute;
    right: 0;
    height: 6rem;
    width: 26rem;
    bottom: -6rem;
    z-index: -1;
}

.doodle-event-arrow img {
    transform: rotateY(180deg);
    height: 100%;
}

.event-card {
    padding: 0 !important;
    border-radius: 1.8rem;
}

.event-details {
    display: flex;
    gap: 2rem;
    padding: 1rem 3rem;
}

.event-calendar {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.event-day {
    color: #000;
    text-align: center;
    font-size: 2.8rem;
    font-style: normal;
    font-weight: 700;
}

.event-month {
    color: #FF7B3A;
    text-align: center;
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 700;
}

.event-details-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-details-content h4,
.event-details-content p {
    text-align: left;
    margin: 0 !important;
}

.event-details-content .post-title {
    color: #000;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
}

.event-details-content .post-content {
    color: #6A6A6A;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
}

/* home-latest book */
/* background: linear-gradient(360deg, #edfbfe 0%, #edfbfe 60%, white 60%, white 100%); */

.doodle-left-book {
    position: absolute;
    left: -16rem;
    top: -4rem;
    opacity: 0.75;
}

.doodle-right-book {
    position: absolute;
    right: 33rem;
    top: 2rem;
    opacity: 0.75;
    width: 73.112px;
    height: 62.022px;
    z-index: -1;
}

.doodle-right-book img {
    width: 100%;
    height: 100%;
}

.latest-books-wrapper {
    padding: 5rem 0;
    background: linear-gradient(#FFF0CB 0%, #FFF0CB 70%, white 70%, white 100%);
}

.product-card {
    background: white;
    border-radius: 0.5rem;
}

.product-card-image-wrapper {
    padding: 3rem 2rem;
    background: linear-gradient(360deg, rgba(78, 101, 205, 0.22) 0%, rgba(78, 101, 205, 0.22) 80%, white 80%, white 100%);
    border-radius: 1rem;
}

.product-details {
    padding: 2rem 0;
}

.product-details .post-title {
    color: #393D4A;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal !important;
}

.product-details .post-content {
    color: #000;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

/* end home-page */

.post-single .post-body h4 {
    margin-bottom: 1rem;
}

.add-margin-footer {
    margin-top: 14%;
}
.remove-space-sub-menu {
    padding: 0.1rem 0 0 1rem !important;
}

.event-img{
    background-color: #919fbc !important;
    width: 100% !important;
    height: 220px !important;
    object-fit: cover;
}

.remove-space-sub-menu span{
    margin-left: auto !important;
}

@media (min-width: 1024px) and (max-width: 1500px) {
    .submenu-item-heading{
        font-size: 15px !important;
    }
    .submenu-item-heading {
        font-size: 15px;
    }
}

.owl-theme .owl-nav .owl-next, .owl-theme .owl-nav .owl-prev {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #cccccc69;
    font-weight: bolder;
    font-size: 28px;
    color: #000;
}

.owl-theme .owl-nav .owl-next {
    right: 10px !important;
}

.owl-theme .owl-nav .owl-prev {
    left: 10px !important;
}

.footer a:not(.social-link):hover{
    color: #26c !important;
}

.footer.custom_footer .social-link {
    color: #000;
    border-color: #000;
}

.footer.custom_footer .social-link:hover {
    color: #fff;
    border-color: #fff;
}

.menu-items-wrapper{
    padding: 0rem 0rem !important;
}