* {
    margin: 0;
    padding: 0;
}

.text-center::after {
    content: ' ';
    display: inline-block;
    width: 0;
    height: 100%;
    vertical-align: middle;
    margin-top: 4px;
}

body {
    font-size: 15px;
    background-color: #c4c4c4;
    font-family: "Microsoft YaHei", "宋体", Arial, "新宋体";
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.service {
    width: 100%;
    max-width: 640px;
    height: 100%;
    position: fixed;
    left: 0;
    right: 0;
    margin: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.pc-service {
    width: 372px;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.msg-head {
    display: flex;
    height: 11.73333vw;
    overflow: hidden;
    padding: 0 4vw;
    background-color: #fff;
    border-bottom: 1px solid #e2e2e2;
    text-align: center;
    position: relative;
}

.msg-head p {
    margin: auto;
    font-size: 4.26667vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #333;
}

.msg-head p span {
    background-color: #13bf78;
    border-radius: 1.06667vw;
    font-size: 3.2vw;
    height: 3.7333vw;
    margin-left: 1.33333vw;
    padding-left: 1px;
    padding-right: 1px;
    font-style: oblique;
    text-align: center;
    width: 7.46667vw;
    color: #fff;
}

.msg-head a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    position: absolute;
    left: 2px;
    text-decoration: none;
    color: #353535;
}

.msg-head a i {
    font-size: 22px;
}

.msg-head .tha {
    height: 20px;
    line-height: 22px;
}

.msg-head .thb {
    height: 20px;
    line-height: 20px;
    font-size: 16px;
}

.msg-box {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    background-color: #f3f3f3;
    padding: 10px 10px 0;
    line-height: 1.3;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    overflow-y: auto;
}

.msg {
    margin-bottom: 25px;
}

.msg:last-of-type {
    margin-bottom: 25px
}

.msg .img1 {
    width: 45px;
    height: 45px;
    float: left;
    margin: 5px 0;
}

.msg .img2 {
    display: none;
}

.msg .content {
    max-width: 65%;
    float: left;
    border: 1px solid #f1eded;
    border-radius: 5px;
    background-color: #fff;
    margin: 2px 0 0 10px;
    padding: 8px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    text-align: justify;
}

.content .indicate {
    width: 0;
    height: 0;
    border: 12px solid;
    border-color: transparent;
    position: absolute;
    top: 5px;
}

.msg .content .left-indicate {
    border-right-color: #fff;
    left: -20px;
}

.msg .content .right-indicate {
    display: none;
}

.msg.on .img1 {
    display: none;
}

.msg.on .img2 {
    float: right;
    width: 45px;
    height: 45px;
    display: block;
}

.msg.on .content {
    float: right;
    margin: 6px 12px 0 0;
    background-color: #ffebeb;
}

.msg.on .content .left-indicate {
    display: none;
}

.msg.on .content .right-indicate {
    border-left-color: #95ec69;
    right: -20px;
    display: block;
}

.msg-box p {
    margin-top: -6px
}

input,
textarea {
    border: none;
}

input:focus,
textarea:focus {
    outline: none;
    outline-offset: 0;
}

.msg-post {
    height: 100px;
    background-color: #f6f6f6;
    display: flex;
    flex-direction: column;
    padding: 6px;
    box-sizing: border-box;
}

.msg-post input[type="file"] {
    display: none;
}

.msg-post input[type="button"] {
    padding: 0 12px;
    font-size: 15px;
    margin-left: 8px;
    background-color: #0679c7;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
}

.msg-post .back {
    width: 50px;
    line-height: 38px;
    text-align: center;
    background-color: #35ace0;
    border-radius: 3px;
}

.msg-post .back a {
    text-decoration: none;
    color: inherit;
}

.service-box {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    font-size: 14px;
    background-color: #fff;
    overflow-y: auto;
    vertical-align: baseline;
}

.user-box {
    padding: 10px 10px 0;
}

.user-box a {
    text-decoration: none;
    color: inherit;
}

.user-list {
    height: 46px;
    background-color: #f2f2f2;
    padding: 5px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 10px;
    border-radius: 5px;
}

.user-list img {
    width: 46px;
}

.user-list .user {
    margin-left: 6px;
    padding-top: 3px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    width: 0;
}

.user-list .user .name {
    height: 23px;
    line-height: 23px;
    font-size: 17px;
    color: #333;
}

.user-list .user .name .ison {
    margin-left: 6px;
    font-size: 13px;
    color: #860808;
    vertical-align: 1px;
}

.user-list .user .last-msg {
    height: 20px;
    line-height: 20px;
    color: #808080;
    padding-left: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-list .data {
    width: 82px;
    text-align: right;
}

.user-list .data .time {
    height: 27px;
    line-height: 27px;
    color: #555;
}

.user-list .data .num {
    width: 20px;
    height: 17px;
    border-radius: 8px;
    background-color: red;
    color: #fff;
    text-align: center;
    line-height: 19px;
    margin-left: 62px;
}

.foot {
    height: 38px;
    background-color: #e3e3e3;
    padding: 6px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-right: 0;
}

.foot>div {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: 1px;
    margin-right: 6px;
    background-color: #0679c7;
    border-radius: 5px;
    color: #fff;
    text-align: center;
    line-height: 38px;
}

.foot a {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.pc-main {
    width: 1014px;
    height: 100%;
    position: fixed;
    left: 0;
    right: 0;
    margin: auto;
}

.pc-left {
    width: 372px;
    height: 100%;
    float: left;
    border: 1px solid #afafb7;
    border-right: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.pc-right {
    width: 642px;
    height: 100%;
    float: left;
    border: 1px solid #afafb7;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}