﻿.sc-kefu {
    position: fixed;
    right: 0px;
    top: 25%;
    /* transform: translateY(-50%);
    -webkit-transform: translateY(-50%); */
    background: #ffffff;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
    width: 40px;
    z-index: 10000;
    border:2px solid #ffffff;
    border-right: 0px;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.sc-kefu .sc-kefu-inner {
    background: #ff3e3e;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    /* box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5); */
}

.sc-kefu .kefu-item {
    border-bottom: 1px solid #ff6969;
    text-align: center;
    padding: 10px 5px;
    cursor: pointer;
    position: relative;
    border-radius: 4px;
    text-decoration: none;
    display: block;
}

.sc-kefu .kefu-item .kefu-item-box {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    display: none;
}

.sc-kefu .kefu-item .kefu-item-box .kefu-item-box-inner {
    margin-right: 15px;
    background: #ffffff;
    border-radius: 5px;
    padding: 10px 15px;
    /*    border: 1px solid #e5e5e5;*/
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
    position: relative;
}

.sc-kefu .kefu-item .kefu-item-box .kefu-item-box-inner:before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    background: #ffffff;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5);
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    position: absolute;
    top: 50%;
    right: -5px;
    margin-top: -5px;
    z-index: 1;
}

.sc-kefu .kefu-item .kefu-item-box .kefu-item-box-inner:after {
    content: "";
    display: block;
    top: 5px;
    bottom: 5px;
    right: 0px;
    width: 10px;
    position: absolute;
    background: #ffffff;
    z-index: 2;
}
.sc-kefu .kefu-item .kefu-item-box .kefu-sub-item{
    padding:5px 0px;
    text-align: left;
    font-size: 14px;
    white-space: nowrap;
}
.sc-kefu .kefu-item .kefu-item-box .kefu-sub-item .btn-contact{
    display: block;
    background: #f5f5f5;
    color: #333333;
    text-align: center;
    border-radius: 4px;
    position: relative;
    padding:0px 10px 0px 10px;
    text-decoration: none;
    line-height: 36px;
    overflow: hidden;
}

.sc-kefu .kefu-item .kefu-item-box .kefu-sub-item .btn-contact-online{
    background: #e53737;
    color: #ffffff;
}
.sc-kefu .kefu-item .kefu-item-box .kefu-sub-item .btn-contact-online:hover{
    box-shadow: 0px 0px 10px 0px #e53737;
}
.sc-kefu .kefu-item .kefu-item-box .kefu-sub-item .btn-contact-qq{
    padding-left: 50px;
}
.sc-kefu .kefu-item .kefu-item-box .kefu-sub-item .btn-contact-qq:before{
    content: "";
    display: block;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 36px;
    height: 36px;
    background: #73b8fd url(https://g.100xuexi.com/CssModel/XXSub2019/images/bg1005.png?20180606) center center no-repeat;
}
.sc-kefu .kefu-item .kefu-item-box .kefu-sub-item .btn-contact-qq:hover{
    box-shadow: 0px 0px 10px 0px #73b8fd;
}
.sc-kefu .kefu-item .kefu-item-box .kefu-sub-item .btn-contact-phone{
    padding-left: 50px;
    cursor: text;
}
.sc-kefu .kefu-item .kefu-item-box .kefu-sub-item .btn-contact-phone:before{
    content: "";
    display: block;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 36px;
    height: 36px;
    background: #ff9d5b url(https://g.100xuexi.com/CssModel/XXSub2019/images/bg1004.png?20180606) center center no-repeat;
}
.sc-kefu .kefu-item .kefu-item-box .phone-num {
    font-size: 20px;
    color: #333333;
    font-family: arial;
    white-space: nowrap;
}
.sc-kefu .kefu-item .kefu-item-box .phone-des{
    font-size: 14px;
    color: #888888;
    font-family: arial;
    white-space: nowrap;
}
.sc-kefu .kefu-item .kefu-item-box .qq-num {
    font-size: 20px;
    color: #333333;
    font-family: arial;
    white-space: nowrap;
}

