.book-container {
    display: flex;
    flex-direction: row;
    position: relative;
}

.book-container-column {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.book-container-row {
    background-color: #ffffff;
    margin: 12px;
    display: flex;
    flex-direction: column;
}

.book-tile-outer {
    background-color: #ffffff;
    position: relative;
    margin:0 auto;
    display: flex;
    flex-direction: column;
}

.book-list-outer {
    background-color: #ffffff;
    margin: 12px;
    padding: 20px;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 240px;
    position: relative;
}

.card {
    height: 450px;
    border-radius: 0 !important;
    /*position: relative;*/
    border: none !important;
    max-width: 300px;
    min-height: 450px;
    min-width: 280px;

}

.card-head {
    //position: relative;
    height: 25px;
}

.star-rating {
    position: relative;
    top: 1px;
}

.card-body {
    height: 120px;
    position: absolute;
    bottom:0;
    width: 100%;
}

.card-btns {
    position: absolute;
    bottom:0;
    left:0;
}

/*ul.lightSlider {*/
/*    padding-left:70px !important;*/
/*    padding-right:70px !important;*/
/*}*/

.b-desc {
    position: absolute;
    bottom:60px;
    height: 75px;
}

.book-img-wrapper {
    margin: auto;
    display: flex;
    width: 65%;
    max-height: 60%;
}

.book-image{
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: solid lightgray !important;
    border-width: 0.5px 0 0.5px 0 !important;
}
.book-img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border: 0.5px solid lightgray;
    margin: auto;
}

.book-img:hover, .book:hover {
    filter: drop-shadow(2px 2px 14px #000000);
    transform: scale(1.2);
    transition: 0.3s;
}

.book-btn::before {
    font-size: 1.2rem !important;
    font-weight: 600 !important;
}
.flag {
    height: 40px;
    width: 90px;
    overflow: hidden;
    /*position: absolute;*/
    /*top: 0;*/
    /*right: 0;*/
}

.book-list-outer-detail {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.book-outer-header {
    padding-bottom: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}

.book-outer-footer {
    height: 52px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.book-flag {
    padding: 4px 15px 4px 15px;
    font-weight: 600 !important;
    margin-left: auto !important;
    min-width: 90px;
}
.selected-description {
    font-weight: 600 !important;
}

.lSAction > .lSPrev {
    left: 0 !important;
}

.lSAction > .lSNext {
    right:25px !important;
}


/*.gray {*/
/*    background-color: lightgrey !important;*/
/*}*/

li.lslide {
    display: flex;
    justify-content: center;
}

/* .book {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;    
    filter: drop-shadow(2px 2px 4px #c0c0c0);
    flex-grow: 1;
} */

.book-description {
    overflow: hidden;
    flex-grow: 1;
    font-family: 'Nunito';
    font-size: 1.3rem !important;
    font-weight: 500 !important;
    color: #707070;
    margin-bottom: 12px;
    text-overflow: ellipsis;
}

.font-larger {
    font-size: 1.4rem;
    font-weight: 600;
}

.scroll-left, .scroll-right {
    position: absolute;
    width: 50px;
    height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding-top: 32px;
}

@media (min-width: 768px) {

    .book-container-row {
        overflow-x: hidden;
    }

    .book-tile-outer {
        min-width: 380px;
        height: 420px;
        background-color: #ffffff;
        margin: 12px;
        display: flex;
        flex-direction: column;
    }

    .book-list {
        min-width: 240px;
        max-width: 240px;
        background-position: left center;
    }

}

/*@media (max-width: 576px) {*/
/*    ul.lightSlider {*/
/*        padding-left:10px !important;*/
/*        padding-right:10px !important;*/
/*    }*/
/*}*/

.card-col {
    display: flex;
    justify-content: center;
    /*width: fit-content;*/
}
@media (max-width: 1700px) {
    .gray {
        background-color: lightgrey !important;
    }

}
@media (max-width: 767.98px) {

    .card {
        max-width: 250px;
        justify-self: center;
        min-height: 450px;
    } 

    /*.card-col {*/
    /*    display: flex;*/
    /*    flex-direction: row;*/
    /*    justify-content: center;*/
    /*}*/

    .book-container-row {
        overflow-x: scroll;
    }

    .book-tile-outer {
        min-width: 150px;
        height: 220px;
        background-color: #ffffff;
        margin: 12px;
        display: flex;
        flex-direction: column;
    }

    .book-list {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 240px;
        opacity: 0.2;
        background-position: right center;
    }

    .scroll-left, .scroll-right {
        display: none;
    }

    .b-desc {
        position: absolute;
        bottom:60px;
        height: 65px;
    }

    .book-img{
        /*max-height: 55%;*/
        max-width: 65%;

    }
}

.card-new {
    height: 450px;
    width: 300px;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
}

.card-heading {
    width: 100%;
    display: flex;
    gap: 5px;
    justify-content: end;
    align-items: center;
    padding: 5px 0;
}

.card-image-wrapper {
    height: 250px;
    width: 100%;

}

.card-image {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: auto;
    position: relative;
    z-index: 1;
}

.card-image-anchor {
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-image:hover {
    filter: drop-shadow(2px 2px 14px #000000);
    transform: scale(1.2);
    transition: 0.3s;
}

.card-b-title {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: auto;
    padding-bottom: 2px;
}
