/**!
 * 武昌区人大-首页
 * author: wangkai;
 */


/* main */

/*公共边框样式*/

.ewb-box {
    border: 1px solid #d1e7f8;
}

/*公共高度样式*/

.ewb-layer1 {
    height: 284px;
}

.ewb-layer2 {
    height: 405px;
}

/*公共标题样式*/

.ewb-cm-hd {
    margin: 0 -1px;
    height: 41px;
    background: url(imageshd_bg.png) left bottom repeat-x;
}

.ewb-cm-hd.long {
    background: url(imageshd_bg_long.png) left bottom repeat-x;
}

.ewb-cm-tt {
    float: left;
    margin-left: 20px;
    padding-left: 40px;
    height: 35px;
    line-height: 35px;
    font-size: 18px;
    font-weight: bold;
    color: #7fc2f4;
}

.ewb-tt-icon1 {
    background: url(imagestt_icon1.png) left center no-repeat;
}

.ewb-tt-icon2 {
    background: url(imagestt_icon3.png) left center no-repeat;
}

.ewb-tt-icon3 {
    background: url(imagestt_icon2.png) left center no-repeat;
}

.ewb-tt-icon4 {
    background: url(imagestt_icon5.png) left center no-repeat;
}

.ewb-tt-icon5 {
    background: url(imagestt_icon4.png) left center no-repeat;
}

.ewb-more {
    float: right;
    margin-right: 20px;
    line-height: 35px;
    color: #999;
}

.ewb-cm-bd {
    margin: 0 -1px;
}

/*公共列表样式*/

.ewb-list-node {
    padding-left: 20px;
    height: 32px;
    line-height: 32px;
    vertical-align: top;
    background: url(imagesdian.png) left center no-repeat;
}

.ewb-list-name {
    float: left;
    width: 68%;
    color: #666;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ewb-list-date {
    float: right;
    color: #999;
}

.ewb-list-node:hover .ewb-list-name,
.ewb-list-node:hover .ewb-list-date {
    color: #ff8b17;
}

@media (max-width: 767px) {
    .ewb-layer1,
    .ewb-layer2 {
        height: auto;
        padding-bottom: 10px;
    }
    .ewb-cm-hd {
        background: url(imageshd_bg_long.png) left bottom repeat-x;
    }
    .ewb-cm-tt {
        margin-left: 10px;
    }
    .ewb-more {
        margin-right: 10px;
    }
    .ewb-list-node {
        padding-left: 15px;
    }
}

/* 图片轮播 */

.rslides-item {
    height: 366px;
    position: relative;
}

.rslides {
    position: relative;
    overflow: hidden;
}

.rslides li {
    -webkit-backface-visibility: hidden;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}

.rslides img {
    display: block;
    width: 100%;
    height: 366px;
}

.caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 40px;
    line-height: 40px;
    background: url(imagesmask_bg.png) repeat;
}

.caption-tt {
    display: block;
    padding-left: 20px;
    width: 60%;
    color: #fff;
    z-index: 1000;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}


/* 自定义分页导航 */

.slider-pager {
    position: absolute;
    right: 10px;
    bottom: 15px;
    z-index: 3;
    height: 10px;
}

.slider-pager li {
    float: left;
    width: 10px;
    height: 10px;
    margin-right: 10px;
}

.slider-pager li a {
    display: block;
    width: 10px;
    height: 10px;
    background: url(imagesstag.png);
}

.slider-pager .rslides-cur a {
    background: url(imagesstag_cur.png);
}

@media (max-width: 767px) {
    .rslides-item, .rslides img {
        height: auto;
    }
    .caption-tt {
        width: 50%;
        padding-left: 10px;
    }
    .slider-pager li {
        margin-right: 5px;
    }
}

/*新闻*/

.ewb-news {
    height: 366px;
    overflow: hidden;
}

.ewb-news-info {
    margin: 0 25px;
    height: 104px;
    background: url(imagesline_bg.png) bottom repeat-x;
}

