/*css样式拆分*/
.news-box {
    position: absolute;
    z-index: 99;
    top: 50%;
    left: 54%;
    transform: translate(0,-50%);
    padding-right: 90px;
}
.news-box .news-item {
    line-height: 250%;
    margin: 40px 0;
    cursor: pointer;
    letter-spacing: 4px;
    font-weight: bold;
}
.news-box .news-item .news-time {
    color: #fff;
    font-size: 29px;
}
.news-box .news-item .news-title {
    color: #fff;
    font-size: 25px;
    margin-top: 5px;
}
 /* 首页CSS提取 */
 .f_box {
     font-family: 'Microsoft YaHei', sans-serif;
     line-height: 1.6;
     background-color: #fff;
     position: relative;
     width: 100%;


 }
.Fz_wrp {

    /* margin: 0 auto; */
    /* 	position: absolute;
    left: 50%;
    top: 0; */

    /* background: #11428E; */
}

.Fz_wrp .bt_box {
    position: relative;
    z-index: 9;
}

.Fz_wrp .sy {
    /* position: absolute;
    left: 546px;
    bottom: 9px; */
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 3px;

}

.Fz_wrp a {
    color: #fff;
    text-decoration-line: none;
}

.Fz_wrp .list {
    /* position: absolute;
    left: 650px;
    bottom: 15px; */
    font-size: 11px;
    color: #fff;
}

.Fz_wrp .list a {
    margin: 0 20px;
}

.Fz_wrp img {
    vertical-align: top;
    width: 100%;
}

.Fz_wrp .p_top {
    position: relative;
    top: -8px;
}

.Fz_wrp .sdyj {
    padding: 50px;
    padding-bottom: 0;
}

.Fz_wrp .sdyj .title {
    text-align: center;
    width: 340px;
    margin: 20px auto !important;
}

.Fz_wrp .sdyj img {
    margin: 15px 0;
}

.Fz_wrp .yjzx {
    margin-top: 15px;
}

.Fz_wrp .sdfw .title {
    text-align: center;
    width: 300px;
    margin: 50px auto !important;
}

.Fz_wrp .sdfw img {
    margin: 15px 0;
    margin-bottom: 0;
}

.Fz_wrp .carousel2 {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* top: -8px; */
    /* 	z-index: 0; */
}

.Fz_wrp .carousel-inner2 {
    display: flex;
    transition: transform 0.5s ease;
}

.Fz_wrp .carousel-item2 {
    flex: 0 0 100%;
    width: 100%;
}

.Fz_wrp .carousel-item2 img {
    width: 100%;
    height: auto;
}

.Fz_wrp .carousel-control2 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    cursor: pointer;
    border: none;
    z-index: 10;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.Fz_wrp .carousel-prev2 {
    left: 20px;
}

.Fz_wrp .carousel-next2 {
    right: 20px;
}
/*第二部分*/
.toTop {
    position: fixed;
    bottom: 96px;
    right: 50px;
    cursor: pointer;
    display: none;
    z-index: 9999;
}

.toTop img {
    width: 50px;
}

.toTop:hover {
    opacity: 0.8;
}

.phone {
    position: relative;
}

.phone .icon {
    width: 26px;
    margin-left: 40px;
    display: inline-block;
    position: relative;
    top: 7px;
}

.phone .ewmImg {
    position: absolute;
    width: 80px;
    height: 80px;
    right: 106px;
    top: 3px;
    display: none;
}

.moblie_footer {
    display: none;
}
.flex {
    display: flex;
    align-items: center;
}


.top_list a {
    padding: 0 15px;
    font-size: 16px;
    height: 45px;
}

.list a:hover {
    /* background: rgba(255, 255, 255, 0.5); */
    font-weight: bold;
    /* font-size: 17px; */
}

.left_nav {
    background: url(https://fisf.fudan.edu.cn/resources/portal/new/images/mark.png) no-repeat;
    background-size: 100%;
    width: 170px;
    height: 60px;
    text-align: center;
    line-height: 46px;
    color: #FFFFFF;
    float: left;
    margin-right: 40px;
    z-index: 10;
    position: relative;
    font-weight: bold;
    font-size: 20px;
}
/*第三部分*/
.laoshi_box {
    color: #484443;
    flex-wrap: wrap;
    padding: 0 100px;
    justify-content: space-between;
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: bold;
}

.laoshi {
    margin: 20px 50px;
}

.laoshi_box .laoshi img {
    width: 200px;
    margin-right: 20px;
    margin-top: 0;
    cursor: pointer;
}

.laoshi_box .laoshi .right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 250px;

}

