﻿.xy_news {
  width: 100%;
}
/*主体*/
body {
  background: #F2F2F2;
}
img,
.rela {
  vertical-align: middle;
  max-width: 100% !important;
  overflow: hidden;
  transition: all .3s;
}
.rela:hover img {
  transform: scale(1.1);
}
.all_center {
  margin: 0 auto;
  text-align: center;
}
.new_content {
  width: 95%;
  max-width: 1150px;
  padding-top: 150px;
}
.new_content .con {
  margin-bottom: .5rem;
}
@media screen and (max-width: 768px) {
  .new_content {
    padding-top: 100px;
  }
}
.bigTitle {
  font-size: .4rem;
  color: #000;
  font-weight: bold;
  text-align: center;
  position: relative;
  margin-bottom: .5rem;
}
.bigTitle:after {
  content: '';
  position: absolute;
  width: .4rem;
  height: 3px;
  background:#1d2088;
  bottom: -0.2rem;
  left: 0;
  right: 0;
  margin: auto;
}
/*第一块   也是所有块的样式*/
.mid_content {
  width: 1150px;
  max-width: 100%;
  min-height: 3.5rem;
  margin-top: 15px;
  background: white;
  position: relative;
}
@media screen and (max-width: 1366px) and (min-width: 769px) {
  .mid_content {
    height: 5.2rem;
  }
}
.mid_content:nth-child(6) ~ .mid_content {
  display: none;
}
.mid_content .left_text {
  padding: .2rem .60rem .65rem .50rem;
  max-width: 100%;
  text-align: left;
  font-weight: bold;
  position: relative;
  width: 25.5%;
  overflow: hidden;
  max-height: 100%;
}
@media screen and (max-width: 1366px) and (min-width: 769px) {
  .mid_content .left_text {
    padding: .45rem .70rem .65rem .50rem;
  }
}
.mid_content .rela {
  width: 74.5%;
  float: left;
  position: absolute;
  height: 100%;
  right: 0;
  overflow: hidden;
}
.mid_content .rela:hover span {
  transform: scale(1.1);
}
.mid_content .rela span {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: all .5s;
}
.mid_content .left_text > span:nth-child(3) {
  font-size: 12px;
  font-weight: bold;
}
.mid_content .left_text > span:first-child {
  color: #11C0CC;
  font-size: 12px;
  padding-bottom: 10px;
}
.mid_content .left_text > div.mid_text {
  font-size: 18px;
  line-height: 1.5;
  text-align: justify;
  margin-top: .3rem;
  font-weight: bold;
  height: 108px;
}
@media screen and (max-width: 1366px) and (min-width: 769px) {
  .mid_content .left_text > div.mid_text {
    font-size: 19px;
    line-height: 1.6;
    height: 122px;
  }
}
.mid_content .left_text .more {
  margin-top: .47rem;
  color:#1d2088;
  font-size: 0;
  display: inline-block;
  font-weight: normal;
}
.mid_content .left_text .more:hover span:after {
  width: 100%;
}
.mid_content .left_text .more i {
  display: inline-block;
  vertical-align: top;
  width: 23px;
  height: 24px;
  background-image: url('../Images/more.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-right: 5px;
}
.mid_content .left_text .more span {
  font-size: 16px;
  line-height: 24px;
  position: relative;
  display: inline-block;
}
.mid_content .left_text .more span:after {
  content: "";
  width: 0;
  height: 1px;
  background-color:#1d2088;
  position: absolute;
  bottom: 0;
  left: 0;
  transition: all .3s;
}
.mid_content {
  transition: all .5s;
}
.mid_content:hover {
  box-shadow: 0 37.125px 70px -12.125px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 100;
}
.mid_content:nth-child(4n+1) > .left_text > span:first-child {
  color: #ffa800;
}
.mid_content:nth-child(4n+2) > .left_text > span:first-child {
  color: #004be5;
}
.mid_content:nth-child(4n+3) > .left_text > span:first-child {
  color: red;
}
.mid_content:nth-child(4n) > .left_text > span:first-child {
  color: #ffa800;
}
/*第四块*/
.first-block {
  position: relative;
  width: 100%;
  margin-bottom: 50px;
  padding-bottom: 100px;
}
.knowMore {
  width: 127px;
  height: 37px;
  border: 2px solid #1d2088;
  border-radius: 18px;
  text-align: center;
  color: #1d2088;
  font-size: 16px;
  font-weight: bold;
  position: absolute;
  bottom: 0;
  margin-top: 20px;
  left: 50%;
  margin-left: -63px;
}
.knowMore span {
  width: 95px;
  height: 24px;
  background: url("../Images/small_img.png") no-repeat center left;
  padding-left: 25px;
  position: absolute;
  top: 50%;
  margin-top: -12px;
  left: 50%;
  margin-left: -47.5px;
}
.knowMore:hover {
  background:#1d2088;
  color: white;
}
.knowMore:hover span {
  background: url("../Images/details-b.png") no-repeat center left;
}
.knowMore:hover i {
  padding-left: 5px;
}
.knowMore {
  cursor: pointer;
}
/*移动端*/
@media screen and (max-width: 768px) {
  .mid_content {
    width: 100%;
    height: auto;
  }
  .mid_content .left_text {
    padding-left: 10px;
    padding-right: 5px;
    width: 100%;
    text-align: left;
    font-weight: bold;
    position: relative;
    padding-bottom: 0;
  }
  .mid_content .rela {
    position: static;
    width: 100%;
    height: 3.5rem;
  }
  .mid_content .left_text > span:first-child {
    color: #11C0CC;
    font-size: 12px;
    padding-bottom: 10px;
  }
  .mid_content .left_text > div.mid_text {
    font-size: 18px;
    line-height: 1.5;
    text-align: justify;
    padding-top: 10px;
    padding-bottom: 10px;
    font-weight: bold;
    width: 100%;
    height: auto;
  }
  .mid_content .left_text .more {
    margin-top: 0;
    margin-bottom: .4rem;
  }
  .mid_content .left_text .more span {
    font-size: 14px;
  }
  .mid_content .left_text .more i {
    width: 22px;
  }
  .mid_content .left_text > div:last-child {
    font-size: 15px;
    color: #00b9c4;
    position: absolute;
    bottom: 16px;
    left: 50%;
    margin-left: -60px;
  }
  .mid_content .left_text > div:last-child > a {
    display: inline-block;
    height: 24px;
    width: 120px;
    max-width: 100%;
    background: url('../Images/small_img.png') no-repeat center left;
    padding-left: 24px;
  }
  .first-block {
    margin-bottom: 50px;
    padding-bottom: 50px;
  }
}
