/**!
 * 首页
 * author: fxyue;
 * date:2019-09-10
 */
.ewb-main {
    border-radius: 20px;
    margin: 0 -30px;
    position: relative;
    min-height: 996px;
    overflow: hidden;
    padding: 30px;
}

/* 小屏 */
@media (max-width:1359px) {
    .ewb-main {
        margin: 0;
    }
}

/* pad */
@media (max-width:979px) {
    .ewb-main {
        padding: 30px 10px;
    }
}

/* 背景处理 */
.ewb-main-top {
    height: 200px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: url("../images/white_bg_top.png") top center no-repeat;
}

.ewb-main-bottom {
    position: absolute;
    bottom: 0;
    top: 200px;
    left: 0;
    right: 0;
    background: #fff;
}

.ewb-main-middle {
    position: relative;
    z-index: 2;
}

/* 详情 */
.ewb-detail {
    margin-bottom: 26px;
}

.ewb-detail-hd {
    line-height: 24px;
    color: #ea2e3d;
    font-weight: bold;
    font-size: 24px;
    text-align: center;
    width: 60%;
    margin: 0 auto;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ewb-detail-bd {
    margin-top: 15px;
    line-height: 20px;
    color: #666;
}

.ewb-detail-more {
    color: #ea2e3d;
}

/* pad */
@media (max-width:979px) {
    .ewb-detail {
        margin-bottom: 20px;
    }
}

/* 手机端 */
@media (max-width:767px) {
    .ewb-detail-hd {
        width: 90%;
    }
}

/* 轮播 */
.slider-pro .sp-layer {
    height: 120px;
    background: url("../images/mask_bg.png");
}

.slider-pro .sp-layer a {
    margin-right: 598px;
    width: auto;
}

.ewb-scroll-tt {
    font-size: 18px;
    line-height: 41px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 7px 0 0 20px;
    text-align: left;
    font-weight: normal !important;
}

.ewb-scroll-ct {
	text-indent:32px;
    color: #ccc !important;
    line-height: 24px;
    height: 48px;
    text-align: left;
    font-size: 14px;
    white-space: normal !important;
    margin-left: 20px;
    font-weight: normal !important;
}

.news-smalling-mask {
    width: 120px;
    height: 60px;
    background: url("../images/mask_bg_small.png");
}

.sp-thumbnails-container {
    margin-top: 0;
    position: absolute;
    bottom: 30px;
    right: 60px;
    z-index: 999;
}

.sp-selected-thumbnail .news-smalling-mask {
    border: 4px solid #e1313f;
	box-sizing: border-box;
}

.sp-thumbnail-container {
    margin: 0 5px;
}

.ewb-scroll-show {
    width: 35px;
    height: 80px;
    position: absolute;
    z-index: 1000;
    background: url("../images/mask_bg_small.png");
    right: 20px;
    bottom: 20px;
    color: #ccc;
}

.ewb-scroll.cur {
    border: 1px solid #eee;
    overflow: hidden;
    height: auto;
}

.ewb-scroll.cur .sp-slide,
.ewb-scroll.cur .sp-mask {
    height: 120px !important;
}

.ewb-scroll.cur .sp-layer {
    background: #fff;
}

.ewb-scroll.cur .sp-layer a {
    color: #333;
}

.ewb-scroll.cur .ewb-scroll-ct {
    color: #999 !important;
}

.ewb-scroll.cur .sp-slide img {
    display: none;
}

.ewb-scroll-show.cur {
    background: #ffebed;
}

.ewb-scroll-show span {
    display: block;
    padding: 36px 9px;
    text-align: center;
    line-height: 16px;
    cursor: pointer;
    background: url("../images/scroll_down.png") 50% 14px no-repeat;
}

.ewb-scroll-show.cur span {
    color: #c23435;
    background-image: url("../images/scroll_up.png");
}

/* 小屏 */
@media (max-width:1299px) {
    .ewb-scroll {
        height: auto;
    }
}

/* pad */
@media (max-width:979px) {

    .sp-thumbnails-container,
    .ewb-scroll-show {
        display: none;
    }

    .slider-pro .sp-layer a {
        margin-right: 20px;
    }

    .ewb-scroll-ct {
        height: 24px;
        white-space: nowrap !important;
    }

    .ewb-scroll-tt {
        margin-top: 0;
    }

    .slider-pro .sp-layer {
        height: 70px;
    }
}

/* 手机端 */
@media (max-width:480px) {
    .ewb-scroll-tt {
        font-size: 16px;
        line-height: 24px;
        margin-left: 10px;
        margin-top: 5px;
    }

    .ewb-scroll-ct {
        font-size: 13px;
        margin-left: 10px;
    }

    .slider-pro .sp-layer a {
        margin-right: 10px;
    }

    .slider-pro .sp-layer {
        height: 55px;
    }
}

/* 松江要闻 */
.ewb-com {
    margin-top: 30px;
    position: relative;
}

.ewb-com-hd {
    height: 32px;
    border-bottom: 1px solid #ddd;
}

.ewb-com-item {
    position: absolute;
    left: 0;
    top: 0;
    width: 24%;
    height: 32px;
    line-height: 32px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.ewb-com-item a {
    color: #d84040;
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ewb-com-item.cur a {
    color: #fff;
    background: #e1313f;
}

.ewb-com-item i {
    position: absolute;
    bottom: -6px;
    height: 6px;
    width: 7px;
    left: 0;
    right: 0;
    background: #ccc;
    margin: 0 auto;
    display: none;
    background: url("../images/com_arrow.png") top center no-repeat;
}

.ewb-com-item.cur i {
    display: block;
}

.ewb-sec {
    left: 24%;
}

.ewb-third {
    left: 48%;
}

.ewb-four {
    left: 72%;
}

.ewb-com-bd {
    margin-top: 23px;
    height: 108px;
    overflow: hidden;
}

/* 列表 */
.ewb-data-list {
    line-height: 36px;
    margin: 0 10px 0 20px;
    padding-left: 16px;
    background: url("../images/list_red_img.png") left center no-repeat;
}

.ewb-data-infor {
    margin-right: 120px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ewb-data-infor a {
    color: #333;
}

.ewb-data-date {
    float: right;
    color: #999;
}

.ewb-data-list:hover,
.ewb-data-list:hover a,
.ewb-data-list:hover .ewb-data-date {
    color: #d11a2d;
}

.ewb-phone-more {
    color: #666;
    display: none;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background: #ededed;
    border: 1px solid #ccc;
    font-size: 16px;
    border-radius: 2px;
    clear: both;
    margin: 10px 0 0;
}

/* pad */
@media (max-width:979px) {
    .ewb-com {
        margin-top: 20px;
    }

    .ewb-com-bd {
        height: auto;
        margin-top: 13px;
    }

    .ewb-data-list {
        margin: 0 10px;
    }

}

/* 手机端 */
@media (max-width:480px) {
    .ewb-com-item {
        font-size: 13px;
    }

    .ewb-data-infor {
        margin-right: 90px;
    }
}

/* 手风琴效果 */
.ewb-slider-box {
    margin-top: 10px;
}

.ewb-slider {
    margin-left: -20px;
}

.ewb-slider-list {
    float: left;
    width: 20.8%;
}

.ewb-slider-content {
    margin-left: 20px;
    background: #fff;
    height: 368px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.11);
}

/*.ewb-slider-list:first-child {
    width: 37.4%;
}*/


/* 悬停前 */
.ewb-slider-hd {
    height: 100%;
    padding-top: 8px;
}


.slider1 {
    border-top: 2px solid #e1313f;
}

.slider2 {
    border-top: 2px solid #39adcf;
}

.slider3 {
    border-top: 2px solid #25c16f;
}

.slider4 {
    border-top: 2px solid #6374db;
}

/* title */
.ewb-column-tt {
    height: 23px;
    font-size: 0;
    text-align: center;
}

.ewb-column-tt a {
    padding: 0 15px;
    display: inline-block;
    vertical-align: middle;
    background: #fff;
}

.ewb-column-tt img {
    display: block;
}

.ewb-column-list {
    margin-top: 32px;
    padding-left: 20px;
    height: 80px;
    overflow: hidden;
}

.ewb-column-item {
    float: left;
    width: 50%;
}

.ewb-column-item span {
    display: block;
    padding-left: 14px;
    overflow: hidden;
    margin-right: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 40px;
    color: #333;
    background-position: left center;
    background-repeat: no-repeat;
}

/* 图片 */
.ewb-column-img {
    margin-top: 12px;
    margin: 12px 20px 0;
}

.ewb-column-img img {
    display: block;
    width: 100%;
    height: 190px;
}

.slider1 .ewb-column-item span {
    background-image: url("../images/slider_list_01.png");
}

.slider2 .ewb-column-item span {
    background-image: url("../images/slider_list_02.png");
}

.slider3 .ewb-column-item span {
    background-image: url("../images/slider_list_03.png");
}

.slider4 .ewb-column-item span {
    background-image: url("../images/slider_list_04.png");
}

.slider1 .ewb-column-item a:hover {
    color: #e1313f;
}

.slider2 .ewb-column-item a:hover {
    color: #39adcf;
}

.slider3 .ewb-column-item a:hover {
    color: #21dc79;
}

.slider4 .ewb-column-item a:hover {
    color: #6374db;
}

/* 悬停后 */
.slider1 .ewb-slider-bd {
    border: 1px solid #f49da4;
}

.slider2 .ewb-slider-bd {
    border: 1px solid #98d9ec;
}

.slider3 .ewb-slider-bd {
    border: 1px solid #7fefb4;
}

.slider4 .ewb-slider-bd {
    border: 1px solid #6374db;
}

.ewb-slider-bd {
    height: 366px;
   /* padding-top: 8px;*/
    border-top: 0 !important;
    overflow: hidden;
}

.ewb-slider-bd .ewb-column-tt {
    margin: 15px 20px 0 20px;
    background: url("../images/pic_hd_bg.png") 0 12px repeat-x;
}

.ewb-column-box {
    margin: 25px 20px 0 15px;
    height: 180px;
    overflow: hidden;
}

.ewb-column-left {
    float: left;
    width: 44px;
    padding: 52px 10px 0 12px;
    height: 161px;
    font-size: 18px;
    font-weight: bold;
    background-repeat: no-repeat;
    background-position: 0 12px;

}

.slider1 .ewb-column-left {
    color: #e1313f;
    background-image: url("../images/silder_txt_01.png");
}

.slider2 .ewb-column-left {
    color: #39adcf;
    background-image: url("../images/silder_txt_02.png");
}

.slider3 .ewb-column-left {
    color: #25c16f;
    background-image: url("../images/silder_txt_03.png");
}

.ewb-column-right {
    margin-left: 67px;
}

.ewb-column-right .ewb-data-list {
    margin: 0;
}

.slider1 .ewb-data-list {
    background-image: url("../images/slider_list_01.png");
}

.slider2 .ewb-data-list {
    background-image: url("../images/slider_list_02.png");
}

.slider3 .ewb-data-list {
    background-image: url("../images/slider_list_03.png");
}

.slider1 .ewb-data-list:hover,
.slider1 .ewb-data-list:hover a,
.slider1 .ewb-data-list:hover .ewb-data-date {
    color: #e1313f;
}

.slider2 .ewb-data-list:hover,
.slider2 .ewb-data-list:hover a,
.slider2 .ewb-data-list:hover .ewb-data-date {
    color: #39adcf;
}

.slider3 .ewb-data-list:hover,
.slider3 .ewb-data-list:hover a,
.slider3 .ewb-data-list:hover .ewb-data-date {
    color: #21dc79;
}

.ewb-column-icons {
    margin-top: 15px;
}

.ewb-column-node {
    float: left;
    width: 20%;
}

.ewb-column-node a {
    color: #333;
    display: block;
}

.ewb-column-node label {
    display: block;
    margin: 0 auto;
    height: 59px;
}

.ewb-column-node img {
    display: block;
    margin: 0 auto;
}

.ewb-column-node span {
    text-align: center;
    margin-top: 10px;
    line-height: 16px;
    display: block;
}

.slider2 .ewb-column-node {
    width: 25%;
}

.slider1 .ewb-column-node a:hover {
    color: #e1313f;
}

.slider2 .ewb-column-node a:hover {
    color: #39adcf;
}

.slider3 .ewb-column-node a:hover {
    color: #21dc79;
}

/* 一网通办 */
.ewb-inter {
    margin-top: 53px;
}

.ewb-inter-item {
    float: left;
    width: 33.33%;
    font-size: 16px;
}

.ewb-inter-item>a {
    display: block;
    color: #333;
    text-align: center;
}

.ewb-inter-tt {
    line-height: 20px;
}

.ewb-inter-num {
    line-height: 36px;
    margin-top: 20px;
}

.ewb-inter-num label {
    font-size: 36px;
    color: #5265c3;
    padding-right: 10px;
}

.slider4 .ewb-column-icons {
    margin-top: 74px;
}

.slider4 .ewb-column-node {
    width: 33.33%;
}

/* 小屏 */
@media (min-width:980px) and (max-width:1299px) {
    .ewb-data-infor {
        margin-right: 90px;
    }

    .ewb-slider-content {
        margin-left: 10px;
    }

    .ewb-column-img {
        margin: 12px 10px 0;
    }

    .ewb-slider {
        margin-left: -10px;
    }

    .ewb-column-list {
        padding-left: 10px;
    }

    .ewb-inter-num label {
        font-size: 26px;
    }
}

/* pad */
@media (max-width:979px) {
    .ewb-slider-box {
        margin-top: 20px;
    }

    .ewb-slider-list,
    .ewb-slider-list:first-child {
        width: 100%;
    }

    .ewb-slider-content {
        margin-top: 20px;
    }

    .ewb-slider-list:first-child .ewb-slider-content {
        margin-top: 0;
    }
}

/* 手机端 */
@media (max-width:480px) {
    .ewb-column-icons {
        margin-top: 0;
    }

    .ewb-column-node {
        width: 33.33%;
        margin-top: 10px;
    }

    .ewb-column-box {
        margin: 10px;
    }

    .ewb-column-icons,
    .ewb-slider-content {
        height: auto;
    }

    .ewb-slider-hd {
        padding-bottom: 30px;
    }

    .ewb-slider-bd {
        padding-bottom: 20px;
        height: auto;
    }

    .ewb-column-right {
        margin-left: 50px;
    }

    .ewb-inter-num label {
        font-size: 22px;
    }
}

/* 专题专栏 */
.ewb-pic {
    margin-top: 40px;
}

.ewb-pic-hd {
    height: 30px;
    font-size: 0;
    background: url("../images/pic_hd_bg.png") 0 15px repeat-x;
    text-align: center;
}

.ewb-pic-name {
    display: inline-block;
    vertical-align: middle;
    background: #fff;
}

.ewb-pic-name span {
    float: left;
    width: 7px;
    height: 30px;
    background: url("../images/pic_dian.png") 0 12px no-repeat;
}

.ewb-pic-tt {
    float: left;
    margin: 0 15px;
}

.ewb-pic-tt img {
    display: block;
}

.ewb-pic-bd {
    padding: 20px 0 0;
}

.ewb-pic-bd>a {
    width: 14px;
    height: 28px;
    margin-top: 54px;
    position: relative;
    z-index: 2;
}

.ewb-pic-bd .prev {
    float: left;
    background: url("../images/perv_red_icon.png") no-repeat;
}

.ewb-pic-bd .next {
    float: right;
    background: url("../images/next_red_icon.png") no-repeat;
}

.ewb-pic-item {
    float: left;
    margin-left: 30px;
}

.ewb-pic-item a {
    display: block;
    padding: 10px 0;
}

.ewb-pic-item img {
    display: block;
    width: 212px;
    height: 116px;
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.33);
    border-radius: 5px;
}

.ewb-pic-content {
    margin: 0 60px;
    overflow: hidden;
}

.ewb-pic-box {
    width: 100%;
}

@media (max-width:1299px) {
    .ewb-pic-content {
        margin: 0 25px;
    }
}

/* pad */
@media (max-width:979px) {
    .ewb-pic {
        margin-top: 20px;
    }
}

.sp-image-container a {
    display: block;
	height:536px
}

.ewb-search-btn {
    cursor: pointer;
}




/* 20191031修改 */
.ewb-main {
    padding: 30px 30px 40px;
}

/* 松江要闻 政务公告 */

.ewb-com {
    margin-top: 0;
    padding-bottom: 8px;
}

.ewb-com-hd {
    border: 1px solid #ebe4e4;
    background: #fff;
    height: 37px;
    border-radius: 19px;
    box-shadow: 0px 2px 2px 0px rgba(217, 217, 217, 0.45);
}

.ewb-com-item {
    height: 37px;
    line-height: 37px;
    border-radius: 19px;
}

.ewb-com-item a {
    border-radius: 19px;
    color: #333;
}

.ewb-news {
    margin-right: 20px;
}

.ewb-announce {
    margin-left: 20px;
}

.ewb-com-bd {
    margin-top: 18px;
    height: 180px;
}

.ewb-news .ewb-data-list,
.ewb-announce .ewb-data-list {
    margin: 0;
}

/* 小屏 */
@media (max-width:1299px) {
    .ewb-news {
        margin-right: 0;
    }

    .ewb-announce {
        margin-left: 0;
    }

}

/* pad */
@media (max-width:979px) {
    .ewb-com-bd {
        height: auto;
    }

    .ewb-main {
        padding: 20px 10px;
    }

    .ewb-announce {
        margin-top: 12px;
    }
}

/* 手机端 */
@media (max-width:480px) {
    .ewb-com-bd {
        margin-top: 10px;
    }


    .ewb-news .ewb-data-list,
    .ewb-announce .ewb-data-list {
        line-height: 30px;
    }
}


/* 轮播
.ewb-scroll {
    margin-top: 30px;
} */

/* 不变前 */
.sp-thumbnails-container {
    bottom: 0;
    right: 0;
    top: 0;
}

.sp-thumbnail-container {
    margin: 10px 0 0 0;
}

.sp-thumbnails .sp-thumbnail-container:first-child {
    margin-top: 0;
}

.sp-thumbnail {
    margin-left: 15px;
    position: relative;
}

.sp-thumbnail img {
    display: block;
    width: 100%;
    height: 147px;
}

.news-smalling-mask {
    width: auto;
    height: auto;
    top: 0;
    right: 0;
}


.slider-pro .sp-layer {
    height: 146px;
}

.slider-pro .sp-layer a {
    margin: 7px 120px 0 30px;
}

.ewb-scroll.cur .sp-thumbnail img {
    height: 98px;
}

.ewb-scroll.cur .news-smalling-mask {
    height: 98px;
}


.ewb-scroll.cur .sp-thumbnails-container {
    left: 15px;
    right: auto;
    bottom: 21px;
    top: auto;
}

.ewb-scroll.cur .sp-thumbnail-container {
    margin: 0 5px;
}

.ewb-scroll.cur .sp-thumbnail {
    margin-left: 0;
}

.ewb-scroll.cur .sp-slide,
.ewb-scroll.cur .sp-mask {
    height: 138px !important;
}

.ewb-scroll.cur .sp-layer {
    height: 138px;
}

.ewb-scroll.cur .sp-layer a {
    margin: 7px 55px 0 710px;
}

.slider-pro .sp-layer a.ewb-scroll-tt {
    margin-top: 31px;
    line-height: 28px;
}

.ewb-scroll-show {
    height: 90px;
    right: 248px;
    bottom: 33px;
}

.ewb-scroll-show span {
    padding: 44px 9px 0;
    background-position: 50% 20px;
}

.ewb-scroll-show.cur {
    /*right: 20px;
    bottom: 30px;*/
	right: 0px;
    bottom: 50px;
}

@media (max-width: 1359px) {
    .ewb-scroll-show {
        right: 20px;
    }
}

@media (max-width:979px) {
    .ewb-scroll {
        margin-top: 12px;
    }

    .slider-pro .sp-layer {
        height: 70px;
    }

    .slider-pro .sp-layer a {
        margin: 7px 10px 0;
    }

    .slider-pro .sp-layer a.ewb-scroll-tt {
        margin-top: 7px;
    }

}



/* 手风琴效果 */

.ewb-slider-list {
   width: 19.6%;
   	 /*width:330px;*/
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1), z-index 0s 0.12s;
}

.ewb-slider-content {
    margin-left: 0;
    height: 338px;
    margin-top: 15px;
}

.ewb-slider-list.active {
   width: 41.2%;
   /* width:500px*/
}

.ewb-slider-list.active .ewb-slider-content {
    height: 368px;
    margin-top: 0;
}

/*.ewb-slider-list:first-child {
    width: 19.6%;
}

.ewb-slider-list:first-child.active {
    width: 41.2%;
}*/

.ewb-slider-list .ewb-slider-hd {
    display: block;
}

.ewb-slider-list .ewb-slider-bd {
    display: none;
}

.ewb-slider-list.active .ewb-slider-hd {
    display: none;
}

.ewb-slider-list.active .ewb-slider-bd {
    display: block;
}


.ewb-slider-list:first-child.active .ewb-slider-hd {
    display: none;
}

.ewb-slider-list:first-child.active .ewb-slider-bd {
    display: block;
}

.ewb-slider {
    margin-left: 0;
}

.ewb-column-img img {
    height: 175px;
}

.ewb-column-list {
    margin-top: 15px;
}

/* pad */

@media (max-width:979px) {

    .ewb-slider-list,
    .ewb-slider-list:first-child,
    .ewb-slider-list.active,
    .ewb-slider-list:first-child.active {
        width: 100%;
    }

    .ewb-slider-content,
    .ewb-slider-list.active .ewb-slider-content {
        height: auto;
    }

    .ewb-slider-hd {
        padding-bottom: 20px;
    }
}

/* 专题专栏 */
.ewb-pic {
    margin-top: 50px;
}

.ewb-pic-bd {
    height: 156px;
    overflow: hidden;
}

@media (max-width:979px) {
    .ewb-pic {
        margin-top: 20px;
    }
}


.ewb-scroll.cur{
    height: 140px;
    overflow: hidden;
}


/* 20191109修改 */
.ewb-img {
    position: fixed;
    top: 25%;
    right: 20px;
    z-index: 5;
}

.ewb-img a,
.ewb-img img {
    display: block;
}

.ewb-img-close {
    position: absolute;
    top: 0;
    right: 5px;
    line-height: 24px;
    color: red;
    cursor: pointer;
    font-size: 12px;
}

/* pad */
@media (max-width:979px) {
    .ewb-img {
        display: none;

    }
}

.ewb-img-left {
    position: fixed;
    top: 25%;
    left: 20px;
    z-index: 5;
}

.ewb-img-left a,
.ewb-img-left img {
    display: block;
}

/* pad */
@media (max-width:979px) {
    .ewb-img-left {
        display: none;
    }
}

/*0414*/
.ewb-data-list:hover,
.ewb-data-list:hover a,
.ewb-data-list:hover .ewb-data-date,
.ewb-data-list.cur,
.ewb-data-list.cur a,
.ewb-data-list.cur .ewb-data-date {
    /*color: #d11a2d;*/
}