common.css 4.88 KB
/*顶部图片*/
.inner {
    width: 1200px;
    margin: 0 auto;
    position: relative;
}

.banner img {
    display: block;
    width: 100%;
}

.banner {
    position: relative;
    margin-top: 90px;
}

.banner_index {
    margin-top: 90px;
}

/* 顶部图片中间文字内容*/
.nyban {
    position: absolute !important;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
}

.nyban h4 {
    text-align: center;
    color: white;
    font-size: 42px;
    line-height: 42px;
}

.nyban h4 span {
    position: relative;
}

.nyban h4 span:after {
    position: absolute;
    content: '';
    width: 60px;
    height: 2px;
    background: white;
    left: -70px;
    top: 50%;
    margin-top: -1px;
}

.nyban h4 span:before {
    position: absolute;
    content: '';
    width: 60px;
    height: 2px;
    background: white;
    right: -70px;
    top: 50%;
    margin-top: -1px;
}

.nyban-con h3 {
    font-size: 42px;
    color: #fff;
    position: relative;
    padding-bottom: 30px;
    margin-bottom: 23px;
}

.nyban-con {
    width: auto;
}

.nyban-con p {
    font-size: 14px;
    color: #fff;
    line-height: 24px;
}

.nyban-con h3:after {
    content: '';
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background: url(../images/line.png) no-repeat center;
    position: absolute;
    bottom: 0;
    left: 0;
}

/*导航栏*/
.bread {
    height: 60px;
    line-height: 60px;
    background: #eee;
    border-bottom: 1px solid #d2d2d2;
    position: relative;
}

.bread-con {
    position: absolute;
    right: 0;
    font-size: 1;
    background: url(../images/add.png) no-repeat left center;
    padding-left: 25px;
    height: 60px;
    margin-right: 20px;
}

.bread-con a {
    display: inline-block;
    font-size: 14px;
    color: #666;
}

.bread-con i {
    display: inline-block;
    color: #666;
    font-size: 14px;
    margin: 0 6px;
}

.bread-con a:hover, .bread-con a:last-child {
    color: #192549;
}


/*新闻*/
.in-five {
    padding: 60px 0 100px;
    overflow: hidden;
    background: #f7f8fa;
}

.in5-list {
    text-align: center;
}

.in5-list li {
    /*width: 446px;*/
    float: left;
    margin-right: 30px;
    text-align: left;
    transition: all 0.4s;
}

.in5-list li:nth-child(3n) {
    margin-right: 0;
}

.in5-list .in5-pic {
    width: 446px;
    overflow: hidden;
    height: 215px;
}

.in5-list .in5-pic img {
    transition: all 0.4s;
    display: block;
    width: 100%;
    height: 100%;
}

.in5-list .in5-desc {
    background: #fff;
    padding: 30px 20px;
    border: 1px solid #e5e5e5;
    border-top: 0;
}

.in5-desc-lf {
    display: inline-block;
}

.in5-desc-lf span {
    display: block;
}

.in5-desc-lf span.span1 {
    font-family: "Hel-02";
    color: #bcbcbc;
    font-size: 32px;
    line-height: 22px;
    margin-bottom: 7px;
}

.in5-desc-lf span.span2 {
    font-family: "Hel";
    color: #666;
    font-size: 16px;
    margin-bottom: 12px;
}

.in5-desc-lf span.span3 {
    width: 20px;
    height: 20px;
    background: url(../images/right3.png) no-repeat center;
    transition: all 0.4s;
}

.in5-desc-rt {
    width: 320px;
    float: right;
}

.in5-desc-rt h3 {
    color: #333;
    font-size: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 18px;
    margin-bottom: 21px;
    transition: all 0.4s;
}

.in5-desc-rt p {
    color: #666;
    font-size: 14px;
    line-height: 22px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    height: 44px;
}

.in5-list li:hover .in5-desc-lf span.span3 {
    background: url(../images/right3h.png) no-repeat center;
}

.in5-list li:hover .in5-desc-rt h3 {
    color: #0369fc;
}

.in5-list li:hover .in5-pic img {
    transform: scale(1.1);
}

.in5-list li:hover {
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1600px) {
    .in5-list li {
        width: 380px;
    }

    .in5-list .in5-pic {
        width: 380px;
        height: 213px;
    }

    .in5-desc-rt {
        width: 275px;
    }

    .in5-list .in5-desc {
        padding: 25px 15px;
    }
}

@media (max-width: 768px) {
    .inner {
        width: 100vw !important;
    }

    .banner {
        margin-top: 70px !important;
    }

    .banner img {
        height: 200px !important;
    }

    .nyban h4 {
        font-size: 22px;
    }

    .nyban h4 span:before {
        display: none;
    }

    .nyban h4 span:after {
        display: none;
    }

    /*新闻*/
    .in-five {
        padding: 30px 0;
    }

    .in5-list ul {
        display: flex;
        flex-direction: column;
    }

    .in5-list li {
        width: 100% !important;
        margin: 0 0 20px 0 !important;
    }

    .in5-list .in5-desc {
        display: flex;
    }

    .in5-desc-lf {
        width: 80px;
        flex-shrink: 0;
    }

    .in5-desc-rt {
        width: 70% !important;
        flex-grow: 1;
    }

    .in5-list .in5-pic {
        width: 100% !important;
    }
}