.laoshi_box .laoshi h2 {
    margin: 0;
    font-weight: bold;
}

.jb_line {
    width: 450px;
    background: linear-gradient(to right, #484443, #fff);
    height: 4px;
    margin-top: 20px;
}

.line {
    background: #484443;
    height: 8px;
    width: 40px;
    margin-top: 30px;
}

.gd {
    width: 280px !important;

}

/* 两张图片都绝对定位并重叠 */
.gd {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    transition: opacity 0.3s ease;
    /* 添加透明过渡效果 */
}

/* 默认显示第一张图 */
.gd1 {
    opacity: 1;
}

/* 默认隐藏第二张图 */
.gd2 {
    opacity: 0;
}

/* 悬停时切换显示 */
.image-container:hover .gd1 {
    opacity: 0;
}

.image-container:hover .gd2 {
    opacity: 1;
}

.jieshao {
    height: 120px;
    margin-top: 20px;
}
/* 首页CSS提取 */
/*新闻列表页*/
.news{
    max-width: 1300px;
    margin: 0px auto;
    margin-top: 100px;
}
.news .text_info {
    line-height: 170%;
    font-size: 16px;
    color: #666;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 30px;
    padding-bottom: 30px;
    padding-top: 40px;
}
.news .text_info img {
    display: inline-block;
    max-width: 100%;
    width: auto;
}
.news .text_info p{
    text-indent: 2em;
    margin-top: 1em;
}
/* .cover :hover {
    transform: scale(.7);

} */
.pagination-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 30px;
    margin-bottom: 50px;
}

/* 分页按钮样式 */
.pagination {
    display: flex;

}
.page a {
    color: #666;
}
.page-item ,.page-info{
    background: #F2F2F2;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    margin-right: 15px;
}

.page-item:hover {
    background-color: #F7B200;
    color: white;
}

.page-item.active {
    background-color: #F7B200;
    color: white;

}

/* 页码信息样式 */
.page-info {
    font-size: 14px;
    color: #666;
}
/*教师列表*/
.news{
    max-width: 1300px;
    margin: 0px auto;
    margin-top: 100px;
}
/* .cover :hover {
    transform: scale(.7);

} */
.pagination-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 30px;
    margin-bottom: 50px;
}

/* 分页按钮样式 */
.pagination {
    display: flex;

}

.page-item ,.page-info{
    background: #F2F2F2;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    margin-right: 15px;
}

.page-item:hover {
    background-color: #F7B200;
    color: white;
}

.page-item.active {
    background-color: #F7B200;
    color: white;

}

/* 页码信息样式 */
.page-info {
    font-size: 14px;
    color: #666;
}
.jb_line{
    width: 350px;
    background: linear-gradient(to right, #484443, #fff);
    height: 4px;
    margin-top: 20px;
}
.line{
    background:#484443;
    height: 8px;
    width: 40px;
    margin-top: 30px;
}
.jieshao{
    height: 150px;
    margin-top: 0px;
    display: flex;
    font-size: 16px;
}
/*师资详情*/
.show-teacher {
    .news {
        max-width: 880px;
        margin: 0px auto;
        position: relative;
        /* top:-265px;
        padding-bottom: -260px; */
    }

    /* .cover :hover {
        transform: scale(.7);

    } */
    .pagination-container {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        margin-top: 30px;
        margin-bottom: 50px;
    }

    /* 分页按钮样式 */
    .pagination {
        display: flex;

    }

    .page-item,
    .page-info {
        background: #F2F2F2;
        padding: 6px 14px;
        border-radius: 4px;
        cursor: pointer;
        transition: all 0.3s ease;
        color: #666;
        margin-right: 15px;
    }

    .page-item:hover {
        background-color: #F7B200;
        color: white;
    }

    .page-item.active {
        background-color: #F7B200;
        color: white;

    }

    /* 页码信息样式 */
    .page-info {
        font-size: 14px;
        color: #666;
    }

    .text_info::before {
        content: "";
        display: block;
        text-align: center;
    }

    .text_info img {
        width: 800px;
    }

    .right-arrow {
        width: 0;
        height: 0;
        border-top: 5px solid transparent;
        border-left: 8px solid #11428e;
        border-bottom: 5px solid transparent;
        margin-right: 10px;
    }
}