.books__container {
    background-color: #fff;
    width: 100%;
    height: 100%;
    padding: 5px 40px 40px 40px;
    display: flex;
    flex-direction: column;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
	z-index: 1000;
}

.books__container {
    background-color: #fff;
    width: 100%;
    height: 100%;
    padding: 5px 40px 40px 40px;
    display: flex;
    flex-direction: column;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
}

#zoomedImg {
    max-width: 90%;
    max-height: 90%;
}

.books__box_top {
    display: flex;
    border: solid 1px #2f546c;
    border-radius: 5px;
    margin: 0 10px 10px 10px;
    padding: 7px;
}

.books_h {
    color: #2f546c;
    font-size: 24px;
    font-weight: bold;
    padding: 20px 0 25px 10px;

}

.books_title {
    color: #2f546c;
    font-size: 20px;
}

.publications_banner_div {
    padding: 75px 0px;
    position: relative;
    z-index: 89;
    text-align: center;
    line-height: 1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.publications_banner_title {
    color: #fff;
    font-style: italic;
    text-transform: capitalize;
}

.books__image>img {
    width: 140px;
    cursor: pointer;
    height: fit-content;
    object-fit: cover;
}

.books__info {
    margin-left: 10px;
    max-width: 600px;
}

.books {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.books__info>h3 {
    font-weight: bold;
}

.books__info>h5,
.Book_authors>span,
.Book_authors>div,
.books__info>h6 {
    font-weight: bold;
    color: gray;
}

.Book_authors>span,
.Book_authors>div,
.books__info>h6 {
    padding-bottom: 7px;
}


.book_author_div {
    display: inline-block;
}

.ellipsis-div {
    position: relative;
    display: inline-block;
}

.round-ellipsis {
    display: inline-block;
    border: 1.5px solid;
    border-radius: 12px;
    font-size: 19px;
    height: 10px !important;
    align-content: center;
    line-height: 4px;
    letter-spacing: 1.5px;
    text-align: center;
    padding-left: 1.5px;
    cursor: pointer;
    box-shadow: 3px 3px 5px hsl(0, 0%, 0%, 0.1);
}

.authors-on-hover {
    display: none;
    position: absolute;
    top: 8px;
    left: 125px;
    transform: translateX(-50%);
    padding: 0px 0px 20px 25px;
    z-index: 10;
}

.all-authors {
    box-shadow: 5px 5px 5px hsla(0, 0%, 0%, 0.1);
    border: solid 1px;
    color: gray;
    border-radius: 5px;
    font-size: 15px;
    white-space: nowrap;
    background-color: #fff;
    padding: 10px 20px 0 0;
}

.all-authors ul {
    padding-left: 20px;
}

.all-authors ul li {
    list-style: none;
}

.ellipsis-div:hover .authors-on-hover {
    display: block;
}


.books__download {
    display: flex;
}

.books_btn {
    border: 1.5px solid gray;
    display: flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    padding: 8px;
    border-radius: 5px;
}

.books_btn>a {
    margin-left: 10px;
    text-decoration: none !important;
    color: gray !important;
    font-size: 16px;
}

.books_btn:hover>a,
.books_btn:hover>i {
    color: dodgerblue !important;
}

.books_btn>i {
    color: gray;
}

.publications__container {
    height: fit-content;
}

.books__box {
    margin-bottom: 30px;
}

.books__box>h2 {
    color: #333333;
    font-size: 19px;
    font-weight: bold;
    word-break: break-all;
    text-align: center;
    display: flex;
    margin: auto;
}

.books__box>.book__image {
    width: 80%;
    display: flex;
    margin: auto;
}

.books__buttons {
    display: flex;
    justify-content: space-evenly;
}

.buy,
.view {
    border: none;
    padding: 7px;
    color: #fff;
    background-color: #ec4933;
    width: 100px;
    margin: 2px;
}

@media screen and (max-width: 750px) {
    .books__container {
        flex-direction: column;
        margin-left: 0;
    }

    .books__box {
        width: 100%;
    }

    .authors-on-hover {
        top: 25px;
        left: 0;
    }
}

/* media query 500px */

@media (max-width: 500px) {
    .books__container {
        padding: 0;
        margin: 0;
    }

    .books__box_top {
        margin: 20px 0 0 0;
        flex-direction: column;
        align-items: center;
    }
}