/* ---------------------------banner---------------------------------- */

.banner {
    width: 100%;
    overflow: hidden;
    margin-top: 74px;
    position: relative;
}

@media all and (max-width:900px) {
    .banner {
        margin-top: 50px;
    }
}

.banner img {
    width: 100%;
    object-fit: cover;
}

.banner-shade {
    width: 100%;
    height: auto;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(247, 171, 0, .9);
    overflow: hidden;
    padding: 74px 0 90px 0;
    z-index: 9;
    text-align: center;
}

.banner-shade h4 {
    font-size: 36px;
    color: #ffffff;
}

.banner-shade p {
    font-size: 17px;
    color: #ffffff;
    width: 60%;
    margin-left: 20%;
    margin-top: 16px;
    line-height: 24px;
}

/* -------------------------teaching-box------------------------------------ */

.teaching-box {
    width: 100%;
    overflow: hidden;
    background-color: #e6feff;
    padding-top: 22px;
}

.teaching {
    width: 1200px;
    margin: 0 auto;
}

.teaching-left {
    width: 100%;
    overflow: hidden;
    margin: 28px 0;
}

.teaching-left ul li {
    float: left;
    width: 50%;
    height: 346px;
    overflow: hidden;
}

.teaching-left ul li:nth-child(1) {
    background-color: #fff;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.teaching-left ul li:nth-child(2) {
    background-color: #f3f4f4;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.teaching-right {
    width: 100%;
    overflow: hidden;
    margin: 14px 0;
}

.teaching-right ul li {
    float: left;
    width: 50%;
    height: 346px;
    overflow: hidden;
}

.teaching-right ul li:nth-child(2) {
    background-color: #fff;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.teaching-right ul li:nth-child(1) {
    background-color: #f3f4f4;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.teaching-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 1s ease-in-out
}

.teaching-pic:hover {
    transform: scale(1.1);
}

.teaching-words {
    overflow: hidden;
}

.teaching-words h2 {
    font-size: 30px;
    color: #01b3bb;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-top: 80px;
    width: 90%;
    margin-left: 5%;
}

.teaching-words p {
    font-size: 13px;
    color: #777777;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    margin-top: 24px;
    line-height: 22px;
    width: 90%;
    margin-left: 5%;
}

.teaching-words h4 {
    font-size: 14px;
    color: #01b3bb;
    width: 192px;
    height: 48px;
    border: 1px solid #01b3bb;
    border-radius: 30px;
    text-align: center;
    line-height: 48px;
    margin-top: 24px;
    margin-left: 5%;
}


.teaching-inspire{
    width: 100%;
    height: auto;
    overflow: hidden;
    background-color: #fff;
    padding: 70px 0;
    margin-top: 50px;
    font-size: 24px;
    color: #01b3bb;
    text-align: center;
}
.teaching-inspire h1{
    margin-top: 6px;
}






/* ------------------------------------------------------------- */

/* ------------------------------------------------------------- */
/* -------------------------PC端--------------------------- */

@media all and (max-width:1380px) {}

@media all and (max-width:1280px) {
    .teaching {
        width: 94%;
        margin-left: 3%;
    }
    .banner-shade {
        padding: 20px 0 20px 0;
    }
}


/* ------------------------手机端-------------------------- */

@media all and (max-width:900px) {
    .banner-shade h4 {
        font-size: 16px;
    }
    .banner-shade p {
        font-size: 12px;
        width: 90%;
        margin-left: 5%;
        margin-top: 4px;
        line-height: 20px;
    }
    .banner-shade {
        padding: 2px 0 2px 0;
    }
    .teaching-left ul li {
        width: 100%;
        height: 258px;
    }
    .teaching-words h2 {
        font-size: 18px;
        margin-top: 30px;
    }
    .teaching-words p {
        margin-top: 16px;
    }
    .teaching-right ul li {
        width: 100%;
        height: 258px;
    }
    .teaching-inspire {
        padding: 16px 0;
        margin-top: 20px;
        font-size: 18px;
    }
    
    
    
    
}



