﻿/* 图片列表 */
.news-wrapper .imglist {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  height: auto;
}

.imglist .news-list-item {
  background-color: #fff;
  width: 315px;
  position: relative;
  font-size: 0;
  box-shadow: 0px 10px 21px 0px rgba(37, 37, 37, 0.5);
  margin-top: 55px;
  overflow: hidden;
  transition: opacity linear 0.5s;
  opacity: 0;
}

.imglist .news-list-item.move-in {
  opacity: 1;
}

.imglist .news-list-item:not(:nth-child(3n + 1)) {
  margin-left: 15px;
}

.imglist .news-list-item .pic {
  width: 315px;
  height: 210px;
  /* box-shadow: 0px 10px 21px 0px rgba(37, 37, 37, 0.5); */
  transition: all 0.4s linear;
  background-size: cover;
  background-position: center;
}

.imglist .news-list-item .pic:hover {
  transform: scale(1.05);
}

.imglist .news-list-item .category-time {
  position: absolute;
  top: 140px;
  right: 10px;
  z-index: 2;
  color: #fff;
}

.imglist .news-list-item .category-time .category {
  font-size: 16px;
  text-align: right;
  text-shadow: 2px 2px 2px #5b0085;
}

.imglist .news-list-item .category-time .time {
  font-size: 20px;
  text-align: right;
  margin-top: 5px;
  text-shadow: 2px 2px 2px #5b0085;
}

.imglist .news-list-item .text {
  /* box-sizing: border-box; */
  margin: 50px 35px 50px 50px;
  background-color: #fff;
  height: 200px;
}

.imglist .news-list-item .text .brief {
  font-size: 16px;
  color: #717171;
  line-height: 36px;
  /* overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all; */
}

.imglist .news-list-item .text.ellipsis {
  overflow: hidden;
  max-height: 72px; /***** 设置几行出现省略点 ... 根据line-height *****/
  line-height: 36px;
}
.imglist .news-list-item .text.ellipsis:before {
  content: "";
  float: left;
  width: 5px;
  height: 72px; /***** 跟ellipsis height 一样 *****/
}
.imglist .news-list-item .text.ellipsis > *:first-child {
  float: right;
  width: 100%;
  margin-left: -30px;
}
.imglist .news-list-item .text .ellipsis-after {
  content: "\02026";
  font-size: 16px;
  color: #717171;
  box-sizing: content-box;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  float: right;
  position: relative;
  top: -36px;
  left: 100%;
  width: 50px;
  margin-left: -50px;
  padding-right: 30px;
  text-align: right;
  background-size: 100% 100%;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAABCAMAAACfZeZEAAAABGdBTUEAALGPC/xhBQAAAwBQTFRF////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////AAAA////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////wDWRdwAAAP90Uk5TgsRjMZXhS30YrvDUP3Emow1YibnM9+ggOZxrBtpRRo94gxItwLOoX/vsHdA2yGgL8+TdKUK8VFufmHSGgAQWJNc9tk+rb5KMCA8aM0iwpWV6dwP9+fXuFerm3yMs0jDOysY8wr5FTldeoWKabgEJ8RATG+IeIdsn2NUqLjQ3OgBDumC3SbRMsVKsValZplydZpZpbJOQco2KdYeEe36BDAL8/vgHBfr2CvTyDu8R7esU6RcZ5ecc4+Af3iLcJSjZ1ivT0S/PMs3LNck4x8U7wz7Bv0G9RLtHuEq1TbJQr1OtVqqnWqRdoqBhnmSbZ5mXapRtcJGOc4t2eYiFfH9AS7qYlgAAARlJREFUKM9jqK9fEGS7VNrDI2+F/nyB1Z4Fa5UKN4TbbeLY7FW0Tatkp3jp7mj7vXzl+4yrDsYoVx+JYz7mXXNSp/a0RN25JMcLPP8umzRcTZW77tNyk63tdprzXdmO+2ZdD9MFe56Y9z3LUG96mcX02n/CW71JH6Qmf8px/cw77ZvVzB+BCj8D5vxhn/vXZh6D4uzf1rN+Cc347j79q/zUL25TPrJMfG/5LvuNZP8rixeZz/mf+vU+Vut+5NL5gPOeb/sd1dZbTs03hBuvmV5JuaRyMfk849nEM7qnEk6IHI8/qn049hB35QGHiv0yZXuMdkXtYC3ebrglcqvYxoj1muvC1nDlrzJYGbpcdHHIMo2FwYv+j3QAAOBSfkZYITwUAAAAAElFTkSuQmCC);

  background: -webkit-gradient(
    linear,
    left top,
    right top,
    from(rgba(255, 255, 255, 0)),
    to(white),
    color-stop(50%, white)
  );
  background: -moz-linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    white 50%,
    white
  );
  background: -o-linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    white 50%,
    white
  );
  background: -ms-linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    white 50%,
    white
  );
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    white 50%,
    white
  );
}

.more_box {
  margin: 0 auto;
  width: 100%;
  margin-top: 50px;
}
.more {
  width: 100%;
  text-align: center;
  font-size: 25px;
  font-weight: 500;
  color: #e85555;
  cursor: pointer;
  margin-top: 50px;
}
/* 更多控制 */
.more_2nd,
.more_3rd {
  display: none;
}

@media (min-width: 1200px) and (max-width: 1530px) {
  .body .imglist .news-list-item {
    width: 255px;
  }
  .body .imglist .news-list-item .pic {
    width: 255px;
    height: 176px;
  }
  .body .imglist .news-list-item .category-time {
    top: 115px;
  }
  .body .imglist .news-list-item .text {
    height: 170px;
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  .imglist .news-list-item {
    width: 290px;
  }
  .news-wrapper .nav {
    width: 250px;
  }
  .imglist .news-list-item:not(:nth-child(3n + 1)) {
    margin-left: 27px;
  }
  .imglist .news-list-item .text .brief {
    font-size: 14px;
  }
  .imglist .news-list-item {
    width: 210px;
  }
  .imglist .news-list-item .pic {
    width: 210px;
    height: 150px;
  }
  .imglist .news-list-item .category-time {
    top: 90px;
  }
  .imglist .news-list-item .text {
    padding: 20px 15px 20px 30px;
    height: auto;
  }
}

@media (width: 640px) {
  .imglist .news-list-item:not(:nth-child(3n + 1)) {
    margin-left: 15px;
  }
  .imglist .news-list-item {
    width: 155px;
  }
  .imglist .news-list-item .pic {
    width: 155px;
    height: 110px;
  }
  .imglist .news-list-item .category-time {
    top: 50px;
  }
  .imglist .news-list-item .category-time .category {
    font-size: 14px;
  }
  .imglist .news-list-item .category-time .time {
    font-size: 16px;
  }
  .imglist .news-list-item .text .brief {
    font-size: 14px;
  }
  .imglist .news-list-item .text {
    padding: 15px;
    height: auto;
  }
}

@media (max-width: 640px) {
  .news-wrapper .imglist {
    flex-direction: column;
    align-items: center;
  }
  .imglist .news-list-item:not(:nth-child(3n + 1)) {
    margin-left: 0;
  }
  .imglist .news-list-item .text {
    height: auto;
  }
}

