
.comments_container {
    width: 100%;
    margin-top: 20px;
}

.list_comments_item .comments_item:last-child {
    margin-bottom: 0px;
    border-bottom: 0px;
}

.comments_item {
    width: 100%;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #D9D9D9;
}

.admin_icon {
    margin-left: 5px;
    margin-bottom: 0;
    margin-top: 2px;
    color: #2F2F2F;
    float: right;
}

.comments_topic .name_sec,
.replay_comm .name_sec,
.comments_topic2 .name_sec {
    display: flex;
    gap: 5px;
    cursor: pointer;
}

.replay_comm .speical_head .header_news_bg {
    background-color: #676666 !important;
}

.comm_admin_reply p {
    margin: 0;
}

.replay_comm {
    width: 100%;
    margin-bottom: 0px !important;
    margin-top: 10px;
    background-color: #E6E6E6;
    padding: 20px;
    border-radius: var(--radius-shape-md);
}

.replay_comm .section_header {
    margin-bottom: 15px;
}

.answer_comment_header {
    margin-bottom: 17px !important;
}

.answer_comment_header .middle_header {
    margin-bottom: 0px;
}

.answer_comment_header .middle_header .name_sec .name {
    background-color: #E9993A !important;
    font-family: IRANSansFaNum-medium;
    font-size: 16px;
    font-weight: 500;
    line-height: 27.13px;
    text-align: center;
    color: #FFF;
}

.answer_comment_header .middle_header .name_sec:before,
.answer_comment_header .middle_header .name_sec:after {
    content: url('/client/themes/fa/main/img/titr_light_orange.svg') !important;
}

.replay_buttons .border_btn,
.replay_buttons .border_btn > input,
.replay_buttons_2 .border_btn,
.replay_buttons_2 .border_btn > input {
    width: 100%;
    height: 45px;
}

.replay_buttons_2,
.replay_buttons {
    display: flex;
    gap: 11px;
}

.replay_buttons_2 .border_btn .style_btn,
.replay_buttons .border_btn .style_btn {
    font: 14px IRANSansFaNum-medium;
    text-align: center;
    border-radius: var(--radius-shape-md);
}

.replay_buttons_2 .border_btn .submitBtn,
.replay_buttons .border_btn .submitBtn {
    background-color: var(--mainOrangeColor);
    color: #FFF;
    border: none;

}

.replay_buttons .border_btn .submitBtn:hover {
    transition: var(--transition-effect);
    background-color: var(--mainRedColor);
}

.replay_buttons_2 .border_btn .cancelBtn,
.replay_buttons .border_btn .cancelBtn {
    border: 1px solid var(--mainOrangeColor);
    color: var(--mainOrangeColor);
    background-color: var(--white);
}

.replay_buttons .border_btn .cancelBtn:hover {
    transition: var(--transition-effect);
    border: 1px solid var(--mainRedColor);
    color: var(--mainRedColor);
}

.comm_title_box {
    width: 100%;
    overflow: hidden;
    background: #AFC7D9;
}

.webCommentLogo {
    background: url('/client/themes/fa/main/img/comment_logo.png') no-repeat center center;
    display: block;
    width: 44px;
    height: 34px;
}

@media (min-width: 480px) {
    .comm_title_box {
        padding-right: 18px;
        height: 25px;
    }
}

@media (max-width: 480px) {
    .comm_title_box {
        height: 51px;
    }

}

.com_title {
    width: 137px;
    height: 29px;
    overflow: hidden;
    /*  background: url('/client/themes/fa/main/img/r_sec_sar.gif') no-repeat 0px 0px;; */
    text-decoration: none;
    font: normal 11px tahoma;
    text-align: right;
    line-height: 29px;
    color: #000;
    float: right;
    text-indent: 23px;
}

.com_title_p {
    height: 24px;
    overflow: hidden;
    font: normal 10px tahoma;
    line-height: 22px;
    color: #6F6F6F;
    margin-right: 15px;
    padding-right: 5px;
    border-left: 1px solid #FFF;
    text-align: center;
}

.com_title_u {
    height: 24px;
    overflow: hidden;
    font: normal 10px tahoma;
    line-height: 22px;
    color: #6F6F6F;
    margin-right: 0px;
    padding-right: 5px;
    text-align: center;
}

.com_title_n {
    width: 100%;
    height: 24px;
    overflow: hidden;
    font: normal 11px tahoma;
    line-height: 22px;
    color: #6F6F6F;
    margin-right: 0px;
    padding-right: 5px;
    text-align: center;
}

.comm_title_u span, .comm_title_p span {
    font: 10px tahoma;
    line-height: 16px;
}

.comm_info_bar {
    display: flex;
    width: 100%;
    justify-content: start;
    align-items: center;
    margin-bottom: 12px;
}

.comm_answer_link {
    display: flex;
    gap: 4px;
}

