@charset "utf-8";

.main {
    position: relative;
    margin-top: 84px;
    padding-top: 96px;
    overflow: hidden;
}

.main>.bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: calc(50% + 100px);
    max-height: 668px;
    background-image: url(../image/teach_bg3.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.teach_top {
  
    
}

.teach_title {
    display: flex;
    align-items: center;
    color: var(--main-color);
    font-weight: 700;
    line-height: 1.2;
}

.teach_title img {
    margin-right: 6px;
}

.teach_tab {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
}
.teach_tab a {
    display: flex;
padding: 10px 24px;
margin-right: 8px;
justify-content: center;
align-items: center;
    border-radius: 50px;
border:1px solid #E0E0E0;
    color: var(--dark);
font-size: 18px;
font-weight: 700;
line-height: 32px;
}
.teach_tab a.active {
    background-color:var(--main-color);
    color: #fff;
    border-color: var(--main-color);
}
.teach_tab_content {
    min-height: 40vh;
}
.teach_content .pub-t1 {
    display: none;
    width: 100%;
}
.teach_content .pub-t1.d-show {
    display: inline-block
}
.teach_tab_content {
    padding-top: 15px;
    padding-bottom: 75px;
}
.teach_wrap .no1 {
    padding: 16px;
    margin-top: 16px;
    border-radius: 8px;
background-color: var(--main-color);
}
.teach_wrap .no1 .title {
    display: flex;
    justify-content: space-between;
}
.teach_wrap .no1 .title span {
    flex:1;
    margin-right: 15px;
    color:#FFF;
font-size: 18px;
font-weight: 700;
line-height: 32px;
}
.teach_wrap .no1 .title i {
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url(../image/teach_jia.svg);

}
.teach_wrap .no1.active .title i {
  
    background-image: url(../image/teach_jian.svg);
}
.philosophy_list {
padding-top: 24px;
padding-bottom: 15px;
}
.philosophy_list .teach_t {
    color: var(--dark);
font-size: 18px;
font-weight: 700;
line-height: 32px;
}
.teach_x_text {
    padding-top: 16px;
}
.teach_x_text p{
    margin-bottom: 25px;
    color:#666;
font-size: 18px;
font-weight: 400;
line-height: 32px; 
}
.teach_x_text p:last-child {
    margin-bottom: 0;
}
.teach_x_text strong{
font-size: inherit;
font-weight: 700;
line-height: inherit; 
margin-right: 4px;
}
.teach_x_loop {
    padding-top: 16px;
    padding-bottom: 16px;
    overflow: hidden;
	overflow-x: auto;
}
.teach_x_loop ul {
    display: flex;
    flex-wrap: wrap;
}
.teach_x_loop ul li {
    position: relative;
    padding-right: 40px;
    margin-right: 10px;
    margin-bottom: 16px;
}
.teach_x_loop ul li::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 30px;
height: 24px;
background-image: url(../image/teach_arrow_right.svg);
}
.teach_x_loop ul li:last-child:after {
    display: none;
}
.teach_x_loop span {
    display: flex;
padding: 7px 24px;
justify-content: center;
align-items: center;
border-radius: 22px;
border: 1px solid #D4D4D4;
background-color: #E4E4E4;
color: var(--main-color);
text-align: center;
font-size: 16px;
font-weight: 400;
line-height: 28px;
}
/* tab 滚动固定 */
.teach_menu_bg {
    position: relative;
}
.teach_menu_bg.fh {
    
    border-bottom: 1px solid rgba(0, 0, 0, 0.10);
    background: #FFF;
    z-index: 9;
}
.teach_menu_bg.fh .teach_tab {
    margin-top: 0;
}
.teach_menu_bg.fh .teach_tab a {
    padding: 16px 0;
    margin-right: 40px;
    background-color: transparent;
    border: none;
    border-radius: 0;
    border-bottom: 3px solid transparent;
}
.teach_menu_bg.fh .teach_tab a:last-child {
    margin-right: 0;
}
.teach_menu_bg.fh .teach_tab a.active {
    color: var(--main-color);
    border-bottom: 3px solid var(--main-color);
}

.teach_bottom {
    padding: 50px 0 75px 0;
    background-image: url(../image/teach_bg2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}


.honor_pic_loop {
    position: relative;
    margin-top: 66px;
    overflow: hidden;
}

#certify {
    position: relative;
    width: 100%;
    margin: 0 auto;
}


.honor_pic_loop .swiper-slide {
    position: relative;
    width: 50.1%;
}

