html,
body,
#chatapp,
.chat_box {
    width: 100%;
    height: 100%;
    pointer-events: none;
}


/* .stick {
    position: fixed;
    z-index: 9999999;
    background-color: rgb(0, 122, 255);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 14px;
    cursor: pointer;
    display: flex;
    pointer-events: auto;
}

.stick .text {
    color: rgb(255, 255, 255);
    font-size: 16px;
}

.stick:hover .icon_wrap {} */

.my-chat {
    position: fixed;
    overflow: hidden;
    z-index: 9999999;
    pointer-events: auto;
}

.chat_wrap {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: rgb(252, 252, 252);
}

.chat_wrap .scale:hover {
    transform: scale(1.3);
}

.chat_header {
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 12px 15px;
    background-color: rgb(0, 122, 255);
}

.h_t .avatarBox {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 12px;
}

.h_t .avatarBox img {
    width: 100%;
    height: 100%;
}

.server-state {
    position: relative;
}

.server-state::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 30px;
    width: 10px;
    height: 10px;
    border-radius: 1000px;
    overflow: hidden;
    background: radial-gradient(circle, #c5c8ce 0%, #c5c8ce 50%, rgba(197, 200, 206, 0.4) 60%);
    background-size: 100% 100%;
    background-position: 0 0;
    z-index: 1000;
    transition: all .3s ease 0s;
}

