﻿/* 手机端样式 */
@media screen and (max-width: 768px) {
    .hidden-pc {
        display: block;
    }

    .hidden-mobile {
        display: none;
    }

    .title-news-center {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 59px;
        background-size: 100% 100%;
        color: #fff;
        font-size: 18px;
        background-image: url(../images/news-center-bg.png);
    }

    /* 轮播图 */
    .swiper1 {
        margin: 10px 0;
    }

    .swiper-slide img {
        width: 100vw;
        height: 215px;
    }

    .swiper-slide .title {
        position: absolute;
        bottom: 0;
        background-color: #66614f;
        height: 50px;
        width: 100%;
        filter: alpha(Opacity=80);
        -moz-opacity: 0.5;
        opacity: 0.5;
    }

    .swiper-pagination {
        text-align: right !important;
    }

    .swiper-container .swiper-pagination-bullet {
        background: #fff;
        opacity: 0.8;
    }

    .swiper-container .swiper-pagination-bullet-active {
        background: #007aff;
        opacity: 0.8;
    }

    .swiper-slide span {
        color: #fff;
        float: left;
        line-height: 50px;
        height: 50px;
        width: 100%;
        overflow: hidden;
        position: absolute;
        left: 0;
        bottom: 0;
        text-align: left;
        text-indent: 10px;
    }

    /* 工作状态、通知公告、不良信息、重大建设项目行政处罚 */
    .n_listBox,
    .n_listBox2 {
        width: calc(100% - 20px);
        margin-left: 10px;
    }

    .n_l_nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #eee;
    }

    .n_l_nav a {
        color: #235399;
        font-size: 14px;
    }

    .n_l_nav span {
        font-weight: bold;
        display: block;
        float: left;
        cursor: pointer;
        padding: 0 10px;
        font: bold 16px/33px Arial;
        color: #333333;
        background: #EEEEEE;
    }

    a {
        color: #434343;
        text-decoration: none;
    }

    .n_l_nav span.on {
        color: #FFF;
        background: #258BCB;
        font: bold 16px/33px Arial;
    }

    .n_listBox ul,
    .n_listBox2 ul {
        width: 100%;
        padding: 10px 0;
    }

    .n_listBox ul li,
    .n_listBox2 ul li {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }

    .n_listBox ul li a,
    .n_listBox2 ul li a {
        font-size: 15px;
    }

    .n_listBox .cont .date,
    .n_listBox2 .cont .date {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 13px;
        color: #666666;
        margin-top: 6px;
    }

    /* 规划公示等 */
    .gjfg_2021 {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 10px;
        width: calc(100vw - 20px);
    }

    .gjfg_2021 a {
        display: flex;
        flex-shrink: 0;
        flex-direction: column;
        align-items: center;
        width: 30%;
        margin-bottom: 10px;
    }

    .gjfg_2021_icon {
        width: 100%;
        height: 100%;
        border-radius: 5px;
        text-align: center;
        line-height: 73px;
    }

    .gjfg_2021_icon i {
        font-size: 50px;
        color: #ffffff;
    }

    .gjfg_2021_wenzi {
        padding: 10px 0;
        font-size: 15px;
    }

    /* 微信公众号等 */
    .wx-phone {
        display: flex;
        justify-content: space-between;
        margin: 10px;
        width: calc(100% - 20px);
        font: 15px;
    }

    .wx-phone img {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        margin-right: 10px;
    }

    .wx,
    .phone {
        display: flex;
        justify-content: center;
        align-items: center;
        background: #F8F8F8;
        width: 48%;
        padding: 10px 0;
    }

    .show-img {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #666;
        opacity: 0.9;
        z-index: 9999;
    }

    .show-img img {
        position: absolute;
        width: 120px;
        height: 120px;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /* 下属事业单位 */
    .gjfg {
        display: flex;
        flex-direction: column;
        margin: 10px;
        width: calc(100vw - 20px);
    }

    .gjfg-title {
        position: relative;
        font-size: 16px;
        font-weight: bold;
        height: 37px;
        border-bottom: 1px solid #BEBEBE;
    }

    .gjfg-title span {
        position: absolute;
        padding-bottom: 7px;
        bottom: -1px;
        left: 0;
        border-bottom: 2px solid #1461B5;
    }

    .gjfg a {
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        width: 100%;
        height: 80px;
        background: #F8F8F8;
        margin: 10px 0;
    }

}

