/* 手机搜索 */
.nav_link_input {
  background-color: #751714;
  border: 1px solid #751714;
  width: 150px;
  height: 100%;
  border-radius: 5px;
  padding: 5px 10px;
  margin: 20px 0 10px 20px;
  color: #ddd;
}

/* 新闻动态 */
.news_notice {
  position: relative;
  height: 460px;
  width: 100%;
  min-width: 1200px;
}

.news_notice .centerBox {
  justify-content: space-between;
  align-items: start;
  width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}
.news_notice .centerBox .news {
  width: 60%;
}
.news_notice .centerBox .notice {
  width: 35%;
}
.newsTop {
  display: flex;
  justify-content: space-between;
  position: relative;
  width: 95%;
  padding-top: 60px;
  box-sizing: border-box;
  border-bottom: rgba(193, 193, 193, 1) solid 2px;
  cursor: pointer;
}

.to_news {
  cursor: pointer;
}

.newsTop span {
  color: rgba(50, 50, 50, 1);
}

.newsTop a {
  position: relative;
  color: rgba(135, 136, 136, 1);
  line-height: 3;
  padding-right: 25px;
  background: url(../images/more.png) no-repeat right center;
  background-size: 17px 9px;
}
.newsTop img {
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 120px;
  height: 7px;
}

.newsCon {
    position: relative;
  display: flex;
  height: 300px;
  width: 95%;
  margin-top: 50px;
}
.service {
    margin-bottom: 40px;
}
.service .newsCon .to_news {
  position: absolute;
  right: 0;
  top: -80px;    
  padding-right: 25px;
  color: rgba(135, 136, 136, 1);
  background: url(../images/more.png) no-repeat right center;
  background-size: 17px 9px;
}

.news .newsCon .newsConLeft {
  position: relative;
  height: 85%;
  width: 45%;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.16);
}
.news .newsCon .newsConLeft a{
  display: block;
  width: 100%;
}
.news .newsCon .newsConLeft .img {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
}
.news .newsCon .newsConLeft .img_con {
  position: absolute;
  z-index: 1;
  bottom: 0;
  display: flex;
  width: 100%;
  height: 25%;
  padding: 3% 0;
  background: rgba(9, 9, 9, 0.5);
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
}
.news .newsCon .newsConLeft .img_con .newsConRightData{
  width: 20%;
  text-align: center;
  color: rgba(49, 229, 121, 1);
}
.news .newsCon .newsConLeft .img_con .text_line{
  width: 80%;
  padding-left: 10px;
  color: rgba(255, 255, 255, 1);
  line-height: 1.5;
  border-left: 1px solid rgba(255, 255, 255, 0.85);
  
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

}
/* 右半部分 */
.news .newsCon .newsConRight {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 50%;
  height: 85%;
  margin-left: 34px;
}

.newsCon .newsConRight li {
  height: 23%;
  display: flex;
  padding: 5px;
  background-color: #fff;
  border: 1px solid rgba(220, 220, 220, 1);
}
.newsCon .newsConRight .newsConRightData {
  padding-right: 10px;
}
.newsCon .newsConRight .newsConRightData div:nth-child(1) {
  color: rgba(50, 50, 50, 1);
  text-align: center;
}
.newsCon .newsConRight .newsConRightData div:nth-child(2) {
  color: rgba(50, 50, 50, 1);
  text-align: center;
  padding-top: 3px;
}

.newsCon .newsConRight li .text_line {
  width: calc(100% - 58px);
  height: 100%;
  padding: 10px 5px 10px 15px;
  display: flex;
  align-items: center;
  background: url(../images/list.png) no-repeat left center;
}
.newsCon .newsConRight li .text_line a {
  color: #333;
  max-height: 60px;
  text-align: left;
  line-height: 1.4;
  word-break: break-all;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.newsCon .newsConRight li:hover {
  background: rgba(39, 135, 74, 1);
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}
.news .newsCon .newsConRight li:hover .newsConRightData div {
  color: rgba(255, 255, 255, 1);
}
.news .newsCon .newsConRight li:hover .text_line a {
  color: rgba(255, 255, 255, 1);
}

.notice .newsCon .newsConRight {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 85%;
  width: 100%;
}
.notice .newsCon .newsConRight li {
  border: 0;
  border-bottom: 1px solid rgba(220, 220, 220, 0.85);
}
.notice .newsCon .newsConRight li:hover {
  background: white;
}
.notice .newsCon .newsConRight li:hover .newsConRightData div {
  color: rgba(39, 135, 74, 1);
}
.notice .newsCon .newsConRight li:hover .text_line a {
  color: rgba(39, 135, 74, 1);
}

@media screen and (max-width: 780px) {
  .news .newsCon .newsConLeft .img {
    position: static;
    height: 50vw;
  }
  .newsCon .newsConRight li {
    margin-bottom: 5px;
  }
}

/* 中部导航 */
.middle_nav {
  width: 100%;
  min-width: 1200px;
  height: 160px;
  background: url(../images/middlebg.png) no-repeat center;
  background-size: cover;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
}
.middle_nav ul {
  justify-content: space-around;
  padding: 15px 0;
}
.middle_nav ul a {
  display: block;
}
.middle_nav li img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}
.middle_nav li div {
  width: 100px;
  padding-top: 10px;
  text-align: center;
  color: rgba(255, 255, 255, 1);
}

