﻿.banner_1{
    width: 100%;
    height: 440px;
    margin-top: 63px;
    background-image: url("../image/yhytt/banner.png");
    background-position: center;
    background-repeat: no-repeat;
}
.banner_img{
    width: 100%;
}
.index_box{
    width: 100%;
    position: relative;
    margin-bottom: 50px;
}
.index_box::before{
    content: "";
    width: 100%;
    position: absolute;
    left: 0px;
    bottom: 0px;
    border-bottom: 1px solid #f1f1f1;
}
.index_box>ul{
    float: left;
}
.index_box>ul>li{
    display: inline-block;
    margin-left: 10px;
}
.index_box>ul>li>a{
    padding: 45px 0px;
    display: block;
    color: #333333;
    font-size: 1.4rem;
    border-bottom: 1px solid #fff;
    position: relative;
    z-index: 2;
}
.index_box>ul>li>a:hover{
    border-bottom: 1px solid #df0012;
    color: #df0012;
}
.index_box .index{
    float: right;
    margin: 41px 0px;
}
.index_box .index>img{
    margin-right: 5px;
    animation: indexImg 1s infinite;
    -webkit-animation: indexImg 1s infinite; /* Safari 和 Chrome */
}


@keyframes indexImg
{
    0% {transform: scale(1);}
    50% {transform: scale(1.2);}
    100% {transform: scale(1)}
}

@-moz-keyframes indexImg /* Firefox */
{
    0% {transform: scale(1);}
    50% {transform: scale(1.2);}
    100% {transform: scale(1)}
}

@-webkit-keyframes indexImg /* Safari 和 Chrome */
{
    0% {transform: scale(1);}
    50% {transform: scale(1.2);}
    100% {transform: scale(1)}
}

@-o-keyframes indexImg /* Opera */
{
    0% {transform: scale(1);}
    50% {transform: scale(1.2);}
    100% {transform: scale(1)}
}



.index_box .index>span,.index_box .index a{
    color: #333333;
    font-size: 1.4rem;
}
.index_box .index a:hover{
    color: #df0012;
}


.news_tit{
    width: 100%;
    margin-bottom: 40px;
}
.news_tit>span{
    color: #333333;
    font-size: 3.5rem;
    float: left;
}
.news_tit>a{
    float: right;
    display: block;
    color: #999999;
    font-size: 1.4rem;
    padding: 6px 14px;
    border: 1px solid #999999;
}
.news_tit>a:hover{
    color: #ffffff;
    background-color: #df0012;
    border-color: #df0012;
}



.news_banner{
    width: 100%;
    z-index: 0;
}
.news_banner .swiper-wrapper{
    z-index: 0;
}
.news_banner .swiper-slide{
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 25px;
    overflow: hidden;
}
.news_banner .swiper-slide>a{
    display: block;
    height: 0;
    padding-bottom: 56.25%;
margin-bottom: 30px;
position: relative;
    margin-bottom: 30px;
}
.news_banner .swiper-slide>a>img{
transition: all .5s;
    width: 100%;
    position: absolute;
    height: 100%;
    width: 100%;
object-fit: cover;
}
.news_banner .swiper-slide>a>img:hover{
    transform: scale(1.05);
}
.news_banner .date{
    float: left;
    margin-right: 48px;
    color: #888888;
    font-size: 1.8rem;
    width: 18%;
}
.news_banner .text{
    float: right;
    width: calc(82% - 48px);
}
.news_banner .text>a{
    color: #333333;
    display: block;
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: bold;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.news_banner .text>span{
    color: #999999;
    font-size: 1.3rem;
    line-height: 25px;
}
.news_pagination{
    /*width: 100% !important;*/
    margin: 70px auto 115px;
    position: relative;
    z-index: 0;
    white-space: nowrap;
}
.news_pagination>span{
    width: 38px;
    height: 38px;
    background-color: #525252;
    margin: 0px 5px 10px;
    border-radius: 0px;
    line-height: 38px;
    color: #ffffff;
    font-size: 2.4rem;
    top: 0px;
    transition: all .3s;
}
.swiper-button-next.news_jt, .swiper-button-prev.news_jt{
    width: auto;
    height: auto;
    bottom: 137px;
    top: auto;
    background-image: none;
    color: #333;
    font-size: 1.5rem;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Chrome/Safari/Opera */
    -khtml-user-select: none; /* Konqueror */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currentlynot supported by any browser */
}
.swiper-button-next.news_jt{
    right: 36%;
}
.swiper-button-prev.news_jt{
    left: 36%;
}



#index_box{
    float: left;
    margin-bottom: 10px;
}
#index_box>img{
    display: block;
    float: left;
    margin-right: 27px;
    animation: index_img 1s linear infinite;
}
@keyframes index_img
{
    0% {transform: scale(1.2);}
    50% {transform: scale(1);}
    100% {transform: scale(1.2);}
}
#index_box .index{
    margin-top: -4px;
}
#index_box .index>p{
    margin: 0px;
}
#index_box .index,#index_box .index a{
    color: #000;
    font-size: 1.4rem;
    line-height: 32px;
}
#index_box .index a.active{
    color: #d60c1a;
}

 .know_right{
     padding: 19px 0px 27px;
     margin: 50px 0px;
}
 .know_right .nav_box{
    width: 100%;
    float: left;
}
.know_right .nav_box li{
    display: inline-block;
    margin-left: 10px;
}
.know_right .nav_box li>a{
    padding: 9px 26px;
    display: block;
    color: #404040;
    font-size: 1.4rem;
    background-color: #f3f3f3;
}
 .know_right .nav_box li>a:hover{
    background-color: #d60c1a;
    color: #fff;
}


@media (max-width: 767px){
    .index_box>ul,.index_box .index{
        width: 100%;
        text-align: center;
    }
    .index_box>ul>li>a{
        padding: 25px 0px;
    }
    .index_box .index{
        margin: 0px 0px 41px;
    }
    .swiper-button-next.news_jt{
        right: 30px;
    }
    .swiper-button-prev.news_jt{
        left: 30px;
    }
     .know_right{
        text-align: center;
    }
    #index_box{
        display: inline-block;
        float: none;
        margin-bottom: 20px;
    }
    .know_right .nav_box>ul{
        padding: 0px 5px;
        width: 100%;
        display: grid;
        grid-row-gap: 70px;
        grid-column-gap: 10px;
        grid-template-columns: repeat(auto-fill,minmax(80px,1fr));
    }
    .know_right .nav_box>ul>li{
        margin-left: 0px;
    }
    .know_right .nav_box li>a{
        padding: 9px 0px;
        text-align: center;
    }
}