* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

input,
textarea,
button,
select {
    border: 0;
    resize: none;
    outline: 0;
    background: transparent;
}

button {
    cursor: pointer;
}

img {
    width: 100%;
    height: auto;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*多行溢出*/
.line1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.line2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 2;
}

.line3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 3;
}

.line4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 4;
}

/* hover-图片放大1.1 */
.scale-box {
    overflow: hidden;
}

.scale-box .scale-img {
    width: 100%;
    height: 100%;
    transition: all .3s linear;
    cursor: pointer;
    object-fit: cover;
}

.scale-box:hover .scale-img {
    transform: scale(1.1);
}


/* 常用盒子阴影 */
.shadow_box {
    box-shadow: 0 .02rem .12rem 0 rgba(0, 0, 0, 0.1)
}

/* 水波纹效果 */
.btn-ripple {
    vertical-align: bottom;
}

.btn-ripple:not(:disabled):hover {
    opacity: 1;
    position: relative;
    overflow: hidden;
}

.btn-ripple:not(:disabled):hover::before {
    animation: ani_ripple 0.75s;
    z-index: 1;
    content: "";
    position: absolute;
    display: block;
    transition: all 0.6s;
    width: 100%;
    height: 0;
    border-radius: 50%;
    left: 50%;
    top: 50%;
    padding-top: 100%;
    transform: translateX(-50%) translateY(-50%);
}

@keyframes ani_ripple {
    0% {
        background: rgba(0, 0, 0, 0.25);
        transform: translateX(-50%) translateY(-50%) scale(0);
    }

    to {
        background: transparent;
        transform: translateX(-50%) translateY(-50%) scale(1);
    }
}

header {
    width: 100%;
    height: .8rem;
    position: fixed;
    top: 0;
    z-index: 10000;
    
    transition: all .3s;
}

.header_box {
    width: 17.4rem;
    height: .8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
}

.header_logo {
    display: flex;
    width: 2.78rem;
    height: .56rem;
}

.header_r {
    display: flex;
    padding-right: .6rem;
}

.header_r a {
    font-family: MiSans, MiSans;
    font-weight: 400;
    font-size: 0.18rem;
    color: #FFFFFF;
    margin-left: .7rem;
    position: relative;
}

.header_active {
    font-weight: bold !important;
}

.header_r a::after {
    content: '';
    width: .01rem;
    height: 0.16rem;
    background: rgba(197, 197, 197, .5);
    position: absolute;
    top: 50%;
    right: -.35rem;
    transform: translateY(-50%);
}

.header_r a:last-child::after {
    display: none;
}

footer{
    width: 100%;
    height: 0.6rem;
    background: #010101;
    display: flex;
    align-items: center;
    justify-content: center;
}

footer a{
    font-family: MiSans, MiSans;
    font-weight: 400;
    font-size: 0.14rem;
    color: #FFFFFF;
}

.banner{
    height: 5.8rem;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.banner::after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: rgb(1, 1, 1,.72);
}

.banner_text{
    width: 6.2rem;
    position: absolute;
    left: 2.2rem;
    top: 2.3rem;
    z-index: 100;
}

.banner_tit{
    font-family: MiSans, MiSans;
    font-weight: 500;
    font-size: 0.4rem;
    color: #FFFFFF;
    margin-bottom: .3rem;
}

.banner_txt{
    font-family: MiSans, MiSans;
    font-weight: 400;
    font-size: 0.18rem;
    color: #FFFFFF;
    line-height: 0.3rem;
}

.common-phone-header,
.side-wrap{
    display: none;
}
@media only screen and (max-width: 1024px) {
            footer{
        height: auto;
    }
    footer a{
        font-size: 14px;
        padding:5px 5px 5px 5px ;
    }
    /*.header-wrap {*/
    /*    display: none;*/
    /*}*/
    .common-phone-header {
        display: block !important;
    }
    .side-wrap {
        display: block !important;
    }
    .common-phone-header {
        position: fixed;
        z-index: 10000;
        top: 0;
        left: 0;
        width: 100%;
        background: #fff;
    }
    .common-phone-header-inner {
        display: flex;
        height: 50px;
        border-bottom: 1px solid #eee;
        padding: 0 15px;
        justify-content: space-between;
        align-items: center;
        background: rgb(1, 1, 1, .72);
    font-size: 0;
    }
    .header-menu-phone{
        height: 30px;
        width: auto;
    }
    .header-logo-phone {
        height: 30px;
        width: auto;
    }
    .header-search-phone {
        height: 30px;
        width: auto;
    }
    .header-search-box-phone {
        display: none;
    }
    .header-search-input-phone {
        border-radius: 20px;
        height: 35px;
        border-width: 1px;
        border: 1px solid white;
        padding: 0 10px;
        font-size: 14px;
        color: white;
    }
    .side-modal {
        display: none;
        position: fixed;
        z-index: 99999;
        left: 0;
        top: 0;
        height: 100vh;
        width: 100vw;
        background:rgba(0, 0, 0, .5);
    }
    .side-container {
        display: none;
        position: fixed;
        z-index: 100000;
        left: 0;
        top: 0;
        height: 100vh;
        width: 6.4rem;
        background-color: #fff;
        color: #000;
        border-left: 1px solid #eee;
        animation: ani_side 1s;
                background: rgb(1, 1, 1, .72);
    }
    .side-container.shown {
        display: block;
    }
    @keyframes ani_side{
        from {
            display: none;
            width: 3rem;
        }
        to {
            display: block;
            width: 6.4rem;
        }
    }
    .side-wrap {
        width: 100%;
    }
    .side-top {
        display: flex;
        height: 60px;
        padding: 0 20px 0 30px;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #eee;
    }
    .side-logo {
        height: 30px;
        width: auto;
    }
    .side-close {
        width:.48rem;
    }
    .side-bottom {
        padding:  0 .48rem 0 .72rem;
    }
    .nav-item-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: .27rem 0 .27rem 0;
        border-bottom: 1px solid #eee;
        color: white;
        /*background: rgb(1, 1, 1, .72);*/
    }
    .nav-item-inner span{
        display: flex;
        align-items: center;
        font-size: 14px;
    }
    .nav-item-inner img{
        width: .4rem;
    }
    .side-nav-list .nav-item a{
        color: #000;
        font-size: .26rem;
        width: 100%;
        display: inline-block !important;
    }
    .side-nav-list .side-local-img {
        width: .3rem;
        margin-right: .2rem;
        vertical-align: text-bottom;
    }   
    .side-nav-list-sub {
        display: none;
    }
    .side-nav-list-sub  .side-back-img {
        width: .3rem;
        margin-right: .2rem;
        vertical-align: text-bottom;
    }
    .banner_text{
        left: 20px;
    }
    .banner_tit{
        font-size: 18px;
    }
    .banner_txt{
        font-size: 16px;
        line-height: 1.5;
    }
}