* {
    margin: 0;
    padding: 0;
    list-style: none;
}

html,
body {
    height: 100%;
}

body {
    /* background: url('../images/bg.jpg') no-repeat center center;
    background-size: cover; */
}

.container {
    max-width: 1000px;
    min-width: 800px;
    height: 100%;
    margin: 0 auto;
    background-color: pink;
}

.user-list {
    width: 280px;
    height: 100%;
    float: left;
    position: relative;
    background-color: #2e3238;
}

.box {
    overflow: hidden;
    height: 100%;
    background-color: #eee;
    position: relative;
}

.box-hd {
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    line-height: 30px;
}

.box-hd h3 {
    font-size: 18px;
    font-weight: 400;
    padding: 10px 0;
    margin: 0 20px;
    border-bottom: 1px solid #ccc;
    z-index: 999;
    box-sizing: border-box;
}

.message-box {
    overflow: hidden;
}

.box-bd {
    position: absolute;
    width: 100%;
    bottom: 180px;
    top: 51px;
    overflow-y: auto;
    overflow-x: hidden;
}

.system {
    overflow: hidden;
}

.message_system {
    text-align: center;
    margin: 10px auto;
    max-width: 50%;
}

.message_system .content {
    display: inline-block;
    font-size: 12px;
    padding: 1px 18px;
    color: #b2b2b2;
    border-radius: 2px;
}

.other {
    margin-bottom: 16px;
    float: left;
    width: 100%;
    padding-left: 20px;
    box-sizing: border-box;
}

.my {
    margin-bottom: 16px;
    float: right;
    width: 100%;
    text-align: right;
    padding-right: 20px;
    box-sizing: border-box;
}

.my.message .avatar {
    float: right;
}

.message .content {
    overflow: hidden;
}

.message .content .nickname {
    font-weight: 400;
    padding-left: 10px;
    font-size: 12px;
    height: 22px;
    line-height: 24px;
    color: #4f4f4f;
    width: 350px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
}

.message .avatar {
    width: 40px;
    height: 40px;
    border-radius: 2px;
    float: left;
    cursor: pointer;
}

.my.message .bubble {
    background-color: #b2e281;
}

.message .bubble {
    max-width: 500px;
    min-height: 1em;
    display: inline-block;
    vertical-align: top;
    position: relative;
    text-align: left;
    font-size: 14px;
    border-radius: 3px;
    margin: 0 10px;
    background-color: #fff;
}

.message .bubble img {
    display: inline-block;
    cursor: pointer;
    max-width: 350px;
    max-height: 240px;
}

.other .bubble:before {
    position: absolute;
    top: 14px;
    left: -10px;
    border: 6px solid transparent;
    content: ' ';
    border-right-color: #fff;
    border-right-width: 4px;
}

.my .bubble:before {
    position: absolute;
    top: 14px;
    right: -10px;
    border: 6px solid transparent;
    content: ' ';
    border-left-color: #b2e281;
    border-left-width: 4px;
}

.bubble_cont {
    word-wrap: break-word;
    word-break: break-all;
    min-height: 25px;
    padding: 9px 13px;
}

.box-ft {
    border-top: 1px solid #ccc;
    position: absolute;
    height: 180px;
    bottom: 0;
    right: 0;
    left: 0;
}

.box-ft .toolbar {
    height: 30px;
    padding: 5px 20px;
}

.box-ft .toolbar .face {
    display: inline-block;
    vertical-align: middle;
    width: 30px;
    height: 30px;
    background: url('../images/wechat-sprit.png') no-repeat -404px -398px;
}

.box-ft .toolbar .screen-cut {
    display: inline-block;
    vertical-align: middle;
    width: 30px;
    height: 30px;
    background: url('../images/wechat-sprit.png') no-repeat -30px -432px;
}

.box-ft .toolbar .file label {
    opacity: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
    background: rgb(255, 255, 255);
}

.box-ft .toolbar .file {
    display: inline-block;
    vertical-align: middle;
    width: 30px;
    height: 30px;
    background: url('../images/wechat-sprit.png') no-repeat -120px -432px;
}

.box-ft .content {
    height: 90px;
    overflow-x: hidden;
    padding: 0px 20px;
}

.box-ft .content .text {
    resize: none;
    border: none;
    outline: none;
    width: 100%;
    height: 84px;
    font-size: 16px;
    background-color: #eee;
}

.box-ft .action {
    text-align: right;
    margin-top: 5px;
    padding-right: 20px;
}

.box-ft .action .desc {
    color: #888;
    font-size: 12px;
    margin-left: 10px;
    margin-right: 7px;
}

.btn-send {
    display: inline-block;
    border: 1px solid #c1c1c1;
    text-decoration: none;
    background-color: #fff;
    color: #222;
    border-radius: 4px;
    padding: 3px 30px;
    font-size: 14px;
}

.btn-send:hover {
    background-color: #d8d8d8;
}

.header {
    padding: 18px;
    position: relative;
}

.header .avatar {
    display: table-cell;
    vertical-align: middle;
    word-wrap: break-word;
    word-break: break-all;
    white-space: nowrap;
    padding-right: 10.625px;
}

.header .avatar .img {
    width: 40px;
    height: 40px;
    border-radius: 2px;
    display: block;
    cursor: pointer;
}

.header .info {
    display: table-cell;
    vertical-align: middle;
    word-wrap: break-word;
    word-break: break-all;
    width: 2000px;
}

.header .info h3 {
    display: inline-block;
    font-weight: 400;
    width: 156px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
    color: #fff;
    font-size: 18px;
    vertical-align: top;
    line-height: 31px;
    text-decoration: none;
}

.title {
    padding: 13px 18px 11px;
    border-bottom: 1px solid #24272c;
    border-top: 1px solid #24272c;
    color: #fff;
}