.comm_answer_link a {
    font: 12px IRANSansFaNum-medium;
    text-align: left;
    color: #FF7C7C !important;
}

.comm_sep {
    width: 0.5px;
    height: 20px;
    color: #2D2C2C;
    margin-inline: 16px;
}

.comm_info_name {
    font: 14px IRANSansFaNum-medium;
    text-align: right;
    white-space: nowrap;
}


.comm_info_country {
    width: 26px;
    height: 19.5px;
    text-align: center;
}

.comm_info_country img {
    display: block;
    width: 26px;
    height: 20px;
    margin: auto;
}

.comm_info_date {
    font: 12px IRANSansFaNum-regular;
    margin-block: 8px;
}

.comm_rating {
    display: flex;
    gap: 24px;
}

.rating_down,
.rating_up {
    display: flex;
    flex-direction: column;
    font-family: IRANSansFaNum-medium;
    font-size: 12px;
    font-weight: 500;
    line-height: 19px;
    text-align: right;
    color: var(--mainTextColor);
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.rate_down_link,
.rate_up_link {
    width: 24px;
    height: 24px;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.rate_down_link {
    background: url('/client/themes/fa/main/img/down_like.svg') no-repeat;
}


.rate_down_link:hover {
    background: url('/client/themes/fa/main/img/down_like_hover.svg') no-repeat !important;
    transition: all 0.3s ease-in-out;
}

.rate_up_link {
    background: url('/client/themes/fa/main/img/up_like.svg') no-repeat;
}


.rate_up_link:hover {
    background: url('/client/themes/fa/main/img/up_like_hover.svg') no-repeat !important;
    transition: all 0.3s ease-in-out;
}

.rating_up_num,
.rating_down_num {
    font: 12px IRANSansFaNum-medium;
}

.comm_answer {
    width: 100%;
}

.comm_answer_title {
    width: 100%;
    height: 22px;
    border-bottom: 1px solid #C0C0C0;
    background: url('/client/themes/fa/main/img/sar_pasokh.gif') no-repeat right;
    font: 11px tahoma;
    text-indent: 25px;
    color: #000;
    line-height: 21px;
}

.comm_answer_content {
    width: 100%;
    margin-block: 16px;
}

.comm_answer_line {
    width: 100%;
    position: relative;
    margin-top: 10px;
    background-color: #F2F2F2;
    border-radius: var(--radius-shape-md);
    font: 14px/22px IRANSansFaNum-regular;
}

.comm_admin_reply:before,
.comm_answer_line:before {
    content: url('/client/themes/fa/main/img/replay.svg');
    position: absolute;
    bottom: 50%;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 22px;
    height: 19.07px;

}

.comment_answer_1 {
    float: right;
    width: 14px;
}

.comment_answer_2 {
    float: right;
    color: var(--mainTextColor);
    font: 13px IRANSansFaNum-medium;
    padding-right: 15px;
    text-wrap: nowrap;
}

.comment_answer_3 {
    float: right;
    width: 7px;
}

.comment_answer_4 {
    float: right;
    width: 30px;
}

.comment_answer_5 {
    font: 12px IRANSansFaNum-regular;
    text-align: right;
    color: var(--mainTextColor);
    padding-right: 20px;
    text-wrap: nowrap;
}


.comment_reply_msg {
    color: #116DD6;
    direction: rtl;
    text-align: center;
    padding: 5px 30px 5px 5px;
    background: #EDEDED;
    margin-bottom: 5px;
}

.comment_answer_c {
    display: flex;
    align-items: center;
    justify-content: start;
    padding-bottom: 15px;
    margin-bottom: 7px;
    border-bottom: 1px solid #9c9c9c;
}

.comment_answer_c img {
    margin-top: 4px;
}

.comment_answer_c span {
    display: block;
    width: 2px;
    height: 20px;
    float: right;
    color: #FFF;
    padding: 0 15px;
    font: 11px tahoma;
    line-height: 18px;
}

/*----------------cm-form---------------*/
.height-cm-form {
    background: #f3f3f3;

}

.marg-t-cm-form {
    margin-top: 20px;
}

#comm_b {
    margin: 15px 0px 0px 0px !important;
}

#comm_form {
    padding: 0px !important;
    margin: 0px !important;
}

.padd-cm {
    padding-left: 10px;
}


.comm_title_box_photo {
    color: #fff;
    font: 18px/48px nassim-bold;
    height: 68px;
    padding: 20px 0 15px;
    overflow: hidden;
    padding-right: 50px;
    text-align: right;
    background: none;
    margin-bottom: 0px;
    width: 100%;
}

#comm_b .comm_title_box_photo {
    width: 1150px !important;
}

.comment_form_main {
    margin-bottom: 30px;
    background-color: #f2f2f2;
    padding: 20px;
    background-color: #F2F2F2;
    border-radius: 0px var(--radius-md) 0px var(--radius-md);
}

.comment_form_main .section_header.green_header div {
    cursor: pointer;
}

