.sider-contact {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all .5s ease;
    z-index: 999
}
.right-nav {
    align-items: center;
    display: flex;
    flex-flow: column;
    font-size: 1.2rem;
    gap: 1px;
    line-height: 1.4rem
}
.right-nav li {
    height: 6rem;
    position: relative;
    width: 7rem
}
.right-nav li a {
    align-items: center;
    background: #cc312e;
    color: #fff;
    display: flex;
    flex-flow: column;
    height: 100%;
    justify-content: center;
    transition: all .3s ease;
    width: 100%
}

.right-nav li a:hover {
    background: #f6f6f6;
    color: #1f1a17 !important
}
.right-nav li:hover .right_hide {
    opacity: 1;
    transform: translate(-100%, -50%);
    visibility: visible
}
.right_hide {
    background-color: #fff;
    border-radius: .5rem;
    box-shadow: 0 0 1rem -2px rgba(85, 85, 85, .15);
    color: #555;
    font-size: 1.4rem;
    left: -10px;
    line-height: 1.6rem;
    opacity: 0;
    padding: 1rem;
    position: absolute;
    top: 50%;
    transform: translate(-110%, -50%);
    transition: all .5s ease;
    visibility: hidden;
    white-space: nowrap
}

.right_hide:before {
    border-bottom: 6px solid transparent;
    border-left: 8px solid #fff;
    border-top: 6px solid transparent;
    content: "";
    position: absolute;
    right: -8px;
    top: calc(50% - 4px)
}

.right_hide img {
    display: block;
    max-width: 10rem
}
.right-nav .iconfont {
    display: block;
    font-size: 1.8rem;
    margin-bottom: .2rem;
    transition: all .3s ease
}

.right-nav .btn-tit {
    margin-top: .3rem;
    
}

@media screen and (max-width:810px) {
    .sider-contact {
        background-color: hsla(0, 0%, 100%, .6);
        border-radius: .8rem .8rem 0 0;
        bottom: 0;
        left: 0;
        top: auto;
        transform: translate(0);
        width: 100%
    }
    .right-nav {
        flex-flow: row;
        gap: 0
    }

    .right-nav li {
        flex: 1;
        width: 7rem
    }

    .right-nav li:last-child {
        border-radius: 0 .8rem 0 0
    }

    .right-nav .iconfont {
        align-items: center;
        display: flex;
        font-size: 2.5rem;
        height: 3rem;
        justify-content: center;
        width: 3rem
    }

    .right-nav .btn-tit {
        margin-top: 0;
        transform: scale(0.7)
    }
    #sider-contact-switcher,
    .right_hide {
        display: none
    }
}
@media screen and (max-width:600px) {
    .right-nav li.right_li_wa {
        border-radius: .0rem 0 0 0;
        overflow: hidden
    }

    .xz-footer-C {
        margin: 2.5rem 0 0
    }
}
