﻿@charset "utf-8";

.banner {
    position: relative;
    overflow: hidden;
}

.banner img {
    display: block;
    width: 100%;
}


.banner a {
    display: block;
}

.banner .slick {
    position: relative;
    z-index: 9;
}

.banner .slick-slide a {
    display: block;
    position: relative;
}


.banner .slick-dots li button {
    display: none;
}

.banner .slick-dots {
    bottom: 5%;
}

.banner .slick-dots li {
    width: 15px;
    height: 15px;
    background-color: #ffffff;
    opacity: 0.2;
    border-radius: 50%;
}

.banner .slick-dots li.slick-active {
    opacity: 1;
}

.banner .slick-prev {
    width: 30px;
    height: 40px;
    background: url(../images/banner-l.png) no-repeat;
    background-size: 100% 100%;
    left: 10%;
}

.banner .slick-next {
    width: 30px;
    height: 40px;
    background: url(../images/banner-r.png) no-repeat;
    background-size: 100% 100%;
    right: 10%;
}

.banner .slick-slide.slick-current a img {
    animation: img_scale linear 8s;
}

@keyframes img_scale {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }

}

/* index */

.s1 {
    padding: 45px 0;
}

.tit {
    position: relative;
    border-bottom: 1px solid #ddd;
    margin-bottom: 35px;
}

.tit h3 {
    display: inline-block;
    padding-left: 30px;
    padding-right: 50px;
    background: url(../images/tit-bj.png) no-repeat;
    background-size: 100% 100%;
    font-size: 26px;
    font-weight: normal;
    line-height: 54px;
    color: #ffffff;
}

.tit a {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 16px;
    letter-spacing: 1px;
    color: #333333;
    padding-left: 26px;
    background: url(../images/more.png) no-repeat;
    background-position: left center;
    transition: all 0.3s;
}

.tit a:hover {
    color: #be1219;
}

.s1-banner {
    width: 670px;
    float: left;
    margin-right: 4%;
}

.s1-banner .pic {
    height: 420px;
    padding-top: 0;
}

.s1-banner ul li a {
    position: relative;
    padding-bottom: 60px;
}

.s1-tx {
    background-color: #ffffff;
    box-shadow: 0px 0px 10px 0px rgba(6, 0, 1, 0.2);
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 93%;
    padding: 20px 25px;
}

.s1-tx h3 {
    font-size: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #333333;
    text-align: center;
    margin-bottom: 15px;
}

.s1-tx p {
    font-size: 14px;
    line-height: 18px;
    height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333333;
    opacity: 0.6;
}

.s1-banner ul li a:hover h3 {
    color: #be1219;
}

.s1-list {
    overflow: hidden;
}

.s1-list ul li h3 {
    line-height: 18px;
    font-size: 18px;
    color: #333333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.s1-list ul li h3 span {
    font-family: Arial;
    font-size: 16px;
    color: #666666;
    float: right;
}

.s1-list ul li a {
    border-bottom: 1px dashed #dcdcdc;
    padding: 23px 0;
    transition: all 0.3s;
}

.s1-list ul li p {
    margin-top: 20px;
    font-size: 14px;
    line-height: 24px;
    height: 48px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333333;
    opacity: 0.6;
    display: none;

}

.s1-list ul li.on h3>span {
    display: none;
}

.s1-list ul li.on p {
    display: block;
}

.s1-list ul li.on a {
    background: url(../images/s1-list-bj.png) no-repeat #f5f5f5;
    background-position: 98% center;
    padding: 23px 30px;
    margin-bottom: 10px;
    border-color: transparent;
}

.s1-banner .slick-dots li {
    display: none;
    display: inline-block;
    width: auto;
    height: auto;
}

.s1-banner .slick-dots li.slick-active {
    display: block;
}

.s1-banner .slick-dots li.slick-active span {
    font-size: 24px;
    color: #be1219;
}

.s1-banner .slick-dots li.slick-active b {
    font-size: 18px;
    color: #be1219;
}