.honor_pic_loop .swiper-slide .bg {
    position: relative;
 /* margin-top: 27px; */
    width: 100%;
    height: 100%;
}

.honor_pic_loop .swiper-slide img {
    width: 100%;
    border-radius: 16px;
}
.honor_pic_loop .thumb {
    position: relative;
    border-radius: 16px;
    border: 6px solid rgba(255, 255, 255, 0.30);
    overflow: hidden;
}
.honor_pic_loop .thumb i {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.honor_pic_loop .thumb::before{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
opacity: 0.5;
background: #000;
border-radius: 16px;
z-index: 1;
}

.honor_pic_loop .swiper-slide.swiper-slide-prev img,
.honor_pic_loop .swiper-slide.swiper-slide-next img {
    opacity: 0.5;
}
.honor_pic_loop .swiper-slide.swiper-slide-active .bg {
    margin-top: 0;
} 
.honor_pic_loop .swiper-slide.swiper-slide-active .thumb::before {
    opacity: 0;
}
.honor_pic_loop .swiper-slide p {
    position: absolute;
    bottom: 0;
    color: var(--dark);
    text-align: center;
    opacity: 0;
    display: block;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.honor_pic_loop .swiper-slide.swiper-slide-active img {
    opacity: 1;
    width: 100%;
}

.honor_pic_loop .swiper-slide.swiper-slide-active p {
    opacity: 1;
    position: relative;
    padding-top: 28px;
    height: 54px;
}

.honor_pic_loop .swiper-pagination {
    width: 100%;
    bottom: 20px;
}

.honor_pic_loop .swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 5px;
    border: 3px solid #fff;
    background-color: #d5d5d5;
    width: 10px;
    height: 10px;
    opacity: 1;
}

.honor_pic_loop .swiper-pagination-bullets .swiper-pagination-bullet-active {
    border: 3px solid var(--main-color);
    background-color: #fff;
}

.honor_button {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
}

.honor_pic_loop .honor_button:hover {
    background-color: var(--main-color);
}

.honor_pic_loop .swiper-button-prev {
    left: 5%;
    background-image: url(../image/honor_left.svg);
}

.honor_pic_loop .swiper-button-prev:hover {
    background-image: url(../image/honor_left_h.svg);

}

.honor_pic_loop .swiper-button-next {
    right: 5%;
    background-image: url(../image/honor_right.svg);

}

.honor_pic_loop .swiper-button-next:hover {
    background-image: url(../image/honor_right_h.svg);

}

@media (min-width:768px) {
    .honor_pic_loop .swiper-pagination {
        display: none;
    }
}

@media (max-width:1366px) {
    .teach_title img {
        width: 40px;
    }
    .honor_pic_loop .swiper-slide p {

        font-size: 22px;

    }

}

@media (max-width:1280px) {
    .teach_title img {
        width: 36px;
    }
    .honor_pic_loop .swiper-slide p {

        font-size: 20px;

    }

    .honor_button {
        width: 56px;
        height: 56px;

    }

}

@media (max-width:991px) {
 

    .honor_button {
        width: 50px;
        height: 50px;

    }
    .teach_tab a {
        padding: 10px 4px;
        width: calc(33.33% - 8px);
        margin-bottom: 10px;
    }

}

@media (max-width:767px) {
    .main {
        margin-top: 80px;
    }


    .teach_x_text p {
        margin-bottom: 25px;
        font-size: 16px;
        line-height: 26px;
    }
    .teach_x_loop ul li {
        padding-right: 30px;
    }
    .teach_x_loop ul li::after {
   
        width: 20px;
        height: 24px;
        background-size: contain;
        background-position: center;
    }
    .teach_x_loop span {
        padding: 6px 16px;
        min-width: 80px;
    }
    .teach_wrap .no1 .title span {
        font-size: 16px;
        line-height: 26px;
    }
    .honor_pic_loop {
        margin-top: 36px;
    }
    .honor_pic_loop .swiper-slide {
        width: 100%;
        opacity: 0 !important;
    }
    .honor_pic_loop .swiper-slide.swiper-slide.swiper-slide-active {
        opacity: 1 !important;
    }
    .honor_pic_loop .swiper-slide p {
        font-size: 18px;
        padding-top: 15px;
    }

    .honor_button {
        width: 46px;
        height: 46px;
    }
    .teach_tab a {
        width: calc(50% - 8px);
        font-size: 16px;
        font-weight: 400;
    }
}
@media (max-width:359px) {
    .teach_tab a {
        width: calc(50% - 4px);
        margin-right: 4px;
    }

}