/* 公共样式 */
.clearfix::before,
.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    color: var(--a_color) !important;
}

a:link {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: var(--primary_color) !important;
}

:root {
    font: 16px Microsoft YaHei, Heiti SC, tahoma, arial, Hiragino Sans GB, "\5B8B\4F53", sans-serif;
    --primary_color: #003eb2;
    --secondary_color: #00b300;
    --secondary_color2: #f8bf45;
    --txt_color: #333333;
    --txt_white: #ffffff;
    --a_color: #333;
    --p_color: #666666;
    --p_color1: #888888;
    --p_color2: #aaa;
    --boxbg: #f5f5f5;

}

/* @media screen and (min-width:1500px) {
    .container {
        width: 1500px;
    }
} */
html {
    /* 设置锚点链接跳转后距离顶部的距离 */
    scroll-padding-top: 120px !important;
}

body {
    /* font: 12px/1.5 Microsoft YaHei,Heiti SC,tahoma,arial,Hiragino Sans GB,"\5B8B\4F53",sans-serif; */
    color: var(--txt_color);
    background-color: var(--boxbg);
}

/* Section标题样式 */
.section-title {
    /* 使其宽度被内容撑开，否则为100%宽度 */
    display: inline-block;
}

.section-title-center {
    margin-left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    height: 2px;
    border-radius: 1px;
    margin-top: 15px;
    background: linear-gradient(to right, #00b300 0 25%, transparent 25% 27%, #003eb2 27% 100%);
}


/* bootstrap布局container内边距 */
.ctn-pd {
    padding-top: 80px;
    padding-bottom: 80px;
}

.t3 {
    transition: all 0.3s;
}

.fw600 {
    font-weight: 600;
}

.pos-rel {
    position: relative;
}

.box-shadow {
    /* box-shadow: 1px 1px 12px rgba(0, 0, 0, 0.1); */
    box-shadow: 0px 5px 20px 0px rgb(4 0 0 / 5%);
}

/* Banner样式 */
.banner {
    position: relative;
    height: 250px;
    overflow: hidden;
    z-index: -1;
}

.banner-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.banner-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-left: 0;
    padding-right: 0;
    color: white;
}

/* 背景图片放大缩小动画 */
.bg-scale {
    background-repeat: no-repeat;
    background-position: top left;
    background-size: cover;
    animation: bg-scale 20s linear infinite;
}

@keyframes bg-scale {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* 设置动画延迟时间 */
.am-d-200 {
    animation-delay: 200ms;
}

.h90 {
    height: 90px;
}

.p {
    font-size: 1rem;
    line-height: 2rem;
    color: var(--p_color);
    text-indent: 2em;
}

/* .h2 {
    position: relative;
    display: block;
    font-weight: 600;
    font-size: 2.6rem;
    text-align: center;
    padding-bottom: 20px;
    width: 167px;
    margin: 0 auto;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40%;
    height: 3px;
    background-color: var(--primary_color);
} */

@media screen and (min-width:576px) {
    .banner {
        height: 250px;
    }
}

@media screen and (min-width:768px) {
    .banner {
        height: 300px;
    }
}

@media screen and (min-width:992px) {
    .banner {
        height: 350px;
    }
}

@media screen and (min-width:1200px) {
    .banner {
        height: 400px;
    }
}

@media screen and (min-width:1400px) {
    .banner {
        height: 450px;
    }
}