.chat {
    width : 100%;
    height: 100%
}

/*消息样式*/
.message_item>div {
    display: flex;
}

.message_item {
    margin-bottom: 20px;
    word-break   : break-word;
}

.message_item.right {
    text-align     : right;
    display        : flex;
    justify-content: flex-end;
}

.message_item img,
.message_item audio,
.message_item video {
    max-width: 100%;
}

/*机器人或者人工消息*/
.left_message {
    text-align   : left;
    padding-left : 10px;
    padding-right: 15%;
}

.face {
    width       : 32px;
    height      : 32px;
    min-width   : 32px;
    margin-right: 4px;
    margin-top  : 4px;
}

.send_name {
    font-size: 12px;
    color    : #999999;
    margin   : 10px 0 8px
}

/*客服消息*/
.text_message {
    white-space  : pre-line;
    border       : .5px solid #e6e6e6;
    padding      : 10px 15px 10px 15px;
    border-radius: 0 10px 10px;
    color        : #333333;
    line-height  : 20px;
    font-size    : 14px;
    text-align   : left;
    display      : inline-block;
}

.text_message span[data-w-e-type="attachment"] {
    color          : #4988F8;
    cursor         : pointer;
    text-decoration: underline;
}

.text_message .guide {
    color: #7467F0;
}

.right_message {
    text-align     : right;
    padding-right  : 10px;
    justify-content: flex-end;
    padding-left   : 10%;
}

.right_message .text_message {
    border-radius: 10px 0 10px 10px;
    padding      : 10px 15px 8px;
    color        : #ffffff;
    background   : #7467F0;
    max-width    : 89%;
}

.right_message .message {
    direction: rtl;
}
.right_message .message >div{
    direction: ltr;
}

/*系统消息*/
.system_message {
    text-align     : center;
    margin         : 10px auto;
    justify-content: center;
    white-space    : pre-line;
}

.system_message span {
    font-size : 12px;
    display   : inline-block;
    padding   : 5px 10px;
    color     : #999999;
    text-align: center;
}

.system_message .bg {
    background: #ebebeb;
    color     : #666666;
}

/*输入框*/
div#input {
    border-radius: 3px;
    outline      : none;
    max-height   : 60px;
    background   : #fff;
    font-size    : 14px;
    text-align   : left;
    height       : 23px;
    border       : none;
    line-height  : 24px;
    color        : #858486;
    padding      : 7px;
    overflow-y   : auto;
}

#input:empty:before {
    content: attr(placeholder);
    color  : #bbb;
}

#input:focus {
    content: none;
}

#input[contenteditable]:focus {
    content: none;
}

/*评价*/
.item.good,
.item.bad {
    border: .5px solid #7467F0;
    color : #7467F0
}

.eval_icon {
    width          : 20px;
    height         : 20px;
    background-size: 100% 100%;
    display        : inline-block;
}

.active.good {
    background-color: #7467F0;
    color           : #ffffff;
}

.active.bad {
    background-color: #7467F0;
    color           : #ffffff;
}

.good .eval_icon {
    background-image: url("../../../static/image/eval_good.png");
    vertical-align  : sub;
}

.good.active .eval_icon {
    background-image: url("../../../static/image/eval_good_active.png");
}

.bad .eval_icon {
    background-image: url("../../../static/image/eval_bad.png");
    vertical-align  : middle;
}

.bad.active .eval_icon {
    background-image: url("../../../static/image/eval_bad_active.png");
}

div.item {
    width        : 148px;
    height       : 36px;
    display      : inline-block;
    border       : .5px solid #b3b3b3;
    font-size    : 14px;
    text-align   : center;
    line-height  : 36px;
    color        : #999999;
    margin-bottom: 20px;
}

.row {
    display        : flex;
    justify-content: space-between;
}

.scroll_bar {
    overflow-x: hidden;
    overflow-y: auto;
    color     : #000;
    font-size : .7rem;
    height    : 100%;
}

.scroll_bar::-webkit-scrollbar {
    width: 0;
}

.scroll_bar::-webkit-scrollbar-thumb {
    border-radius     : 10px;
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    background        : rgba(0, 0, 0, 0.2);
}

.scroll_bar::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius     : 0;
    background        : rgba(0, 0, 0, 0.1);
}

.scroll_bar::-webkit-scrollbar-corner {
    border-radius: 2px;
}


/*other*/
.red {
    color         : red;
    font-size     : 19px;
    vertical-align: middle;
}

input::-webkit-input-placeholder {
    color: #b3b3b3;
}

input:-moz-placeholder {
    color: #b3b3b3;
}

input::-moz-placeholder {
    color: #b3b3b3;
}

input:-ms-input-placeholder {
    color: #b3b3b3;
}

textarea::-webkit-input-placeholder {
    color: #b3b3b3;
}

textarea:-moz-placeholder {
    color: #b3b3b3;
}

textarea::-moz-placeholder {
    color: #b3b3b3;
}

textarea:-ms-input-placeholder {
    color: #b3b3b3;
}


/*iframe*/
.iframe .chat_main {
    height: 300px !important;
}

.iframe .footer {
    height: 105px !important;
}

.iframe div#input {
    display : inline-block;
    width   : 200px;
    position: absolute;
    left    : 0;
}

.iframe div.send_div {
    position: absolute;
    right   : 5px;
    bottom  : 5px;
    padding : 0;
}

.iframe div.send_div button {
    width      : 50px;
    font-size  : 13px;
    height     : 30px;
    line-height: 30px;
}

.iframe div.transfer {
    padding: 10px;
}

.iframe span.emotion,
.iframe span.file {
    /*display: none !important;*/
}

.iframe .lenovo {
    bottom: 120px
}

::v-deep .el-message-box {
    width    : 60% !important;
    max-width: 500px !important;
}

.el-message-box {
    width    : 60% !important;
    max-width: 500px !important;
}

.textarea,
.input {
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

textarea,
input {
    font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
}

.el-icon-document {
    height: 20px !important;
}

::v-deep .el-step__title {
    font-size: 12px;
}


::v-deep .el-step__head.is-success {
    color       : rgb(52, 158, 250);
    border-color: rgb(52, 158, 250);
}

::v-deep .el-step__title.is-success {
    font-weight: bold;
    color      : rgb(52, 158, 250);
}

::v-deep .el-step__description.is-success {
    color: rgb(52, 158, 250);
}
