/*!
 * kefu.css for qcpx.com
 * Author fang <fangwei@wzcoder.com>
 * @Copyright 2005-2024 wzcoder.com (https://www.wzcoder.com)
 * @version 1.0
 * @date 2024/11/5-15:49
 */

.kefu {
    display: block;
    position: fixed;
    top: 35%;
    z-index: 999;
    --kefu-color: 129, 127, 127;
    background-color: #ffffff;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.08);
}

@media screen and (min-width: 992px) {
    .kefu {
        display: block;
    }
}

.kefu.right {
    right: 10px;
}

.kefu.left {
    left: 10px;
}

.kefu ul {
    margin-bottom: 0;
}

.kefu ul li {
    position: relative;
}

.kefu ul li:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.kefu .item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: rgb(var(--kefu-color));
    width: 70px;
    height: 70px;
    transition: all ease-in-out 0.2s;
}

.kefu .item i {
    font-size: 22px;
    color: var(--accent-color);
}

.kefu .item p {
    font-size: 12px;
    margin-bottom: 0;
}

.kefu .item a {
    display: block
}

.kefu .item:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--default-color);
}

.kefu .item:hover i {
    color: var(--default-color);
}

.kefu .open-item {
    position: absolute;
    top: 75px;
    transition: all ease-in-out 0.3s;
    opacity: 0;
}

.kefu.right .open-item {
    right: 80px;
}

.kefu.left .open-item {
    left: 80px;
}

.kefu ul li:hover .open-item {
    display: block;
    opacity: 1;
    top: 0;
}

.kefu.right ul li:hover .open-item {
    right: 80px;
}

.kefu.left ul li:hover .open-item {
    left: 80px;
}

.qrcode {
    width: 120px;
    height: 120px;
}
