.comments {
    /*background: #FFF;*/
    font-size: 11px;
    display: flex;
    flex-direction: column;
    padding: 20px 10px;
}

.comments h3 {
    background-color: #1B69BD;
    border-bottom: 1px solid #807DB4;
    line-height: 24px;
    margin: 0;
    padding: 2px 6px;
    color: #FFF;
}

.comment h4 {
    border-bottom: 1px solid #DDD;
    line-height: 24px;
    margin: 0;
    padding: 2px 6px;
    font-size: 13px;
    direction: rtl;
    text-align: right;
}

.comment {
    font-size: 11px;
}

.comment td {
    padding: 4px 9px !important;
    text-align: right;
}

.comment label {
    padding: 0;
}

.comment input[type='text'], .comment textarea {
    width: 100%;
    background: #FFF;
    border: 1px solid #D7D7D7;
    padding: 2px;
    line-height: 20px !important;
    height: 30px;
    margin: 9px 0 0 0;
    border-radius: 7px;
}

.comment textarea {
    height: 150px !important;
}

.comment_success {
    padding: 4px;
    line-height: 14px;
    background: #8c2a22;
    border: 1px solid #FFF;
    border-radius: 4px;
    -moz-border-radius: 4px;
    color: #FFF;
    width: 99%;
    direction: rtl;
}

.comment .comments {
    width: 100%;
}

.CommentItems {
    border: 1px solid #ccc;
    border-radius: 6px;
    -moz-border-radius: 6px;
    margin: 15px 0;
    display: table;
    width: 100%;
    font-size: 13px;
    background-color: #fff;
}

.CommentItems .reply {
    width: 100%;
}

.comments .info, .info_reply {
    background-color: #F5F5F5;
    height: 28px;
    line-height: 26px;
    width: 100%;
    border-bottom: 1px solid #DDD;
}

.comments .date {
    float: right;
    padding-right: 10px;
    color: #666;
}

.comments .name {
    float: right;
    padding-right: 3px;
    color: #555555;
}

.comments .CMText {
    width: 100%;
    color: #333333;
    line-height: 18px;
    margin-bottom: 5px;
    text-align: right;
    padding: 5px;
    display: table;
    direction: rtl;
}

.comments .btnans {
    float: left;
    margin: 3px 2px 0;
    text-align: center;
}

.comments .btnans button {
    background-color: #DDD;
    border: 1px solid #807DB4;
    color: #555;
    height: 21px;
    line-height: 16px;
    display: inline-block;
    padding: 1px 5px;
    margin-left: 10px;
    border-radius: 3px;
    font-size: 11px;
    cursor: pointer;
}

.comments .btnans button:hover {
    color: #006;
}

#respond {
    width: 400px;
}

#comment_form img {
    vertical-align: middle;
    height: 40px;
}

.comment-list h3 {
    margin-bottom: 25px;
}

.rating {
    border: none;
}

.rating > input {
    display: none;
}

.rating > label:before {
    margin: 5px;
    font-size: 1.8em;
    font-family: FontAwesome;
    display: inline-block;
    content: "\f005";
}

.rating > .half:before {
    content: "\f089";
    position: absolute;
}

.rating > label {
    color: #ddd;
    width: auto !important;
    display: inline-block;
}

.rating > input:checked ~ label,
.rating:not(:checked) > label:hover,
.rating:not(:checked) > label:hover ~ label {
    color: #FFD700;
}

.rating > input:checked + label:hover,
.rating > input:checked ~ label:hover,
.rating > label:hover ~ input:checked ~ label,
.rating > input:checked ~ label:hover ~ label {
    color: #FFED85;
}

#code {
    border-radius: 8px;
    width: 174px;
    height: 31px;
    padding: 0 0 0 37px;
    position: relative;
}
#comment-form-result {
    background: #ce0909d1;
    color: #fff;
    font-size: 14px;
    direction: rtl;
    padding: 10px;
    display: none;
}
.text-warning{
    color: #fff!important;
}
.btn-comment{
    background: #ffe34a;
    color: #000000;
}