.sc-kefu .kefu-item .kefu-item-box .app-code {
    font-size: 12px;
    color: #ff3e3e;
    line-height: 1.5;
}

.sc-kefu .kefu-item .kefu-item-box .app-code-img {
    padding: 10px 0px;
}

.sc-kefu .kefu-item .kefu-item-box .app-code-img img {
    width: 120px;
    vertical-align: top;
    max-width: none;
}

.sc-kefu .kefu-item:hover {
    background-color: #e53737;
}

.sc-kefu .kefu-item:hover .kefu-item-box {
    display: block;
}

.sc-kefu .kefu-item:last-child {
    border-bottom: 0px;
}

.sc-kefu .kefu-item .ico {
    background: url(https://g.100xuexi.com/CssModel/XXMain2018/Images/sc-kefu-ico.png?20200220) center top no-repeat;
    width: 30px;
    height: 30px;
    margin: 0px auto;
}

.sc-kefu .kefu-item .ico-online {
    background-position: center 0px;
}


.sc-kefu .kefu-item .ico-phone {
    background-position: center -30px;
}

.sc-kefu .kefu-item .ico-qq {
    background-position: center -60px;
}

.sc-kefu .kefu-item .ico-code {
    background-position: center -90px;
}

.sc-kefu .kefu-item .ico-top {
    background-position: center -120px;
}
.sc-kefu .kefu-item .ico-weixin {
    background-position: center -150px;
}
.sc-kefu .kefu-item .ico-fankui {
    background-position: center -180px;
}
.sc-kefu .kefu-item#goTop {
    display: none;
}

.sc-kefu .kefu-item .text {
    font-size: 12px;
    color: #ffffff;
    line-height: 1.2;
}


/* 手机版客服样式 */

.sc-kefu-mobile {
    position: fixed;
    left: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.3);
    padding-bottom: constant(safe-area-inset-bottom);
    padding-bottom: env(safe-area-inset-bottom);
}

.sc-kefu-mobile .sc-kefu-inner {
    box-sizing: border-box;
    z-index: 1;
    padding: 10px 0px 10px 0px;
    max-width: 600px;
    margin: 0px auto;
}

.sc-kefu-mobile .sc-kefu-inner:after {
    content: "";
    display: block;
    clear: both;
}

.sc-kefu-mobile .kefu-item {
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    display: block;
    /* width: 20%; */
    width: 33.33%;
    float: left;
    font-size: 0px;
}
.sc-kefu-mobile .kefu-item#goTop{
    display:none;
}
.sc-kefu-mobile .kefu-item .kefu-item-box {
    display: none;
    position: fixed;
    left: 0px;
    top:0px;
    right: 0px;
    bottom: 0px;
    background: rgba(0,0,0,0.5);
}
.sc-kefu-mobile .kefu-item-box-inner{
    position: fixed;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background: #ffffff;
    font-size: 16px;
    padding-top: 16px;
}

.sc-kefu-mobile .kefu-item .kefu-item-box .kefu-sub-item{
    text-align: left;
    white-space: nowrap;
    margin: 0px 16px 16px 16px;
}
.sc-kefu-mobile .kefu-item .kefu-item-box .kefu-sub-item .btn-contact{
    display: block;
    background: #f5f5f5;
    color: #333333;
    text-align: center;
    border-radius: 4px;
    position: relative;
    padding:0px 10px 0px 10px;
    text-decoration: none;
    line-height: 36px;
    overflow: hidden;
}