.s1-banner .slick-dots {
    text-align: right;
    bottom: 80px;
    right: 8%;
}


/* s2 */
.s2 {
    padding-bottom: 45px;
}

.s2-l {
    width: 47%;
    float: left;
    margin-right: 4%;
}

.s2-info {
    width: 40%;
    float: left;
    margin-right: 5%;
    background-color: #f8f3f3;
    padding: 30px 25px;
    height: 363px;
}

.s2-info h3 b {
    display: block;
    font-size: 18px;
    line-height: 28px;
    height: 56px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #be1219;
}

.s2-info h3 {
    margin-bottom: 30px;
    padding-bottom: 35px;
    border-bottom: 2px solid #be1219;
}

.s2-info p {
    font-size: 14px;
    line-height: 24px;
    height: 144px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #111111;
    opacity: 0.6;
}

.s2-item {
    overflow: hidden;
}

.s2-item ul li a {
    background-color: #f8f3f3;
    border-left: 3px solid #be1219;
    padding: 22px 20px;
}

.s2-item ul li {
    margin-top: 30px;
}

.s2-item ul li:first-child {
    margin-top: 0;
}

.s2-item ul li a p {
    font-size: 18px;
    line-height: 28px;
    height: 56px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #111111;
}

.s2-r {
    overflow: hidden;
}

.s2-list ul li {
    float: left;
    width: 48.5%;
    margin-top: 30px;
}

.s2-list ul li:nth-child(-n+2) {
    margin-top: 0;
}

.s2-list ul li:nth-child(odd) {
    margin-right: 3%;
}

.s2-list ul li a {
    border: solid 1px #dddddd;
    padding: 25px;
    position: relative;
    background-color: #fcfcfc;
}

.s2-list ul li a p {
    font-size: 18px;
    line-height: 24px;
    height: 48px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #111111;
}

.s2-list ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    top: 25px;
    width: 3px;
    height: 28px;
    background-color: #be1219;
}


/* s3 */
.s3 {
    padding-bottom: 45px;
}

.s3-l {
    width: 47%;
    float: left;
    margin-right: 4%;
}

.s3-top .pic {
    width: 242px;
    height: 153px;
    padding-top: 0;
    margin-right: 25px;
    float: left;
}

.s3-top {
    padding-bottom: 25px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

.s3-top:hover h3 {
    color: #be1219;
}

.s3-tx {
    overflow: hidden;
}

.s3-tx h3 {
    font-size: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #111111;
    padding-bottom: 15px;
    margin-bottom: 15px;
    position: relative;
}

.s3-tx h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #ae2126;
}

.s3-tx p {
    font-size: 16px;
    line-height: 24px;
    height: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #111111;
    opacity: 0.6;
}

