.book-container {
    /*background-image: url('../images/logo_bg.png');*/
    /*background-size: cover;*/
    /*background-repeat: no-repeat;*/
    /*background-attachment: fixed;*/
}

.book-container h1 {
    margin: 35px 0;
    font-size: 35px;
    margin-top: 10% !important;
}

.book-container .book-details {
    background: #1C1C1C;
    padding: 15px 0;
}

.book-container .book-details img {
    border-radius: 5px;
}

.book-container .book-details .book-details-content,
.book-container .book-details .book-actions {
    background: #303030;
    border-radius: 5px;
    padding: 20px 15px;
    height: 100%;
}

.book-container .book-details .book-details-content h3,
.book-container .book-details .book-actions h3 {
    font-size: 18px;
}

.book-container .book-details .book-details-content .category {
    font-size: 14px;
    color: #fff;
    font-weight: bold;
    margin: 0;
}
.book-container .book-details .book-details-content .tags {
    font-size:12px;
    color: #878787;
    font-weight: bold;
}

.book-container .book-details .book-details-content .description {
    overflow-y: scroll;
    height: 184px;
}

.book-container .book-details .book-actions .price-label {
    color: #fff;
    font-size: 16px;
}

.book-container .book-details .book-actions .add-to-cart {
	background: var(--iq-body-text);
	border-radius: 5px;
	text-align: center;
	font-weight: 600;
	cursor: pointer;
	padding: 5px;
	width: 100%;
	margin-bottom: 17px;
	color:var(--iq-primary);
	border-color: var(--iq-body-text);
}
.add-to-cart:hover{
	background: var(--iq-primary) !important;
	color: var(--iq-body-text) !important;
	border-color: var(--iq-primary) !important;

}

.book-container .book-details .book-actions .add-to-wishlist {
	background: var(--iq-body-text);
	border-radius: 5px;
	text-align: center;
	font-weight: 600;
	cursor: pointer;
	padding: 5px;
	width: 100%;
	margin-bottom: 17px;
	color:var(--iq-primary);
	border-color: var(--iq-body-text);

}
.add-to-wishlist:hover{
	background: var(--iq-primary) !important;
	color: var(--iq-body-text) !important;
	border-color: var(--iq-primary) !important;

}
.book-container .book-details .book-actions .buy_now {
	background: var(--iq-primary);
	border-radius: 5px;
	text-align: center;
	font-weight: 600;
	cursor: pointer;
	padding: 5px;
	width: 100%;
	margin-bottom: 15px;
	color:var(--iq-body-text);
	border-color: var(--iq-primary);
}
.buy_now:hover{
	background: var(--iq-body-text) !important;
	color: var(--iq-primary) !important;
	border-color: var(--iq-body-text) !important;

}

.book-container .book-details .book-actions .share-buttons {
    position: absolute;
    bottom: 0;
}

.book-container .book-details .book-actions .share-buttons ul {
    padding: 0;
}

.book-container .book-details .book-actions .share-buttons ul li {
    display:inline;
    margin-right: 15px;
}

.book-container .book-details .book-actions .share-buttons ul li a {
    font-size: 32px;
}

.book-reviews .header-title {
    font-size: 25px;
    margin: 25px 0;
}

.book-reviews .header-title .view-all {
    line-height: 2.5em;
    font-size: 12px;
    float: right;
}
.book-reviews .write-review a {
    color: var(--iq-primary);
    font-weight: bold;
}

.book-container .card-container {
    background: #303030;
    border-radius: 5px;
    padding: 10px 25px;
    height: 100%;
}

.review-listing .review-writer {
    float: right;
}

.direction-rtl .review-listing .review-writer {
    float: left ;
}


.review-listing .review-title {
    font-weight: bold;
    color: #fff;
    margin-left: 15px;
}

.review-listing-item-header {
    margin-bottom: 10px;
}
.side {
    float: left;
    width: 20%;
    font-size: 14px;
}

.direction-rtl .side {
    float: right;
}
.middle {
    float: left;
    width: 60%;
}

.direction-rtl .middle {
    float: right;
}

.right {
    text-align: right;
}

.direction-rtl .right {
    text-align: left;
}

