
#product_comments_block_tab div.star:after {
    content: "\f006";
    font-family: "FontAwesome";
    display: inline-block;
    color: #ff8f00;
}

#product_comments_block_tab div.star_on:after {
    content: "\f005";
    font-family: "FontAwesome";
    display: inline-block;
    color: #ff8f00;
}

#product_comments_block_tab div.star {
    float: left;
    font-size: 16px;
    margin-top: -5px;
}

#product_comments_block_extra div.star:after {
    content: "\f006";
    font-family: "FontAwesome";
    display: inline-block;
    color: #ff8f00;
}

#product_comments_block_extra div.star_on:after {
    content: "\f005";
    font-family: "FontAwesome";
    display: inline-block;
    color: #ff8f00;
}

#product_comments_block_extra div.star {
    float: left;
    font-size: 16px;
    margin-top: -1px;
}

.product_comment-info{
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

#product_comments_block_tab .product_comment-info .star-content img {
    transform: scale(0.85);
}

.product-comment{
    width: 95%;
    padding-left: 20px;
    padding-right: 10px;
}

.comment-item .comment-body:before {
    border-color: transparent #e0e0e0 transparent transparent;
    left: -10px;
}

.comment-item .comment-body:after {
    border-color: transparent #fff transparent transparent;
    left: -8px;
}

.comment-item .comment-body {
    border-bottom: 1px solid #e0e0e0;
    padding: 21px;
    position: relative;
}

.comment-item .comment-body .author {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
}

.comment-item .comment-body .author {
    font-weight: 500;
    text-transform: capitalize;
}

.comment-item .comment-body .date {
    color: #8c8c8c;
    margin-right: 15px;
}

.comment-item .comment-body .date {
    font-size: 14px;
    line-height: 26px;
}

#new_comment_form h3 {
    border-bottom: 1px solid #ececec;
    font-size: 24px;
    font-weight: 400 !important;
    line-height: 40px;
}

#new_comment_form p {
    color: #747474;
    margin-top: 15px;
}

#new_comment_form #criterions_list .star a {
    display: none;
}

#new_comment_form div.star:after {
    content: "\f006";
    font-family: "FontAwesome";
    display: inline-block;
    color: #ffd800;
}

#new_comment_form div.star_on:after {
    content: "\f005";
    font-family: "FontAwesome";
    display: inline-block;
    color: #ffd800;
}

#new_comment_form div.star:before {
    color: #e6e6e6;
    font-size: 19px;
}

#new_comment_form div.star_on:before {
    color: #ffd800;
}

#new_comment_form .star {
    float: left;
    font-size: 19px;
}

.comment-form input[type="text"], .comment-form textarea {
    border: 1px solid #ccc;
    border-radius: 3px;
    color: #3d3d3d;
    padding: 10px;
    transition: all 0.3s ease 0s;
    width: 100%;
}

.comment-form .form-submit button[type="submit"] {
    border: medium none;
    border-radius: 4px;
    color: #fff;
    display: inline-block;
    font-size: 15px;
    font-weight: bold;
    line-height: 20px;
    padding: 18px 52px;
    text-transform: capitalize;
    transition: all 0.3s ease 0s;
}

.comments_note .star_content .star {
    color: #ff8f00;
    font-size: 15px;
}

@media (max-width: 767px) {
    .comment-item .comment-body:before, .comment-item .comment-body:after {
        content: none;
    }
}

.star_content .star_row img {
    width: 15px;
    height: 17px;
    margin-left: 1px;
    float: left;
}

.product_comment-info .star_content .star_row img {
    width: 15px;
    margin-left: 1px;
    float: left;
    height: 20px;
}

.star_content .star_row img:first-child {
    margin-left: 0;
}
.star_content .star_row img {
    width: 16px;
    height: 17px;
    margin-left: 2px;
    float: left;
}
.comment_header{
    display: flex;
    flex-direction: row;
}
.confirmation_purchase_info{
    float: left;
    display: flex;
    flex-direction: row;
}
.confirmation_purchase_info img {
    margin-top: 4px;
    max-width: 16px;
    height: 16px;
    margin-left: 35px;
}
.confirmation_purchase_info p {
    width: 100%;
    height: 15px;
    margin-left: 5px;

    margin-top: 3px;
    font-size: 12px;
}

