.book-item .img-holder {
    width: 100%;
    height: 25em;
}

.book-item .img-holder>img.img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: all .2s ease-in-out;
}

.book-item:hover .img-holder>img.img-top {
    transform: scale(1.2);
}

.truncate-5 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

@media screen and (min-width: 768px) {
    .d-book__stars {
        margin-right: 16px;
        position: relative
    }

    .d-book__stars:after {
        content: "";
        position: absolute;
        right: -10px;
        top: -1px;
        width: 1px;
        height: 16px;
        background: #eee;
        display: block
    }
}

.d-book__tags {
    margin: 0 0 9px;
    text-align: left
}

@media screen and (min-width: 768px) {
    .d-book__tags {
        margin-bottom: 20px
    }
}

.d-book__tag {
    color: #fff;
    background: #f44;
    padding: 1px 4px;
    border-radius: 2px;
    text-transform: uppercase;
    font-size: 0.7rem;
    display: inline-block;
    font-weight: 700;
    margin: 0 2px 6px 0
}

.d-book__tag.disabled {
    background: #eee;
    color: #8b8b8b
}

.title {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 800;
}
.author {
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 800;
}


.SRPCoverBlank {
    padding: 15px;
    text-align: center;
    background: #ddd;
    font-size: 1em;
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
}
.SRPCoverBlank .innerBorder {
    border: 2px solid #fff;
    width: 100%;
    height: 100%;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}
.SRPCoverBlank .BookTitle {
    color: #333;
    overflow-wrap: break-word;
    text-align: center;
}
.SRPCoverBlank .Author {
    color: #666;
    font-style: italic;
    padding: 4px 4px 0;
    font-size: 11px;
}

.SRPCoverBlank .author .BookTitle {
    width: 100%;
}


.creadmore {
    display: flex;
}
.box {
    width: 100%;
    max-height: 100%;
    transition: height 0.2s ease-in-out;
    position: relative;
    padding: 5px;
    border: 2px solid;
    border-radius: 5px;
    border-image: linear-gradient(to right, black, white) 1;
    /*-webkit-filter: blur(3px);*/
    /*-moz-filter: blur(3px);*/
    /*-o-filter: blur(3px);*/
    /*-ms-filter: blur(3px);*/
    /*filter: blur(1px);*/
}

/* Main styles */
.description {
    line-height: 18px;
    max-height: calc(18px * 6);
    overflow: hidden;
    text-overflow: ellipsis;
}

.button-readmore::after {
    content: 'Read more';

}
.button-readmore {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    color: #f44;
    transition: all 0.2s ease-in-out;
    font-size: 18px;
    font-weight: bold;
    background-image: linear-gradient(to bottom, transparent, white);

}


.box:hover {
    background: #ccc;
    opacity: 0.5;
}

#check-readmore:checked ~ .button-readmore {
    position: relative;
    bottom: 20px;
}

#check-readmore:checked ~ .button-readmore::after {
    content: 'Read less';
}

/*#check-readmore:checked ~ .button-readmore {*/
/*    margin-bottom: -35px !important;*/
/*}*/


#check-readmore:checked ~ .description {
    max-height: 100vh;
}

/* Hide input checkbox */
#check-readmore {
    position: absolute;
    left: -100px;
    visibility: hidden;
}