﻿a:link {
    text-decoration: none;
}
a:visited {
    text-decoration: none;  
}
a:hover {
    text-decoration: none;
}
a:active {
    text-decoration: none;
}

.logo{
    position: absolute;
    top: 20px;
    left: 10%;
    width: 300px;
    z-index: 10;
}

#head{
    height: 413px;
    width: 100%;
    /* background: url(../img/head.png); */
    background: url('/images2020/yhyshj_header.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
}

#head .nav1{
    height: 111px;
    width: 100%;
    background: url(../img/1.png);
    position: absolute;
    bottom: 0;
}

#head .nav1 ul{
    /* width: 1200px; */
    height: 100%;
    /* margin: auto; */
}

#head .nav1 ul li{
    width: 33.3%;
    height: 100%;
    float: left;
    box-sizing: border-box;
    padding: 0 150px;
}

#head .nav1 ul li a{
    display: block;
    height: 100%;
    width: 100%;
}

#head .ysdt a{
    background: url(../img/nav/ysdt.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
}

#head .yszc a{
    background: url(../img/nav/yszc.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
}

#head .zcjd a{
    background: url(../img/nav/zcjd.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
}

/* main */
.contain{
    width: 1200px;
    margin: 0 auto;
}

.row .ysdt{
    height: 26px;
    width: 100%;
    background: url(../img/ysdt.png);
    margin: 50px 0;
    position: relative;
    background-position: center center;
}

.row {
    overflow: hidden;
    margin-bottom: 50px;
}

.row .ysdt a{
    display: block;
    width: 50px;
    height: 16px;
    position: absolute;
    right: 450px;
    top: 4px;
}

.row .bannerbox{
    width: 650px;
    height: 340px;
    float: left;
    position: relative;
}

.row .bannerbox .banner{
    width: 580px;
    float: left;
    margin-left: 35px;
}

.row .banner ul li,.row .banner ul li a,.row .banner ul li a img{
    display: block;
    width: 580px;
    height: 340px;
}

.row .banner ul li{
    float:left;
}

.row .banner ul li a{
    position: relative;
}

.row .banner ul li a img,.row .banner ul li a p{
    position: absolute;
}

.row .banner ul li a .bg{
    width: 100%;
    bottom: 0;
    background-color: #000;
    opacity: 0.5;
    height: 40px;
}

.row .banner ul li a .title{
    width: 100%;
    bottom: 0;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #fff;
}

.bx-pager,.bx-controls-auto{
    display: none;
}

/* .bx-wrapper{
    position: relative;
} */

.bx-controls{
    position: absolute;
    width: 650px;
    height: 340px;
    top: 0;
    left: 0;
}

.row .bannerbox .bx-prev{
    width: 35px;
    height: 100%;
    display: block;
    float: left;
    background: url(../img/bprev.png);
    background-position: center left;
    background-repeat: no-repeat;
    font-size: 0;
    position: absolute;
}

.row .bannerbox .bx-next{
    width: 35px;
    height: 100%;
    display: block;
    float: left;
    background: url(../img/bnext.png);
    background-position: center right;
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    font-size: 0;
}

.row .list1{
    width: 510px;
    margin-left: 40px;
}

.row .banner,.row .list1{
    height: 340px;
    float: left;
}

.row .list1 li{
    height: 20px;
    margin-bottom: 20px;
}

.row .list1 li:last-child{
    margin: 0;
}

.row .list1 .icon{
    height: 20px;
    width: 20px;
    display: block;
    float: left;
    background: url(../img/list_icon.png);
    background-size: cover;
}

.row .list1 .date{
    height: 20px;
    width: 66px;
    display: block;
    float: left;
    text-align: center;
    margin-right: 6px;
}