@media (max-width: 525px){
    .comment_header{
        flex-direction: column;
    }
    .confirmation_purchase_info img {
        margin-top: 0;
        margin-left: 0;
    }
    .confirmation_purchase_info p {
        margin-top: -2px;
    }
    .comment_content{
        margin-top:15px;
    }
}
#product_comments .star_block {
    margin-top: 15px;
}

#product_comments .star_block:first-child {
    margin-top: 0;
}

#product_comments .progress {
    height: 17px;
    border-radius: 5px;
    margin-left: 100px;
    width: 170px;
    float: left;
}

#product_comments .progress-bar {
    background-color: #A9A9A9;
}

#product_comments .star_percent {
    margin-left: 30px;
    float: left;
}

#product_comments .productcomments_row:last-child {
    border-left: 1px solid #d6d4d4;
}

#product_comments .productcomments_row {
    font-weight: 500 !important;
    margin: 30px 0;
}

#product_comments strong {
    font-weight: 500;
}

#product_comments label {
    font-family: 'Verdana', sans-serif !important;
    font-weight: 500 !important;
    padding-top: 0;
}

#product_comments #grades {
    display: inline-block;
}

#product_comments #grades img:hover {
    cursor: pointer;
}

.comment {
    border-bottom: 1px solid #d6d4d4;
    padding-top: 15px;
    padding-bottom: 15px;
    margin: 0 15px;
}

.comment_details {
    border-left: 1px solid #d6d4d4;
}

.comment:last-child {
    border-bottom: none;
}

@media (max-width: 1299px) {
    #product_comments .progress {
        margin-left: 30px;
    }
}

@media (max-width: 1199px) {
    #product_comments .progress {
        width: 130px;
    }
}

@media (max-width: 991px) {
    #product_comments form {
        margin-top: 0px !important;
    }

    .comment_details {
        padding-left: 20px;
    }

    #product_comments .progress {
        display: none;
    }

    .comment_details {
        border: none;
    }
}

.loader {
    display: none;
    border: 6px solid #f3f3f3; /* Light grey */
    border-top: 6px solid #99cc00;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    animation: spin 2s linear infinite;
    margin: auto;
}

.main-comment-container-title {
    font-size: 28px;
    color: #3d3d3d;
}

@media (max-width: 767px) {
    #add-review {
        margin-top: 20px;
    }
}

#opinion-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@media (max-width: 767px) {
    #product_comments .productcomments_row:last-child {
        border-left: none;
        border-top: 1px solid #d6d4d4;
    }

    .comment_author {
        padding-left: 20px !important;
    }

    #product_comments .star_percent {
        display: block;
    }

    #product_comments .progress {
        margin-left: 20px;
        width: 250px;
        display: block;
    }
}

@media (max-width: 615px) {
    #product_comments .progress {
        width: 185px;
    }
}

@media (max-width: 565px) {
    #product_comments .progress {
        width: 130px;
    }
}

@media (max-width: 490px) {
    #product_comments .progress {
        width: 60px;
    }
}

@media (max-width: 425px) {
    #product_comments .star_percent {
        margin-left: 10px;
    }

    #product_comments .progress {
        display: none;
    }
}

.add-comment-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0002;
    z-index: 9999;
    display: none;
}

.add-comment-popup-box {
    max-width: 650px;
    width: 100%;
    height: 190px;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    background: #FFF;
    border-radius: 10px;
    border: 3px solid #88CC00;
    z-index: 10000;
}

@media (max-width: 768px) {
    .add-comment-popup-box {
        width: 95%;
    }
}

.add-comment-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.add-comment-cross {
    top: -5px;
    right: 15px;
    font-size: 55px;
    color: #88CC00;
    position: absolute;
    cursor: pointer;
    z-index: 20;
}

