﻿.content-comment-list {

    display: block;
}

.content-comment-list span {

    display: block;
    direction: rtl;
    font-size: 12px;
    color: #555;
    line-height: 2;
    border-bottom: 1px solid #ddd;
}

.content-comment-list .comments_item {

    padding: 0 0 35px;
    border: 1px solid #ddd;
    border-radius: 2px;
    margin: 10px 0 20px 0;
    direction: rtl;
    font-size: 12px;
    line-height: 2;
    position: relative;
    float: right;
    width: 100%;
}

.content-comment-list .comments_item .comm_answer {

    width: 95%;
    float: left;
    margin-left: 15px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    padding: 10px 15px;
    background-color: #f5f5f5;
}

.content-comment-list .comments_item .comm_answer .comm_answer_title {

    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
    padding-bottom: 2px;
    font-weight: bold;
}

.content-comment-list .comments_item .comm_answer .comm_answer_content {

    background-color: #fff;
    padding: 10px;
}

.content-comment-list .comments_item .comm_answer .comm_answer_line > div {

    border: 1px solid #ededed;
    padding: 5px;
    margin-bottom: 10px !important;
}

.content-comment-list .comments_item .comm_answer .comm_answer_line > div:nth-child(odd) {

    background-color: #fff;
}

.content-comment-list .comments_item .comm_answer .comm_answer_line > div:nth-child(even) {

    background-color: #f8f8f8;
}

.content-comment-list .comments_item .comm_answer .comm_answer_line > div:last-child {

    margin-bottom: 0 !important;
}

.content-comment-list .comments_item .comments tr > td:last-child {

    padding: 10px 15px;
    text-align: justify;
}

.content-comment-list .comm_info_bar {

    width: 100%;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    border-top: 1px solid #ddd;
    background-color: #fafafa;
    padding: 0;
    height: 35px;
}

.content-comment-list .comm_info_bar .comm_info_content .comm_sep {

    display: none;
}

.content-comment-list .comm_info_bar tr > td {

    position: absolute;
}

.content-comment-list .comm_info_bar tr > td:first-child {

    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
}

.content-comment-list .comm_info_bar tr > td:last-child {

    left: 6px;
    top: 6px;
}

.content-comment-list .comm_info_bar tr > td:nth-child(2) {

    left: 55px;
    top: 6px;
}

.content-comment-list .comm_answer_link .CommentForm {

    background-color: #043DB3;
    border: none;
    border-radius: 2px;
    padding: 2px 8px;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.content-comment-list .comm_answer_link .CommentForm:hover {

    background-color: #555;
}

.content-comment-list .comm_info_bar .comm_rating {

    width: 150px;
}

.content-comment-list .comm_info_bar .comm_rating > div {

    width: 43%;
    float: right;
    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 0 4px -3px #000 inset;
    margin: 0 5px;
    padding: 0 5px 0 2px;
}

.content-comment-list .comm_info_bar .comm_info_content > div {

    float: right;
    border-left: 1px solid #ddd;
    font-size: 12px;
    font-weight: lighter;
    line-height: 3;
    padding: 0 10px;
    direction: rtl;
    text-decoration: none;
}

.content-comment-list .comm_info_bar .comm_info_content > div:last-child {

    border: none;
}

.bottom-properties-comments .btns-left .view-like {

    background-color: #fff;
    border-radius: 2px;
    box-shadow: 0 0 4px -3px #000 inset;
    margin: 5px;
    padding: 0 5px 0 2px;
}

.content-comment-list .comm_info_bar .comm_rating > a {

    width: 16px;
    height: 16px;
    display: inline-block;
    border-radius: 2px;
    position: absolute;
    top: 4px;
}

.content-comment-list .comm_info_bar .comm_rating > .rate_up_link {

    background-color: #d70005;
    left: 10px;
}

.content-comment-list .comm_info_bar .comm_rating > .rate_down_link {

    background-color: #4cb050;
    left: 85px;
}

.content-comment-list .comm_info_bar .comm_rating > .rate_up_link {

    background-image: url('minus.png');
    background-size: 8px;
    background-repeat: no-repeat;
    background-position: center;
}

.content-comment-list .comm_info_bar .comm_rating > .rate_down_link {

    background-image: url('plus.png');
    background-size: 8px;
    background-repeat: no-repeat;
    background-position: center;
}

@media only screen and (min-width: 0px) and (max-width: 640px) {

    .content-comment-list table,
    .content-comment-list table tbody,
    .content-comment-list table tr,
    .content-comment-list table td {

        width: 100%;
        display: block;
    }

    .content-comment-list .comments_item {

        padding: 0px 0 72px;
    }

    .content-comment-list .comm_info_bar {

        height: 72px;
    }

    .content-comment-list .comm_info_bar tr > td:first-child {

        display: flex;
        justify-content: center;
        border-bottom: 1px solid #ddd;
        bottom: auto;
    }
    .content-comment-list .comm_info_bar tr > td:nth-child(2),
    .content-comment-list .comm_info_bar tr > td:last-child{
        
        width: auto;
        top: auto;
        bottom: 5px;
    }
    .content-comment-list .comments_item .comm_answer{
        
        width: 100%;
        margin-left: 0;
    }
}
