﻿.banner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    --swiper-theme-color: #6c807e;
    --swiper-pagination-color: #ffffff;
    --swiper-width15: 15px
}

.banner ul li {
    width: 100%;
    height: 250px;
    min-height: 100px;
    display: flex;
    background: #000;
    vertical-align: bottom;
    justify-content: center;
    position: relative;
    overflow: hidden
}
/**
*首页banner高度
*/
#index-page .banner ul li {
    height: 100%;
}
.banner ul li img {
    font-size: 0;
    display: block;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    transition: all 4s ease;
    transform: scale(1.2);
    height: 100%
}

.banner ul li.active img {
    transform: none
}

.banner ul li .text-box {
    position: absolute;
    z-index: 9;
    width: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    top: 15%
}

.banner ul li .text-box h1 {
    width: 100%;
    font-size: 48px;
    color: #fff;
    font-family: "思源宋体 Heavy"
}

.banner ul li .text-box i {
    width: 120px;
    background-color: #fff;
    height: 2px;
    margin: 0 auto
}

.banner ul li .text-box p {
    width: 100%;
    font-size: 18px;
    color: #fff
}

#baner_pagination {
    bottom: 2%;
    display: flex;
    justify-content: center;
    width: 100%
}

#baner_pagination span {
    width: 10px;
    height: 25px;
    margin: 0 0.5%;
    background: #fff;
    border-radius: 5px
}

@media screen and (max-width: 960px) {
    .banner {
        position: relative;
        width: 100%;
        height: 200px;
        overflow: hidden;
        --swiper-theme-color: #6c807e;
        --swiper-pagination-color: #ffffff;
        --swiper-width15: 15px;
    }.newslist .banner,.centent .banner{
        height: 150px;
        overflow: hidden;
    }
    #baner_pagination span {
        width: 10px;
        height: 10px;
        margin: 0 0.5%;
        background: #fff;
        border-radius: 5px;
    }
    .banner ul li {
        height: auto
    }
    .banner ul li .text-box {
        position: absolute;
        z-index: 9;
        width: auto;
        display: flex;
        flex-direction: column;
        gap: 10px;
        text-align: center;
        top: 15%;
        max-width: 85%;
    }
    .banner ul li .text-box h1 {
        width: 100%;
        font-size: 24px;
        color: #fff;
        font-family: "思源宋体 Heavy";
    }
    .banner ul li .text-box p {
        width: 100%;
        font-size: 14px;
        color: #fff;
    }
}