﻿
#RecommendBook {
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    top: 0;
    left: 0;
    opacity: 1;
    transition-duration: 0.5s;
}

.ebook-viewport {
    position: relative;
    top: 0;
    width: 922px;
    height: 600px;
    margin: auto;
}

.ebook-viewport .page {
    background-color: rgb(80, 36, 99)
}
.rectooltip, .display-container {
    position: relative
}

    .rectooltip .texthidden {
        display: none;
    }

    .rectooltip:hover .texthidden {
        display: inline-block
    }

    .rectooltip .textellipsis {
        display: inline-block;
    }

    .rectooltip:hover .textellipsis {
        display: none
    }

.media-img {
    width: 100%;
    height: 300px;
    position: relative;
    transition-duration: 0.5s;
}
    .media-img img {
        max-height: 100%;
        max-width: 100%;
        width: auto;
        height: auto;
        position: relative;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
    }
.media-body p {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
    margin-bottom: 0px;
    position: initial;
}
.media-body {
    height: 150px;
}
.media-body p:hover {
    display: inline;
    margin-bottom: 0px;
    position: initial;
}
.media-body a {
    margin-bottom: 0px;
    position: initial;
}

h3.media-heading {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    white-space: normal;
    overflow: hidden;
    margin-bottom: 0px;
    position: initial;
}

    h3.media-heading:hover {
        display:inline;
        margin-bottom: 0px;
        position: initial;
    }
.recommendBox {
    display: inline;
    width:100%;
    height:100%;
    margin-top: 0px;
    position: initial;
}
