/**!
 * 松江两会专题-首页
 * author: gaoli;
 * date:2018-01-08
 */

.ewb-wrap {
    padding: 20px 10px;
    background: #fff;
}

/* 轮播图 */

.ewb-slider-item {
    position: relative;
    height: 368px;
}
.ewb-slider-item .caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    line-height: 25px;
    padding: 6px 0;
    padding-left: 10px;
    background: url(../images/mask-bg.png);
}
.ewb-slider-item .caption-tt {
    display: block;
    margin-right: 125px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    z-index: 999;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis
}
.ewb-slider-item .caption-tt>span {
    font-weight: normal;
    font-size: 14px;
}
.ewb-rslides {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.ewb-rslides li {
    left: 0;
    top: 0;
    width: 100%;
    display: none;
    position: absolute;
    -webkit-backface-visibility: hidden;
}
.ewb-slider-item img {
    float: left;
    width: 100%;
    border: 0;
}
.ewb-slider-item .ewb-rslides-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    text-indent: -9999px;
    margin-top: -33px;
    display: block;
}
.ewb-slider-item .ewb-rslides-nav.prev {
    width: 31px;
    height: 51px;
    background: url(../images/pre.png) no-repeat;
}
.ewb-slider-item .ewb-rslides-nav.next {
    right: 0;
    width: 31px;
    height: 51px;
    background: url(../images/next.png) no-repeat;
}

/* 自定义分页导航 */

.slider-pager {
    position: absolute;
    right: 0;
    bottom: 25px;
    z-index: 3;
}
.slider-pager>li {
    float: left;
    text-align: center;
    margin-right: 10px;
}
.slider-pager>li a {
    display: block;
    width: 12px;
    height: 12px;
    background: url(../images/stag.png) no-repeat;
}
.slider-pager .ewb-rslides-cur a {
    background: url(../images/stag_h.png) no-repeat;
}
/* 两会动态 */

.ewb-news {
    height: 368px;
    overflow: hidden;
}
.ewb-news-hd {
    position: relative;
    height: 33px;
    border-bottom: 2px solid #d91617;
}
.ewb-news-hd>i {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 84px;
    height: 39px;
    background: url(../images/news_l.png) no-repeat left center #fff;
}
.ewb-news-tt {
    position: relative;
    float: left;
    font-size: 18px;
    font-weight: bold;
    color: #d91617;
    margin:8px 0 0 68px;
    z-index: 999;
}
.ewb-news-more {
    float: right;
    color: #666;
    margin: 12px 10px 0 0;
}
.ewb-news-con {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    padding: 19px 0 13px 0;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ewb-news-det {
    padding: 0 10px 1.5% 10px;
    border-bottom: 1px dashed #959595;
}
.ewb-news-det>p {
    line-height: 24px;
    text-indent: 29px;
}
.ewb-news-det>a {
    float: right;
    color: #d91617;
    margin-top: -20px;
}
.wb-data-item {
    padding-left: 10px;
    padding-top: 1%;
	height: 261px;
}
.wb-data-list {
    line-height: 32px;
    padding-left: 15px;
    background: url(../images/listimg.png) 0 50% no-repeat;
}
.wb-data-infor {
    margin-right: 120px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.wb-data-list a {
    color: #333;
}
.wb-data-date {
    float: right;
    padding-right: 15px;
    margin-top: -32px;
    color: #999;
}
.wb-data-list:hover .wb-data-date,
.wb-data-list:hover a,
.wb-data-list.accfocus .wb-data-date,
.wb-data-list.accfocus a {
    cursor: pointer;
    color: #c50000;
}
.wb-data-list:hover,.wb-data-list.accfocus {
    background-image: url(../images/listimg_h.png);
}

/* 两会镜头 */

.ewb-news-hd.sec>i {
    background-image: url(../images/news_l_s.png)
}
.wb-marquee {
    width: 100%;
    margin-top: 18px;
}
.wb-marquee-items {
    width: 100%;
    margin-right: -10px;
}
.wb-marquee-items li {
    width: 179px;
    float: left;
    margin-right: 10px;
    text-align: center;
}
.wb-marquee-img {
    display: block;
}
.wb-marquee-tt {
    display: block;
    font-size: 14px;
    line-height: 32px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 工作报告 */

.ewb-work-hd>a {
    display: block;
    line-height: 35px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    background: url(../images/work_hd.jpg) no-repeat;
    background-size: 100% 100%;
}
.wb-data-item.spec {
    padding-top: 11px;
}

/* 平板电脑和小屏电脑之间的分辨率 */
@media (max-width: 979px) {
	.ewb-slider-item{
		height:auto;
	}
}
@media (min-width: 768px) and (max-width: 979px) {
    /* 轮播图 */
    .ewb-slider-item img {
        height: 300px;
    }
    /* 两会动态 */
    .ewb-news {
        height: 300px;
    }
    .ewb-news-con {
        font-family: 18px;
        padding: 5px;
    }
    .ewb-news-det>p {
        line-height: 21px;
    }
    .ewb-news-det {
        padding-bottom: 4px;
    }
    .wb-data-item.news {
        padding-top: 2px;
    }
    .wb-data-item.news .wb-data-list {
        line-height: 24px;
    }
    .wb-data-item.news .wb-data-date {
        margin-top: -24px;
    }
}

/* 横向放置的手机和竖向放置的平板之间的分辨率 */

@media (max-width: 767px) {
    .ewb-wrap {
        padding: 10px 5px;
    }
    /* 两会动态 */
    .ewb-news {
        margin-top: 10px;
        height: auto;
    }
    .ewb-news-tt{
        font-size: 15px;
        margin-top: 12px;

    }
    .ewb-news-con {
    	font-size: 15px;
        padding: 2% 0 1% 0;
    }
	.wb-data-item{
		height:auto;
	}
    .wb-data-list {
        line-height: 28px;
    }
    .wb-data-date {
        margin-top: -28px;
    }
    .ewb-mt20 {
        margin-top: 10px;
    }
    /* 两会镜头 */
    .wb-marquee {
        margin-top: 10px;
    }
    .wb-data-item.spec {
        padding-top: 8px;
    }

    /* 工作报告 */
    .ewb-work-hd>a{
    	font-size: 15px;
    }
}
@media (max-width: 480px) {
    /* 轮播 */
    .ewb-slider-item .caption-tt {
        font-size: 14px;
    }
    .ewb-slider-item .caption-tt>span {
        font-size: 12px;
    }
    .ewb-slider-item .caption {
        line-height: 16px;
        padding: 3px 0px 3px 10px;
    }
    .slider-pager>li {
        margin-right: 5px;
    }
    .slider-pager {
        bottom: 13px;
    }
}
