.sidebar_r {
    position: fixed;
    right: 22px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 80px;
    z-index: 998;
}

.sidebar_r > ul > li {
    width: 68px;
    height: 68px;
    background: #3161ef;
    color: #fff;
    font-size: 12px;
    margin-top: 6px;
    border-radius: 6px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.sidebar_r > ul > li > p {
    color: #fff;
    font-size: 12px;
    margin-top: 5px;
}

.sidebar_r > ul > li .icon {
    display: inline-block;
}

.sidebar_r > ul > li .icon_active {
    display: none;
}

.sidebar_r > ul > li.goOnline {
    height: 92px;
    margin-top: 0px;
    background: #fff;
    border-radius: 50px 50px 6px 6px;
}

.sidebar_r > ul > li.goOnline .img_box {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 3px solid #3161ef;
    text-align: center;
    position: relative;
}

.sidebar_r > ul > li.goOnline .img_box .border {
    position: absolute;
    left: -3px;
    top: -3px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: solid 1px #c2c2c2;
    -webkit-animation: breathe 1s infinite linear;
    -moz-animation: breathe 1s infinite linear;
    animation: breathe 1s infinite linear;
}

@keyframes breathe {
    0% {
        transform: scale(1, 1);
        opacity: 1;
    }
    25% {
        transform: scale(1.2, 1.2);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.4, 1.4);
        opacity: 0.1;
    }
    75% {
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}

.sidebar_r > ul > li.goOnline .img_box > img {
    width: 100%;
    height: 100%;
    vertical-align: middle;
    /* margin-top: 5px; */
    -webkit-animation: breatheImg 1s infinite linear;
    -moz-animation: breatheImg 1s infinite linear;
    animation: breatheImg 1s infinite linear;
}

@keyframes breatheImg {
    0% {
        transform: scale(1, 1);
    }
    25% {
        transform: scale(0.9, 0.9);
    }
    50% {
        transform: scale(0.75, 0.75);
    }
    75% {
        transform: scale(0.9, 0.9);
    }
    100% {
        transform: scale(1, 1);
    }
}

.sidebar_r > ul > li.goOnline > p {
    color: #3161ef;
}

.sidebar_r > ul > li.goOnline .tips {
    position: absolute;
    right: 12px;
    top: 8px;
    width: 14px;
    height: 14px;
    background: #ed1313;
    border-radius: 50%;
    text-align: center;
    line-height: 14px;
    color: #fff;
    font-size: 12px;
}

.sidebar_r > ul > li.weChart .code_box {
    position: absolute;
    right: 100%;
    bottom: 0;
    margin-right: 12px;
    width: 270px;
    height: 310px;
    background: #fff;
    text-align: center;
    border-radius: 8px;
    display: none;
    box-shadow: 0 6px 20px 0 rgba(50, 50, 51, 0.1);
}

.sidebar_r > ul > li.weChart .code_box > img {
    width: 200px;
    margin-top: 18px;
}

.sidebar_r > ul > li.weChart .code_box .p1 {
    font-size: 13px;
    color: #333;
    line-height: 18px;
    margin-top: 18px;
    font-weight: bold;
}

.sidebar_r > ul > li.weChart .code_box .p2 {
    margin-top: 18px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 22px;
}

.sidebar_r > ul > li.tel .code_box {
    position: absolute;
    right: 100%;
    bottom: 0;
    margin-right: 12px;
    width: 270px;
    height: 310px;
    background: #fff;
    text-align: center;
    border-radius: 8px;
    display: none;
    box-shadow: 0 6px 20px 0 rgba(50, 50, 51, 0.1);
}


.sidebar_r > ul > li.tel .code_box > img {
    width: 200px;
    margin-top: 18px;
}

.sidebar_r > ul > li.tel .code_box .p1 {
    font-size: 16px;
    color: #333;
    line-height: 18px;
    margin-top: 18px;
    font-weight: bold;
}

.sidebar_r > ul > li.tel .code_box .p2 {
    margin-top: 18px;
    font-size: 13px;
    color: #333;
    line-height: 22px;
}

.sidebar_r > ul > li.active {
    background: #fff;
    border: solid 1px #3161ef;
}

.sidebar_r > ul > li.active .icon {
    display: none;
}

.sidebar_r > ul > li.active .icon_active {
    display: inline-block;
}

.sidebar_r > ul > li.active > p {
    color: #3161ef;
}


.center_layer {
    position: fixed;
    top: 50%;
    left: 50%;
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: #fff;
    box-shadow: 0 6px 20px 0 rgba(50, 50, 51, 0.1);
    border-radius: 8px;
    padding: 20px 30px;
    z-index: 999;
    display: none;
}

.center_layer .title {
    font-size: 14px;
    color: #333;
    line-height: 16px;
    text-align: center;
}

.center_layer .item_box {
    margin-top: 30px;
}

.center_layer .item_box .item {
    width: 68px;
    height: 68px;
    float: left;
    margin-left: 40px;
    cursor: pointer;
}

.center_layer .item_box .item .wrapper {
    width: 100%;
    height: 100%;
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px solid #c2c2c2;
    box-sizing: border-box;
    border-radius: 7px;
}

.center_layer .item_box .item .wrapper .icon {
    height: 22px;
}

.center_layer .item_box .item .wrapper .icon img {
    vertical-align: middle;
}

.center_layer .item_box .item .wrapper .text {
    font-size: 12px;
    color: #005fe0;
    margin-top: 5px;
}

.center_layer .item_box .item .wrapper:hover {
    border-color: #005fe0;
}

.center_layer .item_box .item:first-child {
    margin-left: 0;
    -webkit-animation: scaling 1s linear infinite;
    -moz-animation: scaling 1s linear infinite;
    animation: scaling 1s linear infinite;
}

@keyframes scaling {
    0% {
        background-size: 68px;
        transform: scale(1, 1);
    }
    25% {
        background-size: 74px;
        transform: scale(1.1, 1.1);
    }
    50% {
        background-size: 82px;
        transform: scale(1.2, 1.2);
    }
    75% {
        background-size: 74px;
        transform: scale(1.1, 1.1);
    }
    100% {
        background-size: 68px;
        transform: scale(1, 1);
    }
}

.center_layer .item_box::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    clear: both;
}