.server-state.server-online::after {
    background: radial-gradient(circle, #19be6b 0%, #19be6b 50%, rgba(25, 190, 107, 0.4) 60%);
}

.h_t .h_t_c .name {
    font-size: 17px;
}

.h_t .h_t_c .des {
    font-size: 14px;
}

.h_t .volume {
    padding: 6px;
    border-radius: 2px;
    margin-right: 10px;
}

.h_t .arrow {
    padding: 6px;
    border-radius: 2px;
}

.h_b {
    margin-top: 6px;
    margin-left: 54px;
}

.h_b .item {
    margin-right: 15px;
}

.h_b .item:hover .wx_select {
    display: block;
}

.h_b .item .wx_select {
    width: 18px;
    height: 18px;
}

.chat_content {
    flex-grow: 1;
    padding: 40px 14px 14px;
    box-sizing: border-box;
    overflow-y: scroll;
}

.chat_content .more {
    position: absolute;
    top: 10px;
    left: 0px;
    right: 0px;
    width: 100%;
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 12px;
    color: rgb(119, 119, 119);
    cursor: pointer;
}

.chat_content ul li {
    margin-bottom: 12px;
}

.chat_content ul li.win_right {
    margin-left: 30px;
}

.chat_content .time {
    color: rgb(178, 178, 178);
    font-size: 12px;
    margin-bottom: 2px;
}

.chat_content .kf_msg {
    max-width: 100%;
    position: relative;
    background-color: rgb(255, 255, 255);
    border-radius: 3px;
    border: 1px solid rgb(240, 240, 240);
    display: inline-block;
}

.chat_content .msg {
    max-width: 100%;
    position: relative;
    background-color: rgb(0, 122, 255);
    border-radius: 3px;
    border: 1px solid rgb(240, 240, 240);
    color: #fff;
}

.chat_content .msg .msg-loading {
    position: absolute;
    left: -25px;
    color: #7ea4cb;
    bottom: 4px;
    font-size: 13px;
}

.chat_content .msg .msg-is-view {
    position: absolute;
    left: -25px;
    color: #c7c7c7;
    bottom: 4px;
    font-size: 15px;
}

.chat_content .msg .msg-no-view {
    position: absolute;
    left: -25px;
    color: #7ea4cb;
    bottom: 4px;
    font-size: 15px;
}

.chat_content .inner {
    padding: 10px 15px;
    border-radius: 3px;
    font-size: 13px;
    word-break: break-word;
    flex-wrap: wrap;
}

.chat_footer {
    flex-shrink: 0;
    box-sizing: border-box;
    border-top: 1px solid rgb(237, 237, 237);
    background: rgb(255, 255, 255);
}

.chat_footer .textarea_wrap {
    position: relative;
    height: 100px;
}

.chat_footer .textarea_wrap_yd {
    position: relative;
    height: 100px;
    display: none;
}

.chat_footer .textarea_wrap.none,
.chat_footer .textarea_wrap_yd.none {
    display: none;
}

.chat_footer .textarea_wrap.block,
.chat_footer .textarea_wrap_yd.block {
    display: block;
}

.chat_footer .textarea_wrap textarea {
    /* display: block; */
    width: 100%;
    height: 100%;
    resize: none;
    padding: 8px 10px;
    outline: none;
    background: rgb(255, 255, 255);
    border: none;
    font-size: 13px;
    line-height: 18px;
    letter-spacing: 0.5px;
    box-sizing: border-box;
}

.chat_footer .f_b {
    height: 40px;
    line-height: 40px;
    padding: 0 15px 0 10px;
    overflow: hidden;
}

.chat_footer .f_b .item {
    padding: 2px 5px;
}

.chat_footer .f_b .item .icon {
    color: #999;
}

.chat_footer .submit {
    width: 60px;
    height: 28px;
    line-height: 28px;
    font-size: 13px;
    border: 0px;
    outline: none;
    border-radius: 3px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    opacity: 1;
    color: white;
    background: rgb(0, 122, 255);
}

.chat_footer .input_wrap {
    display: flex;
    align-items: center;
    margin: 0 12px;
    box-sizing: content-box;
}

.chat_footer .input_wrap input {
    width: 100%;
    height: 30px;
    line-height: 30px;
    border: none;
    outline: none;
    padding: 0 12px;
    font-size: 14px;
    background-color: #fff;
}

@media screen and (min-width: 577px) {
    /* .stick {
        flex-direction: column;
        left: 0;
        bottom: 115px;
        width: 46px;
        box-sizing: content-box;
        border-radius: 3px;
    }
    .stick:hover .b-icon {
        transform: scale(1.2);
    }
    .stick .icon_wrap {
        width: 100%;
        height: 40px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }
    .stick .text {
        line-height: 40px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        float: none;
        writing-mode: tb-rl;
        width: 40px;
        padding: 25px 0;
    } */
    .my-chat {
        /* display: none; */
        max-height: 720px;
        max-width: 640px;
        top: 50%;
        left: 50%;
        height: 90%;
        width: 70%;
        box-shadow: rgba(0, 0, 0, 0.16) 0px 5px 40px;
        transform: translateX(-50%) translateY(-50%);
        /* scale(0) */
        border-radius: 10px;
    }
    /* .my-chat.fadeIn {
        display: block;
        animation: fadeIn 0.2s ease forwards;
    }
    .my-chat.fadeOut {
        display: block;
        animation: fadeOut 0.3s ease forwards;
    } */
    @keyframes fadeIn {
        0% {
            transform: translateX(-50%) translateY(-50%) scale(0.1);
            opacity: 0.1;
        }
        25% {
            transform: translateX(-50%) translateY(-50%) scale(0.2);
            opacity: 0.1;
        }
        50% {
            transform: translateX(-50%) translateY(-50%) scale(0.3);
            opacity: 0.1;
        }
        75% {
            transform: translateX(-50%) translateY(-50%) scale(0.4);
            opacity: 0.1;
        }
        100% {
            transform: translateX(-50%) translateY(-50%) scale(1);
            opacity: 1;
        }
    }
    @keyframes fadeOut {
        0% {
            transform: translateX(-50%) translateY(-50%) scale(1);
            opacity: 0.6;
        }
        25% {
            transform: translateX(-50%) translateY(-50%) scale(1.2);
            opacity: 0.3;
        }
        50% {
            transform: translateX(-50%) translateY(-50%) scale(1.2);
            opacity: 0.2;
        }
        75% {
            transform: translateX(-50%) translateY(-50%) scale(1.2);
            opacity: 0;
        }
        100% {
            opacity: 0;
            transform: translateX(-50%) translateY(-50%) scale(0);
        }
    }
    .chat_footer {
        height: 140px;
    }
    .visiable-md {
        display: block;
    }
    .hidden-md {
        display: none;
    }
    .chat_footer .input_wrap {
        margin: 3px 0 0;
        align-items: flex-start;
    }
}

@media screen and (max-width: 576px) {
    /* .stick {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 42px;
        left: 0;
        bottom: 0;
        border-radius: 0;
    }
    .stick .icon_wrap {
        width: 40px;
        text-align: center;
    }
    .stick .text {
        line-height: 42px;
        text-align: center;
    } */
    .my-chat {
        /* display: none; */
        width: 100%;
        height: 100%;
        right: 0;
        bottom: 0;
        /* transform: scale(0); */
        border-radius: 0;
    }
    /* .my-chat.fadeIn {
        display: block;
        animation: fadeIn 0.2s ease forwards;
    }
    .my-chat.fadeOut {
        display: block;
        animation: fadeOut 0.3s ease forwards;
    } */
    @keyframes fadeIn {
        0% {
            transform: scale(0.1);
            opacity: 0.1;
        }
        25% {
            transform: scale(0.2);
            opacity: 0.1;
        }
        50% {
            transform: scale(0.3);
            opacity: 0.1;
        }
        75% {
            transform: scale(0.4);
            opacity: 0.1;
        }
        100% {
            transform: scale(1);
            opacity: 1;
        }
    }
    @keyframes fadeOut {
        0% {
            transform: scale(1);
            opacity: 0.6;
        }
        25% {
            transform: scale(0.8);
            opacity: 0.3;
        }
        50% {
            transform: scale(0.6);
            opacity: 0.2;
        }
        75% {
            transform: scale(0.4);
            opacity: 0;
        }
        100% {
            opacity: 0;
            transform: scale(0);
        }
    }
    .chat_footer {
        position: relative;
        height: 44px;
        background-color: #fcfcfc;
    }
    .chat_footer .textarea_wrap {
        position: absolute !important;
        left: 40px;
        bottom: 7px;
        height: 30px;
        width: 62%;
        background: rgb(255, 255, 255);
        border-top: none;
    }
    .hidden-sm {
        display: none;
    }
}


/* qq表情 */

.qqFace {
    left: 0 !important;
    bottom: 40px !important;
    width: 100%;
    height: 100px;
    max-height: 140px;
    overflow-y: scroll;
    background: #fff;
    padding: 2px;
    border: 1px #dfe6f6 solid;
    z-index: 1;
}

.qqFace table td {
    padding: 0px;
}

.qqFace table td img {
    cursor: pointer;
    border: 1px #fff solid;
}

.qqFace table td img:hover {
    border: 1px #0066cc solid;
}


/* qq表情 */

.fail_input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: transparent;
    outline: none;
    border: none;
    opacity: 0;
}

