/*中间部分*/
#chat-box{
    position: absolute;
    top: 1rem;
    left: 0;
    right: 0;
    bottom: 5rem;
}
#msg-send{
    position: absolute;
    height: 5rem;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #FFFFFF;
}
#msg-send-mask{
    position: absolute;
    height: 5rem;
    line-height: 5rem;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000000;
    opacity: 0.5;
    z-index: 999;
    font-size: 0.48rem;
    color: #FFFFFF;
    text-align: center;
    letter-spacing: 0.12rem;
}
.chat-tool {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 0.2rem;
    height: 0.8rem;
    font-size: 0;
    border-top: 1px solid #f1f1f1;
    position: relative;
}
.msg-box{
    height: 3rem;
    border-top: 1px solid #C9C9C9;
    border-bottom: 1px solid #C9C9C9;
}
.msg-area {
    width: 98%;
    height: 98%;
    padding: 0 1%;
    resize: none;
    border: none;
    overflow-y: auto;
    margin: 0;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    outline: 0;
    font-family: inherit;
    font-size: inherit;
    font-style: inherit;
    font-weight: inherit;

}
.send-area{
    height: 1rem;
    line-height: 1rem;
}
#assess-btn{
    display: inline-block;
    text-align: center;
    border: 1px solid #C9C9C9;
    border-radius: 0.08rem;
    width: 1.8rem;
    height: 0.6rem;
    line-height: 0.6rem;
    margin: 0 0.2rem;
}

/*左边部分*/
.busy-icon-down{
    background: url(../img/u544.png) 1.6rem center no-repeat;
    background-size: 0.15rem 0.1rem;
}
.busy-icon-up{
    background: url(../img/u551.png) 1.6rem center no-repeat;
    background-size: 0.15rem 0.1rem;
}
#busy{
    cursor: pointer;
}
#change-busy{
    position: absolute;
    top: 0.8rem;
    right: 0.2rem;
    width: 2rem;
    text-align: center;
    line-height: 0.6rem;
    background-color: #999;
    color: #fff;
    border-radius: 0.1rem;
    padding: 0.1rem 0;
    display: none;
    z-index: 99;
}
.change-busy-item:hover{
    cursor: pointer;
    background-color: #eee;
    color: #333;
}
.box-left-menu{
    height: calc(100% - 1rem);
    background-color: #363d49;
    overflow-y: auto;
}
.user-list-title{
    padding-left: 0.6rem;
    height: 1rem;
    line-height: 1rem;
}
.offline{
    position: absolute;
    bottom: 0.12rem;
    left: 0;
    right: 0;
}
.user-item{
    padding: 0.2rem 0 0.2rem 0.2rem;
    margin-top: 0.08rem;
}
.user-item.active{
    background-color: #414851;
}
.user-item-summary{
    display: inline-block;
    width: 3.2rem;
}
.user-item-time{
    display: inline-block;
    margin-left: 0.2rem;
}
.user-item-name{
    font-size: 0.24rem;
}
.user-item-content{
    height: 0.32rem;
    line-height: 0.32rem;
    font-size: 0.24rem;
    margin-top: 0.1rem;
    color: #999;
}
.no-read-num{
    font-size: 0.24rem;
    background-color: #fba2a2;
    color: #FFFFFF;
    border-radius: 50%;
    text-align: center;
    float: right;
    margin-right: 0.2rem;
    width: 0.2rem;
    height: 0.2rem;
}
/*右边部分*/
.basic-info-row{
    height: 0.8rem;
    line-height: 0.8rem;
    font-size: 0.24rem;
    padding-left: 0.4rem;
}
.add-tag{
    display: inline-block;
    width: 0.6rem;
    height: 0.4rem;
    background: url('../img/u592.png') center center no-repeat;
    background-size: 0.3rem 0.3rem;
}
.serve-msg{
    margin: 0.2rem;
    height: 3rem;
}
.remark-box{
    border-radius: 0.12rem;
}
.box-right-info{
    height: calc(100% - 1rem);
    overflow-y: auto;
}
#order-info:hover{
    overflow-y: auto;
}
.order-info-title{
    height: 0.8rem;
    line-height: 0.8rem;
    padding-left: 0.8rem;
}
.show-hide{
    float: right;
    margin-right: 0.8rem;
    font-size: 0.24rem;
}
.money{
    background: url('../img/u645.png') 0.2rem center no-repeat;
    background-size: 0.5rem 0.5rem;
}
.activity{
    background: url('../img/u635.png') 0.2rem center no-repeat;
    background-size: 0.5rem 0.5rem;
}
.datum{
    background: url('../img/u640.png') 0.2rem center no-repeat;
    background-size: 0.5rem 0.5rem;
}
.order-info-item{
    background-color: #FFFFFF;
    border-radius: 0.08rem;
    line-height: 0.8rem;
    font-size: 0.24rem;
    margin: 0.08rem 0.2rem;
    padding: 0 0.2rem;
}
.activity-detail{
    color: #666666;
    line-height: 0.6rem;
}
.operate{
    background: url('../img/u819.png') 0.2rem center no-repeat;
    background-size: 0.5rem 0.5rem;
}
.trouble{
    background: url('../img/u814.png') 0.2rem center no-repeat;
    background-size: 0.5rem 0.5rem;
}
.preferential{
    background: url('../img/u829.png') 0.2rem center no-repeat;
    background-size: 0.5rem 0.5rem;
}
/*主聊天窗体部分*/
.main{
    height: 100%;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    padding: 0 15px;
    overflow-x: hidden;
    overflow-y: auto;
}
.main.hide{
    display: none;
}
.main>li{
    margin-top: 0.2rem;
}
.main>li:last-child{
    margin-bottom: 1rem;
}

