/*导航部分的样式*/
.navs{
    width: 100%;
    height: 80px;
    padding: 0 20px;
    box-sizing: border-box;
    background: #fff;
    border-bottom: 1px solid #eee
}

.navs:after{
    content: '';
    clear: both;
}

.nav_left {
    width: 160px;
    height: 33px;
    float: left;
    position: relative;
    top: 50%;
    /*margin-top:-16px*/
    transform: translateY(-50%  );
}

.nav_right{
    float: right;
    font-size: 0;
}

.nav_item{
    float: left;
    padding: 0 16px;
    box-sizing: border-box;
    font-size: 14px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #212121;
    line-height: 79px;
    cursor: pointer;
    position: relative;
}

.nav_item a{

}

.nav_item:after{
    content: '';
    position: absolute;
    bottom: -1px;
    left:0;
    width: 100%;
    height: 3px;
    background: transparent;
    transition: all 0.8s;
}

.nav_item.activity:after{
    content: '';
    position: absolute;
    bottom: -1px;
    left:calc(100% - 128px)!important;
    width: 148px!important;
    height: 3px;
    background: transparent;
    transition: all 0.8s;
}

.nav_item.active:after{
    content: '';
    position: absolute;
    bottom: -1px;
    left:0;
    z-index: 999;
    width: 100%;
    height: 3px;
    background: #212121!important;
}

.nav_right_mobile{
    position: relative;
    z-index:99;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    float: right;
}

.real_right{
    display: flex;
    align-items: center;
    justify-content: center;
}

.real_right img{
    width: 30px;
    height: 30px;
}

.nav_main{
    width: 100px;
    position: absolute;
    top: 50px;
    right: 0;
    background:rgba(37,33,40,1);
    display: none;
}

.nav_main.active{
    display: block;
}

.nav_main a{
    text-decoration: none;
    color: #fff;
}

.nav_items{
    padding: 15px 8px;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(112,112,112,1);
    font-size:12px;
    font-family:PingFang SC;
    font-weight:400;
    line-height:17px;
    color:rgba(249,249,249,1);
    text-align: center;
    position: relative;
}

.nav_items.active{
    color:rgba(167,147,120,1);
}

.nav_items:last-child{
    border: 0 none
}

.nav_item1.active{
    color:rgba(167,147,120,1);
}

.nav_item1:last-child{
    border: 0 none
}

.nav_item_main{
    position: absolute;
    top: 0;
    left: -96px;
    width: 96px;
    background:rgba(37,33,40,1);
    display: none;
    transition: all 0.8s;
}

.nav_item_main.active{
    display: block;
}

.nav_items:hover .nav_item_main{
    display: block;
}

a{
    color: #fff;
    text-decoration: none;
}

.nav_item1:hover{
    color:rgba(167,147,120,1);
}

.nav_item1{
    padding: 15px 0;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(112,112,112,1);
    font-size:12px;
    font-family:PingFang SC;
    font-weight:400;
    line-height: 17px;
    color:rgba(249,249,249,1);
    text-align: center;
    position: relative;
}

.nav_li_main{
    width: 128px;
    height: 0;
    line-height: 50px;
    font-size: 14px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #616161;
    background: #fff;
    text-align: center;
    position: absolute;
    top: 80px;
    right:0;
    z-index: 99;
    transition: all 0.8s;
    overflow: hidden;
}

.nav_li_main.active{
    padding:16px 0;
    box-sizing: border-box;
    height: 182px;
}

.nav_item.activity:hover .nav_li_main{
    padding:16px 0;
    box-sizing: border-box;
    height: 182px;
}

.nav_li_main div:hover{
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 600;
    color: #212121;
}

.nav_li_main div.active{
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 600;
    color: #212121;
}

@media screen and (max-width: 768px){
    .navs{
        height: 50px;
        padding: 0 16px;
    }

    .nav_left{
        width: 130px;
        height: 28px;
        left:-8px;
    }

    .nav_li_main{
        top:50px
    }

    .nav_right{
        display: none;
    }

    .nav_right_mobile{
        display: block!important;
    }
}