.comment_form_main .form-control {
    padding: 20px;
    border-radius: 0px var(--radius-md) 0px var(--radius-md);
    background-color: var(--white);
    margin-bottom: 10px;
    border: none;
    font: 13px IRANSansFaNum-medium;
    color: var(--mainTextColor);
}

.comment_form_main .form-control::placeholder {
    font: 13px IRANSansFaNum-medium;
    text-align: right;
    color: var(--mainTextColor);
}

.comment_form_main .btn {
    width: 100%;
    border-radius: var(--radius-shape-md);
    font: 14px IRANSansFaNum-medium;
    text-align: center;
    color: var(--white);
    background: var(--mainOrangeColor) no-repeat calc(50% + 40px) 50%;
    border: 2px solid var(--mainOrangeColor);
    background-image: url('/client/themes/fa/main/img/send.svg');
    height: 45px;
}

.comment_form_main .btn:hover {
    transition: var(--transition-effect);
    background: var(--mainRedColor) no-repeat calc(50% + 40px) 50%;
    border: 2px solid var(--mainRedColor);
    background-image: url('/client/themes/fa/main/img/send.svg');
}

.comment_form_main input.form-control {
    height: 45px;
}

.replay_comm #comment_message,
.comment_form_main #com_message {
    height: 100px;
    margin-bottom: 0px;
}
.capt_lable{
    padding-right: 10px;
}

.send_comment_form_sec {

    width: 100%;
    margin: 0px !important;
}

.comment_form_main .speical_head {
    margin-bottom: 8px !important;
    margin-top: 0px !important;
}

.replay_comm .form-control {
    background-color: #FFFFFF;
}

.replay_comm #comment_message,
.replay_comm #comment_message::placeholder {
    font-family: IRANSansFaNum-regular;
    font-size: 13px;
    font-weight: 400;
    line-height: 19px;
    text-align: right;
    color: var(--mainTextColor);
}

.comm_admin_reply {
    background-color: #FFF;
    border: 1px solid var(--hoverTextColor);
    color: var(--mainTextColor);
    padding: 15px 82px 12px 0px;
    position: relative;
    margin-top: 16px;
    font: 14px IRANSansFaNum-regular;
    border-radius: var(--radius-shape-md);
}

.comm_admin_reply_text {
    font: 14px IRANSansFaNum-regular;
    color: var(--mainTextColor);
    padding-left: 10px;
}

.info_sub_comments {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comments_text {
    font: 16px IRANSansFaNum-regular;
    text-align: right;
}

.comm_admin_reply_top {
    display: flex;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--hoverTextColor);
    margin-bottom: 7px;
    align-items: center;
}

.comm_admin_reply_top .name_sec {
    display: flex;
    gap: 15px;
    font: 13px IRANSansFaNum-medium;
    color: var(--mainRedColor);
    text-wrap: nowrap;
    align-items: center;
}

.comm_admin_reply_top .date {
    padding-right: 20px;
    font: 12px IRANSansFaNum-regular;
    color: var(--mainRedColor);
    text-wrap: nowrap;
}

.comment_form_main .main_head .head_name_sec .head_title {
    cursor: pointer;
}

.comments_main_sec {
    background: var(--white);
    border: 1px solid #B3B3B3;

}

.comments_topic ,
.comments_topic2 {
    width: fit-content;
}

/*=== responsive ===*/
@media only screen and (min-width: 992px) {
    .comment_answer_5 {
        margin-right: 32px;
    }
}

@media only screen and (min-width: 768px) {
    .replay_buttons_2 {
        display: none;
    }

    .send_comment_form_sec .right_comment_side {
        padding-left: 7px;
    }

    .send_comment_form_sec .left_comment_side {
        padding-right: 7px;
    }
}

@media only screen and (max-width: 767px) {
    .replay_buttons {
        display: none;
    }

    .replay_buttons_2 {
        margin-top: 10px;
    }

    .comment_submit_btn_1 {
        display: none;
    }

    .comment_submit_btn_2 {
        padding-top: 10px;
    }

    .comment_answer_c,
    .comm_admin_reply_top {
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (min-width: 576px) {
    .comm_answer_line {
        padding: 15px 82px 12px 0px;
    }

    .comm_answer_line .comm_admin_reply {
        margin-left: 10px;
    }

    .comm_admin_reply:before, .comm_answer_line:before {
        right: 30px;
    }
}

@media (max-width: 575px) {
    .comm_admin_reply:before, .comm_answer_line:before {
        right: 15px;
    }

    .comment_answer_c .comment_answer_5,
    .comment_answer_c .comment_answer_2,
    .comm_admin_reply_top .date {
        padding-right: 5px;
    }

    .comment_answer_c {
        padding-bottom: 5px;
    }

    .comm_admin_reply, .comm_answer_line {
        padding: 15px 48px 12px 10px !important;
    }

    .comment_form_main {
        padding: 10px;
    }
}
