/*
    PC页面右侧浮动条，包含im、电话、微信号、返回顶部
*/

/* em的全屏模式 */
.easemobim-chat-panel.full-screen {
    top: 0!important;
    left: 0!important;
    width: 100%!important;
    height: 100%!important;
}
/* 防止被奇葩css覆盖的一些小小的挣扎 == START == */
 .help-bar * {
    text-align: left;
}
/* 防止被奇葩css覆盖的一些小小的挣扎 === END === */
 .help-bar {
    position: fixed;
    bottom: calc(50% - 92px);
    /* 要求居中 */
    right: 0px;
    z-index: 4900;
}
@media screen and (max-width: 1024px) {
    .help-bar {
        display: none;
    }
}
.help-bar-item {
    width: 45px;
    height: 45px;
    margin-bottom: 1px;
    display: block;
    position: relative;
    overflow: hidden;
    /* background-color: var(--xdfcs-color1); */
    text-decoration: none;
    z-index: 801;
}
.help-bar-item:first-child {
    border-radius: 6px 0 0 0;
}
.help-bar-item:last-child {
    border-radius: 0 0 0 6px;
}
.help-bar .help-bar-item div {
    transition: left ease-in-out 0.3s;
    position: relative;
    left: 0px;
    width: 100px;
    font-size: 0;
}
.help-bar .help-bar-item:hover div {
    left: -45px;
}
.help-bar-item .xcs-icon, .help-bar-item .xcs-text {
    display: inline-block;
    width: 45px;
    height: 45px;
    font-size: 14px;
}
.help-bar-item .xcs-text .xcs-cell {
    width: 45px;
    height: 45px;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    line-height: 16px;
}
.help-bar-item .xcs-icon {
}
.help-bar-item .xcs-text {
    color: #fff;
    /* background-color: var(--xdfcs-color2); */
    margin-left: 0px;
}
.help-bar span {
    color: #fff;
    font-size: 14px;
}
.xcs-icon.xcs-icon-im {
    background: url(../imgs/tmpl1/im.png) no-repeat;
}
.xcs-icon.xcs-icon-phone {
    background: url(../imgs/tmpl1/phone.png) no-repeat;
}
.xcs-icon.xcs-icon-wechat {
    background: url(../imgs/tmpl1/wechat.png) no-repeat;
}
.xcs-icon.xcs-icon-top {
    background: url(../imgs/tmpl1/top.png) no-repeat;
}
/* 弹出块-通用 */
 .help-bar .help-pop {
    position: absolute;
    right: 45px;
    /* background-color: var(--xdfcs-color2); */
    color: #eee;
    z-index: 800;
    /* 应该小于常见的遮罩层，一般应该是1000 */
}
/* 弹出块-电话 */
 .help-bar .help-pop.xcs-phone {
    width: 125px;
    height: 45px;
    line-height: 25px;
    font-size: 14px;
    font-weight: 700;
    vertical-align: middle;
    text-align: center;
    top: 46px;
}
.help-bar .help-pop.xcs-phone:after {
    right: -7px;
}
.help-bar .help-pop.xcs-phone span {
    display: inline-block;
    margin: 10px;
}
/* 弹出块-二维码 */
 .help-bar .help-pop.xcs-wechat-qr {
    top: 63px;
    width: 101px;
    height: 101px;
}
.help-bar .help-pop.xcs-wechat-qr:after {
    right: -7px;
}
.help-bar .help-pop.xcs-wechat-qr img {
    display: inline-block;
    margin: 5px;
    width: 90px;
}
/* 弹出块的缩起和显示 */
 .help-bar .help-pop.xcs-phone, .help-bar .help-pop.xcs-wechat-qr {
    opacity: 0;
    transition: all ease-in-out 0.3s;
}
/* 弹出块缩起来的时候的偏移量不一样 */
 .help-bar .help-pop.xcs-phone {
    right: -145px;
}
.help-bar .help-pop.xcs-wechat-qr {
    right: -101px;
}
.help-bar .help-bar-item:hover + .help-pop {
    display: block;
    opacity: 1;
    right: 45px;
}
/* 替换参数的代码请务必始终防置在最后！！ */

/* 替换参数的代码请务必始终防置在最后！！ */

/* 替换参数的代码请务必始终防置在最后！！ */

/**
 * 颜色替换部分
 * color1
 */
 .help-bar-item {
    background-color: #00b388;
}
/**
 * 颜色替换部分
 * color2
 */
 .help-bar-item .xcs-text, .help-bar .help-pop {
    background-color: #f6ab00;
}