.content-page {
    background-color: #f1f1f5;
}

#detail-book {
    display: none;
}

#detail-book i {
    max-width: 3rem;
    text-align: center;
}

.save a {
    font-size: 2rem;
    color: #f5f5f5;
}

.img-btn {
    font-size: 3rem;
}

.author-box img {
    width: 10% !important;
}

.translator-box img {
    width: 10% !important;
}

.book-img-box img {
    border-radius: .8rem;
}

.next-book {
    background-color: #ffff;
    box-shadow: var(--mainshadow);
    width: 100%;
    border-radius: var(--border-sm);
    display: flex;
    overflow: hidden;

}

.img-header {
    color: #ffff;
}

.img-footer {
    color: #ffff;
    bottom: 1rem;
}

.category-name h4 a {
    color: #ffff;
}

.profile img {
    width: 4.3rem;
}

.profile-name {
    font-size: 1.6rem;
}

.img-btn {
    bottom: -3.2rem;

}

.img-btn i {
    background-color: #ffff;
    font-size: 2rem;
    border-radius: 5rem;
}

.next-book img {
    aspect-ratio: 210 / 320 !important;
    border-radius: 1rem;
}

.like {
    background-color: #ffff;
    color: red;
    font-size: 2.5rem !important;
    border-radius: 5rem;
    transform: unset !important;

}


.content-right-middle-header h4,
.content-right-middle-middle h4 {
    display: inline-block;
}

.content-right-middle-middle {
    text-align: justify;
}

.content-text {
    line-height: 3.2rem;
}

hr {
    border: .5px solid rgba(184, 184, 184, 0.7);
}

.next-book-img .profile {
    transform: translateX(+50%);
    bottom: -.7rem;
    right: 50%;
}

.profile-img {
    background-color: #f5f5f5;
    width: 3.5rem !important;
}

.tags i {
    font-size: 1.7rem;
}


.comment-box .comment {
    background-color: #e4e4e4;
    height: auto;
    border-top-right-radius: 3.5rem;
    border: 1.5px solid #b9b9b9;
}

.comment-box .comment img {
    /* border: 3px solid antiquewhite; */
    width: 5rem;
    height: 5rem;

}

.comment-content-header span {
    color: #b5b5b5;
    font-size: 1.25rem;
}

.comment-box .reply {
    background-color: #e4e4e4;
    border-radius: 5rem;
    padding: 0.5rem;
    margin-right: .5rem;
    border: none;
    display: flex;
    border: 1.5px solid #b9b9b9;
    justify-content: center;
}

.comment-box .info {
    background-color: transparent;
    padding: 0.5rem;
    margin-right: .5rem;
    border: none;
    display: flex;

}

.comment .likecom {
    background-color: #5cb85c;
    border-radius: 5rem;
    padding: 0.5rem;
    border: none;
    display: flex;
}

.comment .dislike {
    background-color: #d9534f;
    border-radius: 5rem;
    padding: 0.5rem;
    margin-right: .5rem;
    border: none;
    display: flex;
}

.comment-details {
    bottom: -5px;
}

.comment-details span {
    margin-right: .5rem;
}

.photos {
    flex-wrap: wrap;
}

.book-details-left a {
    font-size: 2.5rem;
}

.book-details {
    width: 80% !important;
}

.book-img {
    min-width: 21rem !important;
    display: inline-flex;
}

.book-img img {
    border-radius: .8rem;
}

@media (max-width: 400px) {
    .next-book-img .profile {
        font-size: 1.2rem;
    }

    .img-details {
        font-size: 1rem !important;
    }
}

@media (max-width: 450px) {
    .photo {
        width: 71% !important;
    }

}

@media (max-width: 480px) {

    /* .multimedia-video-content {
        align-items: center;
    } */
    .multimedia-video-content {
        flex-direction: column !important;
    }

    .multimedia-video-caption,
    .multimedia-video-content video {
        width: 100% !important;
    }

    .multimedia-video-caption p {
        font-size: 1.3rem;
    }

    .like {
        right: calc(50% - 22px);
        padding: 1.4rem;
    }

    .img-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

}

@media (max-width: 576px) {
    .img-details {
        font-size: 1.2rem;
    }

    .profile img {
        width: 3.5rem;
    }

    .profile span a {
        font-size: 1.2rem !important;
    }

    .book-details {
        width: 100% !important;
        margin-top: 5rem;
    }

    .book-img {
        width: 100% !important;
        display: flex;
        justify-content: center;
        position: relative;
        padding: 2rem 0 0 0;
    }

    .img-btn {
        bottom: -3.5rem;

    }

    .book-box {
        flex-direction: column !important;
    }

    .book-details-left {
        position: absolute;
        left: 0;
        top: 0;
        padding-top: 5rem !important;
    }
}

@media (max-width: 768px) {
}

@media (max-width: 992px) {
    .next-book {
        display: flex;
        flex-direction: row !important;

    }

    .last-book {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
        gap: 2rem;
    }

}

@media (max-width: 1600px) {
    .next-book {
        display: flex !important;
        flex-direction: column !important;
    }

}