.fl.win_left_inner.image {
    width: 100%;
}

.kf_image_msg {
    max-width: 100%;
    position: relative;
}

.kf_image_container {
    width: 40%;
    background-color: rgb(255, 255, 255);
    border-radius: 3px;
    border: 1px solid rgb(240, 240, 240);
    padding: 4px;
}

.kf_image_container img {
    width: 100%;
    height: auto;
}

.wd-canvas {
    display: none;
}

.copyText {
    position: absolute;
    top: 0;
    left: 0;
    width: .1px;
    height: .1px;
    border: none;
    opacity: 0
}

.kf_vcard_msg {
    width: 300px;
    height: 176px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.wd-chat-vcard-download {
    width: 25px;
    height: 25px;
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 20px;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all .28s ease 0s;
    z-index: 1000;
}

.wd-chat-vcard-download:hover {
    transform: translateY(1px);
}

.wd-chat-vcard-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-size: 100% 100%;
}

.wd-chat-vcard-body {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 10px;
    overflow: hidden;
    z-index: 1;
    box-sizing: border-box;
}

.wd-chat-vcard-body::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(120deg, rgba(3, 3, 3, .02) 0%, rgba(3, 3, 3, .04) 20%, rgba(3, 3, 3, .05) 80%);
}

.wd-chat-vcard-base {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}

.wd-chat-vcard-avatar {
    font-variant: small-caps;
    margin: 0;
    padding: 0;
    display: inline-flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 40px;
    background-size: cover;
    background-position: center;
    vertical-align: middle;
    font-size: 1.5em;
    min-width: 40px;
    border: 1px solid #ffffff;
}

.wd-chat-vcard-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 15px;
}

.wd-chat-vcard-username {
    position: relative;
    color: #ffffff;
    font-size: 17px;
}

.wd-chat-vcard-username::after {
    content: attr(data-job);
    color: inherit;
    font-size: 13px;
    position: relative;
    margin-left: 10px;
}

.wd-chat-vcard-mobile {
    font-size: 13px;
    color: #ffffff;
}

.wd-chat-vcard-other {
    width: 100%;
}

.wd-chat-vcard-other-item {
    line-height: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.wd-chat-vcard-other-item+.wd-chat-vcard-other-item {
    margin-top: 8px;
}

.wd-chat-vcard-other-item img {
    width: 12px !important;
    height: 12px !important;
    margin-right: 8px !important;
    -webkit-filter: contrast(30);
    filter: contrast(30);
}

.wd-chat-vcard-other-item span {
    color: #ffffff !important;
    font-size: 12px !important;
}

.kf_product_msg {
    width: 200px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.wd-chat-product-cover {
    width: 100%;
    height: 140px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.wd-chat-product-info {
    padding: 10px;
}

.wd-chat-product-title {
    font-size: 15px;
    font-weight: bold;
    color: #333;
}

.wd-chat-product-price {
    position: relative;
    font-size: 15px;
    color: #ed4014;
    margin-top: 3px;
}

.wd-chat-product-price::before {
    content: "¥";
    color: inherit;
    font-size: 60%;
    margin-right: 3px;
}

.wd-chat-product-desc {
    font-size: 12px;
    color: #808695;
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 6px 10px 6px;
    border-top: 1px solid #e8eaec;
}


/* .wd-chat-product-desc::before {
    content: " ";
    width: 200%;
    height: 200%;
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(.5);
    transform-origin: 0 0;
    border-top: 1rpx solid #e8eaec;
} */

.wd-chat-product-desc {
    font-size: 12px;
    color: #808695;
}

.wd-chat-product-desc .fa {
    margin-right: 2px;
}

.fl.win_left_inner.recall {
    width: 100%;
}

.wd-chat-recall {
    width: 100%;
    padding: 20px 0;
    text-align: center;
    color: #a5a5a5;
    font-size: 12px;
}

[class*="wd-text-cut"] {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    word-break: break-all;
}

.wd-text-cut1 {
    -webkit-line-clamp: 1;
}

.wd-chat-quote {
    max-width: 250px;
    margin: 5px 0 0 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
}

.wd-chat-quote-icon {
    font-size: 14px;
    color: #eaeaea;
    width: 16px;
    min-width: 16px;
    transform: translateY(-1px);
}

.wd-chat-quote-content {
    flex-grow: 1;
    margin-left: 4px;
    font-size: 12px;
    padding: 4px 8px;
    color: #757575;
    background-color: #eaeaea;
    border-radius: 5px;
    overflow: hidden;
}

.fl.win_left_inner.vcard {
    position: relative;
}