.chat-mine {
    display: flex;
    align-items: flex-start;
    align-self: flex-end;
    padding-left: 20%;
    padding-right: 0;
}
.cancel_message{
    display: none;
}
.chat-text-main:hover .cancel_message{
    display: block;
    position: absolute;
    top: 0;
    left: -0.7rem;
    width: 0.7rem;
    height: 0.8rem;
    color: #999;
    cursor: pointer;
}
.chat-photo{
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    margin-left: 0.32rem;
}
.chat-text{
    display: flex;
    flex-direction: column;
    flex: 1;
}
.chat-msg{
    display: flex;
    align-items: center;
    font-size: 0.24rem;
    color: #999;
    font-style: normal;
    justify-content: flex-end;
}
.chat-msg .time{
    padding-left: 0;
    padding-right: 0.2rem;
}
.chat-text-main{
    margin-top: 8px;
    padding: 8px 15px;
    position: relative;
    word-break: break-all;
    border-radius: 3px;
    text-align: left;
    background-color: #5FB878;
    color: #fff;
    align-self: flex-end;
}
.chat-text-main>img{
    max-width: 100%;
}
.chat-text-main::before{
    content: '';
    position: absolute;
    top: 13px;
    left: auto;
    right: -10px;
    width: 0;
    height: 0;
    border-style: solid dashed dashed;
    border-color: #5FB878 transparent transparent;
    overflow: hidden;
    border-width: 10px;
}

.chat-serve {
    display: flex;
    align-items: flex-start;
    align-self: start;
    padding-left: 0;
    padding-right: 20%;
}
.chat-serve .chat-photo{
    margin-left: 0;
    margin-right: 16px;
}
.chat-serve .chat-msg{
    justify-content: flex-start;
}
.chat-serve .chat-msg .time{
    padding-left: 10px;
    padding-right: 0;
}
.chat-serve .chat-text-main{
    color: #000000;
    background-color: #e2e2e2;
    align-self: start;
    word-break: break-all;
}
.chat-serve .chat-text-main::before{
    left: -10px;
    right: auto;
    border-style: solid dashed dashed;
    border-color: #e2e2e2 transparent transparent;
}

