.img-book {
    max-width: 250px;
    /* object-fit: cover;
    object-position: 0% 0%; */
}

.img-book-home {
    width: 200px;
    height: 300px;
}
.img-book-arrival {
    width: 200px;
    height: 300px;
}

.img-vdo-arrival {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

@media (max-width: 1200px) {
    .img-book-arrival {
        width: 170px;
        height: 260px;
    }
    .img-vdo-arrival {
        width: 100%;
        height: 100px;
        object-fit: cover;
    }
}

@media (max-width: 991px) {
    .img-book-home {
        width: 200px;
        height: 300px;
    }
    .img-book-arrival {
        width: 200px;
        height: 300px;
    }
}

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

@media (max-width: 576px) {
    .img-book-home {
        width: 150px;
        height: 200px;
    }
    .img-book-arrival {
        width: 150px;
        height: 200px;
    }
}

/*
|--------------------------------------------------------------------------
| SECTION BANNERS (Carousel)
|--------------------------------------------------------------------------
*/
.carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 15px;
    height: 15px;
    border-radius: 100%;
    padding: 0;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: var(--bs-white);
    background-clip: padding-box;
    border: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: 0.5;
    transition: opacity 0.6s ease;
}
.carousel-indicators .active {
    background-color: var(--bs-secondary);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: unset;
}
.banner-prev,
.banner-next {
    width: 50px;
}
/*
|--------------------------------------------------------------------------
| SECTION SEARCH
|--------------------------------------------------------------------------
*/
.btn-search-home {
    position: absolute;
    background: transparent;
    border: unset;
    margin-right: 10px;
    /* z-index: 10; */
}
.search-research-input-group {
    border-radius: 5px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    /* box-shadow: 0px 7px 6px 4px rgba(132, 170, 207, 0.26);
    -webkit-box-shadow: 0px 7px 6px 4px rgba(132, 170, 207, 0.26);
    -moz-box-shadow: 0px 7px 6px 4px rgba(132, 170, 207, 0.26); */
    width: 50%;
}
@media (max-width: 1200px) {
    .search-research-input-group {
        width: 80%;
    }
}
/*
|--------------------------------------------------------------------------
| SECTION RECOMMEND
|--------------------------------------------------------------------------
*/

.slick-recommend div.slick-track {
    height: 400px;
}
.slick-recommend div.slick-track .slick-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.slick-recommend .slick-slide {
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
.slick-recommend .slick-center {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.slick-recommend .slick-dots li button:before {
    margin-top: 20px;
    font-size: 16px;
    color: var(--bs-middle-gray);
}
.slick-recommend .slick-dots li.slick-active button:before {
    color: var(--bs-primary);
}
.img-book-recommend {
    width: 200px;
    height: 300px;
}
@media (max-width: 991px) {
    .img-book-recommend {
        width: 200px;
        height: 300px;
    }
}

@media (max-width: 576px) {
    .slick-recommend div.slick-track {
        height: 320px;
    }
    .img-book-recommend {
        width: 150px;
        height: 200px;
    }
}

/*
|--------------------------------------------------------------------------
| SECTION POPULAR
|--------------------------------------------------------------------------
*/

.slick-popular div.slick-track {
    display: flex;
    justify-content: flex-end;
}

.slick-popular .slick-dots li button:before {
    margin-top: 20px;
    font-size: 16px;
    color: var(--bs-middle-gray);
}
.slick-popular .slick-dots li.slick-active button:before {
    color: var(--bs-primary);
}
.img-book-popular {
    width: 200px;
    height: 300px;
}
.bg-img-popular {
    border-radius: 10px;
    width: 100%;
    height: 45%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(0, 0, 0, 0.8) 100%
    );
}
@media (max-width: 991px) {
    .img-book-popular {
        width: 200px;
        height: 300px;
    }
}
@media (max-width: 576px) {
    .img-book-popular {
        width: 150px;
        height: 200px;
    }
}

/*
|--------------------------------------------------------------------------
| SECTION NEW ARRIVALS
|--------------------------------------------------------------------------
*/
.bg-new-arivals {
    background-color: #f3f7ff;
}
.new-arivals {
    background-color: #f3f7ff;
    border-radius: 25px;
}
.btn-arivals, .btn-arivals:hover, .btn-arivals:active {
    border-radius: 50rem !important;
    font-size: 1rem;
    background: var(--bs-p-blue) !important;
    border: 2px solid #2158bd !important;
    color: #2158bd !important;
}
.btn-arivals-outline, .btn-arivals-outline:hover, .btn-arivals-outline:active {
    border-radius: 25px !important;
    font-size: 1rem;
    background: var(--bs-white) !important;
    border: 2px solid #2158bd !important;
    color: var(--bs-dark) !important;
}
.btn-arivals:focus,
.btn-arivals-outline:focus {
    box-shadow: unset;
}
.btn-view-all {
    background: var(--bs-p-blue) !important;
    color: #2158bd !important;
}
.btn-view-all:hover{
    background: var(--bs-primary-light) !important;
    color: #fff !important;
}
.new-arivals-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 10px 35px;
    /* align-items: end; */
}