.row:after {
    content: "";
    display: table;
    clear: both;
}

.bar-container {
    width: 100%;
    background-color: #545454;
    text-align: center;
    color: white;
}


@media (max-width: 400px) {
    .side, .middle {
        width: 100%;
    }
    .right {
        display: none;
    }
}

.rating-choose {
    border: none;
    display: inline-table;
}

.rating-choose > input { display: none; }
.rating-choose > label:before {
    margin: 5px;
    font-size: 1.25em;
    font-family: FontAwesome;
    display: inline-block;
    content: "\f005";
}

.rating-choose > label {
    color: #ddd;
    float: right;
    margin: 0;
}


.rating-choose > input:checked ~ label,
.rating-choose:not(:checked) > label:hover,
.rating-choose:not(:checked) > label:hover ~ label { color: var(--iq-primary);  }

.rating-choose > input:checked + label:hover,
.rating-choose > input:checked ~ label:hover,
.rating-choose > label:hover ~ input:checked ~ label,
.rating-choose > input:checked ~ label:hover ~ label { color: var(--iq-primary-hover);  }



.author-books {
    background: #1C1C1C;
    border-radius: 5px;
    padding: 30px 0;
}

.author-books .header-title {
    font-size: 25px;
    margin: 25px 0;
}

.author-books .header-title .view-all {
    line-height: 2.5em;
    font-size: 12px;
    float: right;
}

.related-books {
    background: #000000;
    border-radius: 5px;
    padding: 30px 0;

}

.related-books .header-title {
    font-size: 25px;
    margin: 25px 0;
}

.modal-dialog {
    pointer-events: all !important;
}

#WriteReview .container-modal-fluid {
    width: 100%;
    padding: 15px;
    margin-right: auto;
    margin-left: auto;
    background: #000000;
    border-radius: 20px;
}

#WriteReview .modal-book-details p {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: bold;
}

#WriteReview .book-image {
    border-radius: 5px;
}

#WriteReview h4 i {
    font-size: 32px;
}
#WriteReview h5 {
    font-size: 22px;
    font-weight: bold;
    color: var(--iq-primary);
}

#WriteReview .form-control {
    height: 45px;
    line-height: 45px;
    background: #878787;
    font-size: 14px;
    color: var(--iq-white);
    border: 0;
    border-radius: 5px;
}

.user-input-wrp {
    position: relative;
}
.user-input-wrp .floating-label {
    position: absolute;
    pointer-events: none;
    top: 10px;
    left: 10px;
    transition: 0.2s ease all;
}
.user-input-wrp input:focus ~ .floating-label,
.user-input-wrp input:not(:focus):valid ~ .floating-label,
.user-input-wrp textarea:focus ~ .floating-label,
.user-input-wrp textarea:not(:focus):valid ~ .floating-label

{
    top: 0;
    left: 11px;
    font-size: 10px;
    opacity: 1;
}

.review_textarea_count {
    display: block;
    margin-bottom: 10px;
}

.book-icons img {
    float: right;
    margin: 0 5px;
    width: 25%;
}

.direction-rtl .book-icons img {
    float: left;
}

@media (max-width:480px) {
    .book-container .book-details .book-actions .share-buttons {
        position: relative !important;
    }

    .book-image {
        display: block;
        margin: auto;
        margin-bottom: 15px;
        width: 50%;
    }

    .book-reviews-section div {
        margin-bottom: 5px;
    }
}

.book-info {
    padding: 5px 0;
    border-top: 1px solid #707070;
    border-bottom: 1px solid #707070;
}
.book-info p {
    font-weight: bold;
    margin: 0;
    color: #fff;
}


@media (max-width: 767px) {
    .col-12.review-listing-item.mb-3, .col-6.col-md-4 ,.col-12.col-md-4 {
        margin-bottom: 30px !important;
    }
    .row.mb-3.book-reviews-section {
        margin-bottom: 0 !important;
    }
    .col-sm-12.col-md-6 {
        margin: 15px 0;
    }
    .col-sm-12.col-md-3{
        margin-top: 15px;
    }
    .book-container h1{
        font-size: 25px;
        text-align: center;
    }
}
