:root {
    --white: #fff;
    --black: #3F3F3F;
    --bg: #f5f6f7;
    --grey: #EBEBEB;
    --gray: #999;
    --dark: #1a1a1a;
    --light: #f4f4f4;
    --blue: #6388fb;
    --red: #f74c31;
    --light-blue: #9EB9FD;
    --window-height: 700px;
    --pop-top: 10%;
    --font-size: 13px;
}
@media screen and (max-height: 700px) {
    :root {
        --window-height: 540px;
        --pop-top: 6%;
    }
}

/**
 * 通用类-start
 */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.fastim-img-fill {
    width: 100%;
    height: 100%;
}
.fastim-img-gray {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray;
}
.min-border-radius {
    border-radius: 5px;
}
button.fastim-icon {
    padding: 0;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
}
.fastim-close {
    position: absolute;
    right: 7px;
    top: 14px;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: 0.2;
    cursor: pointer;
    margin-left: auto;
    margin-right: 11px;
    outline: none;
    z-index: 1099;
}
.fastim-close:hover,
.fastim-close:focus {
    color: #000;
    text-decoration: none;
    opacity: 0.5;
    filter: alpha(opacity=50);
}
.fastim-popup {
    position: absolute;
    top: var(--pop-top);
    left: calc(50% - 300px);
    width: 600px;
    z-index: 1056;
    background: var(--white);
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    border-radius: 3px;
}
.fastim-popup-title {
    display: block;
    padding: 12px 0 10px 16px;
    font-size: 14px;
    font-weight: bold;
    color: var(--dark);
}
.fastim-popup-menu {
    position: fixed;
    left: 46px;
    bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    z-index: 1051;
    background: var(--white);
    border-radius: 3px;
}
.fastim-popup-menu div {
    padding: 8px 26px 8px 14px;
    user-select: none;
    cursor: pointer;
}
.fastim-popup-menu div:hover {
    background: var(--grey);
}
.im-button {
    background: var(--blue);
    -webkit-appearance: none;
    outline: none;
    color: var(--white);
    border-radius: 2px;
    border: none;
    padding: 4px 12px;
    margin: 0 10px;
    cursor: pointer;
    opacity: 0.9;
    white-space: nowrap;
}
.im-button:hover {
    opacity: 1;
}
.im-button-grey {
    color: var(--black) !important;
    background: var(--grey) !important;
}
.im-max-button {
    font-size: 14px;
    padding: 8px 0;
    width: 136px;
}
.im-border-bottom-grey {
    border-bottom: 1px solid var(--grey);
}
.fastim-form {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}
.fastim-form-title {
    width: 160px;
}
.fastim-form-radio label {
    margin-right: 10px;
}
.fastim-form-radio input {
    vertical-align: top;
    margin-top: 2px;
}
.fastim-form select {
    border: 1px solid #d2d6de;
    outline: none;
    width: 50%;
    height: 30px;
    padding: 2px 4px 2px 2px;
}
.fastim-form textarea {
    border: 1px solid #d2d6de;
    width: 50%;
    padding: 2px;
    outline: none;
}
.fastim-form textarea:focus {
    border-color: var(--blue);
}
.fastim-form input[type="text"],
.fastim-form input[type="number"] {
    border: 1px solid #d2d6de;
    width: 60%;
    height: 30px;
    padding: 4px;
}
.fastim-form input:focus,
.fastim-form input:active,
.fastim-form select:focus,
.fastim-form select:active {
    border-radius: 0;
    border-color: var(--blue);
    outline: none;
}
.fastim-form .im-text-content {
    margin-left: 40px;
    color: var(--dark);
    width: 76%;
}
.fastim-form .im-text-content img {
    height: 20px;
}
.fastim-form .date-three-linkage select {
    width: 32%;
}
.fastim-table {
    width: 100%;
    height: 100%;
    background-color: transparent;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0 auto;
}
.fastim-thead {
    margin: 0 10px;
    display: flex;
    height: 40px;
    align-items: center;
    font-weight: bold;
    border-bottom: 1px solid var(--grey);
}
.fastim-titem-flex7 {
    flex: 7;
    padding-left: 10px;
    word-wrap: break-word;
    word-break: break-all;
}
.fastim-titem-flex2 {
    flex: 2;
    text-align: center;
}
.fastim-titem-flex3 {
    flex: 3;
    text-align: center;
}
.fastim-tbody {
    padding: 0 10px;
    height: calc(100% - 40px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}
.fastim-titem {
    padding: 10px 0;
    display: flex;
    align-items: center;
    min-height: 50px;
    border-bottom: 1px solid var(--grey);
}
.fastim-titem:hover {
    background: var(--grey);
}
.fastim-center-buttons {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    user-select: none;
}
.fastim-data-none {
    width: 100%;
    overflow: hidden;
    padding: 14px;
    text-align: center;
    color: var(--gray);
}
.fastim-confirm {
    position: fixed;
    background: var(--white);
    z-index: 1060;
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    font-size: 14px;
    padding: 30px 22px 18px 22px;
}
.fastim-confirm-close {
    right: 0;
    top: 8px;
}
.fastim-confirm .fastim-center-buttons {
    margin-top: 16px;
    margin-bottom: 0;
}
.fastim-label-input {
    position: relative;
    display: table;
    border-collapse: separate;
    width: 100%;
    margin-bottom: 10px;
}
.fastim-label-input span {
    display: inline-block;
    background-color: var(--white);
    padding: 0 12px;
    font-size: 12px;
    color: var(--black);
    text-align: center;
    border: 1px solid var(--grey);
    border-right: 0;
    line-height: 32px;
    height: 32px;
    width: 26%;
}
.fastim-label-input input {
    display: inline-block;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    height: 32px;
    width: 74%;
    line-height: 32px;
    padding: 0 12px;
    font-size: 12px;
    color: var(--black);
    float: right;
    outline: 0;
    background-color: var(--white);
    border: 1px solid var(--grey);
    -webkit-transition: border-color ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s;
    transition: border-color ease-in-out .15s;
}
.fastim-label-input input:focus {
    border-color: var(--blue);
    box-shadow: none;
}
.fastim-right {
    float: right;
}
.fastim-load-more {
    width: 100%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    cursor: pointer;
}
.fastim-load-more img {
    height: 10px;
    width: 10px;
    margin-left: 4px;
}
.fastim-shade {
    z-index: 19891029;
    background-color: rgb(0, 0, 0);
    opacity: 0.9;
    pointer-events: auto;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.blue-tag {
    display: inline-block;
    line-height: 20px;
    color: var(--white);
    background: var(--blue);
    padding: 0 6px;
    border-radius: 4px;
    margin-right: 4px;
}
.input-click-box {
    opacity: 0;
    width: 60px;
    height: 60px;
    display: inline-block;
    position: absolute;
    z-index: 2;
    text-indent: -9999px;
    cursor: pointer;
}
.fastim-upload-img-box {
    display: flex;
}
.upload-box-image {
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    z-index: 1;
    margin-right: 5px;
    user-select: none;
    cursor: pointer;
    flex-wrap: wrap;
}
.upload-box-image img {
    height: 60px;
    width: 60px;
    padding: 2px;
    border: 1px solid #d2d6de;
    margin-bottom: 8px;
}
.upload-box-image:hover{
    opacity: 1;
}
.opacity0 {
    opacity: 0 !important;
}
.fastim-hr {
    border: 0;
    border-top: 1px solid #eeeeee;
    margin: 0;
}
/**
 * 通用类-end
 */
/*悬浮按钮-start*/
.fastim-button-container {
    position: fixed;
    top: 78%;
    right: 60px;
    z-index: 1099;
    user-select: none;
    cursor: pointer;
}
.fastim-button {
    width: 46px;
    height: 46px;
    border-radius: 50%;
}
.fastim-orbit {
    height: 50px;
    width: 50px;
    position: absolute;
    top: -2px;
    right: -2px;
    border: solid;
    border-color: var(--blue) transparent transparent var(--blue);
    border-radius: 50%;
    border-width: 1px 1px 0 1px;
    animation: fastim-orbit 0.5s linear infinite, fastim-pulse 2s infinite;
    -moz-animation: fastim-orbit 0.5s linear infinite, fastim-pulse 2s infinite;
    -webkit-animation: fastim-orbit 0.5s linear infinite, fastim-pulse 2s infinite;
}
.fastim-orbit.link-success {
    animation: fastim-orbit 8s linear infinite, fastim-pulse 2s infinite;
    -moz-animation: fastim-orbit 8s linear infinite, fastim-pulse 2s infinite;
    -webkit-animation: fastim-orbit 8s linear infinite, fastim-pulse 2s infinite;
}
.fastim-point {
    background: var(--blue);
    width: 2px;
    height: 2px;
    border-radius: 50%;
    position: absolute;
    left: 42px;
    top: 8px;
}
@-webkit-keyframes fastim-pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(99, 136, 251, 0.4);
    }
    70% {
        -webkit-box-shadow: 0 0 0 10px rgba(99, 136, 251, 0);
    }
    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(99, 136, 251, 0);
    }
}

