.modular1 {
  margin: 4% 0;
  line-height: 1.8;
}

.modular1 h1 {
  margin-bottom: 0.5em;
}

.modular2 {
  margin: 4% 0;
}

.modular2 img {
  width: 100%;
}

.modular2 h2 {
  font-size: 11px;
  text-transform: uppercase;
}

.modular2 .wrap {
  position: relative;
}

.modular2 .info {
  color: #fff;
  position: absolute;
  top: 10%;
  left: 2%;
}
.modular2_1{
  margin-bottom: 4%;
}
.modular2_1 li{
  float: left;
  width: 32%;
  margin-right: 1.3333%;
  margin-bottom: 1.333%;
}
.modular2_1 li p{margin-top: 15px;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;}
.modular2_1 li:nth-child(3n){
  margin-right: 0;
}
.modular3 {
  background: no-repeat center center;
  background-size: cover;
  padding: 5% 0;
}

.modular3 h2 {
  color: #555;
  margin-top: 0.2em;
  margin-bottom: 4%;
}

.modular3 h3 {
  position: absolute;
  bottom: 0;
  padding: 1em 1.5em;
  color: #555;
}

.modular3 img {
  width: 100%;
}

.modular3 .swiper-button-prev,
.modular3 .swiper-button-next {
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23208d6f'%2F%3E%3C%2Fsvg%3E");
}

.modular3 .swiper-button-prev {
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23208d6f'%2F%3E%3C%2Fsvg%3E");
}

.modular3 .swiper-button-next.swiper-button-disabled {
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23888888'%2F%3E%3C%2Fsvg%3E");
}

.modular3 .swiper-button-prev.swiper-button-disabled {
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23888888'%2F%3E%3C%2Fsvg%3E");
}

.modular4 {
  padding: 5% 0;
}

.modular4 ul {
  overflow: hidden;
  margin: -1%;
}

.modular4 li {
  position: relative;
  width: 48%;
  margin: 1%;
  float: left;
  cursor: default;
  overflow: hidden;
  border-radius: 8px;
}

.modular4 li img {
  width: 100%;
  transition: all .3s;
}



.modular4 li .info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: #fff;
  padding: 5%;
  box-sizing: border-box;
}

.modular4 li .info h1 {
  position: relative;
  margin-bottom: 0.5em;
  padding-top: 16px;
}

.modular4 li .info h1::after {
  content: '';
  display: block;
  top: 0;
  width: 2em;
  background: #fff;
  height: 4px;
  border-radius: 90px;
  position: absolute;
}

.modular4 li .info h2 {
  line-height: 1.5em;
  max-height: 3em;
  overflow: hidden;
  transition: all .3s;
  opacity: .8;
}

.modular4 .more {
  display: inline-block;
  background: #208d6f;
  padding: 1em 4em;
  color: #fff;
  border-radius: 90px;
  margin: auto;
  margin-top: 5%;
}

.modular4 .btns {
  text-align: center;
}

.modular4 .more:hover {
  color: #fff !important;
  opacity: 0.8;
}

@media only screen and (min-width:768px) {

  .modular4 li:hover img {
    transform: scale(1.1);
  }

  .modular4 li:hover .info h2 {
    max-height: 9em;
  }
}

@media only screen and (max-width:1024px) {

  .modular2 .info {
    position: relative;
    background: #eee;
    padding: 2em 3em;
    color: #000;
    left: 0;
    top: 0;
  }

}

@media only screen and (max-width:768px) {
  .modular2_1 li,
  .modular2_1 li:nth-child(3n){
    width: 49%;
    margin-right: 2%;
    margin-bottom: 2%;
  }
  .modular2_1 li:nth-child(2n){
    margin-right: 0;
  }
  .modular4 ul {
    margin: 0;
  }

  .modular4 li {
    width: auto;
    margin: 2% 0;
  }

  .modular4 li .info {
    position: relative;
    color: #000;
    padding: 3%;
  }

  .modular4 li .info h2 {
    max-height: none;
  }
}