#chatbox {
    width: 360px;
    height: 580px;
    display: block;
    position: fixed;
    right: 18px;
    bottom: 0px;
    z-index: 9999999;
    overflow: hidden;
    background-color: #fff;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, .15);
    display: none;/* display: none; */
}
.chat_header{
    height: 48px;
    width: 100%;
    background-color: #202054;
    border-radius: 8px 8px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ser-info{
    box-sizing: border-box;
    width: calc(100% - 135px);
    padding-left: 15px;
    display: flex;
    align-items: center;
}
.logo{
    display: inline-block;
    margin-right: 4px;
}
.ser-company{
    display: inline-block;
    width: calc(100% - 44px);
    vertical-align: middle;
    font-size: 18px;
    white-space: nowrap;
    text-overflow: ellipsis;;
    overflow: hidden;
    color: #fff;
    font-weight: 600;
}
.corner-btn{
    margin-right: 15px;
}
.chat-close{
    font-size: 18px !important;
    width: 16px;
    height: 16px;
    display: inline-block;
    cursor: pointer;
    color:#fff;

}
.chat_content {
    position: absolute;
    height: auto;
    top: 48px;
    /* bottom: 140px; */
    bottom: 116px;
    right: 0;
    left: 0;
    background-color: #f5f7fa;
    overflow-y: auto;
    display: block;
}
.conversation{
    list-style: none;
    padding: 12px;
}
.chatmsg{
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.chatmsg_left{

}
li{
    list-style-type: none;
}
.service-img{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #e6e6e6;
    float: left;
    position: absolute;
    left: 0;
    top: 22px;
    overflow: hidden;
    text-align: center;
    line-height: 30px;
    font-weight: 600;
    color: #fff;
}
.service-img img{
    width: 24px;
    height: 24px;
    margin-top: 3px;
}
.service-name{
    float: left;
    position: relative;
    font-size: 12px;
    color: #9e9e9e;
    margin-left: 40px;
    font-weight: 400;
}
.service-name span{
    margin-left: 9px;
}
.service-content-left{
    float: left;
    text-align: left;
    width: 80%;
    position: relative;
    clear: both;
    font-size: 14px;
    margin-left: 40px;
    margin-right: 3px;
}

.service {
    margin-right: 10px;
    margin-top: 6px;
    background-color: #feffff;
    display: inline-block;
    padding: 10px 12px;
    float: left;
    word-break: break-all;
    word-wrap: break-word;
    color: #1f1f1f;
    border-radius: 4px 10px 10px 10px;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
}

.customerMsgTime{
    font-size: 12px;
    color: #9e9e9e;
    float: right;
}
.service-content-right{
    float: right;
    width: 80%;
    position: relative;
    clear: both;
    font-size: 14px;
    margin-left: 40px;
    text-align: right;
}
.customer {
    margin-left: 10px;
    margin-top: 4px;
    background-color: #d1b286;
    display: inline-block;
    padding: 10px 12px;
    float: right;
    word-break: break-all;
    word-wrap: break-word;
    color: #fff;
    border-radius: 10px 4px 10px 10px;
    position: relative;
    max-width: 100%;
}
.wanchengIcon{
    position: absolute;
    font-size: 14px;
    color: #bdbdbd;
    left: -18px;
    bottom: -2px;
    display: none;
}
.msg-toolbar{
    height: 24px;
    border-top: 1px solid #ddd;
    position: relative;
}
#face-btn{
    margin-top: 3px;
    margin-left: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    float: left;
    position: relative;

}
#image-btn{
    margin-top: 3px;
    margin-left: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    float: left;
    position: relative;

}
#file-btn{
    margin-top: 3px;
    margin-left: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    float: left;
    position: relative;

}
#question-btn{
    margin-top: 3px;
    margin-left: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    float: left;
    position: relative;

}

.tooltip{
    background: #2c2c2c;
    color: #fff;
    position: absolute;
    top: -33px;
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, .1);
    width: 35px;
    left: -6px;
    z-index: 10;
}
.tooltip:before {
    width: 0;
    height: 1px;
    border-width: 5px 5px;
    border-style: dashed solid dashed solid;
    border-color: #2c2c2c transparent transparent transparent;
    font-size: 0;
    line-height: 0;
    content: '';
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-5px);
    z-index: 10;
}
#face-btn .tooltip {
    left: -11px;
    width: 26px;
    display: none;
}
#face-btn .tooltip:hover{
    display:block;
}

#image-btn .tooltip {
    left: -11px;
    width: 26px;
    display: none;
}

#file-btn .tooltip {
    left: -11px;
    width: 26px;
    display: none;
}

#question-btn .tooltip {
    left: -24px;
    width: 50px;
    display: none;
}

.font20{
    font-size: 20px !important;
}

.footer{
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    /* height: 140px; */
    height: 116px;
    background-color: #fff;
    border-radius: 0 0 8px 8px;
}
.msg-input {
    display: block;
    margin-top: 2px;
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 10px;
    top: 25px;
    height: 70px
}

.input-box {
    display: block;
    left: 0;
    height: 80px
}

.input-box textarea {
    /* width: 344px; */
    resize: none;
    /* height: 60px; */
    border: 0;
    padding: 15px 8px 15px 8px;
    outline: 0;
    font-size: 14px;
    color: #999;
}
.submit_button{
    background-color: #202054 !important;
    opacity: .6 !important;
    width: 56px !important;
    height: 24px !important;
    border-radius: 2px !important;
    color: #fff !important;
    float: right !important;
    margin-right: 15px !important;
    border: 0 !important;
    font-size: 14px !important;
    padding: 0 !important;
}
.submit_button:hover{
    opacity: 1 !important;
}

/* ************************************************************ */
.chatIcon{
    width: 70px;
    height: 70px;
    display: block;
    position: fixed;
    right: 18px;
    bottom: 300px;
    z-index: 9999998;
    overflow: hidden;
    background-color: #d1b286;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 4px;
    font-size: 14px;
    color: #fff;
}

#zhuanrengong{
    position: absolute;
    /* bottom: 145px; */
    bottom: 121px;
    left: 8px;
    font-size: 12px;
    background-color: #fff;
    width: auto;
    padding: 0 5px;
    /* height: 20px; */
    line-height: 20px;
    text-align: center;
    border-radius: 5px;
    border: 1px solid #e6e6e6;
    cursor: pointer;
}
