.float-l {
  float: left;
}
.float-r {
  float: right;
}
.clear {
  clear: both;
}
.center {
  margin: 0 auto;
}
.ft-wei {
  font-weight: 600;
}
.hide-excess-text {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.v-center {
  display: flex;
  justify-content: center;
  align-items: Center;
}
@keyframes imgHover {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.2);
  }
}
.imgHover {
  animation: imgHover 1s forwards;
}
.add-date {
  color: #777;
  font-size: 12px;
  position: relative;
}
.content {
  word-wrap: break-word;
  padding-bottom: 15px;
  border-bottom: 1px dashed #707070;
}
.rel_products .title {
  background-color: #57b915;
  width: 160px;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 6px 0;
  margin: 15px 0;
}
.rel_products .figure {
  margin-bottom: 30px;
  padding: 0;
  border: 1px solid #ddd;
}
.rel_products .figure:hover {
  box-shadow: 3px 3px 3px 3px rgba(0, 0, 0, 0.1);
}
.rel_products .figure .image {
  overflow: hidden;
  margin-bottom: 5px;
}
.rel_products .figure .image a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: Center;
}
.rel_products .figure .image a img {
  max-width: 100%;
  max-height: 100%;
}
.rel_products .figure .desc {
  float: left;
}
.rel_products .figure .desc a {
  display: inline-block;
  width: 100%;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 767px) {
  .add-date {
    display: block;
    margin: 10px 0;
  }
  .rel_products .figure .image {
    height: 180px;
  }
  .rel_products .figure .desc a {
    padding-bottom: 10px;
    font-size: 14px;
    line-height: 18px;
  }
}
@media (min-width: 768px) {
  .add-date {
    top: -15px;
  }
  .rel_products .figure .image {
    height: 180px;
  }
  .rel_products .figure .desc a {
    padding-left: 5%;
    padding-right: 5%;
    font-size: 13px;
    line-height: 20px;
    height: 42px;
  }
}
