/* 发表评论 */

.write-comments {
    background: #f9f9f9;
    margin-top: 2px;
    margin-bottom: -40px;
    padding-bottom: 40px;
}

.write-comments .comments-box {
    background: #fff;
    padding: 30px 20px;
    box-shadow: 0 0 4px rgba(0, 0, 0, .05);
    display: flex;
}

.write-comments .comments-box .goods-msg {
    padding: 20px 50px 20px 30px;
    width: 278px;
    border-right: 1px dotted #ddd;
}

.write-comments .comments-box .goods-msg .img {
    width: 100px;
    height: 100px;
    margin: auto;
    font-size: 0;
}

.write-comments .comments-box .goods-msg .img img {
    width: 100%;
    height: 100%;
}

.write-comments .comments-box .goods-msg .name {
    display: block;
    margin-top: 15px;
    line-height: 20px;
    margin-bottom: 10px;
    font-size: 13px;
}

.write-comments .comments-box .goods-msg .name:hover {
    color: #e1251b;
}

.write-comments .comments-box .goods-msg .sku {
    color: #999;
}

.write-comments .comments-box .goods-msg .order-number {
    margin-top: 30px;
    color: #999;
}

.write-comments .comments-box .goods-msg .order-number .number {
    color: #000;
    font-family: arial;
}

.write-comments .comments-box .goods-msg .order-number .number:hover {
    color: #e1251b;
}

.write-comments .comments-box .goods-msg .deal-time {
    margin-top: 5px;
    color: #999;
}

.write-comments .comments-box .goods-msg .deal-time .number {
    font-family: arial;
}

.write-comments .comments-box .operation {
    padding: 20px 40px 0;
    margin-left: 20px;
    flex: 1;
}

.write-comments .comments-box .operation .item {
    display: flex;
    margin-bottom: 30px;
}

.write-comments .comments-box .operation .item .tit {
    width: 80px;
    line-height: 38px;
}

.write-comments .comments-box .operation .item .star-box {
    display: flex;
    align-items: center;
    /* margin-left: 80px; */
}

.write-comments .comments-box .operation .item .star-box .text {
    margin-right: 10px;
}

.write-comments .comments-box .operation .item .star-box .stars {
    display: flex;
    height: 14px;
    align-items: center;
}

.write-comments .comments-box .operation .item .star-box .stars .star,
.write-comments .comments-box .operation .item .star-box .stars .star-gray {
    width: 14px;
    height: 14px;
    background: url(../images/icons.png) no-repeat;
    margin-left: 3px;
    cursor: pointer;
}

.write-comments .comments-box .operation .item .star-box .stars .star {
    background-position: -42px -138px;
}

.write-comments .comments-box .operation .item .star-box .stars .star-gray {
    background-position: -61px -138px;
}

.write-comments .comments-box .operation .item .comments {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    margin-top: -20px;
}

.write-comments .comments-box .operation .item .comments .c-item {
    padding: 10px 15px;
    line-height: 16px;
    border: 1px solid #eee;
    margin: 20px 15px 0 0;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
    cursor: pointer;
    min-width: 80px;
    text-align: center;
}

.write-comments .comments-box .operation .item .comments .c-item:nth-child(5n) {
    margin-right: 0;
}

.write-comments .comments-box .operation .item .comments .c-item:hover,
.write-comments .comments-box .operation .item .comments .c-item.active {
    border-color: #e1251b;
    color: #e1251b;
}

.write-comments .comments-box .operation .item .des-box {
    flex: 1;
    position: relative;
    border: 1px solid #eee;
    padding: 7px 10px 35px 10px;
}

.write-comments .comments-box .operation .item .des-box .des {
    width: 100%;
    height: 80px;
    line-height: 20px;
    border: 0;
    font-size: 12px;
    font-family: "微软雅黑";
    resize: none;
}

.write-comments .comments-box .operation .item .des-content {
    flex: 1;
    line-height: 22px;
    padding-top: 8px;
}

.write-comments .comments-box .operation .item .des-content span{
    width:800px;
    white-space: pre-wrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    position: relative;
    line-height: 1.5;
    word-wrap: break-word;
}


.write-comments .comments-box .operation .item .des-box .des-tip {
    position: absolute;
    bottom: 5px;
    left: 10px;
    right: 10px;
    width: auto;
    background: #fff;
    height: 25px;
    line-height: 25px;
    text-align: right;
    color: #999;
}

.write-comments .comments-box .operation .item .img-box {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 0 -15px -15px;
}

.write-comments .comments-box .operation .item .img-box .file-img {
    display: block;
    border: 1px solid #eee;
    width: 110px;
    height: 110px;
    text-align: center;
    line-height: 110px;
    font-size: 24px;
    font-family: arial;
    color: #ccc;
    margin: 0 0 15px 15px;
}

.write-comments .comments-box .operation .item .img-box .file-img img {
    width: 100%;
    height: 100%;
    vertical-align: top;
}

.write-comments .comments-box .operation .item .img-box .img-des {
    color: #999;
    width: 112px;
    text-align: center;
    margin-bottom: 15px;
}

.write-comments .btn-box {
    background: #fff;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
}

.write-comments .btn-box .agree-box {
    cursor: pointer;
    margin-left: 20px;
}

.write-comments .btn-box .agree-box .text {
    margin-left: 5px;
}

.write-comments .btn-box .btn {
    padding: 0 40px;
    line-height: 38px;
    color: #fff;
    background: #e1251b;
    border-radius: 2px;
}

.write-comments .btn-box .btn:hover {
    opacity: 0.9;
}

.write-comments .btn-box .btn.back {
    background: #f9f9f9;
    color: #000;
    border: 1px solid #ddd;
    padding: 0 38px;
    line-height: 36px;
}

.write-comments .btn-box .btn.back:hover {
    opacity: 1;
    background: #fff;
}


/* 发表评论 end */