/**
 *
 */

*, *:before, *:after {
    -moz-box-sizing: border-box;
    /* Firefox 1, probably can drop this */
    -webkit-box-sizing: border-box;
    /* Safari 3-4, also probably droppable */
    box-sizing: border-box;
    /* Everything else */
}


.kefu__font-icon {
    font-family: icon!important;
    font-size: 22px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

@font-face {
    font-family: 'icon';
    src: url('../font/icon.eot');
    src: url('../font/icon.eot?#iefix') format('embedded-opentype'),
    url('../font/icon.woff2') format('woff2'),
    url('../font/icon.woff') format('woff'),
    url('../font/icon.ttf') format('truetype'),
    url('../font/icon.svg#iconfont') format('svg');
}


body, html {
    height: 100%;
    margin:0;
    font-family: Roboto,"Helvetica Neue",Helvetica,sans-serif,"Hiragino Sans GB","Microsoft YaHei";
    font-size: 16px;
    color: #333;
}

a {
    text-decoration: none;
}

.kefu__hover:hover {
    background-color: #f2f2f2;
    -webkit-transition: .5s all;
    transition: .5s all;
}

.kefu__panel button:disabled, .kefu__panel input:disabled {
    pointer-events: none;
    cursor: not-allowed;
    filter: alpha(opacity=50);
    opacity: .5;
}

.kefu__body {
    padding-top: 0;
    height: 100%;
    display:flex;
    justify-content: center;
    align-items:center;
}


.kefu__panel .kefu__flexbox {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    display: -ms-flexbox;
}

.kefu__main {
    max-width: 1000px;
    min-width: 800px;
    height: 100%;
    margin: 0 auto;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    overflow: hidden;
    min-height: 600px;
    max-height:600px;
    width: 100%;
    position: relative;
}

.kefu__left-main-panel {
    position: relative;
    width: 280px;
    height: 100%;
    float: left;
    background: #FBFBFB;
    border-top:1px solid #d6d6d6;
    border-bottom:1px solid #d6d6d6;
}

.kefu__left-main-panel .kefu__selected {
    border-top: 1px solid #eee;
    box-shadow: 1px 1px 10px #ddd;
    background-color: #fff;
}

.kefu__right-main-panel {
    position: relative;
    background-color: #fff;
    height: calc(100% - 2px);
    overflow: hidden;
    border:1px solid #d6d6d6;
}


.kefu__avatar {
    width: 44px;
    height: 44px;
    position: relative;
}


.kefu__chat-head {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background-color: #FBFBFB;
    border-bottom: 1px solid #d6d6d6;
    flex: 1;
    align-items: center;
    display: flex;
    justify-content:space-between;
}

.kefu__chat-head .kefu__title{
    font-size:17px;
    padding:0 20px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis
}

.kefu__chat-head .kefu__font-icon {
    font-size:20px;
    padding-right:20px;
    color:#b6b6b6;
    cursor: pointer;
    user-select: none;
}


.kefu__chat-body {
    position: absolute;
    bottom: 181px;
    overflow-y: auto!important;
    overflow-x: hidden!important;
    padding: 0!important;
    top: 61px;
    right: 0;
    left: 0;
    width: calc(100% - 281px);
}

.kefu__history_body {
    bottom: 0 !important;
    top: 0 !important;
}

.kefu__chat-none {
    position: absolute;
    bottom: 1px;
    overflow-y: auto!important;
    overflow-x: hidden!important;
    padding: 0!important;
    top: 61px;
    right: 0;
    left: 0;
}

.kefu__flex1 {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.kefu__clearfix:after {
    content: "";
    clear: both;
    display: block;
}

.kefu__chat-content {
    overflow-y: auto;
    overflow-x: hidden;
    font-size: 14px;
    font-family: inherit;
    padding: 18px;
    position: relative;
}

.kefu__panel ul, .kefu__panel ol, .kefu__panel li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kefu__chat-content ul li {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    display: -ms-flexbox;
    margin-bottom: 16px;
}

.kefu__chat-content ul li.kefu__chat-msg-time {
    padding-top: 12px;
}

.kefu__chat-content ul li.kefu__chat-msg-time span, .kefu__chat-content ul li.kefu__chat-msg-notice span {
    color: #b0b0b0;
    border-radius: 3px;
    display: block;
    font-size: 12px;
    font-family: Verdana;
    overflow: hidden;
    margin: 0 auto;
    padding: 4px;
    line-height: normal;
    max-width: 90%;
}

.kefu__chat-content ul li.kefu__chat-msg-notice span {
    color: #666;
}

.kefu__chat-content ul li.kefu__chat-msg-notice span a {
    color: #0060a0;
}

.kefu__chat-content ul li .kefu__chat-msg-avatar {
    display: block;
    overflow: hidden;
    height: 40px;
    width: 40px;
}

.kefu__chat-content ul li .kefu__chat-msg-avatar img {
    vertical-align: top;
    height: 100%;
    width: 100%;
}

.kefu__chat-content ul li .kefu__chat-msg-content {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-author {
    color: #aaa;
    font-size: 10px;
    margin: 0 10px;
}

.kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-msg {
    border-style: solid;
    border-width: 1px;
    border-radius: 4px;
    color: #444;
    float: left;
    font-size: 14px;
    margin: 0 10px;
    padding: 10px;
    word-wrap: break-word;
    word-break: break-all;
    min-height: 18px;
    max-width: 560px;
    position: relative;
    transition: all .3s;
    /*user-select: none;*/
}

.kefu__chat-msg-content .kefu__chat-msg-file-cover {
    display: table-cell;
    padding-right: 10px;
}

.kefu__chat-msg-content .kefu__chat-msg-file-info {
    display: table-cell;
    vertical-align: top;
    font-size: 14px;
}

.kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-msg .kefu__chat-msg-face {
    vertical-align: top;
    height: 25px;
}

.kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-msg a {
    color: #0060a0;
    font-family: arial;
    cursor: pointer;
}

.kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-msg a:active {
    background-color: #c2e6fd;
}

.kefu__chat-content ul li.kefu__chat-msg-others .kefu__chat-msg-content .kefu__chat-msg-msg {
    background-color: #fff;
    border-color: #f0f0f0;
}

.kefu__chat-content ul li.kefu__chat-msg-others .kefu__chat-msg-content .kefu__chat-msg-msg:active, .kefu__chat-content ul li.kefu__chat-msg-others .kefu__chat-msg-content .kefu__chat-msg-msg.taped {
    background-color: #f2f2f2;
    border-color: #e9e9e9;
}

.kf_index_bg {
    background-image: url('https://static.workerman.net/img/kf_index_bg.png');
}


.kefu__chat-content ul li.kefu__chat-msg-me .kefu__chat-msg-content .kefu__chat-msg-author {
    text-align: right;
}

.kefu__chat-content ul li.kefu__chat-msg-me .kefu__chat-msg-content .kefu__chat-msg-msg {
    float: right;
    background-color: #a5d7ff;
    border-color: #85c7fb;
}

.kefu__panel .kefu__voice-box{
    width: .6rem;
    height: .5rem;
    width: 26px;
    height: 20px;
    background: url(/static/img/chat/voice.png?v=1);
    background-size: 2.3rem .64rem;
    background-size: 100px 28px;
    background-repeat: no-repeat;
    background-position: -2px;
    display: block;
}

.kefu__panel .kefu__voice-playing{
    animation: voice_animation 1s steps(1) infinite;
    -moz-animation: voice_animation 1s steps(1) infinite;
    -webkit-animation: voice_animation 1s steps(1) infinite;
    -o-animation: voice_animation 1s steps(1) infinite;
    animation-play-state: running;
}

.kefu__panel .kefu__voice-body {
    width: 100px;
    display: block;
    height: 20px;
}

.kefu__panel .kefu__float-left{
    float:left;
}
.kefu__panel .kefu__float-right{
    float:right;
}

.kefu__panel .kefu__text-right{
    text-align: right;
}

.kefu__panel .kefu__text-center{
    text-align: center;
}

.kefu__panel .kefu__route180 {
    transform: rotate(180deg);
}

@keyframes voice_animation
{
    25%  {background-position: -28px;}
    50%  {background-position: -51px;}
    75%  {background-position: -73px;}
    100% {background-position: -3px;}
}


.kefu__chat-msg-content .kefu__chat-msg-icon {
    vertical-align: middle;
    width: 44px;
    height: 44px;
    background-color: red;
    border-radius: 5px;
    display: flex;
    color: #fff;
    font-size: 16px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    font-weight: bold;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-style: normal;
}

.kefu__chat-msg-content .kefu__chat-msg-file-info .kefu__chat-msg-file-name {
    display:block;
    line-height: 180%;
}

.kefu__chat-msg-content .kefu__chat-msg-file-info .kefu__chat-msg-file-size {
    color: #777;
}

.kefu__chat-content ul li.kefu__chat-msg-me .kefu__chat-msg-content .kefu__chat-msg-msg:active, .kefu__chat-content ul li.kefu__chat-msg-me .kefu__chat-msg-content .kefu__chat-msg-msg.taped {
    background-color: #8ecafb;
    border-color: #74bdf7;
}

.kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-msg:before {
    content: '';
    display: inline-block;
    border-style: solid;
    border-width: 1px 1px 0 0;
    height: 10px;
    width: 10px;
    position: absolute;
    top: 15px;
}

.kefu__chat-content ul li.kefu__chat-msg-others .kefu__chat-msg-content .kefu__chat-msg-msg:before {
    background: inherit;
    border-color: inherit;
    left: -6px;
    transform: translate(0, -50%) rotate(-135deg);
}

.kefu__chat-content ul li.kefu__chat-msg-me .kefu__chat-msg-content .kefu__chat-msg-msg:before {
    background: inherit;
    border-color: inherit;
    right: -6px;
    transform: translate(0, -50%) rotate(45deg);
}

.kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-picture:before, .kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-video:before {
    display: none;
}

.kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-picture, .kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-video {
    background-color: transparent !important;
    border-width: 0;
    border-radius: 3px;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-picture.taped, .kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-video.taped, .kefu__chat-content ul li .kefu__chat-msg-avatar.taped{
    opacity: .6;
}

.kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-picture img, .kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-video video {
    vertical-align: top;
    pointer-events: none;
    max-height: 270px;
    max-width: 270px;
}

.kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-picture img, .kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-video img {
    vertical-align: top;
    pointer-events: none;
    max-height: 270px;
    max-width: 270px;
}

.kefu__chat-content ul li .kefu__chat-msg-content .kefu__chat-msg-video:after {
    content: '';
    background: url(../img/chat/icon__play.png) no-repeat center;
    background-size: 40px;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
}


.kefu__chat-footer{
    height: 180px;
    border-top: 1px solid #d6d6d6;
    position: absolute;
    right: 0;
    bottom: 1px;
    left: 0;
    width: calc(100% - 280px);
}

.kefu__chat-toolbar {
    height: 40px;
    padding: 5px 17px;
    position: relative;
}

.kefu__chat-text-area {
    padding: 0 15px;
}

.kefu__chat-toolbar .kefu__font-icon {
    font-size:22px;
    line-height: 40px;
    margin-right:17px;
    color:#666;
    cursor: pointer;
    float: left;
    overflow: hidden;
    position: relative;
}

.kefu__chat-toolbar input[type="file"] {
    opacity: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 11;
    cursor: pointer;
}

.kefu__emotion-wrapper{
    position: absolute;
    background-color: #fff;
    z-index: 99;
    top: -240px;
    left: 11px;
    outline: none;
}

.kefu__emotion-wrapper .kefu__border{
    border: 1px solid #dedede;
}

.kefu__emotion-wrapper .kefu__border:after, .kefu__emotion-wrapper .kefu__border:before {
    content: "";
    position: absolute;
    left: 16px;
    top: 100%;
    margin-left: -7px;
}

.kefu__emotion-wrapper .kefu__border:before {
    border: 7px solid transparent;
    border-top-color: #cfcfcf;
}

.kefu__emotion-wrapper .kefu__border:after {
    margin-top: -1px;
    border: 7px solid transparent;
    border-top-color: #fff;
}

.kefu__emotion-wrapper .kefu__emotion{
    margin:20px;
    overflow: hidden;
}

.kefu__emotion-wrapper .kefu__faces{
    overflow: hidden;
    width: 420px;
    height: 202px;
    margin-right: -1px;
}

.kefu__emotion-wrapper .kefu__emotion span {
    float: left;
    width: 28px;
    height: 28px;
    font-size: 24px;
    border-bottom: 1px solid #f0f0f0;
    border-right: 1px solid #f0f0f0;
    cursor: pointer;
    display: flex;
    justify-content:center;
    align-items:center;
}

.kefu__emotion-wrapper .kefu__emotion img {
    width:24px;
}

.kefu__chat-text-area textarea {
    width: 100%;
    background-color: #fff;
    border: 0;
    outline: none;
    white-space: pre-wrap;
    word-break: normal;
    margin: 0;
    height: 5em;
    resize:none;
    font-size:15px;
}

.kefu__chat-send-area {
    text-align: right;
    margin-top: 5px;
    position: relative;
}

.kefu__chat-send-btn {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: top;
    font-size: 14px;
    line-height: 32px;
    margin-left: 5px;
    padding: 0 20px;
    background-color: #5FB878;
    color: #fff;
    border-radius: 3px;
    box-sizing: content-box;
    border:none;
    cursor: pointer;
    margin-right:28px;
}

::-webkit-scrollbar {
    background: rgba(50, 50, 50, .5);
    border-radius: 0;
    border-top:1px solid #000;
    height: 3px;
    width: 3px;
    transition: all .3s ease-in-out;
}

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

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

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .3);
    border-radius: 0;
    min-height: 15px;
    width: 8px;
    transition: all .3s ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, .5)
}

::-webkit-scrollbar-thumb:active {
    background: rgba(0, 0, 0, .5)
}

.kefu__mask {
    position:fixed;
    top:0;
    right:0;
    left:0;
    bottom:0;
    background:rgba(0, 0, 0, 0.2);
    z-index: 100;
}


.kefu__confirm {
    position: absolute;
    top:50%; left:50%;
    margin-top:-85px;
    margin-left:-200px;
    width:400px;
    height:170px;
    background-color: #fff;
    border: 1px solid #d6d6d6;
    border-radius: 2px;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 2px 1px -1px rgba(0,0,0,.12);
    z-index:101;
}

.kefu__confirm .kefu__title {
    line-height: 280%;
    padding-left:20px;
    font-size: 16px;
    color:#999;
}

.kefu__confirm .kefu__info {
    color: #666;
    font-size: 15px;
    margin-left: 20px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.kefu__confirm .kefu__operation {
    justify-content: flex-end;
    position: absolute;
    bottom: 10px;
    right:0;
}

.kefu__confirm .kefu__operation button{
    margin-right: 10px;
    margin-top: 4px;
    padding: 0 18px;
}

.kefu__panel .kefu__border-top {
    position: relative;
}

.kefu__panel .kefu__cross:before, .kefu__cross:after {
    position: absolute;
    left: 50%;
    content: ' ';
    height: 17px;
    width: 2px;
    background-color: #666;
    border-radius: 2px;
}

.kefu__panel .kefu__cross:before {
    transform: rotate(45deg);
}
.kefu__panel .kefu__cross:after {
    transform: rotate(-45deg);
}

/* post 操作提示 */
.kefu__panel .kefu__toast {
    position: fixed;
    z-index: 5000;
    width: 160px;
    height: 160px;
    top: 50%;
    left: 50%;
    margin-left: -80px;
    margin-top: -80px;
    background: rgba(17, 17, 17, 0.5);
    text-align: center;
    border-radius: 5px;
    color: #FFFFFF;
}

.kefu__panel .kefu__icon_toast {
    display: block;
}

.kefu__panel .kefu__icon-success-no-circle {
    color: #07C160;
    vertical-align: middle;
    font: normal normal normal 14px/1 "weui";
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.kefu__panel .kefu__icon-success-no-circle:before {
    color: #FFFFFF;
    font-size: 66px;
    content: "\EA08";
}

.kefu__panel .kefu__toast {
    display: flex;
    align-items: center;
    justify-content: center;
}

.kefu__panel .kefu__toast__content {
    margin: 0 0 16px;
    font-size: 14px;
}

@-webkit-keyframes kefu__loadding-ball-beat {
    50% {
        opacity: 0.2;
        -webkit-transform: scale(0.75);
        transform: scale(0.75);
    }

    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes kefu__loadding-ball-beat {
    50% {
        opacity: 0.2;
        -webkit-transform: scale(0.75);
        transform: scale(0.75);
    }

    100% {
        opacity: 1;
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

.kefu__loadding-ball-beat > div {
    background-color: #fefefe;
    width: 15px;
    height: 15px;
    border-radius: 100%;
    margin: 2px;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    display: inline-block;
    -webkit-animation: kefu__loadding-ball-beat 0.7s 0s infinite linear;
    animation: kefu__loadding-ball-beat 0.7s 0s infinite linear;
}

.kefu__loadding-ball-beat > div:nth-child(2n-1) {
    -webkit-animation-delay: 0.35s !important;
    animation-delay: 0.35s !important;
}

.kefu__panel .kefu__flex-justify-center {
    justify-content: center;
}

.kefu__panel .kefu__flex-align-center {
    align-items: center;
}

/* 聊天页面大图预览 */
.kefu__img-view {
    background: rgba(0, 0, 0, 1);
    height: 100%;
    width: 100%;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 3000;
}

.kefu__img-view .swiper-container {
    height: 100%;
    max-width: 100%;
}

.kefu__img-view .swiper-slide {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    align-items: center;
}

.kefu__img-view .swiper-slide img {
    max-height: 100%;
    max-width: 100%;
    width: 100%;
    transition: all .3s;
    transform: scale(.8);
}

.kefu__img-view .swiper-slide-active img {
    transform: scale(1);
}

/* 视频播放相关 */
.kefu__video-view {
    background: rgba(0, 0, 0, 1);
    height: 100%;
    width: 100%;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 2003;
}

.kefu__video-view video{
    z-index: 10;
}

.kefu__video-view:after {
    content: '';
    background-image: linear-gradient(-180deg, rgba(0, 0, 0, .6), transparent);
    height: 1.2rem;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.kefu__video-view .kefu__close{
    position: fixed;
}

.kefu__video-view .kefu__close:before, .kefu__video-view .kefu__close:after {
    content: "";
    background: #fff;
    transform: translate(50%, -50%) rotate(45deg) scale(.9);
    position: absolute;
    top: 50%;
    right: 50%;
}

/* 录音相关 */
.kefu__panel .kefu__chat-voice-tip {
    position: fixed;
    width: 200px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
    border-radius: 3px;
    overflow: hidden;
    background-color:rgba(0,0,0,0.5);
    padding: 15px;
    color:#ddd;
    height:120px;
    z-index: 101;
}

.kefu__panel .kefu__chat-voice-tip div {
    padding:5px;
}

.kefu__panel .kefu__chat-voice-tip .kefu__warning {
    border-radius: 3px;
    background-color: darkred;
}

.kefu__chat-voice-tip .kefu__operation {
    justify-content: center;
}

.kefu__chat-voice-tip .kefu__operation button{
    margin: 10px;
    margin-top: 18px;
}

@-webkit-keyframes kefu__line-scale-pulse-out {
    0% {
        -webkit-transform: scaley(1);
        transform: scaley(1); }

    50% {
        -webkit-transform: scaley(0.4);
        transform: scaley(0.4); }

    100% {
        -webkit-transform: scaley(1);
        transform: scaley(1); } }

@keyframes kefu__line-scale-pulse-out {
    0% {
        -webkit-transform: scaley(1);
        transform: scaley(1); }

    50% {
        -webkit-transform: scaley(0.4);
        transform: scaley(0.4); }

    100% {
        -webkit-transform: scaley(1);
        transform: scaley(1); } }

.kefu__line-scale-pulse-out {
    margin-top: 20px;
}

.kefu__line-scale-pulse-out > div {
    background-color: #fff;
    width: .08rem;
    height: .66rem;
    border-radius: .04rem;
    margin: .04rem;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    display: inline-block;
    -webkit-animation: kefu__line-scale-pulse-out 0.9s 0s infinite cubic-bezier(.85, .25, .37, .85);
    animation: kefu__line-scale-pulse-out 0.9s 0s infinite cubic-bezier(.85, .25, .37, .85);
}
.kefu__line-scale-pulse-out > div:nth-child(2), .kefu__line-scale-pulse-out > div:nth-child(4) {
    -webkit-animation-delay: 0.2s !important;
    animation-delay: 0.2s !important;
}
.kefu__line-scale-pulse-out > div:nth-child(1), .kefu__line-scale-pulse-out > div:nth-child(5) {
    -webkit-animation-delay: 0.4s !important;
    animation-delay: 0.4s !important;
}

.kefu__panel .kefu__flex1 {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.kefu__panel .kefu__loading{
    width:16px;
    height:16px;
    display:inline-block;
    vertical-align:middle;
    -webkit-animation:popLoading 1s steps(12, end) infinite;
    animation:popLoading 1s steps(12, end) infinite;
    background:transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iIzk4OTY5NyIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgzMCAxMDUuOTggNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjOUI5OTlBIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDYwIDc1Ljk4IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0EzQTFBMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA2NSA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNBQkE5QUEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoMTIwIDU4LjY2IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0IyQjJCMiIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgxNTAgNTQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjQkFCOEI5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKDE4MCA1MCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDMkMwQzEiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTE1MCA0NS45OCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=) no-repeat;
    background-size: 100%;
    margin:0 3px;
}

@-webkit-keyframes popLoading{
    0%{
        -webkit-transform:rotate3d(0, 0, 1, 0deg);
        transform:rotate3d(0, 0, 1, 0deg);
    }
    100%{
        -webkit-transform:rotate3d(0, 0, 1, 360deg);
        transform:rotate3d(0, 0, 1, 360deg);
    }
}
@keyframes popLoading{
    0%{
        -webkit-transform:rotate3d(0, 0, 1, 0deg);
        transform:rotate3d(0, 0, 1, 0deg);
    }
    100%{
        -webkit-transform:rotate3d(0, 0, 1, 360deg);
        transform:rotate3d(0, 0, 1, 360deg);
    }
}

.kefu__loading-tip {
    text-align: center;
    margin: 8px 0;
    font-size: 13px;
    color: #999;
}


.kefu__panel .kefu__btn-primary {
    background-color: #1AAD19;
    border-radius: 5px;
    box-sizing: border-box;
    color: #fff;
    display: block;
    font-size: 14px;
    font-family: "Microsoft Yahei";
    text-align: center;
    outline: none;
    overflow: hidden;
    padding: 0 9px;
    text-decoration: none;
    line-height: 34px;
    position: relative;
    border:none;
}

.kefu__panel .kefu__btn-primary:active {
    background-color: #8dcb76;
}

.kefu__panel .kefu__btn-primary:after {
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 5px;
    box-sizing: border-box;
    content: '';
    height: 200%;
    width: 200%;
    position: absolute;
    left: 0;
    top: 0;
    transform: scale(.5);
    -webkit-transform: scale(.5);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
}

/*消息模版样式*/
.kefu__chat-template {
    border: none !important;
    margin-bottom:20px;
    max-width: 520px;
    border-radius: 2px;
    background-color: #fff;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 2px 1px -1px rgba(0,0,0,.12);
    padding: 0;
    overflow: hidden;
    position: relative;
    min-width: 400px;
}

.kefu__chat-msg-me .kefu__chat-msg-content .kefu__chat-template {
    min-width: 30px;
}


.kefu__chat-template-title {
    padding: 4px 0 12px;
    border-bottom: 1px solid #d6d6d6;
    margin-bottom: 12px;
    font-weight: 500;
}

ul li.kefu__faq-item {
    margin: 0;
    padding: 6px 6px 6px 0;
}

/*消息模版样式*/

/* 右栏常见问题 */
.kefu__chat-right-panel {
    height:100%;
    float: right;
    width: 280px;
    border-left: 1px solid #d6d6d6;
    padding:80px 0 20px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.kefu__faq-title {
    padding: 0 0 8px;
    border-bottom: 1px solid #d6d6d6;
    margin: 0 16px 2px;
    font-size: 14px;
}
.kefu__faq-content {
    padding: 4px 0;
    line-height: 180%;
}
.kefu__faq-content li {
    cursor: pointer;
    padding: 0 16px;
    font-size:14px;
}

/* 右栏常见问题 */

.kefu__warning-tips {
    color: orangered;
    position: absolute;
    bottom: 182px;
    left: 2px;
    right: 2px;
    background-color: #eee;
    padding: 5px 16px;
    border: 1px solid #aaa;
    font-size: 13px;
    cursor: default;
}

.kefu__goods-template-title {
    max-width: 320px;
    font-weight: 500;
    line-height: 200%;
}

.kefu__goods-template-content img {
    max-width: 100px;
    margin-left: 8px;
}

.kefu__goods-template-content {
    align-items: flex-start;
}

.kefu__ellipsis {
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
