/** 自定义样式 **/

@font-face
{
    font-family: God;
    src: url('/vendor/Fonts/汉字之美神勇兔生肖 -闪(GOD-SHENYONGTUGB-FLASH).TTF');
}

.ub-banner .swiper-slide.a .cover {
    height: 37.8125vw;
}
.swiper-wrapper {
    height: auto !important;
}
.ub-banner .swiper-slide.a .cover .content {
    text-align: center !important;
}

.ub-banner .swiper-slide.a .cover .content.reverse .title {
    font-family: God;
    font-size: 2.08333333333333vw;
}
.ub-banner .swiper-slide.a .cover .content .slogan {
    margin-top: 0 !important;
}
.ub-banner .swiper-slide.a .cover .content.reverse .link {
    width: 235px;
    height: 41px;
    border-radius: 0;
    background-color: #00448d !important;
    border: none !important;
    font-weight: bold;
}

.index-summary {
    padding-top: 3rem;
}
.index-summary h2 {
    font-size: 37px;
}
.index-summary p {
    font-weight: 400;
    font-size: 1rem;
}

.index-product .cat-list li {
    float: left;
    padding: 0 1rem;
    font-weight: bold;
    font-size: 0.6rem;
    margin-left: 0.5rem;
    line-height: 27px;
}
.index-product .cat-list li a{
    color: #434343;
}
.index-product .cat-list li.active,
.index-product .cat-list li:hover {    
    background-color: #222222;
}
.index-product .cat-list li.active a,
.index-product .cat-list li:hover a {
    color: #ffffff;
}
.index-product .row {
    width: 100%;
    padding-top: 1.2rem;
    display: none;
}
.index-product .row.active {
    display: flex;
}
.index-product .ub-list-items .item-p {
    border: 1px solid #f0f0f0;
}
.index-product .ub-list-items .item-p,
.index-product .ub-list-items .item-p .image,
.index-product .ub-list-items .item-p .image .cover{
    border-radius: 0;;
}
.index-product .ub-list-items .item-p .more,
.index-product .ub-list-items .item-p .title {
    text-align: left;
    padding-left: 0.7rem;
    font-weight: 400;
    font-size: 0.8rem;
}
.index-product .ub-list-items .item-p .more {
    font-size: 0.6rem;
}
.more-box {
    width: 9rem;
    height: 2rem;
    border: 2px solid #88a8ca;
    margin: 0 auto;
    text-align: center;
    display: block;
    color: #00448d;
    font-size: 0.7rem;
    font-weight: bold;
    line-height: 2rem;
    margin-top: 1.5rem;
}
.index-start.ub-container {
    max-width: 80rem;
    padding-top: 13.17708vw;
}
.index-start .col-md-4 {
    min-width: 15rem;
}
.index-start .col-md-8 {
    text-align: right;
}
.index-start h2.title,
.index-learn h2.title,
.index-news h2.title {
    font-size: 37px;
    color: #26282b;
    font-weight: bold;
    line-height: 2.4rem;
}
.index-start p.summary,
.index-learn p.index-summary {
    font-size: 17px;
    font-weight: 400;
    color: #3a3a3a;
    line-height: 1.3rem;
}
.index-start .more {
    width: 175px;
    height: 41px;
    display: block;
    background-color: #00448d;
    color: #ffffff;
    font-size: 0.7rem;
    line-height: 41px;
    text-align: center;
}
.index-learn.ub-container {
    max-width: 80rem;
    padding-top: 13.8020833vw;
}
.index-learn .more {
    width: 145px;
    height: 39px;
    border: 2px solid #80a1c6;
    color: #00448d;
    display: block;
    text-align: center;
    line-height: 39px;
}
.index-learn .col-md-5 {
    display: flex;
    align-items: center;
}
.index-news.ub-container {
    max-width: 1408px;
    padding-top: 6.51041666vw;
}
.index-news h2.title {
    text-align: center;
}
.index-news .title-desc {
    font-weight: 400;
    font-size: 21px;
    color: #3a3a3a;
    line-height: 29px;
    text-align: center;
    padding-top: 23px;
}
.index-news .ub-list-items .item-p .image {
    position: relative;
}
.index-news .box {
    position: absolute;
    bottom: 10px;
    font-weight: bold;
    color: #ffffff;
}
.index-news .ub-list-items .item-p .title {
    font-size: 1.35416666666667vw;
    line-height: 1.92708333333333vw;
    white-space: normal;
    height: auto;
    text-align: left;
}
.index-news .ub-list-items .item-p .title:hover {
    color: #fdfdfd;
}
.index-news .ub-list-items .item-p .title:not(:hover) {
    color: #ffffff
}
.index-news .more {
    width: 4.2rem;
    height: 0;
    display: block;
    border: 1px solid #ffffff;
    margin-left: 0.5rem;
    padding: 0 1rem;
    transition: all 0.2s  linear;
    overflow: hidden;
}
.index-news .ub-list-items .item-p:hover .more {
    height: 2rem;
    margin-top: 1.4rem;
    padding: 0.6rem 1rem;
}

 .ub-banner .swiper-slide.a .cover .content .title {
    font-size: 2.08333333333333vw;
 }

 .index-news .ub-list-items .item-p,
 .index-news .ub-list-items .item-p .image,
 .index-news .ub-list-items .item-p .image .cover {
    border-radius: 0;
 }

 @media screen and (max-width: 40rem) {
    .index-news .ub-list-items .item-p .title {
        line-height: 13px;
    }
    .ub-banner .swiper-slide.a .cover .content.reverse .title {
        font-size: 20px;
    }
    .ub-banner .swiper-slide.a .cover .content.reverse .link {
        font-size: 12px;
        width: 200px;
        margin-top: 0;
    }
    .index-start h2.title,
    .index-learn h2.title,
    .index-news h2.title {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    .index-start p.summary,
    .index-learn p.index-summary {
        font-size: 15px;
        line-height: 1.1rem;
    }
    .index-product .cat-list li {
        margin-left: 0;
    }
 }