﻿* {
    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 {
    max-width: 100%;
    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;
}


.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%;
    position: fixed;
    top: 0;
    z-index: 100;
}

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

.banner_text {
    position: absolute;
    left: 2.1rem;
    top: 2.66rem;
}

.banner_tit {
    font-size: 0.48rem;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: bold;
    color: #FFFFFF;
}

.banner_txt {
    font-size: 0.24rem;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 400;
    color: #FFFFFF;
}

.content {
    width: 15rem;
    display: flex;
    align-items: flex-start;
    margin: 0 auto;
    padding-top: .6rem;
    position: relative;
}

.common_nav {
    width: 2.13rem;
    background: #FFFFFF;
    box-shadow: 0rem 0rem 0.1rem 0.01rem rgba(11, 21, 48, 0.11);
    margin-right: .43rem;
    padding: .18rem 0;
}

.position_nav {
    position: sticky;
    top: 1.6rem;
}

.common_nav a {
    display: block;
    width: 1.9rem;
    height: 0.57rem;
    font-size: 0.2rem;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 400;
    color: #333333;
    white-space: nowrap;
    text-align: center;
    line-height: .57rem;
    margin: 0 auto;
    padding: .18rem 0;
    border-bottom: 0.01rem solid #E6E6E6;
}

.common_nav a:last-child {
    border: 0;
}

.common_nav_active {
    background: #004098;
    color: #FFFFFF !important;
    border: 0.01rem solid #004098 !important;
    padding: 0 !important;
}

.common_right {
    width: 12.4rem;
}

.banner_nav {
    width: 15rem;
    height: 1rem;
    background: #FFFFFF;
    box-shadow: 0rem 0.02rem 0.22rem 0.01rem rgba(11, 21, 48, 0.05);
    position: absolute;
    left: 50%;
    bottom: -.49rem;
    transform: translateX(-50%);
    padding: .22rem .73rem;
    box-sizing: border-box;
    display: flex;
}

.banner_nav a {
    height: 0.57rem;
    font-size: 0.2rem;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 400;
    color: #333333;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 .46rem;
    margin-right: .28rem;
}

.banner_nav_active {
    background: #004098;
    color: #FFFFFF !important;
}


.page {
    width: 100%;
    margin: .9rem auto;
    display: flex;
    align-items: center;
    justify-content: center ;
}

.page a {
    width: .32rem;
    height: .32rem;
    border: 0.01rem solid #CCCCCC;
    border-radius: .03rem;
    margin: 0 .05rem;
    font-size: 0.14rem;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 400;
    color: #4D4D4D;
    display: flex;
    align-items: center;
    justify-content: center;
}

.num_active {
    background: #004098;
    color: #FFFFFF !important;
}

.page p {
    font-size: 0.14rem;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 400;
    color: #333333;
}

.page_right {
    display: flex;
    margin-left: .22rem;
}

.jump_page {
    display: flex;
    align-items: center;
    font-size: 0.14rem;
    font-family: Microsoft YaHei, Microsoft YaHei;
    font-weight: 400;
    color: #333333;
    margin-left: .17rem;
}

.jump_page input {
    width: 0.79rem;
    height: 0.32rem;
    border-radius: .01rem;
    background: #FFFFFF;
    padding: 0 .12rem;
    box-sizing: border-box;
    margin: 0 .1rem;
    border: .01rem solid #B3B3B3;
}









@keyframes banner_ani {
    0% {
        background-size: 120% 120%;
    }

    50% {
     background-size: 100% 100%;
    }
    100% {
     background-size: 120% 120%;
    }
}

.header-wrap  + .banner  {
       animation: banner_ani 12s linear infinite  alternate;
}



@keyframes banner_text_ani {
    0% {
        top: 100%;
    }

    100% {
        top: 50%;
        
    }
}

 .header-wrap  + .banner  > .banner_text  {
    animation: banner_text_ani 1s linear forwards;
}


@media only screen and (max-width:1024px){
    .banner{
        margin-top: 50px;
        height: 3rem;
    }
    .banner_text{
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
    }
    .banner_tit,
    .banner_txt{
        text-align: center;
    }
    .content{
        width: 100%;
        flex-direction: column;
        padding: 15px;
        padding-right: 35px;
        box-sizing: border-box;
    }
    .common_nav{
        width: 100%;
        margin: 0;
        display: flex;
        overflow-x: scroll;
        padding: .18rem 15px;
        box-sizing: border-box;
        z-index: 100;
        scroll-behavior: smooth;
        
    }
    .common_nav a{
        padding: 0;
        border: 0;
        flex-shrink: 0;
        font-size: 14px;
    }
    .common_right{
        width: 100%;
        margin-top: 20px;
    }
    .position_nav{
        top: 50px;
    }
    .banner_nav{
        width: 100%;
        height: auto;
        padding: 15px;
    }
    .banner_nav a{
        font-size: 14px;
        margin: 0;
        overflow-x: scroll;
    }
    .page p,
    .jump_page,
    .page a{
        font-size: 12px;
    }
    
}