

*{
    margin: 0;
    padding: 0;
}
div{
    box-sizing: border-box;
}
/* banner图 */
.banner{
    /* overflow: hidden; */
    height: 240px;
    width: 100%;  
}
.banner img{
    width: 100%;
    height: 100%;
}
.main_img{
    position: relative;
height: 240px;
width: 1200px;
margin: 0 auto;
/* margin-top: 10px; */
/* overflow: hidden; */
}
.main_img img{
position: absolute;
top: 56px;
left: 304px;
}


#app2{
    /* height: 100px; */
    width: 1200px;
    margin: 0 auto;
    /* background-color: pink; */
}
/* 主页标题样式 */
.home_title{
    position: relative;
    margin: 20px 0;
    width: 100%;
    height: 29px;
    background-image: url('../image/home/news_title.png');
    background-repeat: no-repeat;
    background-position: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.home_title .home_title_left{
    height: 29px;
    font-family: PingFangSC-Semibold;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #D21111;
    /* line-height: 20px; */
}

.home_title_right{
    font-family: PingFangSC-Regular;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 0em;
    line-height: 29px;
    color: #666666;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.home_title_right:hover{
    color: #C9010A;
}
.home_title_right img{
    margin-left: 5px;
}
/* 新闻中心 */
.home_news{
    width: 100%;
    height: 302px;
}
/* 新闻中心内容 */
    .whyr_content{
    height:240px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    
    }
    .whyr_content_left_pic{
        position: relative;
        width: 387px;
        height: 100%;
        overflow: hidden;
    }
    /* 轮播图样式 */
    .swiper {
        width: 100%;
        height: 100%;
        position: relative;
      }
    
      .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #fff;
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
        /* 修改圆角 */
        border-radius: 4px;
        overflow: hidden;
      }

      .swiper-slide img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
      .whyr_content_left_pic_title_title{
        width: 80%;
        height: 100%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-family: PingFangSC-Regular;
        font-size: 14px;
        font-weight: normal;
        line-height: 36px;
        letter-spacing: 0px;
        color: #FFFFFF;
      }
     

      /* 轮播图样式 */


    .whyr_content_left_pic .whyr_content_left_pic_title{
        height: 36px;
        width: 100%;
        position: absolute;
        left: 0;
        bottom: 0;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        padding-left: 20px;
        background-color: rgba(0, 0, 0, 0.3);
       
    }
    .whyr_content_right_content{
        width: 796px;
        height: 100%;
        display: flex;
        justify-content: space-between;
    }
    .whyr_content_right_content .share_title2{
        display: flex;
        justify-content: center;
        font-family: PingFangSC-Medium;
        font-size: 16px;
        font-weight: normal;
        text-align: right;
        letter-spacing: 0em;
        color: #666666;
        cursor: pointer;
     } 
     .share_title2 .center{
           
        width: 2px;
        height: 30px;
        transform: rotate(30deg);
        opacity: 1;
        background: #C9010A;
        margin-left: 35px;
        margin-right: 35px;
    }
    .whyr_content_right_content  .whyr_right_content{
        height: 162px;
        width: 100%;
        margin-top: 24px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-content: start;
        
    }

    .left_circle{
        height:8px;
        width: 8px;
        border-radius: 50%;
        background-color: #C9010A;
    }
    .center_title{
        font-family: PingFangSC-Regular;
        font-size: 14px;
        font-weight: normal;
        line-height: 20px;
        letter-spacing: 0px;
        color: #000000;
        overflow: hidden;
        height: 20px;
        width: 290px;
        text-overflow: ellipsis;
        white-space: nowrap; 
    }
    .right_time{
        font-family: MicrosoftYaHei;
        font-size: 12px;
        font-weight: normal;
        line-height: 20px;
        text-align: right;
        letter-spacing: 0px;
        color: #999999;
    }
