﻿@charset "utf-8";
@font-face {
    font-family: "ys";
    src: url("youshe.ttf")
}
.wrap,.header,.content,.footer{
    position: relative;
    width:100%;
    margin:0 auto;

}
.header{
    width:100%;
    height:598px;
    background:url(../images/banner.png)  center center no-repeat;
}
.inner,.links, .copyright {
    position: relative;
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.p1,.p2,.p3,.p4{
    width:100%;
    position: relative;
    margin:0 auto;
    background-color:#f4f8ff;
}
.grid{
    width:1200px;
    margin: 0 auto;
    position: relative;
}

/*p1*/
.p1{
    padding:60px 0;
}
.p1 h3{
    height:58px;
    width:100%;
    background: url("../images/p1_h3.png")  center center no-repeat;

    margin-bottom:35px
}
.topic {
    position: relative;
}
.topic .scroll {
    position: relative;
    margin: 0px 40px 0px 40px;
}

.topic li {
    width: 365px\9;
    height:100%
}

.topic li a {
    display: block;
    width: 350px\9;
    margin: 0 7.5px;
    position: relative;
}
.topic li a span{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    text-align: center;
    padding: 10px 10px 10px 10px;
    line-height: 26px;
    font-size: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background-color: rgba(0, 0, 0, .5);
    color: #fff;
}
.topic li img {
    height:auto
}

.topic-prev,
.topic-next {
    position: absolute;
    top: 50%;
    width: 45px;
    height: 70px;
    margin-top: -35px;
    background-size: 24px auto;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #82b2ee;
    cursor: pointer;
    z-index:10;
    opacity: 0;
    transition: all .3s;
    padding-top:15px
}

.topic-prev span,
.topic-next span {
    display: block;
    width: 45px;
    margin: 8px auto;
    font-size: 45px;
    height:50px;
    text-align: center;
    color: #fff;
    font-weight: bold;
}

.topic-prev {
    left: 0px;
    background-image: none;
    transform: translate(-50px, 0);
}

.topic-next {
    right: 0px;
    background-image: none;
    transform: translate(50px, 0);

}
.topic:hover .topic-prev,
.topic:hover .topic-next {
    opacity: 1;
    transform: translate(0, 0);
}



.topic li img {
    width: 100%;
    max-width: 360px;
}
/*p2*/
.p2{
    background:#f4f8ff url("../images/service_bg.png") center bottom no-repeat;
}
.p2 h3{
    height:58px;
    width:100%;
    background: url("../images/p2_h3.png") center center no-repeat;
}
#main{
    width:1000px;
    height: 750px
}
.p2 .col-md-12{
    position: relative;
}
.p2 .banner{
    position: absolute;
    top:0;
    right:10px;
    width:316px;
    height:258px;
    background: url("../images/p2_china.png") no-repeat;
}
/*p3*/
.p3{
    padding-top:55px;
    padding-bottom: 50px;
}
.p3 h3{
    height:71px;
    width:100%;
    background: url("../images/p3_h3.png") center center no-repeat;
    margin-bottom:35px
}
.topic1 {
    position: relative;
}
.topic1 .scroll1 {
    position: relative;
    margin: 0px;
}

.topic1 li {
    width: 300px\9;
    height:420px
}

.topic1 li a {
    display: block;
    width: 280px/9;
    margin: 0 10px;
    height:200px;
    position: relative;
}
.topic1 li a:nth-child(1){
    margin-bottom: 20px;
}
.topic1 li a span{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    text-align: center;
    padding: 10px 10px 10px 10px;
    line-height: 26px;
    font-size: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background-color: #0b6adc;
    color: #fff;
     ;
}
.topic1 li img {
    height:100%
}

.topic1 li img {
    width: 100%;
    max-width: 280px;
}
.filter{
    position: absolute;
    top:0;
    width:100%;
    height: 100%;
    left: 0;
}
/*p4*/
.p4 h3{
    height:57px;
    width:100%;
    background: url("../images/p4_h3.png") center center no-repeat;
    margin-bottom:30px
}
.p4{
    padding-bottom: 80px;
}
.p4 img{
    width:100%
}
/*自适应*/
@media (max-width: 1200px) {
    .p1,.p2,.p3,.p4{
           width:100%
    }
    .ht .fr, .header h1, .inner,.links, .copyright,.grid{
        width: 100%;
    }
    .row{
        margin:0 auto;
    }
    .topic-prev,
    .topic-next{
        display:none
    }
    #main{
        width:100%
    }
}
@media (max-width: 992px) {
    .topic li img,.topic1 li img{
        max-width: none;
    }
    .p4 .col-md-6{
        margin-bottom:20px
    }
    .p4{
        padding-bottom: 20px;
    }
    .header{
        height:330px;
        background: url(../images/banner.png)  center/cover no-repeat;
    }
}
@media (max-width: 768px) {
    .grid h3{
        background-size: 100%;
    }
    .header{
        height:280px;
    }
    .header img{
        width: 50%;
    }
    .topic li{
        height:350px
    }
    .topic li a span{
        font-size: 16px;
    }
    .p2 .banner{
        display:none;
    }
    #main{
        height:400px
    }
    .topic1 li a span{
        font-size: 16px;
    }
}
@media (max-width: 480px) {
    .header{
        height:200px;
    }
    .p1{
        padding:10px 0px;
    }
    .p1 h3{
        margin-bottom: 0px;
    }
    .topic li{
        height:auto
    }
    .p3{
        padding:10px 0px
    }
    #main{
        height: 300px;
    }
    .p3 h3,.p4 h3{
        margin-bottom: 10px;
    }
    .p3{
        padding: 0px 10px;
    }
}
/*footer*/
.footer {
    border-top: 2px solid #37e;
    padding: 20px 0;
    background-color: #eee;
}

.links>ul>li {
    position: relative;
    margin-bottom: 20px;
    line-height: 40px;
    font-size: 16px;
    text-align: center;
}

.links>ul>li>a {
    display: block;
    margin: 0 -5px;
    padding: 0 20px;
    background: #fff url(/material/images/links_arr.png) 96% 50% no-repeat;
}

.links li ul {
    display: none\9;
    z-index: -1;
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 40px;
    max-height: 200px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid #ddd;
    background-color: #fff;
    opacity: 0;
    transform: translate(0, 3px);
    transition: opacity, transform .3s;
}

.links li:hover ul {
    display: block\9;
    z-index: 9;
    opacity: 1;
    transform: translate(0, 0);
}

.links li li {
    border-top: 1px solid #ddd;
    line-height: 39px;
    text-align: center;
    transition: all .3s;
}

.links li li:hover {
    background-color: #f8f8f8;
}

.links li li a {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    word-break: keep-all;
    text-overflow: ellipsis;
    font-size: 14px;
}

.copyright {
    line-height: 32px;
}

.copyright p a,
.copyright p span {
    margin: 0 10px;
}

.gov {
    position: absolute;
    top: 50%;
    left: 0;
    width: 80px;
    height: 80px;
    margin-top: -40px;
}

.jc {
    position: absolute;
    top: 50%;
    right: 0;
    width: 110px;
    height: 55px;
    margin-top: -22px;
}
@media (max-width: 1200px) {

    .footer {
        padding: 20px;
    }

    .links {
        padding: 0 20px;
    }

    .copyright {
        line-height: 22px;
        font-size: 14px;
    }
}
@media (max-width: 768px) {

    .copyright p span {
        display: block;
    }

    .footer .gov,
    .footer .jc {
        position: relative;
        display: inline-block;
        top: 0;
        margin-top: 20px;
        vertical-align: middle;
    }
}