.center_layer .close_fxbtn {
    width: 16px;
    height: 16px;
    background-size: 100% 100%;
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    background: url(../../../Images/new_side/close2.png) no-repeat center/cover;
}

.gift_bag {
    position: fixed;
    left: 0;
    bottom: 0px;
    width: 100%;
    min-width: 1200px;
    z-index: 998;
    padding: 20px 52px;
    background: rgba(0, 0, 0, 0.8);
    box-sizing: border-box;
    display: none;
}

.gift_bag .bottom_fixed {
    width: 1200px;
    margin: auto;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gift_bag .bottom_fixed .img {
    position: absolute;
    left: 27px;
    bottom: calc(100% - 14px);
}

.gift_bag .bottom_fixed .left .title {
    color: #fff;
    font-size: 21px;
    color: #ffffff;
    line-height: 29px;
}

.gift_bag .bottom_fixed .left .title > span {
    font-size: 34px;
    font-style: italic;
    margin-right: 10px;
}

.gift_bag .bottom_fixed .left .descr {
    font-size: 12px;
    font-weight: 400;
    color: #ffffff;
    line-height: 17px;
    letter-spacing: 1px;
    margin-top: 15px;
}

.gift_bag .bottom_fixed .right {
    margin-left: 198px;
}

.gift_bag .bottom_fixed .right .tel_box > p {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
}

.gift_bag .bottom_fixed .right .btn_box {
    height: 46px;
    background: #3060ef;
    color: #fff;
    font-size: 15px;
    line-height: 46px;
    text-align: center;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 2px;
}

.gift_bag .bottom_fixed .close_fxbtn {
    position: absolute;
    right: 30px;
    top: 50%;
    margin-top: -15px;
    cursor: pointer;
}

.gift_bag_img {
    position: fixed;
    left: 5px;
    bottom: 100px;
    cursor: pointer;
    z-index: 99;
}

.mobile_nav{
    position: fixed;
    bottom: 0;
    left: 0;
    width:100%;
    z-index: 999999999;
    text-align: center
}

.weixin_qr{
    margin-bottom: 100px;
    background: #ffffff;
    width: 70%;
    height: 260px;
    margin: 70px auto;
}

.mobile_nav .nav_flex{
    display: flex;
    background: #ffffff;
}

.mobile_nav .weixin{
    width: 50%;
    height: 50px;
    line-height: 50px;
    border-right: 1px solid #8b8b8b;
}

.mobile_nav .phone{
    width: 50%;
    height: 50px;
    line-height: 50px;
}

@media (max-width: 767px) {
    .sidebar_r{
        display: none!important;
    }
    .mobile_nav{
        display: block!important;
    }
}