.sc-kefu-mobile .kefu-item .kefu-item-box .kefu-sub-item .btn-contact-online{
    background: #e53737;
    color: #ffffff;
}
.sc-kefu-mobile .kefu-item .kefu-item-box .kefu-sub-item .btn-contact-online:hover{
    box-shadow: 0px 0px 10px 0px #e53737;
}
.sc-kefu-mobile .kefu-item .kefu-item-box .kefu-sub-item .btn-contact-qq{
    padding:0px 50px;
}
.sc-kefu-mobile .kefu-item .kefu-item-box .kefu-sub-item .btn-contact-qq:before{
    content: "";
    display: block;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 36px;
    height: 36px;
    background: #73b8fd url(https://g.100xuexi.com/CssModel/XXSub2019/images/bg1005.png?20180606) center center no-repeat;
}
.sc-kefu-mobile .kefu-item .kefu-item-box .kefu-sub-item .btn-contact-qq:hover{
    box-shadow: 0px 0px 10px 0px #73b8fd;
}
.sc-kefu-mobile .kefu-item .kefu-item-box .kefu-sub-item .btn-contact-phone{
    padding:0px 50px;
    cursor: text;
}
.sc-kefu-mobile .kefu-item .kefu-item-box .kefu-sub-item .btn-contact-phone:before{
    content: "";
    display: block;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 36px;
    height: 36px;
    background: #ff9d5b url(https://g.100xuexi.com/CssModel/XXSub2019/images/bg1004.png?20180606) center center no-repeat;
}
.sc-kefu-mobile .kefu-item .kefu-item-box .btn-cancel{
    border-top: 1px solid #e5e5e5;
    display: block;
    line-height: 40px;
    text-align: center;
    color: #333333;
    text-decoration: none;
}

.sc-kefu-mobile .kefu-item .ico {
    background: #ff3e3e;
    width: 20px;
    height: 20px;
    padding: 3px;
    border-radius: 5px;
    display: inline-block;
    margin-right: 5px;
    vertical-align: middle;
}

.sc-kefu-mobile .kefu-item .ico:before {
    content: "";
    display: block;
    background: #ff3e3e url(https://g.100xuexi.com/CssModel/XXMain2018/Images/sc-kefu-ico.png?20180606) center top no-repeat;
    width: 100%;
    height: 100%;
    background-size: 20px auto;
}

.sc-kefu-mobile .kefu-item .ico-online:before {
    background-position: center 0px;
}

.sc-kefu-mobile .kefu-item .ico-phone:before {
    background-position: center -20px;
}

.sc-kefu-mobile .kefu-item .ico-qq:before {
    background-position: center -40px;
}

.sc-kefu-mobile .kefu-item .ico-code:before {
    background-position: center -60px;
}

.sc-kefu-mobile .kefu-item .ico-top:before {
    background-position: center -80px;
}
.sc-kefu-mobile .kefu-item .ico-weixin:before {
    background-position: center -100px;
}
.sc-kefu-mobile .kefu-item .ico-fankui:before {
    background-position: center -120px;
}
.sc-kefu-mobile .kefu-item .text {
    font-size: 14px;
    color: #333333;
    display: inline-block;
    vertical-align: middle;
}


/* 圣才电子书客服样式 */

.sc-kefu-scapp {
    position: fixed;
    top: 30%;
    right: 0px;
    z-index: 1000;
    width: 35px;
    height: 105px;
}

.sc-kefu-scapp .sc-kefu-inner {
    display: block;
    width: 100%;
    height: 100%;
}

.sc-kefu-scapp .kefu-item {
    display: none;
}

.sc-kefu-scapp .kefu-online {
    display: block;
    width: 100%;
    height: 100%;
    background: url(https://wx.100xuexi.com/images/Mobile_bg0643.png);
    background-size: auto 105px;
    background-repeat: no-repeat;
    animation: amt-kefu-ico 1s steps(2) infinite normal;
    -webkit-animation: amt-kefu-ico 1s steps(2) infinite normal;
}

.sc-kefu-scapp .kefu-online .ico,
.sc-kefu-scapp .kefu-online .text {
    display: none;
}

@keyframes amt-kefu-ico {
    0% {
        background-position: 0 0;
        opacity: 1;
    }
    100% {
        background-position: -70px 0;
        opacity: 1;
    }
}

@-webkit-keyframes amt-kefu-ico {
    0% {
        background-position: 0 0;
        opacity: 1;
    }
    100% {
        background-position: -70px 0;
        opacity: 1;
    }
}