﻿.comments_note {
    margin-bottom: 5px
}

#productCommentsBlock .products-section-title-wrapper {
    text-align: center;
    width: 100%;
}
/* pop-in add grade/advice ********************************************************************* */
#fancybox-wrap {
    width: 585px
}

#fancybox-content {
    width: 585px;
    border-width: 0
}

#new_comment_form {
    width: 585px;
    color: #333;
    text-align: left;
    background-color: #fff
}

    #new_comment_form .title {
        padding: 10px;
        font-size: 13px;
        color: #ffffff;
        text-transform: uppercase;
        background: #aaaaaa
    }

#productCommentsBlock {
    clear: both;
}

#new_comment_form ul.grade_content {
    list-style-type: none
}

#new_comment_form .grade_content li {
    width: 50%
}

#new_comment_form .product {
    padding: 15px
}

    #new_comment_form .product img {
        float: left;
        border: 1px solid #ccc;
    }

    #new_comment_form .product .product_desc {
        float: left;
        margin-left: 15px;
        line-height: 18px;
        color: #666
    }

        #new_comment_form .product .product_desc .product_name {
            padding-bottom: 5px;
            font-size: 13px;
            color: #000
        }

#new_comment_form .grade_content {
    margin: 0 0 20px 0
}

    #new_comment_form .grade_content span,
    #new_comment_form .grade_content span {
        display: inline-block;
        padding: 0 10px;
        width: 150px; /* 160 */
        font-weight: bold
    }

    #new_comment_form .grade_content .cancel {
        margin-right: 5px
    }

.new_comment_form_content {
    padding: 20px;
    background: #fff;
}

    .new_comment_form_content .intro_form {
        padding-bottom: 10px;
        font-weight: bold;
        font-size: 12px
    }

#new_comment_form label {
    display: block;
    margin: 12px 0 4px 0;
    font-weight: bold;
    font-size: 13px;
    text-align: left;
}

#new_comment_form input {
    padding: 0 5px;
    height: 28px;
    width: 100%;
    border: 1px solid #ededed;
    background: #fff;
}

#new_comment_form textarea {
    padding: 0 5px;
    height: 80px;
    width: 100%;
    border: 1px solid #ededed;
    background: #fff;
}

#new_comment_form .submit {
    margin-top: 20px;
    padding: 0;
    font-size: 13px;
    text-align: right
}

#new_comment_form #criterions_list {
    border-bottom: 1px solid #CCC;
    padding-bottom: 15px;
    list-style-type: none;
}

    #new_comment_form #criterions_list li {
        margin-bottom: 10px;
    }

    #new_comment_form #criterions_list label {
        display: inline;
        float: left;
        margin: 2px 10px 0 60px;
        text-align: right;
        min-width: 150px;
    }

.comments_note {
    display: inline-block;
    margin: auto;
}

    .comments_note div.star, #productCommentsBlock div.star {
        display: inline-block;
        float: left;
        width: 15px;
        height: 22px;
    }

.pp-right-column .comments_note .star_content {
    display: inline-block;
    vertical-align: top;
}

.pp-right-column .comments_note .total-rating {
    display: inline-block;
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 10px;
}


/*.comments_note div.star_on, #productCommentsBlock div.star_hover, #productCommentsBlock div.star_on {
    background: url(img/star.png) no-repeat scroll 0 0 transparent !important;
}

.comments_note div.star, #productCommentsBlock div.star, #productCommentsBlock div.star_on {
    background: url(img/star-no.png) no-repeat scroll 0 0 transparent
}
*/
.comments_note div.star:before, #productCommentsBlock div.star:before,
#productCommentsBlock div.star_on:before,
#new_comment_form div.star:before,
#new_comment_form div.star_on:before {
    content: '\f006';
    color: #bbbbbb;
}

.comments_note div.star_on:before,
#productCommentsBlock div.star_hover:before,
#productCommentsBlock div.star_on:before,
#new_comment_form div.star_hover:before,
#new_comment_form div.star_on:before {
    content: '\f005' !important;
    color: #ffb700;
}

.comments_note div.star:before, #productCommentsBlock div.star:before, #new_comment_form div.star:before {
    font-family: 'FontAwesome';
    content: '\f005';
}
.comments_note div.star:before,
#productCommentsBlock div.star:before {
    font-size: 8px;
}

.comments_note div.star:before,
#productCommentsBlock div.star:before {
    font-size: 12px;
}

#new_comment_form div.star:before {
    font-size: 22px;
}

