.module {
  background: rgba(241,241,241,.5);
  color: #555;
  padding: 20px;
  margin: 10px 0;
  font-size: 16px;
  border-radius: 10px;
  transition: all ease-in .5s
}

.ust-offer img,
.ust-offer {
  width: 350px;
  transition: .5s;
  cursor: pointer;
}
.ust-offer:hover img {
  -webkit-box-shadow: -1px -5px 29px 0px rgba(0,0,0,0.75);
  -moz-box-shadow: -1px -5px 29px 0px rgba(0,0,0,0.75);
  box-shadow: -1px -5px 29px 0px rgba(0,0,0,0.75);
}

.ust-offer img {
  height: 200px;
}
// .ust-offer:hover h3 {
//   font-weight: bold;
// }
.ust-offer figcaption {
  color: rgb(0,0,0);
  border-radius: 0 0 10px 10px;
  background-color: rgb(255,255,255);
  border: 1px solid rgb(130,113,129);
  font-family: Tahoma,Arial, serif;
  height: 0;
  overflow: hidden;
  padding: 0 20px;
  position: absolute;
  transition: .5s;
  text-align: justify;
  text-indent: 10px;
  width: 350px;
  z-index: 999;
}

.ust-offer:hover figcaption {
  -webkit-box-shadow: -1px -5px 29px 0px rgba(0,0,0,0.75);
  -moz-box-shadow: -1px -5px 29px 0px rgba(0,0,0,0.75);
  box-shadow: -1px -5px 29px 0px rgba(0,0,0,0.75);
  padding: 10px 20px;
  opacity: 1;
  height: 95px;
}

.ust-main-partners {
  margin: 5px 10px;
  padding: 5px;
  cursor: pointer;
}

.ust-main-partners img {
  max-width: 200px;
  max-height: 150px;
  min-height: 90px;
  border: 1px solid white;
  transition: all 1s;
}

.ust-main-partners img:hover {
  border: 1px solid black;
  border-radius: 5px;
  transform: scale(1.05);
  -webkit-box-shadow: -1px -5px 29px 0px rgba(0,0,0,0.75);
  -moz-box-shadow: -1px -5px 29px 0px rgba(0,0,0,0.75);
  box-shadow: -1px -5px 29px 0px rgba(0,0,0,0.75);
}

.inline-block {
  display: inline-block;
}

@media screen and (max-width: 400px) {
  .module {
    font-size: 14px;
  }
  .ust-offer {
    width: 250px;
    height: 100%;
  }
  .ust-offer img {
    width: 250px;
    height: 100%;
  }
  .ust-offer figcaption {
    width: 250px;
    text-align: left;
    font-size: 12px;
  }
  .ust-offer:hover figcaption {
    padding: 5px;
    opacity: 1;
    height: 95px;
  }
}

@media screen and (max-width: 350px) {
  .module {
    font-size: 12px;
  }
}

