.main {
    width: 100%;
    height: 100%;
    background: url("/file/website/user/message/bg.jpg") no-repeat;
    background-size: 100% 100%;
    overflow: hidden;
    position: fixed;
    top: 0;
    left: 0;
}

.Chat {
    min-height: 560px;
    height: calc(100vh - 200px);
    height: 700px;
    width: 960px;
    background-color: #fff;
    border: 1px solid #ebebeb;
    -webkit-box-shadow: 0 0 4px 0 rgba(26, 26, 26, .1);
    box-shadow: 0 0 4px 0 rgba(26, 26, 26, .1);
    border-radius: 3px;
    margin: 0px auto 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.ChatSideBar {
    width: 240px;
    height: 100%;
    border-right: 1px solid #ebebeb;
    position: relative;
}

.ChatListGroup-SectionTitle--bottomBorder:after {
    content: "";
    position: absolute;
    right: 36px;
    left: 20px;
    height: 1px;
    background-color: #f7f8fa;
    bottom: 0;
}

.ChatListGroup {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    bottom: 0;
    width: 100%;
}

.ChatUserListItem:after {
    content: "";
    position: absolute;
    right: 36px;
    left: 20px;
    bottom: 0;
    height: 1px;
    background-color: #f7f8fa;
}

.ChatListGroup-Section {
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
}

.ChatListGroup-SectionTitle {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.33;
    color: #444;
    padding: 16px 20px;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
}

.ChatListGroup-SectionContent {
    overflow-y: scroll;
    position: relative;
}

.ChatUserListItem--active {
    background-color: #f4f6f9;
}

.ChatUserListItem {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 12px 18px;
    cursor: pointer;
    position: relative;
}

.css-dgtvym {
    box-sizing: border-box;
    margin: 0;
    min-width: 0;
    margin-right: 10px;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    position: relative;
}

.css-8ohw3e {
    box-sizing: border-box;
    margin: 0;
    min-width: 0;
    max-width: 100%;
    height: auto;
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.ChatUserListItem-Content {
    -webkit-box-flex: 1;
    -ms-flex: auto;
    flex: auto;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.ChatUserListItem-Name, .ChatUserListItem-Name .userName {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
}

.ChatUserListItem-Name .userName {
    -webkit-box-flex: 1;
    -ms-flex: auto;
    flex: auto;
    -ms-flex-align: center;
    color: #444;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.ChatUserListItem-Name .userName-nameArea {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 120px;
}

.ChatUserListItem-Name time {
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    color: #999;
    font-size: 10px;
}

.ChatUserListItem-Snippet {
    font-size: 13px;
    color: #999;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.ChatUserListItem--active .Chat-ActionMenuPopover-Button {
    background: -webkit-gradient(linear, left top, right top, from(hsla(0, 0%, 96.5%, 0)), color-stop(20%, #f6f6f6));
    background: linear-gradient(90deg, hsla(0, 0%, 96.5%, 0), #f6f6f6 20%);
}

.ChatUserListItem .Chat-ActionMenuPopover-Button {
    position: absolute;
    opacity: 0;
    right: 0;
    height: 40px;
    width: 40px;
    background: -webkit-gradient(linear, left top, right top, from(hsla(0, 0%, 100%, 0)), color-stop(20%, #fff));
    background: linear-gradient(90deg, hsla(0, 0%, 100%, 0), #fff 20%);
    -webkit-transition: opacity .3s;
    transition: opacity .3s;
}

.Message-status--more {
    fill: #999;
    height: 16px;
    width: 16px;
    cursor: pointer;
}

.ChatListGroup-Section {
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
}

.ChatListGroup-SectionTitle span:first-child {
    -webkit-box-flex: 1;
    -ms-flex: auto;
    flex: auto;
}

.ChatListGroup-SectionTitle .Zi {
    color: #d3d3d3;
    margin-right: -7px;
}

.ChatListGroup-SectionContent {
    overflow-y: scroll;
    position: relative;
}

.ChatUserList-List-EmptyState {
    font-size: 14px;
    padding: 32px 0;
    text-align: center;
    color: #8590a6;
}

.Chat-ChatBox {
    -webkit-box-flex: 1;
    -ms-flex: auto;
    flex: auto;
}

.ChatBox, .ChatBox-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.ChatBox {

    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: relative;
    min-height: 600px;
}


.ChatBox-title {
    font-size: 15px;
    line-height: 20px;

    height: 50px;
    padding-bottom: 9px;
    padding-top: 21px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border-bottom: 1px solid #ebebeb;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-weight: 600;
    font-synthesis: style;
}

.ChatBox, .ChatBox-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.MessagesBox-wrapper {
    height: 362px;
    -webkit-box-flex: 1;
    -ms-flex: auto;
    flex: auto;
}

.MessagesBox {
    height: 100%;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-overflow-scrolling: touch;
    overflow-y: scroll;
}

.Message-time {
    padding-top: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 20px;
    color: #999;
}

.Chat .Message {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 20px;
}

.Message--reverse {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
}

.css-r6ymz {
    box-sizing: border-box;
    min-width: 0px;
    display: inline-block;
    width: 30px;
    height: 30px;
    position: relative;
    margin: 0px;
}

.css-11f2zj7 {
    box-sizing: border-box;
    min-width: 0px;
    max-width: 100%;
    width: 30px;
    height: 30px;
    display: block;
    margin: 0px;
    border-radius: 50%;
}

.Message-content {
    margin: 0 3px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.TextMessage-sender {
    background-color: #f6f6f6;
    color: #444;
}

.Message-content--reverse {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;

}

.TextMessage {
    max-width: 570px;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    letter-spacing: .4px;
    position: relative;
    margin-right: 8px;
    margin-left: 8px;
    text-align: left;
    min-height: 40px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    /*white-space: pre-wrap;*/
    /*white-space: pre-line;*/
    word-break: break-all;
    line-height: 20px
}

.TextMessage-receiver {
    background-color: #d95350;
    color: #fff;
}

.css-vurnku {
    box-sizing: border-box;
    min-width: 0px;
    margin: 0px;
}

.TextMessage-sender:after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    left: -4px;
    top: 14px;
    background: #f6f6f6;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.TextMessage-receiver:after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    right: -4px;
    top: 14px;
    background: #d95350;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.Message-status {
    margin: 0 8px;
}

.InputBox, .InputBox-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.InputBox {
    -webkit-box-flex: 1;
    -ms-flex: auto;
    flex: auto;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    max-height: 250px;
    min-height: 180px;
}

.ToolBar {
    border-top: 1px solid #ebebeb;
    margin: 0 14px;
    padding: 11px 0 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    text-align: left;
}

.InputBox-input {
    -webkit-box-flex: 1;
    -ms-flex: auto;
    flex: auto;
    border-width: 0;
    padding-top: 0;
    padding-left: 14px;
}

.InputBox-footer {
    height: 50px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 20px;
}

.InputBox-footerDesc {
    font-size: 14px;
    line-height: 20px;
    color: #bfbfbf;
    text-align: right;
    padding-right: 10px;
    -webkit-box-flex: 1;
    -ms-flex: auto;
    flex: auto;
}

.Button--primary.Button--blue {
    color: #fff;
    background-color: #0084ff;
}

.Button:disabled {
    cursor: default;
    opacity: .5;
    pointer-events: none;
}

.InputBox-sendBtn {
    border-radius: 6px;
    width: 72px;
    height: 32px;
    font-size: 13px;
    line-height: 16px;
}

.Button {
    display: inline-block;
    padding: 0 16px;
    font-size: 14px;
    line-height: 32px;
    color: #8590a6;
    text-align: center;
    cursor: pointer;
    background: none;
    border: 1px solid;
    border-radius: 3px;
}

.Button--primary.Button--blue:hover {
    border-color: #0077e6;
    background-color: #0077e6;
}

.Button--blue:hover {
    background-color: rgba(0, 132, 255, .06);
}

.Button:focus {
    outline: none;
    -webkit-transition: -webkit-box-shadow .3s;
    transition: -webkit-box-shadow .3s;
    transition: box-shadow .3s;
    transition: box-shadow .3s, -webkit-box-shadow .3s;
}

.ChatBox-empty {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
    margin: 0 auto;
    position: relative;
    padding-top: 25%;
}

.ChatBox-emptyImage {
    height: 120px;
}

.css-14mw2gw {
    position: absolute;
    right: 0;
    top: 0;
}

.Chat-UnreadCount, .Chat-UnreadDot {
    background-color: #f75659;
}

.Chat-UnreadCount {
    border-radius: 7px;
    color: #fff;
    font-size: 10px;
    font-weight: 500;
    height: 14px;
    line-height: 14px;
    min-width: 6px;
    padding: 0 4px;
    text-align: center;
}

.InputBox .Input-wrapper {

    border-top: 1px solid #e7eaf1;
    border-bottom: 1px solid #e7eaf1;
    border-radius: 0px;
}