#new_comment_form div.star {
    display: inline-block;
    float: left;
    width: 28px;
    height: 28px;
}

.products .product_list.list .comments_note {
    display: block;
    margin-top: 15px;
    margin-bottom: 13px;
}

#left-column .products-block ul li .product-info .comments_note .total-rating,
#right-column .products-block ul li .product-info .comments_note .total-rating,
.products .product_list .comments_note .total-rating {
    display: none;
}
/*#new_comment_form div.star_hover, #new_comment_form div.star_on {
    background: url(img/star.png) no-repeat scroll 0 0 transparent !important;
}

#new_comment_form div.star, #new_comment_form div.star_on {
    background: url(img/star-no.png) no-repeat scroll 0 0 transparent
}*/

#new_comment_form, #new_comment_form_footer {
    margin-top: 20px;
    font-size: 12px;
}

    #new_comment_form div.star a, #productCommentsBlock .star a {
        display: none;
    }

/* TAB COMMENTS ******************************************************************************** */
#product_comments_block_tab {
    margin: 20px 0 20px;
    clear: both;
}

    #product_comments_block_tab div.comment {
        margin: 0 0 14px;
        padding-top: 20px;
        border-top: 1px solid #dfdfdf;
    }

        #product_comments_block_tab div.comment:first-child {
            padding: 0;
            border: none;
        }

        #product_comments_block_tab div.comment div.comment_author {
            padding: 0 20px 0 0;
            line-height: 18px;
            text-align: center;
            color: #262626;
        }

    #product_comments_block_tab .comment_author span {
        font-weight: 500;
        float: left;
    }

    #product_comments_block_tab div.comment div.comment_author span {
        font-weight: bold;
    }

    #product_comments_block_tab div.comment div.comment_author span,
    #product_comments_block_tab div.comment .star_content {
        float: left;
    }

    #product_comments_block_tab div.comment .star_content {
        margin: 0;
        display: inline-block;
        vertical-align: middle;
        float: none;
    }

    #product_comments_block_tab .comment_author_infos {
        clear: both;
        padding-top: 5px;
        line-height: 24px;
    }

        #product_comments_block_tab .comment_author_infos em {
            color: #999
        }

    #product_comments_block_tab div.comment div.comment_details {
        overflow: hidden;
        border-left: 1px solid #dfdfdf;
        text-align: left;
    }

    #product_comments_block_tab div.comment_details .title_block, #product_comments_block_tab div.comment_details h4 {
        padding-bottom: 5px;
        font-size: 15px;
        color: #262626;
    }

    #product_comments_block_tab div.comment_details p {
        padding-bottom: 10px
    }

    #product_comments_block_tab div.comment_details ul {
        list-style-type: none;
        margin: 0
    }

    #product_comments_block_tab div.comment_details li {
        padding: 2px 0 2px 12px;
        background: url(img/bg_li.png) no-repeat 1px 45% #fff
    }

    #product_comments_block_tab a {
        text-decoration: none;
        font-weight: bold
    }

        #product_comments_block_tab a:hover {
            text-decoration: underline
        }

    #product_comments_block_tab button.usefulness_btn {
        cursor: pointer;
        margin: 0 0 0 5px;
        display: inline-block;
        padding: 0 2px;
        border: 1px solid #c0c0c0;
        border-radius: 3px 3px 3px 3px;
        color: #000;
        font-weight: bold;
    }

        #product_comments_block_tab button.usefulness_btn:hover {
            background-position: left -50px
        }

        #product_comments_block_tab button.usefulness_btn:active {
            background-position: left -100px
        }

    #product_comments_block_tab span.report_btn {
        cursor: pointer
    }

        #product_comments_block_tab span.report_btn:hover {
            text-decoration: underline;
            color: #34d264;
        }

.fl {
    float: left;
}

.fr {
    float: right;
}

.open-comment-form {
    margin-bottom: 5px;
    margin-top: 5px;
    margin-right: 5px;
}


#newCommentForm {
    display: none;
    background: #FFF;
}

#product_comments_block_tab .comment_details ul li {
    font-size: 12px
}

#new_comment_form #content {
    width: 100% !important;
    max-width: 100% !important;
}

#new_comment_form_ok {
    overflow: hidden;
    clear: both;
}

@media (max-width: 575px) {
    .products .product_list.list li .comments_note div.star, .products .product_list.list li #productCommentsBlock div.star {
        float: none;
        width: 13px;
    }
}