.card-book {
    max-width: 250px;
    border: 0;
}
.book-body {
    flex: 1 1 auto;
    padding: 1rem 0.5rem;
}

@media (max-width: 991px) {
    .media-type-content {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .new-arivals-content {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .font-20 {
        font-size: 15px;
    }
}

@media (max-width: 767px) {
    .media-type-content {
        grid-template-columns: 1fr 1fr;
    }
    .new-arivals-content {
        grid-template-columns: 1fr 1fr;
    }
    .article-list img .article-list-img {
        height: 250px !important;
    }
}

/*
|--------------------------------------------------------------------------
| SECTION MULTIMEDIA
|--------------------------------------------------------------------------
*/

.slick-multimedia div.slick-track {
    display: flex;
    justify-content: flex-end;
}

.slick-multimedia .slick-dots li button:before {
    margin-top: 20px;
    font-size: 16px;
    color: var(--bs-middle-gray);
}
.slick-multimedia .slick-dots li.slick-active button:before {
    color: var(--bs-primary);
}

.slick-multimedia .slick-dots li button:before {
    margin-top: 20px;
    font-size: 16px;
    color: var(--bs-middle-gray);
}
.slick-multimedia .slick-dots li.slick-active button:before {
    color: var(--bs-primary);
}
.img-multimedia {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: 50% 10%;
}

/* @media (max-width: 991px) {
    .img-multimedia {
        width: 200px;
        height: 300px;
    }
}
@media (max-width: 576px) {
    .img-multimedia {
        width: 150px;
        height: 200px;
    }
} */

/*
|--------------------------------------------------------------------------
| Optimize for all devices
|--------------------------------------------------------------------------
*/
@media (max-width: 576px) {
    .title {
        font-size: 2rem;
    }
}
@media (min-width: 320px) {
    .frm_nav_search .twitter-typeahead {
        width: 100%;
    }
    #frm_home_search .twitter-typeahead {
        width: 100%;
    }
    #frm_home_search .input-group-append {
        margin-top: 10px;
        width: 100%;
    }
    #frm_home_search .input-group-append > .btn {
        width: 100%;
    }

    #frm_section_search .twitter-typeahead {
        width: 85%;
    }
    #frm_section_search .typeahead {
        border-radius: 0 0 0.5rem 0;
    }
    #frm_section_search .input-group-append {
        width: 25%;
    }

    .card-librarian {
        border: none;
        margin-bottom: 30px;
        display: grid;
    }
    .carousel-caption {
        top: 3%;
        font-family: var(--bs-font-primary);
    }
    .fs_line_1 {
        font-size: 0.8rem;
    }
    .fs_line_2 {
        font-size: 0.5rem;
    }
    .fs_line_3 {
        font-size: 0.5rem;
    }
}
/*--- Small devices (landscape phones, 576px and up) ---*/
@media (min-width: 576px) {
    #frm_home_search .twitter-typeahead {
        width: 75%;
    }
    #frm_home_search .input-group-append {
        margin-top: 0;
        width: 25%;
    }
    #frm_home_search .input-group-append > .btn {
        width: 100%;
    }

    .card-librarian {
        border: none;
        margin-bottom: 30px;
        display: grid;
    }

    .carousel-caption {
        top: 3%;
    }
    .fs_line_1 {
        font-size: 1rem;
    }
    .fs_line_2 {
        font-size: 0.8rem;
    }
    .fs_line_3 {
        font-size: 0.7rem;
    }
}
/*--- Medium devices (tablets, 768px and up) ---*/
@media (min-width: 768px) {
    #frm_home_search .twitter-typeahead {
        width: 80%;
    }
    #frm_home_search .input-group-append {
        margin-top: 0;
        width: 20%;
    }
    #frm_home_search .input-group-append > .btn {
        width: 100%;
    }

    .carousel-caption {
        top: 7%;
    }
    .fs_line_1 {
        font-size: 1.2rem;
    }
    .fs_line_2 {
        font-size: 1rem;
    }
    .fs_line_3 {
        font-size: 1rem;
    }
}
/*--- Large devices (desktops, 992px and up) ---*/
@media (min-width: 992px) {
    .carousel-caption {
        top: 10%;
    }
    .fs_line_1 {
        font-size: 1.6rem;
    }
    .fs_line_2 {
        font-size: 1.4rem;
    }
    .fs_line_3 {
        font-size: 1.2rem;
    }
}
/*--- Extra large devices (large desktops, 1200px and up) ---*/
@media (min-width: 1200px) {
    .carousel-caption {
        top: 10%;
    }
    .fs_line_1 {
        font-size: 2rem;
    }
    .fs_line_2 {
        font-size: 1.4rem;
    }
    .fs_line_3 {
        font-size: 1.2rem;
    }
}

@media (min-width: 1500px) {
    .carousel-caption {
        top: 15%;
    }
    .fs_line_1 {
        font-size: 2.5rem;
    }
    .fs_line_2 {
        font-size: 2rem;
    }
    .fs_line_3 {
        font-size: 1.5rem;
    }
}

.a-link:hover {
    text-decoration: underline !important;
}
