/**!
 * 静安-静安教育
 * author: tfx
 * date:2020-07-24
 */
.main {
    margin-bottom: 28px;
}

.main-tt {
    position: relative;
    height: 163px;
    background: url("../images/edu_pic.png") 0 center no-repeat;
}

.main-tt>button {
    position: absolute;
    top: 13px;
    right: 0;
    width: 80px;
    height: 25px;
    color: #2f70c0;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
    border: 1px solid #2f6fc0;
    background: #fff;
    outline: none;
}

.main-tt>button:hover {
    color: #fff;
    background: #2f70c0;
}

/* 轮播 */
#ewb-newsscroll {
    position: relative;
}

/* 轮播-文字介绍 */
.ewb-img-intro {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 44px;
    line-height: 44px;
    padding: 0 220px 0 17px;
    font-size: 13px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* 轮播-分页按钮 */
#ewb-newsscroll .owl-dots {
    position: absolute;
    right: 4px;
    bottom: 12px;
    width: 137px;
    height: 18px;
}

#ewb-newsscroll .owl-dots .owl-dot span {
    width: 25px;
    height: 18px;
    line-height: 18px;
    border-radius: 0;
    margin-left: 3px;
    font-size: 13px;
    color: #fff;
    background: #898989;
}

#ewb-newsscroll .owl-dots .owl-dot:first-child>span {
    margin-left: 0;
}

#ewb-newsscroll .owl-dots .owl-dot.active span {
    background: #ef8833;
}


/* 教育动态 */
.trends {
    margin-left: 20px;
}

.trends-hd {
    border-bottom: 1px solid #2f70c0;
    background: url("../images/edu_hd.png") 0 center no-repeat;
}

.trneds-tt {
    height: 33px;
    line-height: 33px;
    padding-left: 39px;
    font-size: 17px;
    color: #fff;
    background: url("../images/icon_dt.png") 10px center no-repeat;
}

.trends-ul {
    margin: 21px -3px 0 -3px;
    height: 260px;
    padding-left: 13px;
    background: url("../images/edu_gg_bg.png") center center no-repeat;
}

.trends-list {
    line-height: 34px;
    font-size: 15px;
    padding-left: 19px;
    background: url("../images/icon_dian2.png") 0 center no-repeat;
    cursor: pointer;
}

.trends-list-date {
    float: right;
    margin: -34px 34px 0 0;
    color: #666;
}