@media (max-width: 1920px) {
    .last-book {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
}


@media (min-width: 0px) {

    .next-book-img .back-img {
        width: 95% !important;
        filter: blur(5px);
    }

    .next-book-img .main-img {
        width: 80%;
        z-index: 111;
        position: absolute;
    }



}

@media (min-width: 1200px) {

    .next-book-img .back-img {
        display: none;
    }

    .next-book-img .main-img {
        width: 8rem;
        position: unset;

    }


}


/* photo-gallery */

.photo-gallery {
    color: #313437;
}

.photo-gallery p {
    color: #7d8285;
}

.photo-gallery h2 {
    font-weight: bold;
    margin-bottom: 40px;
    padding-top: 40px;
    color: inherit;
}

@media (max-width: 767px) {
    .photo-gallery h2 {
        margin-bottom: 25px;
        padding-top: 25px;
        font-size: 24px;
    }
}

.photo-gallery .intro {
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto 40px;
}

.photo-gallery .intro p {
    margin-bottom: 0;
}

.photo-gallery .photos {
    padding-bottom: 20px;
}

.photo-gallery .item {
    padding-bottom: 30px;
}

.img-fluid {
    width: 100%;
    height: 15rem;
    overflow: hidden;
}

.lightboxOverlay {
    background-color: #f5f5f5 !important;
}

.lb-number {
    display: none !important;
}

/* Shop */

.product-counter {
    box-shadow: 0 1px 5px rgba(0, 0, 0, .2);
    overflow: hidden;
}

.product-counter span {
    font-size: 2rem;
}

/*  */

.for-dropdown {
    margin: 0 !important;
}

.section-dropdown {
    display: grid !important;
    grid-template-columns: auto;
    gap: 2rem 0;
}


.section-dropdown .cart img {
    width: 6rem;
}

.sec-center {
    position: relative;
    text-align: center;
    z-index: 200;
    /* width: 20rem; */
}

[type="checkbox"]:checked,
[type="checkbox"]:not(:checked) {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

.dropdown-sub,
#dropdown {
    display: none;
}

.dropdown:checked + label,
.dropdown:not(:checked) + label {
    position: relative;
    font-weight: 500;
    font-size: 15px;
    transition: all 200ms linear;
    cursor: pointer;
    box-shadow: 0 12px 35px 0 rgba(255, 235, 167, .15);
}

.dropdown:checked + label:before,
.dropdown:not(:checked) + label:before {
    position: fixed;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    z-index: -1;
    cursor: auto;
    pointer-events: none;
}

.dropdown:checked + label:before {
    pointer-events: auto;
}

.dropdown:not(:checked) + label .uil {
    font-size: 24px;
    margin-left: 10px;
    transition: transform 200ms linear;
}

.dropdown:checked + label .uil {
    transform: rotate(180deg);
    font-size: 24px;
    margin-left: 10px;
    transition: transform 200ms linear;
}

.section-dropdown {
    position: absolute;
    background-color: white;
    /* background-color: rgb(223 223 223); */
    top: 70px;
    /* left: 0;
    width: 100%; */
    left: -16rem;
    width: 34rem;
    border-radius: 4px;
    display: block;
    box-shadow: 0 14px 35px 0 rgba(9, 9, 12, 0.4);
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 200ms linear;
}


.dropdown:checked ~ .section-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.section-dropdown:before {
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    content: '';
    display: block;
    z-index: 1;
}

.section-dropdown:after {
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
    content: '';
    display: block;
    z-index: 2;
    transition: all 200ms linear;
}

/* .section-dropdown a {
    position: relative;
    color: rgb(0, 0, 0);
    transition: all 200ms linear;
    font-size: 15px;
    border-radius: 2px;
    padding: 5px 0;
    padding-left: 20px;
    padding-right: 15px;
    margin: 2px 0;
    text-align: left;
    text-decoration: none;
    display: flex;
  } */


/* .section-dropdown a:hover {
    background-color: #ffeba7;
  } */

.section-dropdown a .uil {
    font-size: 22px;
}

.dropdown-sub:checked + label,
.dropdown-sub:not(:checked) + label {
    position: relative;
    color: #fff;
    transition: all 200ms linear;
    font-weight: 500;
    font-size: 15px;
    border-radius: 2px;
    padding: 5px 0;
    padding-left: 20px;
    padding-right: 15px;
    text-align: left;
    text-decoration: none;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: center;
    -moz-align-items: center;
    -ms-align-items: center;
    align-items: center;
    justify-content: space-between;
    -ms-flex-pack: distribute;
    cursor: pointer;
}

.dropdown-sub:checked + label .uil,
.dropdown-sub:not(:checked) + label .uil {
    font-size: 22px;
}

.dropdown-sub:not(:checked) + label .uil {
    transition: transform 200ms linear;
}

.dropdown-sub:checked + label .uil {
    transform: rotate(135deg);
    transition: transform 200ms linear;
}

.dropdown-sub:checked + label:hover,
.dropdown-sub:not(:checked) + label:hover {
    background-color: #ffeba7;
}

.section-dropdown-sub {
    position: relative;
    display: block;
    width: 100%;
    pointer-events: none;
    opacity: 0;
    max-height: 0;
    padding-left: 10px;
    padding-right: 3px;
    overflow: hidden;
    transition: all 200ms linear;
}

.dropdown-sub:checked ~ .section-dropdown-sub {
    pointer-events: auto;
    opacity: 1;
    max-height: 999px;
}

.section-dropdown-sub a {
    font-size: 14px;
}

.section-dropdown-sub a .uil {
    font-size: 20px;
}