.ewb-news-tt {
    line-height: 40px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #2f93dd;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.ewb-news-content {
    margin-top: 3px;
    line-height: 26px;
    text-indent: 2em;
    color: #666;
}

.ewb-news-more {
    float: right;
    color: #2f93dd;
    *margin-top: -26px;
}

.ewb-list {
    padding: 6px 25px 0 25px;
}

.ewb-list .ewb-list-node {
    padding-left: 15px;
}

@media (max-width: 1200px) {
    .ewb-news-info {
        margin: 0 10px;
    }
    .ewb-list {
        padding: 6px 10px 0 10px;
    }
    .ewb-news-more {
        float: none;
    }
}

@media (min-width: 768px) and (max-width: 1200px) {
    .ewb-news-tt {
        font-size: 16px;
        line-height: 36px;
    }
    .ewb-news-content {
        margin-top: 0;
        line-height: 22px;
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .ewb-news {
        height: auto;
        padding-bottom: 10px;
    }
    .ewb-news-info {
        height: auto;
        padding-bottom: 5px;
    }
    .ewb-news-tt {
        font-size: 18px;
    }
}

/*通知*/

.ewb-notice {
    padding: 10px 15px 0 19px;
}

/*通知公告、重要发布*/

.ewb-activity-list {
    padding: 10px 15px 0 23px;
}

.ewb-activity-list .ewb-list-name {
    width: 60%;
}

.ewb-activity-list .ewb-list-date {
    *width: 80px;
}

/*代表活动*/

.ewb-cm-info .rslides-item {
    margin: 20px 0 0 20px;
}

.ewb-cm-info .rslides-item,
.ewb-cm-info .rslides img {
    height: 325px;
}

.ewb-info-list {
    padding: 10px 20px 0 10px;
}

.ewb-info-list .ewb-list-node {
    height: 34px;
    line-height: 34px;
}

@media (min-width: 768px) and (max-width: 1200px) {
    .ewb-activity-list {
        padding: 10px 10px 0 20px;
    }
    .ewb-activity-list .ewb-list-name {
        width: 100%;
    }
    .ewb-activity-list .ewb-list-date {
        display: none;
    }
}

@media (max-width: 767px) {
    .ewb-notice,
    .ewb-activity-list,
    .ewb-info-list {
        padding: 10px 10px 0 10px;
    }
    .ewb-info-list .ewb-list-node {
        height: 32px;
        line-height: 32px;
    }
    .ewb-cm-info .rslides-item {
        margin: 10px 10px 0 10px;
    }
    .ewb-cm-info .rslides-item,
    .ewb-cm-info .rslides img {
        height: auto;
    }
    .ewb-activity-list .ewb-list-name {
        width: 68%;
    }
}

.ewb-links {
    position: relative;
    margin-top: 20px;
    height: 102px;
}

.ewb-link-name {
    position: absolute;
    top: 0;
    left: 0;
    width: 284px;
    padding: 23px 0;
    height: 56px;
    line-height: 28px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #3798df;
}

.ewb-link-name span {
    display: block;
    text-indent: 18px;
    letter-spacing: 18px;
}

/*图片横向滚动*/

.wb-marquee-pub {
    margin-left: 304px;
}


.wb-marquee-items {
    height: 102px;
    overflow: hidden;
}

.wb-marquee-items li {
    float: left;
}

.ewb-marquee-box {
    margin: 0 10px;
    display: block;
    width: 224px;
    height: 102px;
    position: relative;
}

.ewb-marquee-box img {
    display: block;
    width: 100%;
    height: 102px;
}

.ewb-marquee-name {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    line-height: 102px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

@media (max-width: 767px) {
    .ewb-links {
        margin-top: 10px;
        height: auto;
    }
    .ewb-link-name {
        position: static;
        display: block;
        width: 100%;
    }
    .wb-marquee-pub {
        margin-top: 10px;
        margin-left: 0;
    }
}