.trends-list-cont {
    padding-right: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.trends-list-cont>a {
    color: #333;
}

.trends-list-cont>a:hover,
.trends-list:hover .trends-list-date {
    color: #2f6fc0;
}

/* 政务公开 */
.open-hd {
    height: 67px;
    line-height: 67px;
    padding-left: 10px;
    text-align: center;
    font-size: 24px;
    letter-spacing: 4px;
    background: url("../images/edu_zw_hd.png") center center no-repeat;
}

.tabview {
    margin-top: 7px;
    margin-right: 21px;
}

.notice-tt {
    border-bottom: 1px solid #2f70c0;
}

.notice-list {
    position: relative;
    float: left;
    height: 33px;
    line-height: 33px;
    padding: 0 22px;
    font-size: 17px;
}
.notice-list2 {
    position: relative;
    float: left;
    height: 33px;
    line-height: 33px;
    padding: 0 22px;
    font-size: 17px;
}

.notice-list>a {
    color: #2f70c0;
}
.notice-list2>a {
    color: #2f70c0;
}

.notice-list.active {
    background: #2f70c0;
}

.notice-list.active:before {
    content: '';
    position: absolute;
    right: -9px;
    bottom: 0;
    width: 9px;
    height: 25px;
    background: url("../images/edu_hd_before.png") center center no-repeat;
}

.notice-list.active>a {
    color: #fff;
}

.notice-bdl {
    height: 331px;
    padding-top: 25px;
    margin: 0 -3px 0 -3px;
    box-sizing: border-box;
    background: url("../images/edu_gg_bg1.png") center center no-repeat;
}

.bdl-ul {
    margin: 0 3px;
    padding-left: 18px;
}


/* 登录入口 */
.entrance-ul {
    margin-top: 7px;
}

.entrance-list {
    height: 56px;
    line-height: 56px;
    margin-top: 5px;
    border: 1px solid #2f70c0;
    box-sizing: border-box;
    background: 45px center no-repeat;
}

.entrance-list:first-child {
    margin-top: 0;
}

.entrance-list>a {
    display: block;
    padding-left: 113px;
    font-size: 17px;
    color: #2f70c0;
}

.entrance-list:nth-child(1) {
    background-image: url("../images/edu_icon1.png");
}

.entrance-list:nth-child(2) {
    background-image: url("../images/edu_icon2.png");
}

.entrance-list:nth-child(3) {
    background-image: url("../images/edu_icon3.png");
}

.entrance-list:nth-child(4) {
    background-image: url("../images/edu_icon4.png");
}

.entrance-list:nth-child(5) {
    background-image: url("../images/edu_icon5.png");
}

.entrance-list:nth-child(6) {
    background-image: url("../images/edu_icon6.png");
}

.entrance-list:hover {
    background-color: #2f70c0;
}

.entrance-list:hover a {
    color: #fff;
}

.entrance-list:nth-child(1):hover {
    background-image: url("../images/edu_icon1_a.png");
}

.entrance-list:nth-child(2):hover {
    background-image: url("../images/edu_icon2_a.png");
}

.entrance-list:nth-child(3):hover {
    background-image: url("../images/edu_icon3_a.png");
}

.entrance-list:nth-child(4):hover {
    background-image: url("../images/edu_icon4_a.png");
}

.entrance-list:nth-child(5):hover {
    background-image: url("../images/edu_icon5_a.png");
}

.entrance-list:nth-child(6):hover {
    background-image: url("../images/edu_icon6_a.png");
}


/* 政务服务 */
.service-hd {
    height: 73px;
    line-height: 73px;
    padding-left: 0;
}

.service-ul {
    margin: 4px -13px 0;
}

.service-list {
    float: left;
    width: 20%;
}

.service-list-cont {
    display: block;
    margin: 0 13px;
    height: 157px;
    padding-top: 107px;
    line-height: 30px;
    font-size: 20px;
    color: #fff;
    text-align: center;
    box-sizing: border-box;
    background: center center no-repeat;
}

.service-list-cont:hover {
    color: #333;
}

.service-list:nth-child(1) .service-list-cont {
    background-image: url("../images/edu_zw1.png");
}

.service-list:nth-child(2) .service-list-cont {
    background-image: url("../images/edu_zw2.png");
}

.service-list:nth-child(3) .service-list-cont {
    background-image: url("../images/edu_zw3.png");
}

.service-list:nth-child(4) .service-list-cont {
    background-image: url("../images/edu_zw4.png");
}

.service-list:nth-child(5) .service-list-cont {
    background-image: url("../images/edu_zw5.png");
}


.service-type-ul {
    margin: 30px -10px 0;
}

.service-type-list {
    float: left;
    width: 16.66666666666%;
}

.service-type-cont {
    display: block;
    margin: 0 10px;
    height: 122px;
    text-align: center;
    font-size: 16px;
    border: 1px solid #e6e6e6;
    box-sizing: border-box;
    box-shadow: 2px 2px 13px 0px rgba(0, 0, 0, 0.1);
}

.service-type-cont>i {
    display: block;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    margin: 20px auto 0;
    background: center center no-repeat;
}

.service-type-cont>p {
    margin-top: 11px;
    line-height: 26px;
}

.service-type-list:nth-child(1)>.service-type-cont i {
    background-image: url("../images/edu_fun1.png");
}

.service-type-list:nth-child(1)>.service-type-cont p {
    color: #0069c5;
}

.service-type-list:nth-child(2)>.service-type-cont i {
    background-image: url("../images/edu_fun2.png");
}

.service-type-list:nth-child(2)>.service-type-cont p {
    color: #f0ad4e;
}

.service-type-list:nth-child(3)>.service-type-cont i {
    background-image: url("../images/edu_fun3.png");
}

.service-type-list:nth-child(3)>.service-type-cont p {
    color: #f15a5d;
}

.service-type-list:nth-child(4)>.service-type-cont i {
    background-image: url("../images/edu_fun4.png");
}

.service-type-list:nth-child(4)>.service-type-cont p {
    color: #66bb6a;
}

.service-type-list:nth-child(5)>.service-type-cont i {
    background-image: url("../images/edu_fun5.png");
}

.service-type-list:nth-child(5)>.service-type-cont p {
    color: #20a0e4;
}

.service-type-list:nth-child(6)>.service-type-cont i {
    background-image: url("../images/edu_fun6.png");
}

.service-type-list:nth-child(6)>.service-type-cont p {
    color: #b822da;
}

.service-type-list>.service-type-cont:hover p {
    color: #fff;
}

.service-type-list:nth-child(1)>.service-type-cont:hover {
    background-color: #2683d3;
}

.service-type-list:nth-child(1)>.service-type-cont:hover i {
    background-image: url("../images/edu_fun1_a.png");
}

.service-type-list:nth-child(2)>.service-type-cont:hover {
    background-color: #fcb761;
}

.service-type-list:nth-child(2)>.service-type-cont:hover i {
    background-image: url("../images/edu_fun2_a.png");
}

.service-type-list:nth-child(3)>.service-type-cont:hover {
    background-color: #ff4b57;
}

.service-type-list:nth-child(3)>.service-type-cont:hover i {
    background-image: url("../images/edu_fun3_a.png");
}

.service-type-list:nth-child(4)>.service-type-cont:hover {
    background-color: #3fbe60;
}

.service-type-list:nth-child(4)>.service-type-cont:hover i {
    background-image: url("../images/edu_fun4_a.png");
}

.service-type-list:nth-child(5)>.service-type-cont:hover {
    background-color: #00a1ea;
}

.service-type-list:nth-child(5)>.service-type-cont:hover i {
    background-image: url("../images/edu_fun5_a.png");
}

.service-type-list:nth-child(6)>.service-type-cont:hover {
    background-color: #b822da;
}

.service-type-list:nth-child(7)>.service-type-cont:hover i {
    background-image: url("../images/edu_fun6_a.png");
}


/* 热点专题 */

.special-hd {
    height: 71px;
    line-height: 71px;
    padding-left: 0;
    margin-top: 15px;
}

.special>a {
    float: left;
    width: 230px;
    height: 102px;
    padding: 2px;
    margin-left: 30px;
    box-sizing: border-box;
    border: 1px solid #d3d3d3;
}

.special>a>img {
    display: block;
    width: 100%;
    height: 100%;
}

.special>a:first-child {
    margin-left: 7px;
}

.ewm-cont {
    float: left;
    text-align: center;
    margin-left: 11px;
}

.ewm {
    display: inline-block;
    width: 103px;
    margin-left: 16px;
}

.ewm>img {
    display: block;
    width: 78px;
    margin: 0 auto;
}

.ewm:first-child {
    margin-left: 0;
}

.ewm>p {
    line-height: 28px;
    font-size: 16px;
    color: #237dd5;
}


/* pad */
@media(max-width:997px) {
    .main {
        margin-bottom: 10px;
    }

    .owl-carousel .owl-item img {
        height: 315px;
    }

    .special>a {
        margin-left: 35px;
    }

    .special>a:first-child {
        margin-left: 0;
    }

    .ewm-cont {
        width: 100%;
        margin-top: 20px;
        margin-left: 0;
    }
}

/* phone */
@media(max-width:767px) {
    .main-tt {
        background-size: 100% 100%;
    }

    .ewb-img-intro {
        padding: 0 132px 0 17px;
    }

    .trends {
        margin-left: 0;
        margin-top: 10px;
    }

    .notice-list {
        padding: 0 10px;
    }

    .tabview {
        margin-right: 0;
    }

    .notice-bdl {
        padding-top: 10px;
        padding-bottom: 10px;
        height: auto;
        background-size: 100% 100%;
    }

    .trends-ul {
        margin: 10px 0 0 0;
        height: auto;
        padding-bottom: 10px;
        background-size: 100% 100%;
    }

    .open-hd {
        height: 50px;
        line-height: 50px;
    }

    .service-ul,
    .service-type-ul {
        margin: 5px 0 0;
    }

    .service-list,
    .service-type-list {
        width: 50%;
        margin-left: 0;
    }

    .service-list-cont,
    .service-type-cont {
        margin: 0 6px;
    }

    .service-list:nth-child(n+3),
    .service-type-list:nth-child(n+3) {
        margin-top: 10px;
    }

    .special>a {
        width: 100%;
        margin-left: 0;
    }
}

.trneds-tt,
.notice-list.active {
    font-weight: bold;
}