.centerBox {
  display: flex;
  align-items: center;
  width: 1200px;
  margin: 0 auto;
}

/* 企业服务 党群工作 */
.service .centerBox {
  display: block;
}
.service .newsTop {
    padding-bottom: 6px;
}
.service .newsTop span {
  display: inline-block;
  padding: 0 15px;
  position: relative;
}
.service .newsTop span:nth-child(1) {
  border-right: 2px solid black;
}
.service .newsTop span:hover {
  color: rgba(39, 135, 74, 1);
}
.service .newsTop span.active {
  color: rgba(39, 135, 74, 1);
}
.service .newsTop span img{
  display: none;
}
.service .newsTop span.active img{
  display: inline-block;
  left: 15px;
  bottom: -13px;
}

.service .newsCon{
  display: none;
  height: fit-content;
}
.service .newsCon.active {
  display: block;
}
.service .newsCon .newsConRight {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 25px;
}
.service .newsCon .newsConRight li {
  width: 30%;
  border: 0;
  background: rgba(241, 243, 245, 1);
}
.service .newsCon .newsConRight li .newsConRightData {
  width: 20%;
  position: relative;
  background-color: #fff;
}
.service .newsCon .newsConRight:nth-child(2) li .newsConRightData div {
  color: rgba(39, 135, 74, 1);
}
.service .newsCon .newsConRight:nth-child(3) li .newsConRightData div {
  color: rgba(5, 105, 164, 1);
}
.service .newsCon .newsConRight li .newsConRightData div:nth-child(1) {
  margin-top: 6px;
}
.service .newsCon .newsConRight .newsConRightData {
  padding-right: 0px;
}
.service .newsCon .newsConRight li .newsConRightText {
  position: absolute;
  top: -20px;
  width: 100%;
  text-align: center;
  line-height: 1.8;
  color: #fff !important;
}
.service .newsCon ul:nth-child(2)  .newsConRightText {
  background-color: rgba(39, 135, 74, 1);
}
.service .newsCon ul:nth-child(3) li .newsConRightText {
  background-color: rgba(5, 105, 164, 1);
}
.service .newsCon .newsConRight li .text_line {
  background-image: none;
}

/* 适配 */
@media screen and (max-width: 780px) {
  .news_notice {
    min-width: 0;
    width: 100%;
    height: fit-content;
    padding-bottom: 20px;
  }
  .news_notice .centerBox {
    min-width: 0;
    width: 95%;
    display: block;
  }
  .news_notice .centerBox .news{
    min-width: 0;
    width: 100%;
    height: fit-content;
  }
  .news_notice .newsTop {
    width: 100%;
    padding-top:30px;
  }
  .newsTop span{
    line-height: 36px;
  }
  .newsTop img {
    width: 82px;
  }
  .news_notice .centerBox .newsCon {
    min-width: 0;
    width: 100%;
    height: auto;
    display: block;
    margin-top: 30px;
  }
 .centerBox .news .newsCon .newsConLeft {
    width: 100%;
    margin: 0 auto;
    height: auto;
  }
  .news .newsCon .newsConLeft .img_con {
    height: 51px;
    padding: 7px 0;
  }
  .news .newsCon .newsConLeft .img_con .text_line{
    line-height: 1.5;
  }
   .news .newsCon .newsConRight {
    margin-top: 20px;
    width: 100%;
    margin-left: 0;
  }
  .news_notice .centerBox .notice{
    min-width: 0;
    width: 100%;
    height: fit-content;
  }

  .middle_nav {
    min-width: 0;
    width: 100%;
    height: fit-content;
  }
  .middle_nav ul {
    min-width: 0;
    width: 100%;
    height: fit-content;
  }
  .middle_nav li {
    text-align: center;
  }
  .middle_nav li img {
    width: 50px;
    height: 50px;
  }

  .service{
    width: 100%;
    height: fit-content;
  }
  .service .centerBox {
    min-width: 0;
    width: 95%;
    display: block;
  }
  .service .newsTop {
    width: 100%;
    padding-top: 30px;
    padding-bottom: 0;
  }
  .service .centerBox .newsCon {
    min-width: 0;
    width: 100%;
    height: auto;
  }
  .service .newsCon .newsConRight{
    width: 100%;
    margin-bottom: 0;
  }
  .service .newsCon .newsConRight li {
    width: 100%;
    margin-bottom: 25px;
  }
  .service .newsTop span img {
    width: 80px;
  }
  .service .newsTop span.active img.active{
    bottom: -5px;
  }
  .service .newsCon .newsConRight li .newsConRightData{
    width: 80px;
  }
}
