.banners-img-with-text-list__item {
  position: relative;
  overflow: hidden;
}
/*image*/
.banners-img-with-text-list__item-image {
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.banners-img-with-text-list__item-link {
  display: block;
  overflow: hidden;
}

/*text*/
.banners-img-with-text-list__item-text--centered {
  text-align: center;
}
.banners-img-with-text-list__item-text {
  padding: 18px 24px 0px;
}
.banners-img-with-text-list__item-title {
  font-weight: bold;
}
.banners-img-with-text-list__item-top-text {
  margin-bottom: 5px;
  opacity: 0.7;
}
/*inside-text*/
.banners-img-with-text-list__item-text--absolute {
  position: absolute;
  bottom: 49px;
  left: 0px;
  right: 0px;
  z-index: 2;
  padding-top: 0px;
}
body .banners-img-with-text-list__item-text--absolute * {
  color: #fff;
}

@media (min-width: 992px) {
  .grid-list--wide .banners-img-with-text-list__item-text--absolute {
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (min-width: 601px) {
  .elements-count-2 .banners-img-with-text-list__item-image {
    padding-top: 67%;
  }
  .elements-count-3 .banners-img-with-text-list__item-image {
    padding-top: 100%;
  }
  .elements-count-4 .banners-img-with-text-list__item-image {
    padding-top: 130%;
  }
  /*short image*/
  .banners-img-with-text-list__item-image.banners-img-with-text-list__item-image--short {
    padding-top: 67%;
  }
  .elements-count-2 .banners-img-with-text-list__item-image--short {
    padding-top: 44%;
  }
  .elements-count-2 .banners-img-with-text-list__item--short .banners-img-with-text-list__item-text--absolute {
    bottom: 41px;
  }
  .elements-count-4 .banners-img-with-text-list__item--short .banners-img-with-text-list__item-text--absolute {
    /* bottom: 17px; */
    bottom: 32px;
  }
  /**/

  .elements-count-3 .banners-img-with-text-list__item-text--absolute {
    bottom: 41px;
  }
  .elements-count-4 .banners-img-with-text-list__item-text--absolute {
    bottom: 33px;
  }
}
@media (max-width: 600px) {
  .banners-img-with-text-list__item-image {
    padding-top: 137%;
  }
  .banners-img-with-text-list__item-text--absolute {
    bottom: 19px;
  }
  .banners-img-with-text-list__item-title.font_24 {
    font-size: 1.2em;
  }
  .banners-img-with-text-list__item-top-text {
    margin-bottom: 0px;
  }
  body .banners-img-with-text-list__item-text--absolute * {
    font-size: 18px;
  }
}

@media (min-width: 601px) and (max-width: 1366px) {
  .elements-count-4 .banners-img-with-text-list__item-text--absolute {
    bottom: calc(100% - 100px);
  }
}
@media (max-width: 600px) {
  .elements-count-4 .banners-img-with-text-list__item-text--absolute {
    bottom: unset;
    top: 15px;
  }
  body .banners-with-text-template .mobile-scrolled {
    padding-bottom: 0 !important;
  }
}

@media (min-width: 1367px) {
  .banners-img-with-text-list .grid-list--items-4-wide {
    grid-template-columns: repeat(auto-fill, minmax(25%, 1fr));
  }
  .elements-count-4 .banners-img-with-text-list__item-text--absolute {
    bottom: calc(100% - 106px);
  }
}