.chat-info{
    align-self: center;
    color: #999;
    font-size: 12px;
}
.chat-more{
    color: #00f;
    cursor: pointer;
}
/*聊天工具栏*/
.icon-img, .icon-phiz {
    width: 24px;
    height: 24px;
    fill: #797979;
}
.icon-img {
    width: 26px;
}
.chat-tool .tool-img {
    width: 26px;
    height: 24px;
    position: relative;
    display: -ms-flexbox;
    display: flex;
    margin: 0 16px;
}
.chat-tool .img-file {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 999;
    opacity: 0;
}
/*表情弹窗*/
.layui-laykefu-face {
    border: none;
    background: none;
}
.layui-clear {
    clear: both;
}
.layui-clear:after {
    content: '\20';
    clear: both;
    *zoom: 1;
    display: block;
    height: 0;
}
.layui-laykefu-face ul {
    position: relative;
    width: 372px;
    padding: 10px;
    border: 1px solid #D9D9D9;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,.2);
}
.layui-laykefu-face ul li {
    cursor: pointer;
    float: left;
    border: 1px solid #e8e8e8;
    height: 22px;
    width: 26px;
    overflow: hidden;
    margin: -1px 0 0 -1px;
    padding: 4px 2px;
    text-align: center;
}
/*标签备注弹窗*/
.tag{
    display: inline-block;
    line-height: 0.6rem;
    min-width: 1.4rem;
    padding: 0 0.2rem;
    margin: 0 0.2rem;
    text-align: center;
    cursor: pointer;
    border: 1px solid #C9C9C9;
    border-radius: 0.08rem;
}
.tag.active{
    background-color: #009f95;
    color: #ffffff;
    border: 1px solid #009f95;;
}
#beizhu{
    width: 90%;
    margin-left: 5%;
}
.title-d{
    height: 0.8rem;
    line-height: 0.8rem;
    padding-left: 0.2rem;
}
.tags-box{
    margin-left: 5%;
}
/*出入金列表弹窗*/
.table-tab{
    background-color: #E2E2E2;
}
.table-tab-item{
    display: inline-block;
    line-height: 0.8rem;
    width: 2rem;
    text-align: center;
    cursor: pointer;
    border-top-left-radius: 0.2rem;
    border-top-right-radius: 0.2rem;
}
.table-tab-item.active{
    background-color: #FFF;
}
.table{
    width: 100%;
    padding: 8px;
    border-collapse: collapse;
    font-size: 0.24rem;
}
.table td,.table th{
    vertical-align: middle;
    padding: 8px;
}
.table tr{
    border-bottom: 1px solid #F2F2F2;
}
.table tr:hover{
    background-color: #F2F2F2;
}
.pageNum{
    display: inline-block;
    padding: 8px;
    cursor: pointer;
}
.pageNum.cur{
    cursor: inherit;
    color: #1E9FFF;
}
.kf-item{
    margin-top: 0.2rem;
}
/*知识库搜索自动补全部分*/
.container { width: 800px; margin: 0 auto; }
.autocomplete-suggestions { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; border: 1px solid #999; background: #FFF; cursor: default; overflow: auto; -webkit-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); -moz-box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); box-shadow: 1px 4px 3px rgba(50, 50, 50, 0.64); }
.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; }
.autocomplete-no-suggestion { padding: 2px 5px;}
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: bold; color: #000; }
.autocomplete-group { padding: 2px 5px; }
.autocomplete-group strong { font-weight: bold; font-size: 16px; color: #000; display: block; border-bottom: 1px solid #000; }
#search-words{
    height: 0.8rem;
    border-radius: 0.1rem;
    border: none;
    width: 60%;
    padding: 0 0.4rem;
    margin: 0.1rem 0.2rem;
}