.title h3 {
    font-weight: 400;
    font-size: 18px;
}

.user {
    overflow: hidden;
    padding: 12px 18px 11px;
    border-bottom: 1px solid #292c33;
    cursor: pointer;
    position: relative;
}

.user .avatar {
    float: left;
    margin-right: 10px;
    position: relative;
}

.user .avatar img {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 2px;
}

.user .name {
    color: #fff;
    overflow: hidden;
    line-height: 36px;
}

.login_box {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 380px;
    height: 380px;
    transform: translate(-50%, -50%);
    border-radius: 4px;
    background-color: #fff;
    box-shadow: #999 0 2px 10px;
}

.login_box h3 {
    text-align: center;
    color: #333;
    font-size: 24px;
    font-weight: 400;
    line-height: 100px;
}

.login_box input {
    width: 300px;
    height: 30px;
    line-height: 30px;
    margin: 0 auto;
    padding: 0;
    display: block;
    outline: none;
    margin-bottom: 5px;
}

.weui-btn {
    position: relative;
    display: block;
    width: 300px;
    margin: 0 auto;
    box-sizing: border-box;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    line-height: 2.55555556;
    border-radius: 5px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    overflow: hidden;
    background-color: #1aad19;
    border: none;
    cursor: pointer;
    margin-top: 5px;
}

.login_box p {
    height: 30px;
    line-height: 30px;
    padding-left: 38px;
}

::-webkit-scrollbar-track-piece {
    background-color: #f8f8f8;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background-color: #ccc;
    background-clip: padding-box;
    min-height: 28px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #666;
}






html {
    font-size: 11px;
}

#chat_logo {
    /*在线客服指示框*/
    position: fixed;
    right: 0;
    bottom: 380px;
    width: 35px;
    height: 100px;
    font-size: 1.6rem;
    text-align: right;
    background: url(../images/go_left.svg) -3px 40px no-repeat #d7e0e6;
    border-radius: 3px;
    cursor: default;
    padding-right: 4px;
}

#chat {
    /*在线客服*/
    position: fixed;
    /* right: -365px; */
    /* bottom: 120px; */
    width: 360px;
    height: 410px;
    /* font-size: 1.5rem; */
    text-align: right;
    background-color: #d7e0e6;
    border-radius: 4px;
    cursor: default;
    z-index: 100;
}

#chat_top {
    /*聊天框顶部*/
    height: 40px;
    width: 100%;
    background-color: #a9d8ff;
    text-align: center;
    line-height: 40px;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

#chat_message {
    /*聊天框消息框*/
    height: 250px;
    width: 100%;
    overflow-y: scroll;
}

#chat_message::-webkit-scrollbar {
    display: none;
    /* 隐藏滚动条 */
}

#chat_tools {
    /*聊天框工具栏*/
    height: 30px;
    width: 100%;
    background-color: #a9d8ff;
    line-height: 30px;
    text-align: left;
    /* padding-left: 5px; */
}

#chat_input {
    /*聊天框输入框*/
    height: 90px;
    /* width: 97%; */
    text-align: left;
    padding: 1%;
    font-size: 1.5rem;
    resize: none;
    outline: none;
}

#send {
    /*聊天框发送按钮*/
    position: absolute;
    right: 15px;
    bottom: 10px;
    background-color: #a9d8ff;
    border: 0px;
    border-radius: 3px;
    font-size: 1.3rem;
    color: white;
    padding: 4px 8px;
}

#service {
    /*在线客服logo*/
    display: inline-block;
    margin-right: 5px;
    position: relative;
    top: 3px;
}

#pic_choose,
#face_choose {
    /*选择图片按钮*/
    display: inline-block;
    position: relative;
    top: -3px;
    margin: 0 5px;
}

.message_service {
    /*客服聊天框*/
    padding: 10px 0 10px 10px;
    text-align: left;
    display: block;
    clear: both;
}

.message_custom {
    /*顾客聊天框*/
    padding: 10px;
    float: right;
    display: none;
}

.service_left {
    /*客服信息框左部*/
    width: 50px;
    float: left;
}

.service_right {
    /*客服信息框右部*/
    float: left;
    max-width: 160px;
}

.custom_left {
    /*顾客信息框左部*/
    max-width: 160px;
    float: right;
}

.custom_right {
    /*客服信息框右部*/
    float: right;
    width: 50px;
}

.service_message_contain {
    /*客服信息内容部分*/
    max-width: 160px;
    background: url(../images/chat_service.png);
    -moz-background-size: 100% 100%;
    /* 老版本的 Firefox */
    background-size: 100% 100%;
    /* 也可以用PX表示 */
    background-repeat: no-repeat;
    padding: 5px 3px 5px 10px;
    font-size: 1rem;
    text-align: left;
    line-height: normal;
}

.custom_message_contain {
    /*顾客信息内容部分*/
    max-width: 160px;
    min-width: 5px;
    background: url(../images/chat_custom.png);
    -moz-background-size: 100% 100%;
    /* 老版本的 Firefox */
    background-size: 100% 100%;
    /* 也可以用PX表示 */
    background-repeat: no-repeat;
    padding: 5px 10px 5px 5px;
    font-size: 1.2rem;
    text-align: left;
}

.message_time {
    /*客服聊天框时间*/
    /* height: 15px; */
    width: 160px;
    text-align: center;
    font-size: 1rem;
}

.service_head {
    /*客服聊天框头像*/
    height: 40px;
    width: 40px;
    position: relative;
    top: 10px;
}

.file {
    display: inline-block;
    vertical-align: middle;
    width: 22px;
    height: 22px;
    background: url(../images/pic_choose.svg);
}