@keyframes fastim-pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(99, 136, 251, 0.4);
        box-shadow: 0 0 0 0 rgba(99, 136, 251, 0.4);
    }
    70% {
        -moz-box-shadow: 0 0 0 10px rgba(99, 136, 251, 0);
        box-shadow: 0 0 0 10px rgba(99, 136, 251, 0);
    }
    100% {
        -moz-box-shadow: 0 0 0 0 rgba(99, 136, 251, 0);
        box-shadow: 0 0 0 0 rgba(99, 136, 251, 0);
    }
}
@-webkit-keyframes fastim-orbit {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}
@keyframes fastim-orbit {
    0% {
        transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
    }
}
/*悬浮按钮-end*/
/*消息提示-start*/
.fastim-light-prompt {
    position: fixed;
    z-index: 1099;
    background: var(--white);
    padding: 10px 12px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
}
.fastim-light-prompt-content {
    display: block;
    font-size: 13px;
    line-height: 15px;
    color: var(--dark);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    word-wrap: break-word;
    word-break: break-all;
}
.fastim-light-prompt-content:before {
    position: absolute;
    top: 16px;
    display: block;
    width: 8px;
    height: 6px;
    content: '\00a0';
    -webkit-transform: rotate(29deg) skew(-35deg);
    transform: rotate(29deg) skew(-35deg);
    right: -3px;
    background: var(--white);
    border-radius: 3px;
}
.fastim-light-prompt-content.left:before {
    left: -3px;
}
.fastim-pop-msg {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 15px 30px;
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    z-index: 1099;
    font-size: var(--font-size);
}
.fastim-pop-msg-close {
    position: absolute;
    right: 6px;
    top: 1px;
    font-size: 16px;
    cursor: pointer;
    opacity: 0.8;
    user-select: none;
}
.fastim-pop-msg-close:hover {
    opacity: 1;
}
.fastim-window-msg {
    position: relative;
    display: flex;
    justify-content: center;
    -webkit-transition: opacity 0.1s linear;
    -o-transition: opacity 0.1s linear;
    transition: opacity 0.1s linear;
}
.fastim-window-msg-box {
    position: absolute;
    top: 42px;
    max-width: 360px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    z-index: 1099;
    padding: 6px 20px 6px 13px;
}
.fastim-window-msg-box img {
    height: 30px;
    width: 30px;
    min-width: 30px;
    user-select: none;
}
.fastim-window-msg-box .fastim-window-msg-text {
    margin: 0 4px 0 6px;
}
/*消息提示-end*/
/**
 * 会话窗口-start
 */
.fastim-modal {
    display: none;
    font-size: var(--font-size);
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    outline: 0;
    text-decoration: none;
}
.fastim-fade {
    opacity: 0;
    -webkit-transition: opacity 0.15s linear;
    -o-transition: opacity 0.15s linear;
    transition: opacity 0.15s linear;
}
.fastim-fade.in {
    opacity: 1;
}
.fastim-window {
    position: relative;
    width: 960px;
    height: var(--window-height);
    background-color: var(--white);
    border: 0;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.125);
    display: flex;
}
.fastim-window.modal-dialog {
    margin: 30px auto;
    -webkit-transform: translate(0, -25%);
    -ms-transform: translate(0, -25%);
    -o-transform: translate(0, -25%);
    transform: translate(0, -25%);
    -webkit-transition: -webkit-transform 0.3s ease-out;
    -moz-transition: -moz-transform 0.3s ease-out;
    -o-transition: -o-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
}
.fastim-fade.in .fastim-window.modal-dialog {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
}
.fastim-window-sidebar {
    position: relative;
    width: 5%;
    height: var(--window-height);
    border-right: 1px solid var(--light);
}
/*侧边菜单-start*/
.fastim-sidebar-user {
    position: relative;
    height: 32px;
    width: 32px;
    margin: 16px auto;
    cursor: pointer;
}
.fastim-sidebar-user-status {
    position: absolute;
    font-size: 24px;
    bottom: 0;
    right: -4px;
    line-height: 10px;
    opacity: 0.72;
    user-select: none;
}
.fastim-sidebar-user-status:hover,
.fastim-sidebar-user-status:focus {
    opacity: 1;
}
.user-status-0 {
    color: var(--gray);
}
.user-status-1 {
    color: #21E589;
}
.user-status-2 {
    color: #FF647E;
}
.user-status-3 {
    color: #FF9C4E;
}
.fastim-user-status-list {
    position: absolute;
    left: 40px;
    right: unset;
    bottom: unset;
    width: 80px;
    border-radius: 3px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    z-index: 1051;
    background: var(--white);
}
.fastim-user-status-list div span {
    font-size: 24px;
    opacity: 0.72;
    position: relative;
    bottom: 2px;
    right: 5px;
}
.fastim-user-status-list div {
    display: flex;
    align-items: center;
    padding: 0 0 0 18px;
    user-select: none;
    cursor: pointer;
}
.fastim-sidebar-tabs {
    margin-top: 38px;
    user-select: none;
}
.fastim-sidebar-tab {
    margin: 24px auto;
    height: 20px;
    width: 20px;
    cursor: pointer;
    position: relative;
}
.fastim-sidebar-tab .tab-new-message {
    position: absolute;
    font-size: 28px;
    color: var(--red);
    bottom: 2px;
    left: 18px;
}
.fastim-sidebar-tab img {
    opacity: 0.7;
}
.fastim-sidebar-tab .active,
.fastim-sidebar-tab img:hover,
.fastim-sidebar-tab img:focus {
    opacity: 1;
}
.fastim-sidebar-menu {
    position: absolute;
    bottom: 5px;
    width: 100%;
    user-select: none;
}
.fastim-sidebar-menu .fastim-sidebar-tab {
    margin: 18px auto;
}
.fastim-sidebar-menu-box {
    box-shadow: 0 0 10px rgba(0, 0, 0, .3);
}
/*侧边菜单-end*/
.fastim-window-middle {
    width: 26%;
    height: var(--window-height);
    overflow: hidden;
}
/*会话列表-start*/
.fastim-session-list {
    height: calc(100% - 57px);
}
.fastim-session-ul {
    height: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    user-select: none;
}
.fastim-session-ul::-webkit-scrollbar {
    width: 0;
}
.fastim-session-li,
.search-res-item {
    padding: 12px 14px;
    display: flex;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
}
.fastim-session-li:hover,
.fastim-session-li:focus,
.fastim-session-li.active,
.search-res-item:hover,
.search-res-item.active {
    background: var(--grey) !important;
}
.fastim-window .session-top {
    background: #F8F9F9;
}
.fastim-window .session-avatar {
    height: 42px;
    width: 42px;
    border-radius: 8px;
}
.fastim-window .session-info-right {
    margin-left: 10px;
    width: 77%;
    overflow: hidden;
}
.fastim-window .session-info-name {
    font-size: 14px;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 120px;
}
.fastim-window .session-info-item {
    font-size: 13px;
    display: flex;
    height: 24px;
    line-height: 24px;
    justify-content: space-between;
}
.fastim-window .session-last-message {
    color: var(--gray);
    display: inline-block;
    width: 80%;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: middle;
    text-overflow: ellipsis;
}
.fastim-window .last-message-fixed {
    color: var(--blue);
}
.fastim-window .session-unread-count {
    height: 17px;
    margin-top: 1.5px;
    padding: 0 5px;
    background: var(--red);
    text-align: center;
    line-height: 17px;
    border-radius: 50%;
    color: var(--white);
}
.fastim-window .session-shield {
    background: #D0CFD1 !important;
}
/*会话列表-end*/
/**
 * 对话窗口-start
 */
