.th-our-offset-vendors-wrap {
  position: relative;
  padding: 100px 0 70px;
  text-align: center;
}
.th-our-offset-vendors-wrap ul li {
  display: inline-block;
  vertical-align: top;
  margin-right: 45px;
  width: 22.2%;
  margin-bottom: 40px;
}
.th-our-offset-vendors-wrap ul li:nth-child(4n) {
  margin-right: 0;
}
.th-our-offset-vendors-wrap ul li:last-child {
  margin-right: 0;
}
.th-our-offset-vendors-box {
  background-color: #4875d9;
  border-radius: 0px;
  padding: 10px 0px 30px;
}
.th-our-offset-vendors-box-image {
  display: inline-block;
  max-height: 184px;
  overflow: hidden;
}
.th-our-offset-vendors-box img {
  margin-bottom: 13px;
  border-radius: 0;
  max-height: 186px;
}
.th-our-offset-vendors-box-body {
  padding: 10px 10px 0 10px;
  display: inline-block;
}
.th-our-offset-vendors-wrap .th-our-offset-vendors-box h5 {
  font-family: "Montserrat", sans-serif;
  font-size: 24px;
  color: #ffffff;
  letter-spacing: 1.2px;
  font-weight: 700;
  margin-bottom: 9px;
}
.th-our-offset-vendors-wrap .th-our-offset-vendors-box h6 {
  color: #ffffff;
}
.th-our-offset-vendors-box .th-view-more-btn {
  margin: 0 auto;
  margin-top: 37px;
  border: 2px solid #ffffff;
  color: #ffffff !important;
}
.th-our-offset-vendors-box .th-view-more-btn::after {
  background-image: url(../images/white-arrow.png);
}
.th-our-offset-vendors-box .th-view-more-btn::before {
  background-color: #000000;
}

@media only screen and (max-width: 1400px) {
  .th-our-offset-vendors-wrap ul li {
    margin-right: 42px;
  }
}
@media only screen and (max-width: 1300px) {
  .th-our-offset-vendors-wrap ul li {
    margin-right: 38px;
  }
}
@media only screen and (max-width: 1200px) {
  .th-our-offset-vendors-wrap .th-our-offset-vendors-box h5 {
    font-size: 22px;
  }
  .th-our-offset-vendors-wrap .th-our-offset-vendors-box h6 {
    font-size: 20px;
    line-height: 23px;
  }
  .th-our-offset-vendors-box .th-view-more-btn {
    width: 140px;
  }
  .th-our-offset-vendors-box .th-view-more-btn:hover::after {
    right: -38px;
  }
  .th-our-offset-vendors-wrap ul li {
    margin-right: 35px;
  }
  .th-our-offset-vendors-wrap {
    padding: 80px 0 50px;
  }
}
@media only screen and (max-width: 1100px) {
  .th-our-offset-vendors-wrap .th-our-offset-vendors-box h6 {
    font-size: 18px;
    line-height: 22px;
  }
  .th-our-offset-vendors-wrap .th-our-offset-vendors-box h5 {
    font-size: 21px;
  }
  .th-our-offset-vendors-box .th-view-more-btn::after {
    width: 52px;
    background-size: 100%;
  }
  .th-our-offset-vendors-box .th-view-more-btn:hover::after {
    right: -33px;
  }
  .th-our-offset-vendors-wrap ul li {
    margin-right: 25px;
    width: 22.5%;
  }
}
@media only screen and (max-width: 991px) {
  .th-our-offset-vendors-wrap {
    padding: 65px 0 45px;
  }
  .th-our-offset-vendors-wrap ul li {
    margin-right: 20px;
    width: 31%;
    margin-bottom: 30px;
  }
  .th-our-offset-vendors-wrap ul li:nth-child(4n) {
    margin-right: 20px;
  }
  .th-our-offset-vendors-wrap ul li:nth-child(3n),
  .th-our-offset-vendors-wrap ul li:last-child {
    margin-right: 0;
  }
}
@media only screen and (max-width: 767px) {
  .th-our-offset-vendors-wrap {
    padding: 55px 0 35px;
  }
  .th-our-offset-vendors-box .th-view-more-btn {
    margin-top: 25px;
  }
  .th-our-offset-vendors-box img,
  .th-our-offset-vendors-box-image {
    max-height: 210px;
  }
  .th-our-offset-vendors-wrap ul li {
    margin-right: 16px;
    width: 48%;
    margin-bottom: 25px;
  }
  .th-our-offset-vendors-wrap ul li:nth-child(4n),
  .th-our-offset-vendors-wrap ul li:nth-child(3n) {
    margin-right: 16px;
  }
  .th-our-offset-vendors-wrap ul li:nth-child(2n),
  .th-our-offset-vendors-wrap ul li:last-child {
    margin-right: 0;
  }
}
@media only screen and (max-width: 600px) {
  .th-our-offset-vendors-wrap ul li {
    width: 47.6%;
  }
}
@media only screen and (max-width: 500px) {
  .th-our-offset-vendors-wrap {
    padding: 45px 0 25px;
  }
  .th-our-offset-vendors-wrap ul li {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }
  .th-our-offset-vendors-wrap ul li:nth-child(4n),
  .th-our-offset-vendors-wrap ul li:nth-child(3n) {
    margin-right: 0;
  }
  .th-pagination {
    padding-top: 10px;
  }
  .th-our-offset-vendors-box-image {
    display: inline-block;
    max-height: inherit;
    overflow: hidden;
  }
  .th-our-offset-vendors-box img {
    margin-bottom: 13px;
    border-radius: 0;
    max-height: 100%;
  }
}