.center_title:hover{
        color: #C9010A;
        font-weight: 800;
    }
    /* 中间图片部分 */
    .center_pic{
        height: 106px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin-top: 20px;
        margin-bottom: 20px;

    }
    .center_pic_left{
        height: 100%;
        width: 793px;
           /* 修改圆角 */
        border-radius: 4px;
        overflow: hidden;
       
    }
    .center_pic_right{
        height: 100%;
        width: 387px;
           /* 修改圆角 */
        border-radius: 4px;
        overflow: hidden;
    }
    .center_pic_left img{
        height: 100%;
        width: 100%;
    }
    .center_pic_right img{
        height: 100%;
        width: 100%;
    }
    /* 图解党建和党建百科部分 */
    .dangjian{
        width: 100%;
        height: 338px;
        /* display: flex; */
        /* justify-content: space-between; */
        margin-bottom: 10px;
    }
    .dangjian_left{
        width: 792px;
        height: 100%;
        

    }
    .dangjian_right{
        width: 387px;
        height: 100%;
       
    }
    .dangjian_left_content{
        width: 100%;
        height: 256px;
        margin-top: 27px;
        display: flex;
        justify-content: space-between;
    }
    .dangjian_left_content_item{
        height: 100%;
        width: 183px;
        /* 修改圆角 */
        border-radius: 4px;
        overflow: hidden;

    }
    .dangjian_left_content_item img{
        height: 100%;
        width: 100%;
    }
    .dangjian_right_content{
        position: relative;
        width: 100%;
        height: 256px;
        background: #F9E5E6;
        padding: 20px 0 20px 0;
          /* 修改圆角 */
        border-radius: 4px;
        overflow: hidden;
    }
    .dangjian_right_content_pic{
            position: absolute;
            right: 0px;
            bottom: 0px;
            /* bottom: 0;    */
            width: 153px;
            height: 190px;
            z-index: 100;

    }
    .dangjian_right_content_pic img{
        height: 100%;
        width: 100%;
    }
    .dangjian_right_content_item{
        height: 40px;
        width: 100%;
        font-family: PingFangSC-Regular;
        font-size: 14px;
        font-weight: normal;
        letter-spacing: 0px;
        color: #000000;
        line-height: 40px;
        padding-left: 20px;
        margin-bottom: 5px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .dangjian_right_content_item:hover{
         background-color: #C9010A;
         color: #fff;
    }
    
    /* 通知公告和政策解读 */
 
    .gonggao{
        height: 355px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        margin-top: 10px;

    }
    .shizheng_left{
        width:387px;
    }
    .gonggao_left{
        height: 100%;
        width: 387px;
    }
    .gonggao_right{
        height: 100%;
        width: 793px;
    }
    .gonggao_left_content{
        margin-top: 26px;
        width: 100%;
        height: 260px;
        display: flex;
        flex-direction: column;
        justify-content: start;
        overflow: hidden;
        
    }
    .gonggao_left_content_item{
        width: 100%;
        height: 22px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 25px;
    }
    .gonggao_left_content_item_center{
         height: 8px;
         width: 8px;
         border-radius: 50%;
         background-color: #CD050E;
    }
    .gonggao_left_content_item_center_time{
        height: 100%;
        width: 82px;
        font-family: PingFangSC-Regular;
        font-size: 14px;
        font-weight: normal;
        letter-spacing: 0px;
        color: #000000;
        line-height: 22px;
        overflow: hidden;
        white-space: nowrap;
    }
    .gonggao_left_content_item_right_title{
        height: 100%;
        width: 270px;
        box-sizing: border-box;
        padding-left: 10px;
        border-left: 2px solid rgba(205, 5, 14, 0.4);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .gonggao_left_content_item_right_title:hover{
        color: #C9010A;
        font-weight: 800;
    }


    /* 政策解读 */
    .shizheng_right{
        width: 793px;
    }
    .shizheng_right_item{
        position: relative;
        height: 67px;
        width: 100%;
        border-bottom: 1px solid  #ECEEF4;
        display: flex;
        justify-content: space-between;
      

        /* padding-top: 13px;
        padding-bottom: 10px; */
    }
    .shizheng_right_item_left{
        height: 100%;
        width: 44px;
        padding: 10px 0; 
        margin-right: 10px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .shizheng_right_item_right{
        height: 100%;
        width: 793px;
        padding: 10px 0 10px 20px;
        
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .shizheng_right_item_left .year{
        font-family: PingFangSC-Regular;
        font-size: 18px;
        font-weight: normal;
        text-align: center;
        letter-spacing: 0px;
        color: #333333;
    }
    .shizheng_right_item_left .mouth{
        font-family: PingFangSC-Regular;
        font-size: 14px;
        font-weight: normal;
        text-align: center;
        letter-spacing: 0px; 
        color: #999999;
    }
    .shizheng_right_item_right .title_top{
        font-family: PingFangSC-Regular;
        font-size: 14px;
        font-weight: normal;
        letter-spacing: 0px;
        color: #000000;
        width: 705px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .shizheng_right_item_right .title_top:hover{
        color: #C9010A;
        font-weight: 800;
    }
    .shizheng_right_item_right .content_bottom{
        font-family: MicrosoftYaHei;
        font-size: 12px;
        font-weight: normal;
        letter-spacing: 0px;
        color: #999999;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        width: 705px;
    }
    .shizheng_right_item_center{
        position: absolute;
        width: 2px;
        height: 20px;
        opacity: 1;
        background: #C9010A;
        top: 20px;
        left: 54px;
    }
    /* 顶部新增板块 */
    .home_top_add{
        margin-top: 20px;
        width: 100%;
        height: 120px;
        display: flex;
        justify-content: space-between;

    }
    .home_top_add_item{
        height: 100%;
        width: 285px;
      
    }
    .home_top_add_item:hover{
        box-shadow: 0px 8px 32px 0px rgba(0, 0, 0, 0.16);
        border: 1px solid #ECEEF4;
        border-radius: 8px;
        overflow: hidden;
    }
    /* 新增 */
  .whyr_content_right_content_item{
    width: 386px;
    height: 100%;
    /* background-color: pink; */
  }
  .whyr_content_right_content{
    width: 796px;
    height: 100%;
    display: flex;
    justify-content: space-between;
}
.whyr_content_right_content_item_top_title{
    width: 80px;
    height: 28px;
    font-family: PingFangSC-Medium;
    font-size: 16px;
    font-weight: normal;
    text-align: right;
    letter-spacing: 0em;

    color: #FFFFFF;
    background-color: #fff;
    background: linear-gradient(90deg, #C9010A 0%, #EE632B 100%);
    border-radius: 4px;
    line-height: 28px;
    text-align: center;
}
.whyr_right_content_item{
    height:43px;
    width: 384px;
    display: flex;
    align-items: center;
    justify-content: space-between;
   
}
.center_title{
    font-family: PingFangSC-Regular;
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
    letter-spacing: 0px;
    color: #000000;
    overflow: hidden;
    height: 20px;
    width: 290px;
    text-overflow: ellipsis;
    white-space: nowrap; 
}
/* 新增内容 */
.qxdj_home_top{
    /* margin-top: 20px; */
    width: 100%;
    /* height: 632px; */
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    /* background-color: pink; */
}
.qxdj_home_top_left{
    width: 792px;
    height: 100%;
    /* background-color: skyblue; */
}
.qxdj_home_top_right{
    width: 384px;
    height: 100%;
    /* background-color: skyblue; */
}
.qxdj_home_top_right_content{
    width: 100%;
    margin-top: 8px;
}
.qxdj_home_top_right_content_item{
    width: 100%;
    height: 64px;
    box-sizing: border-box;
    padding: 8px 0;
    border-bottom: 1px dashed #ECEEF4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}
.qxdj_home_top_right_content_item_top{
    height: 16px;
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
}
.qxdj_home_top_right_content_item_bottom{
    width: 100%;
    font-family: PingFang SC;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: justify; 
    letter-spacing: 0px;
    color: #000000;
    height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.qxdj_home_top_right_content_item_bottom:hover{
    color: #C9010A;
}
.content_item_top_left_right_time{
    margin-left: 8px;
    font-family: PingFang SC;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    align-items: center;
    letter-spacing: 0px;
    color: #C9010A;
}
.content_item_top_left_center_img{
    width: 16px;
    height: 16px;
    margin-left: 12px;
}
.content_item_top_left_center_img img{
    width: 100%;
    height: 100%;
}
.content_item_top_left{
    width: 4px;
    height: 8px;
    border-radius: 49px;
    background: #C9010A;
}

.qxdj_home_top_left_top{
    height: 360px;
    width: 100%;
    /* background-color: yellow; */
}
/* 标题部分 */
.qxdj_home_title{
    width: 100%;
    height: 48px;
    /* background-color: pink; */
    display: flex;
    margin-bottom: 16px;
}
.qxdj_home_title_left_icon{
    width: 16px;
    height: 100%;
}
.qxdj_home_title_left_icon img{
    width: 100%;
    height: 100%;
}
.qxdj_home_title_center{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 8px;
}
.qxdj_home_title_center_top{
    font-family: PingFang SC;
    font-size: 20px;
    font-weight: 600;
    align-items: center;
    letter-spacing: 0.1em;
    color: #C9010A;
}
.qxdj_home_title_center_bottom{
    font-family: PingFang SC;
    font-size: 14px;
    font-weight: 300;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0em;
    color: #C9010A;
}
.qxdj_home_title_center_right{
    flex: 1;
    height: 100%;
    /* background-color: yellow; */
    margin-left: 10px;
    border-bottom: 1px solid #FF8000;
    font-family: PingFang SC;
    font-size: 14px;
    font-weight: 300;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0em;
    color: #FF8000;
    display: flex;
    justify-content: end;
    align-items: end;
}
.qxdj_home_title_center_right span:hover{
color: #C9010A;
font-weight: 800;
cursor: pointer;
}
.qxdj_home_top_left_top_content{
    width: 100%;
    height: 296px;
  
    display: flex;
    justify-content: space-between;
}
.qxdj_home_top_left_top_content_item{
    width: 387px;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;

    display: flex;
    flex-direction:column;
    justify-content: space-between;
}
.qxdj_home_top_left_top_content_item_top_img{
    width: 100%;
    height: 224px;
    border-radius:4px;
    overflow: hidden;
}
.qxdj_home_top_left_top_content_item_top_img img{
    width: 100%;
    height: 100%;
}
.qxdj_home_top_left_top_content_item_title{
    width: 100%;
    height: 20px;
    line-height: 20px;
    font-family: PingFang SC;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0px;
    color: #000000;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.qxdj_home_top_left_top_content_item_title:hover{
    color: #C9010A;
    cursor: pointer;
}
.qxdj_home_top_left_top_content_bottom{
    font-family: PingFang SC;
    font-size: 12px;
    font-weight: normal;
    text-align: justify; /* 浏览器可能不支持 */
    letter-spacing: 0px;
    color: #666666;
    width: 100%;
    height: 32px;
    line-height: 16px;
    overflow: hidden;
    overflow: hidden;
  text-overflow: ellipsis;
  /* 将对象作为弹性伸缩盒子模型显示 */
  display: -webkit-box;
  /* 限制在一个块元素显示的文本的行数 */
  /* -webkit-line-clamp 其实是一个不规范属性，使用了WebKit的CSS扩展属性，该方法适用于WebKit浏览器及移动端；*/
  -webkit-line-clamp: 2;
  /* 设置或检索伸缩盒对象的子元素的排列方式 */
  -webkit-box-orient: vertical;

}
.qxdj_home_top_left_bottom{
    width: 100%;
    /* height: 248px; */
    /* background-color: pink; */
    margin-top:24px;
    overflow: hidden;
}
.qxdj_home_top_left_bottom_content{
    width: 100%;
  
}
.qxdj_home_top_left_bottom_content_item{
    height: 24px;
    width: 100%;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
}
.qxdj_home_top_left_bottom_content_item:nth-child(2n) .qxdj_home_top_left_bottom_content_item_left{
background-color: #FF8000;
}
.qxdj_home_top_left_bottom_content_item_left{
    width: 84px;
    height: 100%;
    background-color: #E74D47;
    color: #FFFFFF;
    font-family: PingFang SC;
    font-size: 12px;
    font-weight: normal;
    letter-spacing: 0px;
    color: #FFFFFF;
    text-align: center;
    border-radius: 404px;
    line-height: 24px;    
}
.qxdj_home_top_left_bottom_content_item_center{
    height: 100%;
    width: 610px;
    overflow: hidden;
    text-overflow: ellipsis;
    
    font-family: PingFang SC;
    font-size: 14px;
    font-weight: normal;
    line-height: 24px;
    text-align: justify; /* 浏览器可能不支持 */
    letter-spacing: 0px;
    color: #000000;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    
}
.qxdj_home_top_left_bottom_content_item_center:hover{
    color: #C9010A;
    font-weight: 800;
}
.qxdj_home_top_left_bottom_content_item_right{
    width: 75px;
    height: 24px;
    line-height: 24px;
    font-family: PingFang SC;
    font-size: 12px;
    font-weight: normal;
    line-height: 16px;
    display: flex;
    align-items: center;
    letter-spacing: 0px;
    color: #9E9E9E;
}
.dangjian_content{
    width: 100%;
    height: 256px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dangjian_content_left_list{
    width: 813px;
    height: 236px;
    background-color: #FEFAFA;
    padding: 0px 20px;
}
.dangjian_content_left_list_item{
    width: 100%;
    height: 114px;
    padding: 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-bottom: 1px solid #ECEEF4;
}
.dangjian_content_left_list_item_toptitle{
    width: 100%;
    height: 22px;
    font-family: PingFang SC;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0px;
    color: #000000;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dangjian_content_left_list_item_toptitle:hover{
    color: #C9010A;
    font-weight: 800;
}
.dangjian_content_left_list_item_content{
    width: 100%;
    height: 60px;
    font-family: PingFang SC;
    font-size: 14px;
    font-weight: normal;
    line-height: 30px;
    text-align: justify; /* 浏览器可能不支持 */
    letter-spacing: 0px;
    color: #666666;
    overflow: hidden;
    text-overflow: ellipsis;
    /* 将对象作为弹性伸缩盒子模型显示 */
    display: -webkit-box;
    /* 限制在一个块元素显示的文本的行数 */
    /* -webkit-line-clamp 其实是一个不规范属性，使用了WebKit的CSS扩展属性，该方法适用于WebKit浏览器及移动端；*/
    -webkit-line-clamp: 2;
    /* 设置或检索伸缩盒对象的子元素的排列方式 */
    -webkit-box-orient: vertical;
}