.add-comment-flex-container {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.add-comment-desc {
    margin: 0 0 0 10px !important;
    font-size: 17px;
}

@media (max-width: 768px) {
    .add-comment-desc {
        font-size: 15px;
    }
}

.add-comment-close-button {
    position: absolute;
    bottom: -18px;
    background: #88cc00;
    width: 250px;
    padding: 7px 0;
    margin: 0 auto;
    left: 0;
    right: 0;
    border-radius: 10px;
    color: #FFF;
    font-size: 16px;
    text-align: center;
    outline: none;
    box-shadow: none;
    border: none;
    cursor: pointer;
}

.add-comment-popup input[type='text'] {
    position: absolute;
    bottom: 30px;
    max-width: 370px;
    width: 100%;
    font-size: 16px;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 8px 20px;
    border: 1px solid #0005;
    border-radius: 5px;
}

#popup-height {
    height: 290px;
}

@media (max-width: 768px) {
    .add-comment-popup input[type='text'] {
        font-size: 15px;
    }

    #popup-height {
        height: 440px;
        padding: 10px;
    }
}

/* Review */

.pc-review-stars.--1 img {
    width: 28px;
}

.pc-review-wrapper {
    margin-bottom: 50px;
    padding: 0 15px;
}

/* Review container */

.pc-review-container {
    text-align: center;
}

.pc-review-count {
    margin-top: 5px;
}

.pc-review-title {
    margin-bottom: 5px;
    color: #3d3d3d;
    font-size: 22px;
}

.pc-review-title.--sm {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 18px;
}

/* Review container: no reviews */

.pc-review-no-reviews p {
    margin-bottom: 20px;
}

.pc-review-stars.--no-reviews {
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .pc-review-stars.--no-reviews {
        margin-bottom: 42px;
    }
}

/* Review container: reviews */

.pc-review-reviews-info {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d6d4d4;
}

@media (min-width: 768px) {
    .pc-review-reviews {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .pc-review-reviews > div {
        width: 50%;
    }

    .pc-review-reviews-info {
        margin: 0;
        padding: 0;
        border-right: 1px solid #d6d4d4;
        border-bottom: 0;
    }

    .pc-review-reviews-info-rate {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pc-review-reviews-info-rate > :first-child {
        margin-right: 30px;
    }
}

@media (min-width: 1199px) {
    .pc-review-reviews {
        flex-direction: row;
        align-items: unset;
    }
}

/* Review form */

.pc-review-form-info {
    margin-bottom: 30px;
    padding-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid #d6d4d4;
}

.pc-review-form-rating {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.pc-review-form-submit {
    display: inline-block;
    width: auto;
    min-width: 245px;
}

.pc-review-form-submit-container {
    text-align: center;
}

.pc-review-form-wrapper {
    display: none;
}

.pc-review-title.--form-info {
    margin-bottom: 10px;
}

.reviews-user-rating {
    margin: -8px 0 0 20px;
}

@media (min-width: 768px) {
    .pc-review-form {
        flex: 1;
        margin-left: 6%;
    }

    .pc-review-form-container {
        display: flex;
    }

    .pc-review-form-info {
        width: 35%;
        max-width: 330px;
        margin: 0;
        padding: 0 30px 0 0;
        border-right: 1px solid #d6d4d4;
        border-bottom: 0;
    }

    .pc-review-title.--form-info {
        margin-bottom: 40px;
    }
}

@media (min-width: 1200px) {
    .pc-review-form-submit-container {
        float: right;
        min-width: 245px;
    }
}

/* Recaptcha */

.pc-recaptcha {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

@media (min-width: 1200px) {
    .pc-recaptcha {
        justify-content: flex-end;
    }
}

.pc-show-review-form-btn.disabled {
    border-color: #c6c6c6!important;
    background-color: #c6c6c6!important;
}

.product-comment-not-allowed {
    padding-top: 10px;
    font-weight: 600;
}