.row .list1 li a{
    width: 418px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* row2 */
.row2{
    background-color: #f4f7ff;
    /* height: 376px; */
    overflow: hidden;
}

.row2 .yszc{
    height: 26px;
    width: 100%;
    background: url(../img/yszc.png);
    margin: 50px 0 30px;
    position: relative;
    background-repeat: no-repeat;
    background-position: center center;
}

.row2 .yszc a{
    display: block;
    width: 50px;
    height: 16px;
    position: absolute;
    right: 450px;
    top: 4px;
}

.row2 ul{
    margin-bottom: 20px;
    overflow: hidden;
}

.row2 ul li{
    width: 270px;
    height: 60px;
    float: left;
    margin-right: 40px;
    margin-bottom: 20px;
}

.row2 ul li a{
    width: 100%;
    height: 100%;
    display: block;
    line-height: 60px;
    font-size: 20px;
    text-align: center;
    color: #fff;
    background-color: #012f9c;
}

.row2 ul .line{
    width: 100%;
    margin-right: 0;
}


.row2 ul .line a{
    width: 270px;
    height: 60px;
}

.mr0{
    margin-right: 0 !important;
}

/* row3 */
.row3{
    margin-bottom: 50px;
}

.row3 .zcjd{
    height: 26px;
    width: 100%;
    background: url(../img/zcjd.png);
    margin: 50px 0 30px;
    position: relative;
    background-repeat: no-repeat;
    background-position: center center;
}

.row3 .zcjd a{
    display: block;
    width: 50px;
    height: 16px;
    position: absolute;
    right: 450px;
    top: 4px;
}

.row3 .banner2{
    width: 100%;
    height: 120px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ccc;
    overflow: hidden;
}

.row3 .banner2 a{
    float: left;
    height: 120px;
    width: 25px;
}

.row3 .banner2 .prev{
    background: url(../img/prev.png);
}

.row3 .banner2 .next{
    background: url(../img/next.png);
}

.row3 .banner2 .ul{
    float: left;
    margin: 0 20px;
    width: 1110px;
    height: 120px;
    overflow: hidden;
}

.row3 .banner2 ul{
    /* width: 2000px; */
    height: 120px;
}

.row3 .banner2 li{
    width: 160px;
    height: 120px;
    float: left;
    margin-right: 30px;
}

.row3 .banner2 li a{
    width: 160px;
    height: 120px;
    display: block;
    position: relative;
}

.row3 .banner2 li a .title{
    height: 100%;
    width: 100%;
    position: absolute;
    box-sizing: border-box;
    padding: 36px 18px;
    text-align: center;
    line-height: 24px;
    font-size: 12px;
    color: #fff;
    display: none;
}

.row3 .banner2 li a .bg{
    height: 100%;
    width: 100%;
    position: absolute;
    background-color: #000;
    opacity: 0.5;
    display: none;
}

.row3 .banner2 li:hover .bg,.row3 .banner2 li:hover .title{
    display: block;
}

.row3>ul li{
    border: 1px solid #eeeeee;
    box-sizing: border-box;
    height: 50px;
    margin-bottom: 14px;
}

.row3>ul li a{
    display: block;
    width: 100%;
    height: 100%;
    padding: 7px 0;
    box-sizing: border-box;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.row3>ul li a span{
    line-height: 34px;
    width: 77px;
    font-size: 12px;
    text-align: center;
    display: inline-block;
    border-right: 1px solid #eee;
    color: blue;
    margin-right: 20px;
}

.view-port {
    position: relative;
  }
  .slider-container {
    position: relative;
    transition: left 0.5s;
  }
  .item {
    text-align: center;
    box-sizing: border-box;
  }

/* row4 */
.row4{
    font-size: 0;
    margin-bottom: 50px;
}

.quastion,.row4 a{
    display: inline-block;
    width: 270px;
    height: 100px;
}

.row4 a{
    margin-left: 40px;
}

.quastion{
    background: url(../img/quastion.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
}

.row4 .zx{
    background: url(../img/zx.png);
    background-size: cover;
}

.row4 .jy{
    background: url(../img/jy.png);
    background-size: cover;
}

.row4 .ts{
    background: url(../img/ts.png);
    background-size: cover;
}

/* foot */
#foot{
    background-color: #175aae;
}

#foot{
    padding: 28px 0;
}


@media screen and (max-width:1200px) 
{
    .logo{
        display: none;
    }
    .contain{
        width: 800px;
    }
    #head .nav1 ul li{
        padding: 0 80px;
    }
    .row .bannerbox,.row .list1{
        margin: 0 auto;
        float: none;
    }
    .row .bannerbox{
        margin-bottom: 50px;
        width: 800px;
        height: 418px;
    }
    .row .bannerbox .banner{
        width: 730px;
        height: 100%;
    }
    .row .banner ul li, .row .banner ul li a, .row .banner ul li a img {
        display: block;
        width: 730px;
        height: 418px;
    }
    .bx-controls{
        width: 800px;
        height: 100%;
    }
    .row .list1{
        width: 800px;
    }
    .row2 ul li{
        width: 170px;
    }
    .row2 ul .line a{
        width: 170px;
    }
    .row2 ul li a{
        font-size: 18px;
    }
    .row3 .banner2 .ul{
        width: 710px;
    }
    .quastion, .row4 a{
        width: 180px;
        height: 66px;
    }
    .row4 a {
        margin-left: 26px;
    }
    .row .ysdt a,.row2 .yszc a,.row3 .zcjd a{
        right: 250px;
    }

}


