body{background-color: #ffffff}
.is-main .container{padding: 0;}

/* 图片缩放 */
.g-ztzl li img,.g-flash img,.card-body img,.d-special li img{ -webkit-transition: all .3s; -moz-transition: all .3s; transition: all .3s;object-fit: cover;}
.g-ztzl li img:hover,.g-flash img:hover,.card-body img:hover,.d-special li img:hover{transform: scale(1.1);}

/* 轮播+新聞 */
.m-flash{padding: 0;width: 498px;height: 392px;margin: 0 30px;}
.g-flash,.g-flash .owl-wrapper-outer,.g-flash .owl-wrapper,.g-flash img{height: 392px;}
.g-flash .owl-item{float: left;}
.g-flash img{display: block; width: 100%; }
.g-flash .owl-item,.g-flash .owl-item a{position: relative;}
.g-flash .owl-item a{display: block;}
.g-flash .owl-item p{position: absolute; left: 0; right: 0; bottom: 0; padding: 0 120px 0 15px; height: 46px; line-height: 46px; overflow:hidden; word-wrap: normal; white-space: nowrap; text-overflow: ellipsis; background: rgba(0,0,0,.5); color: #fff;}
.g-flash .owl-pagination{position: absolute; right: 13px; bottom: 18px;}
.g-flash .owl-pagination .owl-page{float: left; margin-left: 9px;}
.g-flash .owl-pagination .owl-page span{display: block; width: 8px; height: 8px; background: #fff; border-radius: 4px;}
.g-flash .owl-pagination .active span{background-color: #ff7800;width: 20px;}

.lbyw{width: 100%;height: 392px;margin-top: 70px;}

.m-tabnews{background-color:#f7f7f7;width: 400px;height: 392px;}
.m-tabnewstwo{width: 442px;}
.m-tabs{height: 42px;background-color: #c7000b;width: 100%;}
.m-tabsone::before{ content:""; position: absolute; background-color:  #ffe400; width: 6px; height: 14px; transform: translateY(14px);z-index: 11; }
.m-tabs span{float: left;font-size: 16px;color: #ffffff;width:98px;height: 42px;text-align: center;line-height: 42px;cursor: pointer;margin-right: 40px;position: relative;}
.m-tabs span:last-child{margin-right: 0;}
.m-tabs span a,.m-tabs span.active a{color: #ffffff;}
.m-tabs span.active::after{top: -1px;left: 124px;}
.m-tabs span:last-child::after{content: '';}
.m-tabnews .newstitle{padding: 27px 21px;padding-bottom: 0;display: flex;}
.m-tabnews .newstitle .newstitlebox{ padding-bottom: 27px;border-bottom: 1px dashed #d1d1d1;;}
.m-tabnews .newstitle .newstitlebox div:first-child{width: 60px;height: 60px;background-color: #c7000b;margin-right: 16px;display: flex;flex-direction: column;align-items: center;justify-content: center;}
.m-tabnews .newstitle a{width: 262px;height: 60px;font-size: 16px;font-weight: normal;line-height: 30px;letter-spacing: 0px;color: #c7000b;display: -webkit-box;text-overflow: ellipsis;overflow: hidden;-webkit-box-orient: vertical;-webkit-line-clamp: 2;}
.m-tabnews .newstitle div p:first-child{font-size: 20px;font-weight: normal;line-height: 24px;color: #ffffff;}
.m-tabnews .newstitle div p:nth-child(2){font-size: 12px;font-weight: normal;color: #ffffff;}
.m-tabnews ul{margin-top: 15px;padding: 0 18px;}
.m-tabnews li{height: 43px;line-height: 43px;overflow: hidden;word-wrap: normal;white-space: nowrap;text-overflow: ellipsis;position: relative;padding-left: 15px;}
.m-tabnews li:last-child{border-bottom: none;}
.m-tabnews li a{float: left;display: block;font-size: 16px;color: #333333;width: calc(100% - 50px);transition: all .3s;overflow: hidden;word-wrap: normal;white-space: nowrap;text-overflow: ellipsis;}
.m-tabnews li span{font-size: 14px;color: #999999;}
.m-tabnews li a:hover{padding-left: 10px;}

.m-tabnews li a:hover{color: #c7000b;}
.m-tabnews .newsright{background-color:transparent;}
.m-tabnews .newsright span {margin-right: 2px;background-color: #999999;}
.m-tabnews .newsright span:nth-child(3){width: 116px;}
.m-tabnews .newsright div{width: 122px;height: 42px;float: right;font-size: 16px;background-color: #999999;text-align: center;line-height: 42px;cursor: pointer;position: relative;}
.m-tabnews .newsright div img{width: 15px; height: 15px;position:relative;top: 50%;transform: translateY(-50%);}
.m-tabnews .newsright div a{color: #fff;}
.m-tabnews .newsright div:hover{background-color: #c7000b ;}
.newsright span.active{ line-height: 41px;background-color: #c7000b !important; }
.newsright span.active::before{ content:""; position: absolute; background-color:  #ffe400; width: 6px; height: 14px; transform: translateY(16px);z-index: 11;left: 0; }
.newsright~ul li{height:55px;line-height: 55px;border-bottom: 1px dashed #ddd;padding-left: 15px;position: relative;}
.newsright~ul li::before,.m-tabnews li::before{content: '';width: 4px;height: 4px;background-color: #959595;position: absolute;left: 0;top: 50%;margin-top: -2px;}
/* 黨建文化 */
.m-djwh{margin-top: 40px;}
.m-djwh img{width: 100%; cursor: pointer;}

/* 項目展示 */
.m-xmzs{margin-top: 60px;}
.m-xmzs .tab-title p{width: 120px;height: 29px;font-size: 30px;font-weight: normal;line-height: 32px;letter-spacing: 0px;color: #3d3d3d;}
.d-special{margin: 20px 0 45px;}
.d-special li{float: left;margin-right: 25px;width: 260px;text-align: center;}
.d-special .dhd a{display: none; width: 28px; height: 54px; position: absolute;background-color: rgba(0, 0, 0, .2);border-radius: 2px;}
.d-special .dhd .prev{background: rgba(0, 0, 0, .3) url(../images/home/m-yzdt-r.png) center no-repeat;  right: 0; top: 50%; margin-top: -44px;}
.d-special .dhd .next{background: rgba(0, 0, 0, .3) url(../images/home/m-yzdt-l.png) center no-repeat;  left: 0; top: 50%;margin-top: -44px;}
.d-special li div{overflow: hidden;}
.d-special li img{width: 260px;height: 210px;}
.d-special li p{font-size: 16px;color: #333333;padding-top: 13px;overflow: hidden;word-wrap: normal;white-space: nowrap;text-overflow: ellipsis;}
.d-special:hover .dhd a{display: block;}

/* 便民服务 */
.titlebox{width: 100%;height: 53px;padding-left: 0;margin-bottom: 27px;justify-content: space-between;border-bottom: 1px solid  #dddddd;position: relative;}
.titlebox::after{content:"";position: absolute;top:47px;width: 60px;border-bottom: 5px solid #c7000b;z-index: 10;left: 0;}
.titlebox p{width: 120px;height: 31px;font-size: 30px;font-weight: normal;line-height: 32px;letter-spacing: 0px;color: #3d3d3d;float: left;}
.titlebox a p{width: 56px;height: 12px;line-height: 12px;font-size: 14px;font-weight: normal;letter-spacing: 0px;color: #999999;}
.morebox{display:flex;align-items: center;float: right;margin-top: 14px;}
.moreInfo{width: 11px;height: 11px;background: url(../images/home/icon-fold.png) center no-repeat;background-size: contain;margin-left: 10px;}
.moreInfo::after{  width: 7px;height: 7px;color:transparent;}

.m-bmfw{margin-top: 40px;position: relative;left: 50%;transform: translateX(-50%);}
.m-bmfw .fwleft{width:928px;}
.fwleft .imgbox{width: 452px;height: 250px;position: relative;overflow: hidden;}
.fwleft .imgbox:nth-child(1),.fwleft .imgbox:nth-child(2){margin-bottom: 24px;}
.fwright .iconbox{width: 140px;height: 140px;float: left;margin-bottom: 11px;}
.fwright .iconbox:nth-child(2),.fwright .iconbox:nth-child(5){margin: 0 11px;}
.m-bmfw .fwleft .card-text {position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 200px;height: 56px;background-color: #000000;opacity: 0.5;font-size: 24px;font-weight: normal;letter-spacing: 0px;color: #ffffff;line-height: 56px;text-align: center;}
.m-bmfw .fwright{width:442px;padding-left: 30px;    box-sizing: content-box;}
.m-bmfw .fwright .card{height: 140px;background-color: #f7f7f7;margin-bottom: 20px;}
.m-bmfw .fwright .card-body{text-align: center;    position: relative;top: 50%;transform: translateY(-50%);}
.m-bmfw .fwright .card-body a{display: block;}
.m-bmfw .fwright .card-body img{margin-bottom: 15px;}
.m-bmfw .fwright .card-body a:hover img{transform: rotateY(360deg);transition: .5s;}
.xcgj{width: 215px;height: 140px;float: left;}
.cxjb{margin-left: 12px;}



@media (max-width:992px) {
}
@media (max-width:767px) {
    .lbyw{margin-top: 20px;height: auto;}
    .m-tabnews,.m-bmfw .fwleft,.fwleft .imgbox,.newsright~ul li{width: 100%;}
    .m-tabnews{height: auto;}
    .m-flash{width: 100%;margin: 20px 0;}
    .m-flash,.g-flash, .g-flash .owl-wrapper-outer, .g-flash .owl-wrapper, .g-flash img{height: 272px;}
    .m-tabnews .newstitle a{width: 225px;}
    .fwleft .imgbox{height: 190px;}
    .fwleft .imgbox img{width: 100%;height: 100%;}
    .fwleft .imgbox:nth-child(3){margin-bottom: 24px;}
    .m-bmfw .fwright{width: 100%;padding-left: 0;margin-top: 20px;}
    .fwright .iconbox:nth-child(2){margin-left: 0;margin-bottom: 15px;}
    .fwright .iconbox:nth-child(2n){margin-right: 0;}
    .fwright .iconbox,.xcgj{width: 160px;margin:0 25px 15px 0;}
    .fwright .iconbox:nth-child(5){margin:0 25px 15px 0;}
    .cxjb{margin: 0;}
    .m-tabs span{width: 79px;}
    .m-tabnews .newsright span:nth-child(3){width: 90px;}
    .m-tabnews .newsright div{width: 90px;}
}