.s3-list ul li a {
    font-size: 18px;
    line-height: 48px;
    color: #111111;
    padding-left: 15px;
    background: url(../images/s3-dots.png) no-repeat;
    background-position: left center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.s3-list ul li a:hover {
    color: #be1219;
}

.s3-r {
    overflow: hidden;
}


/* s4 */
.s4 {
    padding-bottom: 45px;
}

.teach-box {
    overflow: hidden;
}

.teach-box .slick-track {
    transition: width 0.3s;
}

.teach-slick {
    overflow: hidden;
}

.s4-pic .pic {
    padding-top: 130%;
}

.s4-pic {
    position: relative;
    float: left;
}

.s4-name {
    background-color: rgba(0, 0, 0, 0.6);
    font-size: 16px;
    line-height: 40px;
    color: #ffffff;
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    text-align: center;
}

.s4-info {
    background: url(../images/s4-txbj.jpg) no-repeat;
    background-size: cover;
    overflow: hidden;
    transition: all 0.3s;
    position: absolute;
    right: 0;
    height: 100%;
    margin-left: 26px;
    opacity: 0;
    transition: all 0.3s;
}

.s4-info h3 {
    display: inline-block;
    font-size: 18px;
    color: #ffffff;
    line-height: 40px;
    background: url(../images/s4-name.png) no-repeat;
    background-size: 100% 100%;
    padding: 0 30px;
    margin: 40px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.s4-info p {
    font-size: 14px;
    line-height: 24px;
    color: #ffffff;
    opacity: 0.6;
    height: 144px;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 30px;
}

.teach-slick ul li {
    transition: all 0.3s;
    overflow: hidden;
}

.teach-slick ul li a {
    position: relative;
    height: 100%;
    margin: 0 13px;
    transition: all 0.3s;
    overflow: hidden;
}

.teach-slick ul li a .s4-info {
    opacity: 1;
}










@media screen and (max-width:1024px) {
    .banner .slick-dots li {
        width: 10px;
        height: 10px;
    }

    .s1-banner {
        float: none;
        width: auto;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .s1-banner .pic {
        padding-top: 62.6%;
        height: auto;
    }

    .s1-tx h3 {
        text-align: left;
        max-width: 80%;
    }

    .s2-l {
        float: none;
        width: auto;
        margin-right: 0;
        margin-bottom: 40px;
    }

    .s3-l {
        float: none;
        width: auto;
        margin-right: 0;
        margin-bottom: 40px;
    }

    .banner .slick-arrow {
        display: none !important;
    }
}

@media screen and (max-width:768px) {
    .s1 {
        padding: 35px 0;
    }

    .tit h3 {
        font-size: 22px;
        padding-left: 20px;
        padding-right: 30px;
        line-height: 45px;
    }

    .tit a {
        font-size: 14px;
    }

    .tit {
        margin-bottom: 25px;
    }

    .s1-list ul li h3,
    .s1-tx h3,
    .s1-list ul li h3 {
        font-size: 16px;
    }

    .s1-list ul li a {
        padding: 18px 0;
    }

    .s1-banner {
        margin-bottom: 10px;
    }

    .s1-list ul li h3 span {
        font-size: 14px;
    }

    .s2 {
        padding-bottom: 35px;
    }

    .s2-info h3 b {
        font-size: 16px;
    }

    .s2-info h3 {
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .s2-item ul li a p {
        font-size: 16px;
    }

    .s2-list ul li a p {
        font-size: 16px;
    }

    .s3-tx h3 {
        font-size: 16px;
    }

    .s3-list ul li a {
        font-size: 16px;
        line-height: 40px;
    }

    .s3-top {
        margin-bottom: 10px;
    }

    .s4-name {
        font-size: 14px;
        line-height: 36px;
    }

    .teach-slick ul li a {
        margin: 0 8px;
    }
}

@media screen and (max-width:640px) {
    .s2-info {
        float: none;
        width: auto;
        margin-right: 0;
        margin-bottom: 20px;
        height: auto;
    }

    .s2-list ul li {
        float: none;
        width: auto;
        margin: 0 !important;
        padding: 10px 0;
    }

    .s2-item ul li a {
        padding: 16px;
    }

    .s2-item ul li {
        margin-top: 20px;
    }

    .s3-top .pic {
        width: 180px;
        height: 113px;
        margin-right: 10px;
    }

    .s3-tx p {
        font-size: 14px;
        height: 48px;
    }

    .s3-l {
        margin-bottom: 20px;
    }
}

@media screen and (max-width:480px) {
    .s1 {
        padding: 25px 0;
    }

    .s2,
    .s3,
    .s4 {
        padding-bottom: 20px;
    }

    .tit {
        margin-bottom: 20px;
    }

    .tit h3 {
        font-size: 18px;
        padding-left: 15px;
        padding-right: 25px;
        line-height: 40px;
    }

    .s1-banner ul li a {
        margin: 10px;
        padding-bottom: 0;
    }

    .s1-tx {
        position: relative;
        left: 0;
        bottom: 0;
        transform: none;
        width: 100%;
    }
}