.session-window {
    height: 100%;
    overflow: hidden;
}
.message-window {
    height: 100%;
    background: var(--bg);
}
.chat-window-header {
    height: 46px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--grey);
}
.chat-window-title {
    margin-left: 16px;
}
.chat-nickname {
    font-size: 14px;
    font-weight: bold;
    color: var(--dark);
    vertical-align: middle;
}
.message-window-nickname {
    cursor: pointer;
}
.message-window-nickname:hover {
    text-decoration: underline;
}
.chat-user-menu {
    color: #3c59f9;
    vertical-align: middle;
    margin-left: 6px;
    cursor: pointer;
    user-select: none;
    opacity: 0.86;
}
.chat-user-menu:hover,
.chat-user-menu:focus {
    opacity: 1;
}
.chat-window-record {
    position: relative;
    display: flex;
    height: calc(100% - 181px);
    overflow: hidden;
    box-sizing: border-box;
    justify-content: flex-end;
    flex-direction: column;
}
.chat-records {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    scrollbar-width: thin;
}
.chat-window-input {
    height: 135px;
    border-top: 1px solid var(--grey);
    padding: 0 16px 0 10px;
}
.chat-window-toolbar {
    display: flex;
    align-items: center;
    margin: 6px 0 2px 0;
}
.toolbar-group {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    cursor: pointer;
    margin-right: 14px;
}
.toolbar-group:hover,
.toolbar-group:focus,
.select-file:hover,
.select-file:focus {
    background: var(--grey);
}
.toolbar-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    vertical-align: middle;
}
.select-file {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    vertical-align: middle;
    position: relative;
    margin-right: 14px;
    cursor: pointer;
}
.select-file input {
    filter: alpha(opacity=0);
    opacity: 0;
    width: 26px;
    height: 26px;
    display: inline-block;
    position: absolute;
    z-index: 2;
    text-indent: -9999px;
    cursor: pointer;
}
.select-file .attach {
    position: absolute;
    z-index: 1;
}
.no-speak {
    text-align: center;
    line-height: 60px !important;
    color: var(--gray) !important;
    user-select: none;
}
#fastim-message {
    display: block;
    font-size: 14px;
    width: 100%;
    height: 60px;
    line-height: 20px;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    border: 0;
    padding-left: 2px;
    white-space: pre-wrap;
    color: var(--dark);
    outline: none;
    background-color: transparent;
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    word-break: break-all;
    word-wrap: break-word;
    scrollbar-width: thin;
}
#fastim-message .emoji {
    height: 26px;
    width: 32px;
    padding: 0 3px;
}
.chat-window-input-bottom {
    font-size: 12px;
    color: var(--gray);
    display: flex;
    padding-top: 8px;
}
.chat-window-input-bottom div {
    margin-left: auto;
}
.chat-window-input-bottom button {
    margin-right: 0;
    background: var(--light-blue);
    opacity: 1;
}
/*聊天记录-start*/
.chat-record-item {
    display: flex;
    padding: 16px 10px 0;
    flex: 1;
    align-items: flex-start;
}
.chat-record-item .emoji {
    height: 26px;
    width: 32px;
    padding: 0 3px;
}
.chat-record-item:last-child {
    padding-bottom: 16px;
}
.chat-record-item.me .record-a {
    color: var(--red);
}
.audio-tips {
    font-size: 12px;
    padding-top: 6px;
    text-align: center;
    color: var(--gray);
}
.chat-record-nickname {
    color: var(--gray);
    font-size: 12px;
    margin: 1px 0;
}
.me .chat-record-nickname {
    text-align: right;
}
.you .chat-record-nickname {
    text-align: left;
}
.fastim-message-voice {
    display: flex;
    align-items: center;
}
.fastim-message-voice .voice-img {
    width: 22px;
    height: 22px;
}
.unread-voice {
    position: absolute;
    top: -4px;
    right: 4px;
    font-size: 14px;
    color: var(--red);
}
.record-file {
    height: 50px;
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
.record-file img {
    width: 50px !important;
    height: 50px !important;
    padding: 4px;
}
.record-file div {
    margin: 6px 0 0 6px;
}
.record-file .file-name {
    font-size: 14px;
    font-weight: bold;
    margin: 0;
    color: var(--black);
}
.record-file .file-size {
    margin: 0;
    color: var(--gray);
}
.chat-record-item.me .file-name {
    color: var(--white);
}
.chat-record-item.me .file-size {
    color: var(--grey);
}
.record-file .down-file {
    font-size: 12px;
    padding: 0 10px;
}
.record-avatar-img {
    position: relative;
    display: inline-block;
    background: transparent;
    width: 36px;
    height: 36px;
    cursor: pointer;
    user-select: none;
}
.record-avatar-img img {
    height: 100%;
    width: 100%;
    border-radius: 6px;
}
.record-content-box {
    position: relative;
    max-width: 65%;
    margin: 0 13px;
}
.record_content_before:before {
    top: 10px !important;
}
.record-content-box:before {
    position: absolute;
    top: 26px;
    display: block;
    width: 8px;
    height: 6px;
    content: '\00a0';
    -webkit-transform: rotate(29deg) skew(-35deg);
    transform: rotate(29deg) skew(-35deg);
}
.me {
    flex-direction: row-reverse;
    display: flex;
    justify-content: flex-start;
    align-content: center;
}
.me .record-content-box:before {
    right: -4px;
    background: var(--light-blue);
}
.you .record-content-box:before {
    left: -4px;
    background: var(--white);
}
.me .record-content {
    color: var(--white);
    background: var(--light-blue);
}
.you .record-content {
    color: #000;
    background: var(--white);
}
.system span {
    font-size: 12px;
    display: inline-block;
    background: #ccc;
    color: #fff;
    line-height: 12px;
    border-radius: 5px;
    padding: 3px 10px;
    text-align: center;
    word-wrap: break-word;
    word-break: break-all;
    margin: 0 auto;
}
.record-content {
    font-size: 14px;
    color: var(--dark);
    padding: 12px 10px;
    border-radius: 5px;
    position: relative;
    width: auto;
    word-wrap: break-word;
    word-break: break-all;
}
.record-content a {
    text-decoration: none;
}
.record-content video:focus,.record-content audio:focus {
    border: none;
    outline: none;
}
.record-content .record-a {
    color: var(--blue);
    cursor: pointer;
}
.record-content .record-img, .record-content img {
    max-height: 200px;
    width: auto;
    height: auto;
    cursor: pointer;
    user-select: none;
    border: 1px solid transparent;
}
.record-content .record-img:active {
    border: 1px solid var(--blue);
}
.group-chat-notice-title {
    font-size: 14px;
    color: var(--gray);
    font-weight: bold;
    margin-bottom: 10px;
}
.me .group-chat-notice-title {
    color: var(--white);
}
.me .group-chat-notice-footer {
    color: var(--white);
}
.group-chat-notice-content {
    display: block;
    max-height: 63px;
    line-height: 21px;
    overflow:hidden;
    text-overflow:ellipsis;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    margin-bottom: 10px;
}
.group-chat-notice-footer {
    font-size: 14px;
    font-weight: bold;
    color: var(--black);
    text-align: center;
    width: 180px;
    margin-top: 10px;
    cursor: pointer;
    user-select: none;
}
.fastim-message-status {
    align-self: flex-end;
    font-size: 12px;
    color: var(--gray);
}
/*聊天记录-end*/
/*at群成员列表-start*/
.fastim-at-users {
    position: fixed;
    top: 100px;
    left: 400px;
    width: 160px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    border-radius: 3px;
    z-index: 1056;
    background: var(--white);
}
.fastim-at-user-item {
    display: flex;
    align-items: center;
    height: 38px;
    padding-left: 10px;
    user-select: none;
    cursor: pointer;
}
.fastim-at-user-nickname {
    display: inline-block;
    width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fastim-at-user-item.active, .fastim-at-user-item:hover {
    background: var(--grey);
}
.fastim-at-user-avatar {
    height: 30px;
    width: 30px;
    padding: 4px;
}
.fastim-at-users-box {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}
.at-users-search {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 6px;
}
.at-users-search input {
    border: 1px solid var(--grey);
    outline: none;
    width: 100%;
    border-radius: 4px;
    font-size: 12px;
}
.at-users-search input:hover,.at-users-search input:focus {
    border: 1px solid var(--light-blue);
}
/*at群成员列表-end*/
.fastim-input-status {
    position: absolute;
    bottom: 0;
    left: 4px;
    z-index: 990;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
    padding: 6px;
    color: var(--blue);
}
/*快捷回复-start*/
.fast-reply {
    color: var(--gray);
    margin-left: auto;
    cursor: pointer;
    user-select: none;
}
.fast-reply:hover,
.fast-reply:focus {
    color: var(--dark);
}
/*快捷回复-end*/
/*已登录用户以游客登录时-start*/
.fastim-window-right .fake-tourist {
    height: 100%;
    background: var(--bg);
}
.fastim-window-right .fake-tourist div {
    height: 100%;
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*已登录用户以游客登录时-end*/
/*服务号消息-start*/
.fastim-window-right .service-window {
    height: 100%;
    background: var(--bg);
}
.fastim-window-right .service-message {
    height: calc(100% - 46px);
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    scrollbar-width: thin;
}
.fastim-window-right .service-message-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 96%;
    margin: 10px auto;
    padding: 10px;
    border-radius: 4px;
    background: var(--white);
}
.fastim-window-right .service-message-info, .fastim-window-right .service-message-option {
    display: flex;
    align-items: center;
}
.fastim-window-right .service-message-info-avatar {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    cursor: pointer;
}
.fastim-window-right .service-message-info-right {
    width: 420px;
    padding-left: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fastim-window-right .service-message-title .fastim-color-blue {
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}
.fastim-window-right .service-message-title .fastim-color-blue:hover {
    text-decoration: underline;
}
.fastim-window-right .service-message-source, .fastim-window-right .service-message-note {
    color: var(--gray);
    font-size: 12px;
}
.fastim-window-right .service-message-info .service-message-row {
    display: flex;
    align-items: center;
    height: 16px;
    line-height: 17px;
    margin: 2px 0;
    color: var(--gray);
    font-size: 12px;
}
.fastim-window-right .service-message-info .service-message-note span {
    color: var(--black);
}
.fastim-window-right .service-message-datatime {
    padding-top: 10px;
    width: 96%;
    margin: 0 auto;
}
.fastim-window-right .service-message-row img {
    height: 14px;
    width: 14px;
    margin-right: 6px;
}
/*服务号消息-end*/

.message-window-popup {
    position: absolute;
    bottom: 0;
    background: var(--white);
    border-radius: 4px;
    z-index: 990;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
}

/*选择表情-start*/
.fastim-emoji {
    width: 467px;
    max-height: 300px;
    left: 4px;
    padding: 6px;
}
.fastim-emoji .emoji {
    width: 38px;
    height: 38px;
    padding: 5px;
}
.fastim-emoji .emoji:hover,
.fastim-emoji .emoji:focus {
    background: var(--grey);
}
/*选择表情-end*/
/*选择快捷回复-start*/
.fast-reply-select {
    width: 220px;
    max-height: 330px;
    right: 0;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}
.fast-reply-select-item {
    display: block;
    padding: 8px;
    user-select: none;
    cursor: pointer;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fast-reply-select-item:nth-of-type(odd) {
    background: #F8F9F9;
}
.fast-reply-select-item:hover {
    background: var(--grey);
}
/*选择快捷回复-end*/
/*发送链接-start*/
.link-input {
    width: 350px;
    padding: 10px;
    left: 4px;
}
/*发送链接-end*/
/**
 * 对话窗口-end
 */
/*PC端通讯录-start*/
.fastim-address-list {
    height: calc(100% - 57px);
}
.fastim-address-list .address-menu-tab-panel {
    height: calc(100% - 31px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}
.fastim-address-list .address-menu {
    width: 100%;
    height: 30px;
    display: flex;
    border-bottom: 1px solid var(--light);
    user-select: none;
}
.fastim-address-list .address-menu-tab {
    flex: 1;
    text-align: center;
    cursor: pointer;
}
.fastim-address-list .address-menu-tab span {
    display: inline-block;
    height: 30px;
    padding: 0 6px;
    color: var(--black);
}
.fastim-address-list .address-menu-tab.active span {
    color: var(--blue);
    border-bottom: 2px solid var(--blue);
}
.fastim-group-box {
    background: var(--light);
    border-radius: 6px;
    height: 50px;
    width: 92%;
    font-size: 14px;
    line-height: 50px;
    text-align: center;
    margin: 10px auto;
    user-select: none;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 10px;
}
.fastim-group-box:hover, .fastim-group-box:focus, .fastim-group-box.active {
    background: var(--light-blue);
    color: var(--white);
}
.fastim-new-group:hover, .fastim-new-group:focus {
    background: var(--light);
    color: var(--black);
}
.fastim-group-input {
    background: transparent;
    outline: none;
    border: none;
    height: 26px;
    text-align: center;
}
.fastim-contacts-window {
    background: var(--bg);
}
.fastim-contacts-window, .contacts-window-box {
    height: 100%;
}
.contacts-title {
    font-size: 14px;
    color: var(--dark);
    height: 46px;
    line-height: 46px;
    padding-left: 16px;
    font-weight: bold;
    border-bottom: 1px solid var(--grey);
}
.contacts-list {
    display: flex;
    flex-wrap: wrap;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100% - 46px);
    scrollbar-width: thin;
}
/*PC端通讯录-end*/
/*PC端收藏-start*/
.fastim-groups.collection-group {
    border-top: 1px solid var(--light);
    height: calc(100% - 57px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}
.fastim-collection-window {
    background: var(--bg);
    position: relative;
    height: 100%;
    padding: 6px 0;
}
.fastim-collection-window .fastim-titem .collection-file {
    padding: 0;
}
.fastim-collection-window .fastim-titem .record-img {
    width: 40px;
    cursor: pointer;
}
/*PC端收藏-end*/
/*右击菜单-start*/
.fastim-contextmenu {
    position: fixed;
    background: var(--white);
    font-size: var(--font-size);
    z-index: 1060;
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
}
.fastim-contextmenu div {
    padding: 8px 26px 8px 14px;
    user-select: none;
    cursor: pointer;
}
.fastim-contextmenu div:hover {
    background: var(--grey);
}
/*右击菜单-end*/
/*搜索-start*/
.fastim-window-search {
    width: 100%;
    display: flex;
    margin: 10px 0;
    align-items: center;
    justify-content: center;
    user-select: none;
    position: relative;
}
.im-window-search-left {
    height: 25px;
    width: 76%;
    border: 1px solid var(--grey);
    display: flex;
    align-items: center;
    font-size: 12px;
    border-radius: 3px;
}
.im-window-search-left img {
    height: 14px;
    width: 14px;
    margin: 0 6px;
}
.fastim-search-input {
    width: calc(100% - 26px);
    border: none;
    outline: none;
    height: 100%;
    padding-right: 6px;
    line-height: 100%;
}
.fastim-window-search .window-search-right {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 22px;
    width: 22px;
    margin-left: 12px;
}
.fastim-window-search .window-search-right img {
    height: 16px;
    width: 16px;
}
.fastim-window-search .window-search-right:hover {
    background: var(--grey);
}
.fastim-window-search .window-search-right-menu {
    position: absolute;
    right: 14px;
    top: 28px;
    left: unset;
    bottom: unset;
}
.fastim-window-search .window-search-right-menu div {
    text-align: center;
}
.fastim-search-result {
    top: 7%;
    left: 6%;
    width: 240px;
    max-height: 480px;
    z-index: 1057;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}
.fastim-search-result .search-result-group {
    margin: 10px;
}
.fastim-search-result .search-res-item {
    padding: 8px 12px;
}
.fastim-search-result .session-info-item {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/*搜索-end*/
/*连接提醒-start*/
.fastim-link-popup {
    top: 32%;
    width: 400px;
    left: calc(50% - 200px);
    padding: 40px 10px 10px 10px;
}
.fastim-link-popup .link-popup-div {
    text-align: center;
    padding: 2px 0;
    word-wrap: break-word;
    word-break: break-all;
}
.fastim-link-title {
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}
.fastim-link-popup .fastim-center-buttons {
    padding-top: 10px;
}
.fastim-link-popup .im-button a {
    color: var(--white);
}
/*连接提醒-end*/
.fastim-window-right {
    width: 69%;
    height: var(--window-height);
    background: var(--bg);
    overflow: hidden;
}
/**
 * 会话窗口-end
 */
/**
 * popup-start
 */

/*群公告-start*/
.new-group-notice-popup {
    left: calc(50% - 250px);
    width: 500px;
    z-index: 1058;
}
.new-group-notice-box {
    padding: 0 15px 15px 15px;
}
.new-group-notice-content {
    font-size: 14px;
    padding-bottom: 10px;
}
.im-group-notice-footer {
    display: flex;
    align-items: center;
}
.im-group-notice-footer-text {
    color: var(--gray);
}
.group-notice-footer-reading-number {
    padding-left: 16px;
}
.group-notice-footer-button {
    margin-left: auto;
}
.im-group-notice-imgs {
    display: flex;
}
/*群公告-end*/
/*申请添加新联系-start*/
.new-contact-apply-box {
    top: 12%;
    left: calc(50% - 200px);
    width: 400px;
    z-index: 1060;
}
.new-contact-apply {
    display: flex;
    align-items: center;
    justify-content: center;
}
.new-contact-apply-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 100%;
    margin: 10px 0;
}
.new-contact-apply-info-box {
    width: 100%;
}
.new-contact-apply-avatar {
    display: block;
    height: 80px;
    width: 80px;
    margin: 0 auto;
    border-radius: 50%;
}
.new-contact-apply-nickname {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 10px;
    padding: 0 10px;
    text-align: center;
}
.new-contact-apply-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    font-size: 12px;
    color: var(--gray);
}
.new-contact-apply-row img {
    height: 18px;
    width: 18px;
    margin-right: 4px;
}
.new-contact-apply-right {
    width: 70%;
    height: 100%;
    padding: 15px;
    padding-bottom: 0;
    position: relative;
}
.fastim-popup .new-contact-apply .fastim-form-title {
    width: 70px;
    color: var(--gray);
    font-weight: normal;
}
.fastim-popup .new-contact-apply select, .fastim-popup .new-contact-apply input, .fastim-popup .new-contact-apply textarea {
    width: 70%;
}
/*申请添加新联系-end*/

/*用户和群聊资料-start*/
.fastim-userinfo {
    top: 12%;
    left: calc(50% - 190px);
    width: 380px;
    z-index: 1057;
}
.fastim-userinfo-form {
    padding-top: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--grey);
}
.fastim-userinfo-form .fastim-form-title {
    margin-bottom: 0;
    color: var(--gray);
    font-size: 13px;
    font-weight: normal;
    padding-right: 26px;
    text-align-last: justify;
    text-align: justify;
    text-justify: distribute-all-lines;
    width: 100px !important;
}
.fastim-userinfo-form form {
    width: 92%;
}
.fastim-userinfo-form input[type="text"],
.fastim-userinfo-form textarea,
.fastim-userinfo-form select,
.fastim-userinfo-form .date-three-linkage,
.fastim-userinfo-form .fastim-form-radio {
    width: 100%;
}
.fastim-userinfo-form .fastim-form-radio label {
    margin-bottom: 0;
}
.userinfo-detail-box {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 86px;
    position: relative;
}
.fastim-userinfo-box {
    border-bottom: 1px solid var(--grey);
    width: 92%;
    margin: 0 auto;
}
.fastim-userinfo-box .userinfo-avatar {
    height: 60px;
    width: 60px;
}
.fastim-userinfo-box .upload-avatar {
    position: absolute;
    bottom: 14px;
    left: 40px;
    width: 18px;
    height: 18px;
    z-index: 1;
}
.groupinfo-menu {
    display: flex;
    user-select: none;
}
.groupinfo-menu-tab {
    font-size: 14px;
    padding: 0 4px;
    text-align: center;
    cursor: pointer;
}
.groupinfo-menu-tab span {
    height: 26px;
    display: inline-block;
    padding: 0 10px;
}
.groupinfo-menu-tab.active span {
    font-weight: bold;
    border-bottom: 2px solid var(--blue);
}
.groupchat-members-title {
    user-select: none;
    background: var(--grey);
}
.groupchat-items {
    display: block;
    height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    margin-bottom: 10px;
}
.groupchat-member-item {
    display: flex;
    padding: 8px;
    font-size: 13px;
}
.groupchat-member-basic {
    flex: 5;
    display: flex;
    align-items: center;
}
.groupchat-member-basic img {
    height: 20px;
    width: 20px;
    user-select: none;
    margin-right: 4px;
}
.groupchat-member-nickname_origin {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 110px;
}
.groupchat-member-nickname {
    flex: 4;
    cursor: pointer;
}
.groupchat-member-nickname input {
    width: 100%;
}
.groupchat-member-speaktime {
    flex: 3;
    text-align: center;
}
.groupchat-member-item:hover {
    background: var(--grey);
}
#uploadavatar {
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 60px;
    height: 60px;
    z-index: 2;
    text-indent: -9999px;
    cursor: pointer;
    outline: none;
}
.userinfo-detail {
    height: 56px;
    width: 80%;
    margin-left: 10px;
}
.userinfo-nickname {
    color: var(--dark);
    font-size: 14px;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: flex-end;
}
.userinfo-nickname div {
    display: inline-block;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.imedit_userinfo_remark {
    color: var(--blue);
    font-size: 13px;
    font-weight: normal;
    cursor: pointer;
    user-select: none;
    margin-left: 4px;
}
.imedit_userinfo_remark_input {
    font-size: 12px;
    vertical-align: top;
    font-weight: normal;
    max-width: 100px;
    margin-left: 4px;
}
.userinfo-other {
    color: var(--dark);
    font-size: 12px;
}
.userinfo-bio {
    color: var(--gray);
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fastim-userinfo-detail {
    width: 92%;
    margin: 10px auto 0 auto;
}
.fastim-userinfo-detail .fastim-form-title {
    text-align-last: justify;
    text-align: justify;
    text-justify: distribute-all-lines;
    width: 56px;
    color: var(--gray);
}
.fastim-userinfo-detail .fastim-friend-group,
.fastim-userinfo-detail .fastim-groupchat-group {
    margin-left: 40px;
}
.fastim-userinfo-detail .leader-avatar {
    cursor: pointer;
}
.add-group-chat-notice {
    width: 80px;
    text-align: center;
    margin-left: auto;
    margin-right: 0;
    margin-bottom: 10px;
    user-select: none;
}
.notice-item {
    border-radius: 6px;
    border: 1px dashed var(--grey);
    margin-bottom: 10px;
    padding: 4px 4px 0 4px;
}
.notice-item-content {
    min-height: 30px;
}
.groupinfo-notice-list {
    display: block;
    max-height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}
.notice-item-footer {
    color: var(--gray);
    padding: 6px 0;
    display: flex;
    align-items: center;
}
.notice-item-footer-read {
    display: inline-block;
    margin-left: 6px;
    user-select: none;
    cursor: pointer;
}
.receipted-count {
    user-select: none;
    cursor: pointer;
}
.notice-item-footer-right {
    margin-left: auto;
    display: flex;
    align-items: center;
}
.notice-item-footer-right .im-button {
    margin: 0 2px;
    padding: 2px 6px;
}
.edit-group-chat-notice-button {
    background: #FF9C4E;
}
/*用户和群聊资料-end*/
/*待办-start*/
.fastim-to-do {
    left: calc(50% - 225px);
    width: 450px;
}
.fastim-to-do .add-to-do {
    display: flex;
    align-items: center;
    height: 40px;
    width: 94%;
    margin: 0 auto;
    line-height: 40px;
    cursor: pointer;
    color: var(--blue);
    border-bottom: 1px solid var(--grey);
    font-size: 14px;
    user-select: none;
}
.fastim-to-do .add-to-do-panel {
    position: fixed;
    width: 430px;
    margin: 0 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    border-radius: 6px;
    background: var(--white);
}
.fastim-to-do .add-to-do-textarea {
    display: block;
    height: 90px;
    padding-top: 10px;
    width: 96%;
    margin: 0 auto;
    outline: none;
    border: none;
}
.fastim-to-do .add-to-do-panel .pick-right-button {
    padding: 10px 0;
}
.fastim-to-do .to-do-more {
    margin: 0 auto;
    display: block;
    height: 30px;
    width: 170px !important;
    border-radius: 4px;
    text-align: center;
    line-height: 30px;
    color: var(--dark);
    background: var(--bg);
    text-decoration: none !important;
}
.fastim-to-do .add-to-do img {
    height: 14px;
    width: 14px;
    margin-right: 4px;
}
.fastim-to-do .to-do-item {
    display: flex;
    align-items: center;
    height: 60px;
    width: 94%;
    margin: 0 auto;
    line-height: 60px;
    border-bottom: 1px solid var(--grey);
}
.fastim-to-do .to-do-item input {
    margin: 0 6px 0 0;
    vertical-align: middle;
    height: 15px;
    width: 15px;
}
.fastim-to-do .to-do-item div {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: calc(100% - 22px);
    vertical-align: middle;
    user-select: none;
    font-size: 14px;
    cursor: pointer;
}
.fastim-to-do .to-do-incomplete .to-do-item div:hover {
    text-decoration: underline;
}
.fastim-to-do .to-do-list {
    height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}
.fastim-to-do .to-do-completed .to-do-item div {
    text-decoration: line-through;
}
/*待办-end*/
/**
 * 设置-start
 */
.fastim-config {
    padding: 20px;
    padding-bottom: 0;
}
.fastim-config-menu {
    user-select: none;
    margin-bottom: 20px;
}
.fastim-config-menu-tab {
    font-size: 14px;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    margin-right: 20px;
}
.fastim-config-menu-tab.active span {
    color: var(--blue);
    border-bottom: 2px solid var(--blue);
}
.fastim-config-menu-tab span {
    display: inline-block;
    height: 30px;
    padding: 0 5px;
}
.fastim-block-contacts select {
    padding: 4px 0 0 4px;
    height: 66px;
    width: 32%;
}
.add-fast-reply-button {
    display: flex;
    height: 60px;
    justify-content: center;
    align-items: center;
}
/*编辑快捷回复-start*/
.edit-fast-reply {
    top: 12%;
    left: calc(50% - 200px);
    width: 400px;
    z-index: 1057;
    padding: 20px;
    padding-bottom: 0;
}
.edit-fast-reply .fastim-form-title {
    width: 100px;
}
.edit-fast-reply input[type="text"],
.edit-fast-reply select,
.edit-fast-reply textarea {
    width: 100%;
}
.fast-reply-tbody .fastim-titem .im-button img {
    height: 12px;
    width: 12px;
}
.fast-reply-tbody .fastim-titem .im-button {
    padding: 2px 5px;
    margin: 0;
}
.fast-reply-tbody {
    max-height: 320px;
}
/*编辑快捷回复-end*/
/**
 * 设置-end
 */
/*反馈与举报-start*/
.fastim-report-form {
    padding: 20px;
    padding-bottom: 0;
}
.fastim-report-form .input-click-box {
    left: 160px;
}
/*反馈与举报-end*/
/*用户列表-start*/
.im-user-list-popup {
    z-index: 1058;
    width: 400px;
    left: calc(50% - 200px);
}
.user-list {
    display: block;
    width: 95%;
    margin: 0 auto;
}
/*用户列表-end*/
/*发布群公告-start*/
.im-add-group-notice-popup {
    z-index: 1058;
}
.group-notice {
    padding: 0 14px;
}
.group-notice-textarea {
    width: 100%;
    margin: 0 auto 10px auto;
    padding: 4px;
    display: block;
    border: 1px solid var(--grey);
    border-radius: 6px;
}
.group-notice-textarea:focus {
    outline: none;
}
.group-notice-footer {
    margin-bottom: 30px;
}
.group-notice-footer label {
    margin-right: 20px;
}
.group-notice-footer label,.group-notice-footer input {
    vertical-align: middle;
}
/*发布群公告-end*/
/*创建新联系-start*/
.fastim-popup .search-new-contact-menu {
    width: 50%;
    margin: 0 auto;
    line-height: 30px;
    font-size: 15px;
    display: flex;
    padding: 30px 0;
    user-select: none;
}
.fastim-popup .new-contact-menu-tab {
    flex: 1;
    text-align: center;
    cursor: pointer;
}
.fastim-popup .new-contact-menu-tab.active span {
    display: inline-block;
    height: 30px;
    color: var(--blue);
    padding: 0 5px;
    border-bottom: 2px solid var(--blue);
}
.fastim-popup .new-contact-menu-tab:hover span {
    display: inline-block;
    height: 30px;
    padding: 0 5px;
    border-bottom: 2px solid var(--blue);
}
.fastim-popup .new-contact-tab-panel {
    padding-bottom: 40px;
}
.fastim-popup .new-contact-tab-panel .new-contact-tab-panel-box {
    width: 94%;
    height: 28px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
}
.fastim-popup .search-new-contact-box {
    flex: 5;
    background: var(--light);
    border-radius: 6px;
    height: 100%;
    display: flex;
    align-items: center;
}
.fastim-popup .search-new-contact-box img {
    height: 18px;
    width: 18px;
    margin: 0 6px 0 12px;
}
.fastim-popup .search-new-contact-box input {
    width: calc(100% - 44px);
    border: none;
    outline: none;
    height: 100%;
    padding-right: 5px;
    line-height: 100%;
    background: var(--light);
}
.fastim-popup .search-new-contact-botton-box {
    flex: 1;
    padding-left: 20px;
    height: 100%;
}
.fastim-popup .search-new-contact-botton-box button {
    width: 100%;
    height: 100%;
    line-height: 100%;
    border: 0;
    -webkit-appearance: none;
    border-radius: 3px;
    color: var(--white);
    background: var(--light-blue);
    user-select: none;
    outline: none;
}
.fastim-popup .new-contact-list {
    width: 100%;
    height: 350px;
    margin-top: -10px;
    background: var(--light);
    border-top: 1px solid var(--grey);
}
.fastim-popup .new-contact-list-flex {
    display: flex;
    flex-wrap: wrap;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 20px;
    max-height: 100%;
    scrollbar-width: thin;
}
/*创建新联系-end*/
/*用户资料卡片-start*/
.user-card {
    width: 45.5%;
    margin: 20px 0 0 3%;
    height: 80px;
    background: var(--white);
    padding: 10px;
}
.user-card-top {
    display: flex;
    align-items: center;
}
.user-card-top .user-card-avatar {
    height: 60px;
    width: 60px;
    border-radius: 5px;
    cursor: pointer;
}
.user-card-info {
    width: 72%;
    height: 60px;
    margin-left: 10px;
}
.user-card-info-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.user-card-nickname {
    font-size: 14px;
    font-weight: bold;
    color: var(--black);
    width: 118px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}
.user-card-nickname:hover {
    text-decoration: underline;
}
.user-card-create {
    border: 0;
    -webkit-appearance: none;
    border-radius: 2px;
    color: var(--white);
    padding: 4px 10px;
    background: var(--blue);
    user-select: none;
    outline: none;
    opacity: 1;
}
.user-card-create:hover {
    opacity: 0.8;
}
.user-card-row {
    display: flex;
    align-items: center;
    height: 16px;
    line-height: 17px;
    margin-top: 2px;
    color: var(--gray);
}
.user-card-note {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 24px;
    color: var(--gray);
}
.user-card-row img {
    height: 14px;
    width: 14px;
    margin-right: 6px;
}
/*用户资料卡片-end*/
/*挑选用户-start*/
.pick-box {
    display: flex;
    height: 450px;
}
.pick-left {
    flex: 2;
    border-right: 1px solid var(--grey);
}
.pick-left .pick-tab {
    height: 40px;
    text-align: center;
    font-size: 13px;
    line-height: 40px;
    user-select: none;
    cursor: pointer;
}
.pick-left .pick-tab:hover,
.pick-tab.active {
    background: var(--grey);
}
.pick-middle {
    flex: 4;
    padding: 10px;
    padding-right: 2px;
    border-right: 1px solid var(--grey);
}
.pick-middle .im-window-search-left {
    width: 97%;
    margin-bottom: 10px;
}
.pick-right {
    flex: 6;
    padding: 10px;
}
.pick-group {
    height: 26px;
    line-height: 26px;
    display: flex;
    align-items: center;
    padding: 0 4px;
    user-select: none;
    cursor: pointer;
}
.pick-group img {
    height: 10px;
    width: 10px;
    margin-right: 4px;
}
.pick-group div {
    margin-top: 2px;
}
.pick-item {
    height: 30px;
    display: flex;
    align-items: center;
    user-select: none;
    cursor: pointer;
    margin: 0;
    padding: 0 4px;
}
.pick-item .pick-item-nickname {
    font-size: 12px;
    font-weight: normal;
    margin: 0 6px;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pick-item input {
    margin: 0;
    margin-left: auto;
}
.pick-item .pick-item-avatar {
    height: 18px;
    width: 18px;
    border-radius: 6px;
}
.pick-group:hover,
.pick-item:hover {
    background: var(--grey);
}
.fastim-pickuser #pick-form {
    height: calc(100% - 35px);
}
.pick-widget {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    padding-right: 8px;
}
.pick-selected {
    padding-top: 4px;
    height: calc(100% - 60px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
}
.pick-selected .pick-item {
    border: 1px solid var(--blue);
    float: left;
    margin-right: 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}
.pick-right-button {
    display: flex;
    justify-content: flex-end;
    padding-top: 8px;
}
/*挑选用户-end*/
/*搜索结果-start*/
.search-result-group {
    display: block;
    padding: 4px;
    border-bottom: 1px solid var(--grey);
}
/*搜索结果-end*/
/*预览图片-start*/
.fastim-preview-img {
    position: fixed;
    z-index: 19891030;
    background: var(--white);
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    border-radius: 3px;
    cursor: move;
    user-select: none;
}
.fastim-preview-img .fastim-close {
    z-index: 19891030;
    right: -3px;
    top: 4px;
}
/*预览图片-end*/
/*智能客服*/
.csr-message-box {
    padding-top: 6px;
}
.manual-csr {
    display: inline-block;
    cursor: pointer;
    opacity: 0.86;
    user-select: none;
}
.csr-message-opt {
    font-size: 13px;
    cursor: pointer;
    padding: 2px 0;
}
.csr-message-opt-name {
    opacity: 0.86;
    color: var(--blue);
}
.csr-group-name {
    font-size: 12px;
    font-weight: bold;
    color: var(--dark);
    padding-top: 6px;
}
.csr-message-i-el {
    color: var(--dark);
}
.manual-csr:hover, .csr-message-opt-name:hover {
    opacity: 1;
}
/*客服*/
/**
 * popup-end
 */
/*滚动条-start*/
.fastim-scrollbar::-webkit-scrollbar {
    width: 4px;
}
.fastim-scrollbar::-webkit-scrollbar-track {
    background-color: #fff;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
}
.fastim-scrollbar::-webkit-scrollbar-thumb {
    background-color: #C5C5C6;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
}
.fastim-scrollbar-track-bg::-webkit-scrollbar-track {
    background-color: var(--bg);
}
.fastim-scrollbar-thumb-grey::-webkit-scrollbar-thumb {
    background-color: var(--grey);
}
/*滚动条-end*/
.fastim-hidden {
    display: none;
}
.rotate-90 {
    transform: rotate(90deg) !important;
}
.fastim-bg-red {
    background: var(--red) !important;
}
.fastim-bg-blue {
    background: var(--blue) !important;
}
.fastim-color-red {
    color: var(--red) !important;
}
.fastim-color-blue {
    color: var(--blue) !important;
}
.fastim-color-gray {
    color: var(--gray) !important;
}
.fastim-bg-gray {
    background: var(--grey) !important;
}
.im-input-focus-on {
    border: 1px solid var(--light-blue) !important;
}

@media screen and (max-height: 700px) {
    .fastim-form {
        margin-bottom: 10px;
    }
    .fast-reply-tbody {
        max-height: 280px;
    }
    .groupchat-items {
        height: 220px;
    }
}

/*
 * 抖动动画-代码来源于 csshake
 * https://github.com/elrumordelaluz/csshake
 */
@keyframes shake-horizontal {
    2% {
        transform: translate(-6px, 0) rotate(0);
    }
    4% {
        transform: translate(9px, 0) rotate(0);
    }
    6% {
        transform: translate(-6px, 0) rotate(0);
    }
    8% {
        transform: translate(-2px, 0) rotate(0);
    }
    10% {
        transform: translate(8px, 0) rotate(0);
    }
    12% {
        transform: translate(-6px, 0) rotate(0);
    }
    14% {
        transform: translate(0px, 0) rotate(0);
    }
    16% {
        transform: translate(-1px, 0) rotate(0);
    }
    18% {
        transform: translate(9px, 0) rotate(0);
    }
    20% {
        transform: translate(-4px, 0) rotate(0);
    }
    22% {
        transform: translate(-6px, 0) rotate(0);
    }
    24% {
        transform: translate(-5px, 0) rotate(0);
    }
    26% {
        transform: translate(-9px, 0) rotate(0);
    }
    28% {
        transform: translate(-4px, 0) rotate(0);
    }
    30% {
        transform: translate(2px, 0) rotate(0);
    }
    32% {
        transform: translate(0px, 0) rotate(0);
    }
    34% {
        transform: translate(0px, 0) rotate(0);
    }
    36% {
        transform: translate(1px, 0) rotate(0);
    }
    38% {
        transform: translate(-1px, 0) rotate(0);
    }
    40% {
        transform: translate(0px, 0) rotate(0);
    }
    42% {
        transform: translate(1px, 0) rotate(0);
    }
    44% {
        transform: translate(-8px, 0) rotate(0);
    }
    46% {
        transform: translate(-8px, 0) rotate(0);
    }
    48% {
        transform: translate(8px, 0) rotate(0);
    }
    50% {
        transform: translate(3px, 0) rotate(0);
    }
    52% {
        transform: translate(-4px, 0) rotate(0);
    }
    54% {
        transform: translate(3px, 0) rotate(0);
    }
    56% {
        transform: translate(-8px, 0) rotate(0);
    }
    58% {
        transform: translate(0px, 0) rotate(0);
    }
    60% {
        transform: translate(-9px, 0) rotate(0);
    }
    62% {
        transform: translate(-4px, 0) rotate(0);
    }
    64% {
        transform: translate(2px, 0) rotate(0);
    }
    66% {
        transform: translate(1px, 0) rotate(0);
    }
    68% {
        transform: translate(-7px, 0) rotate(0);
    }
    70% {
        transform: translate(-8px, 0) rotate(0);
    }
    72% {
        transform: translate(5px, 0) rotate(0);
    }
    74% {
        transform: translate(-7px, 0) rotate(0);
    }
    76% {
        transform: translate(6px, 0) rotate(0);
    }
    78% {
        transform: translate(-6px, 0) rotate(0);
    }
    80% {
        transform: translate(4px, 0) rotate(0);
    }
    82% {
        transform: translate(-8px, 0) rotate(0);
    }
    84% {
        transform: translate(-3px, 0) rotate(0);
    }
    86% {
        transform: translate(2px, 0) rotate(0);
    }
    88% {
        transform: translate(-1px, 0) rotate(0);
    }
    90% {
        transform: translate(1px, 0) rotate(0);
    }
    92% {
        transform: translate(-5px, 0) rotate(0);
    }
    94% {
        transform: translate(-8px, 0) rotate(0);
    }
    96% {
        transform: translate(0px, 0) rotate(0);
    }
    98% {
        transform: translate(-8px, 0) rotate(0);
    }
    0%,
    100% {
        transform: translate(0, 0) rotate(0);
    }
}
.fastim-shake {
    transform-origin: center center;
    animation-name: shake-horizontal;
    animation-duration: 100ms;
    animation-timing-function: ease-in-out;
    animation-iteration-count: 4;
}