/* 电脑端样式 */
@media screen and (min-width: 768px) {
    .hidden-pc {
        display: none;
    }

    .hidden-mobile {
        display: block;
    }

    /* 轮播图 */
    .newsBox,
    .tbzw,
    .gjfg_2021,
    .gjfg {
        margin: 20px auto;
        width: 1200px;
    }

    .newsBox-wrap {
        width: 100%;
        min-width: 1200px;
        background: #F7F7F7;
    }

    .newsBox {
        padding: 20px 0;
        margin-top: 10px !important;
    }

    .warp {
        position: relative;
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .newsBox3-wrap {
        display: flex;
        flex-direction: column;
    }

    .newsBox .n_imgsBox_cc {
        position: relative;
        width: 665px;
        height: 405px;
        margin-left: 0;
    }

    .n_imgsBox_cc img {
        width: 665px;
        height: 405px;
    }

    .n_imgsBox_cc .swiper-slide .title {
        position: absolute;
        bottom: 0;
        background-color: #66614f;
        height: 50px;
        width: 100%;
        filter: alpha(Opacity=80);
        -moz-opacity: 0.5;
        opacity: 0.5;
    }

    .swiper-pagination {
        text-align: right !important;
    }

    .swiper-container .swiper-pagination-bullet {
        background: #fff;
        opacity: 0.8;
    }

    .swiper-container .swiper-pagination-bullet-active {
        background: #007aff;
        opacity: 0.8;
    }

    .n_imgsBox_cc .swiper-slide span {
        color: #fff;
        float: left;
        line-height: 50px;
        height: 50px;
        width: 100%;
        overflow: hidden;
        position: absolute;
        left: 0;
        bottom: 0;
        text-align: left;
        text-indent: 10px;
    }

    /* 工作动态、通知公告切换 */
    .n_listBox_dt_wrap {
        width: 500px;
        height: 405px;
    }

    .n_listBox_tbzw_wrap {
        width: 810px;
        height: 290px;
        overflow: hidden;
        position: relative;
        border-top: none;
    }

    .n_listBox {
        width: 100%;
        height: 100%;
        /* border: 1px solid #DFDFDF; */
        overflow: hidden;
        position: relative;
    }

    .n_l_nav {
        border-bottom: 1px solid #DFDFDF;
        height: 48px;
        margin-bottom: 10px;
    }

    .n_l_nav span {
        display: block;
        float: left;
        cursor: pointer;
        padding: 0 20px;
        font: 22px/48px Arial;
    }

    a {
        text-decoration: none;
    }

    .n_l_nav span.on {
        border-bottom: 2px solid #d02a2a;
        font: 22px/48px Arial;
    }

    .n_l_nav span.on a {
        color: #d02a2a;
    }

    .n_l_nav .n_l_more {
        display: block;
        float: right;
        font: 17px/40px "微软雅黑";
        margin: 10px 0 0 0;
    }

    .n_l_more a {
        display: none;
        color: #999999;
    }

    .n_l_more a:hover {
        color: #1d71b7;
    }

    .n_listBox .cont {
        position: absolute;
    }

    .n_listBox ul {
        padding: 10px;
        width: 475px;
        height: 250px;
        float: left;
    }

    .tbzw .n_listBox_tbzw_wrap ul {
        padding: 10px;
        width: 790px;
        height: 250px;
        float: left;
    }

    .n_listBox li {
        font: 17px/38px Arial;
        overflow: hidden;
    }

    .n_listBox li em {
        background: #CBCBCB;
        width: 3px;
        height: 3px;
        margin: 14px 5px 0 2px;
        float: left;
    }

    .n_listBox li em {
        background: #CBCBCB;
        width: 3px;
        height: 3px;
        margin: 14px 5px 0 2px;
        float: left;
    }

    .n_listBox li a {
        display: block;
        float: left;
        width: 75%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .n_listBox li span {
        float: right;
        color: #999999;
    }

    /* 网上办事大厅等 */
    .tbzw_right {
        width: 357px;
        /* height: 351px; */
        float: right;
    }

    .tbzw_right ul li {
        width: 355px;
        height: 52px;
        border: solid 1px #fce2e1;
        margin-bottom: 5px;
    }

    .xfgf_icon {
        width: 65px;
        height: 58px;
        float: left;
        text-align: center;
        line-height: 56px;
        margin-left: 20px;
    }

    .xfgf_icon i {
        font-size: 40px;
        color: #e25c5c;
    }

    .xfgf_wenzi {
        height: 58px;
        float: left;
        line-height: 58px;
        font-size: 20px;
    }

    /* 规划公示等 */
    .gjfg_2021 ul li {
        float: left;
        width: 200px;
    }

    .gjfg_2021_icon {
        width: 112px;
        height: 100%;
        /*float:left;*/
        border-radius: 5px;
        text-align: center;
        line-height: 73px;
        margin-left: 40px;
    }

    .gjfg_2021_icon i {
        font-size: 50px;
        color: #ffffff;
    }

    .gjfg_2021_wenzi {
        height: 100%;
        font-size: 18px;
        line-height: 50px;
        text-align: center;
    }

    /* 下属事业单位 */
    .gjfg-wrap {
        flex-direction: column;
        align-items: center;
    }

    .gjfg .gjfg-title {
        background: url(../images/index_hengxian.png) no-repeat center;
        text-align: center;
        height: 30px;
        width: 100%;
        margin-bottom: 20px;
    }

    .gjfg .gjfg-list {}

    .gjfg li {
        display: block;
        float: left;
        width: 380px;
        height: 93px;
        line-height: 90px;
        margin-left: 10px;
        border: 1px solid #e5e5e5;
    }

    .gjfg li .gjfg-img {
        margin-top: 15px;
        margin-left: 20px;
        float: left;
        margin-right: 20px;
    }

    .gjfg li a img {
        margin-top: 30px;
        margin-left: 20px;
        float: right;
        margin-right: 20px;
    }

    /* 右侧飘浮 */
    .socialMedia {
        position: fixed;
        height: 1px;
        /*left:0;*/
        right: 5px;
        top: 300px;
        /*width:100%;*/
        z-index: 1001;
    }

    .wx_show,
    .wx_box {
        float: right;
    }

    .wx_show {
        border: 1px solid #EAEAEA;
        background: #FFF;
    }

    .sm_warp {
        /*min-width:900px; max-width:1260px;*/
        /*width:100%; margin:0 auto;*/
        width: 150px;
    }

    .wx_show .wx_ma,
    .wx_box i img {
        display: block;
        width: 128px;
        height: 128px;
        margin: 5px auto;
    }

    .wx_show .wx_txt {
        text-align: center;
        font: 12px/18px arial;
        padding: 5px;
    }

    .wx_box a {
        overflow: visible;
        background: #FFF;
        display: block;
        min-height: 30px;
        border: 1px solid #EAEAEA;
        margin-bottom: 5px;
    }

    .wx_box a:hover {
        background: #268bcb;
        color: #FFFFFF;
    }

    .wx_box span {
        display: block;
        float: left;
        font: 13px/30px arial;
    }

    .wx_box em {
        width: 25px;
        height: 25px;
        display: block;
        float: left;
        background: #268bcb url(http://www.njtuoao.com/dept/images/media_icon.png) center top no-repeat;
        border-radius: 5px;
        margin: 3px 5px 2px 3px;
    }

    .wx_box a i {
        display: none;
        clear: both;
        z-index: 111;
        position: relative;
    }

    .wx_box a:hover i {
        display: block;
    }

    .wx_box a i b {
        border-bottom: 6px solid #FFFFFF;
        border-right: 4px solid transparent;
        border-left: 4px solid transparent;
        position: absolute;
        top: -5px;
        left: 48%;
    }

    .wx_box .i1 em {}

    .wx_box .i2 em {
        background-position: center -30px;
    }

    .wx_box .i3 em {
        background-position: center -60px;
    }

    .wx_box .i4 em {
        background-position: center -90px;
    }

    .wx_box h3 .tit b {
        background-position: 10px -80px;
    }

    .wx_box h3 .tit b {
        background-position: 10px -160px;
    }

    .vedioShow .cont a {
        background-position: left -405px;
        padding-left: 20px;
    }

    .wx_box .goTopBtn {
        height: 15px;
        min-height: 15px;
        background: #E3E3E3;
        border-radius: 0 0 15px 15px;
        font: 12px/16px arial;
        text-align: center;
        position: relative;
    }

    .wx_box .goTopBtn em {
        background: none;
        width: 0;
        height: 0;
        overflow: hidden;
        border-bottom: 6px solid #E3E3E3;
        border-right: 4px solid transparent;
        border-left: 4px solid transparent;
        position: absolute;
        top: -8px;
        left: 45%;
    }

    .wx_box .goTopBtn:hover {
        text-decoration: none;
    }

    .wx_box .goTopBtn:hover em {
        border-bottom: 6px solid #268bcb;
        border-right: 4px solid transparent;
        border-left: 4px solid transparent;
    }
}