@media screen and (max-width:800px) 
{
    .contain{
        width: 100%;
    }
    #head{
        height: 10rem;
    }
    #head .nav1{
        height: 4rem;
    }
    #head .nav1 ul li{
        padding: 0 2rem;
    }
    .row .ysdt{
        margin: 1rem 0;
    }
    .row .ysdt a, .row2 .yszc a, .row3 .zcjd a{
        right: 3.5rem;
    }
    .row .bannerbox,.row .list1{
        margin: 0 auto;
        float: none;
        width: 100%;
    }
    .row .bannerbox{
        height: 16rem;
        margin-bottom: 2rem;
    }
    .row .bannerbox .banner{
        width: 100%;
        height: 100%;
        margin: 0;
    }
    .row .banner ul li, .row .banner ul li a, .row .banner ul li a img {
        display: block;
        width: 100%;
        height: 16rem;
    }
    .bx-controls{
        display: none;
    }
    .row .list1{
        width: 100%;
        height: auto;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    .row .list1 li{
        height: 2rem;
    }
    .row .list1 li .icon{
        height: 2rem;
        width: 2rem;
    }
    .row .list1 li .date{
        height: 2rem;
        width: 4rem;
        font-size: 1rem;
        line-height: 2rem;
    }
    .row .list1 li a{
        display: block;
        height: 2rem;
        line-height: 2rem;
        font-size: 1rem;
        width: calc(100% - 7rem);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        float: left;
    }
    .row2{
        height: auto;
    }
    .row2 ul{
        height: auto;
        overflow: hidden;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    .row2 ul li{
        width: 10rem;
        margin: 1rem 0;
    }
    .row2 ul .line{
        display: flex;
        justify-content: center;
    }
    .row2 ul .line a{
        width: 10rem;
    }
    .row2 ul li a{
        font-size: 1.2rem;
    }
    .row3{
        margin-bottom: 1rem;
    }
    .row3 .banner2 .ul{
        width: calc(100% - 90px);
    }
    .row4{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .quastion, .row4 a{
        width: 18rem;
        height: 6.6rem;
        margin: 1rem 0;
    }
    #head .ysdt a{
        background: url(../img/nav/ysdt.png);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: contain;
    }

    #head .yszc a{
        background: url(../img/nav/yszc.png);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: contain;
    }

    #head .zcjd a{
        background: url(../img/nav/zcjd.png);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: contain;
    }

    #head .nav1 ul li{
        width: 33.3%;
        height: 100%;
        float: left;
        box-sizing: border-box;
        padding: 0.4rem 0;
    }
}