@charset "utf-8";

/*=========
 基本默认值
 ==========*/



/*客服*/
.index-kefu{
    position: fixed;
    right: 0;
    bottom: 15%;
    z-index: 122;
    width: 44px;
}
.index-kefu .kefu-box{
    display:inline-block;
    background-color: #574698;
    position: relative;
}
.index-kefu .kefu-box .kefu-icon{
   width: 44px;
   height: 44px;
   background-repeat: no-repeat;
   background-position: center;
   -webkit-background-size: cover;
   background-size: cover;
   cursor: pointer;

}
.index-kefu .kefu-box.kefu-qq .kefu-icon{
    background-image: url(../images/kfqq_03.png);
} 
.index-kefu .kefu-box.kefu-phone .kefu-icon{
    background-image: url(../images/kfphone_03.png);
} 
.index-kefu .kefu-box.kefu-messaged .kefu-icon{
    background-image: url(../images/kfly_03.png);
} 
.index-kefu .kefu-box.kefu-weixin .kefu-icon{
    background-image: url(../images/kfwx_03.png);
} 
.index-kefu .kefu-box.kefu-top .kefu-icon{
   background-image: url(../images/kftop_03.png);
}
.index-kefu .kefu-box.kefu-top{
 -webkit-transition: all .5s;
 -o-transition: all .5s;
 -moz-transition: all .5s;
 transition: all .5s;
 opacity: 0;
 visibility: hidden; 
}
.index-kefu .kefu-box.kefu-top.in{
   opacity: 1;
   visibility: visible; 
}
.index-kefu .kefu-box .sub-box{
    position: absolute;
    min-width: 200px;
    padding: 25px;
    display:none;
    right: 100%;
    top: 0;
    background-color: #fff;
    z-index: 123;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
}

.index-kefu .kefu-box[data-on="click"] .sub-box{
    display: block;
}
.index-kefu .kefu-box .sub-box .kefu-title{
    font-size: 1.16rem;
    line-height: 1;
}
.index-kefu .kefu-box .sub-box .kefu-number{
    display: block;
    margin-top: 10px;
    font-size: 1.16rem;
    line-height: 1;
    color: #0079ce;
}
.index-kefu .kefu-box .sub-box .kefu-close{
    position: absolute;
    width: 18px;
    height: 18px;
    right: 10px;
    top: 10px;
    z-index: 124;
}
.index-kefu .kefu-box .sub-box .kefu-close:before{
    content: "";
    display: block;
    width: 18px;
    height: 3px;
    position: absolute;
    top: 9px;
    left: 0;
    background-color: #d0d0d0;
    border-radius: 50px;
    transform:rotate(45deg);
    -ms-transform:rotate(45deg);     /* IE 9 */
    -moz-transform:rotate(45deg);    /* Firefox */
    -webkit-transform:rotate(45deg); /* Safari 和 Chrome */
    -o-transform:rotate(45deg);  /* Opera */
}
.index-kefu .kefu-box .sub-box .kefu-close:after{
    content: "";
    display: block;
    width: 18px;
    height: 3px;
    position: absolute;
    top: 9px;
    left: 0;
    background-color: #d0d0d0;
    border-radius: 50px;
    transform:rotate(-45deg);
    -ms-transform:rotate(-45deg);     /* IE 9 */
    -moz-transform:rotate(-45deg);    /* Firefox */
    -webkit-transform:rotate(-45deg); /* Safari 和 Chrome */
    -o-transform:rotate(-45deg);  /* Opera */
}

.index-kefu .kefu-box.kefu-weixin .sub-box{
    width: 110px;
    height: 110px;
    min-width: auto;
    padding: 0;
    position: absolute;
    right: 100%;
    top: 50%;
    margin-top: -60px;
}
.index-kefu .kefu-box.kefu-weixin .sub-box img{
    width: 100%;
    height: 100%;
}
@media only screen and (min-width: 601px){
.index-kefu .kefu-box.kefu-weixin:hover .sub-box{
    display: block;
}
}
@media only screen and (max-width:1024px){
    .index-kefu{
        display: none;
    }
}

