.text-and-content .flex {
  flex-direction: row;
}
.text-and-content .flex.reverse {
  flex-direction: row-reverse;
}
.text-and-content .flex.align-top {
  align-items: flex-start;
}
.text-and-content .flex .box-image img {
  max-height: 100%;
  height: auto;
}
.text-and-content .flex .box-content-text {
  padding: 0 0 0 50px;
}
.text-and-content .flex .box-content-text p {
  font-size: 16px;
  line-height: 20px;
}
.text-and-content .flex .box-content-text p:last-child {
  margin: 0;
}
.text-and-content .flex .box-content-text h3,
.text-and-content .flex .box-content-text h4,
.text-and-content .flex .box-content-text h5 {
  font-weight: 700;
}
.text-and-content .flex.reverse .box-content-text {
  padding: 0 50px 0 0;
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .text-and-content .box-content-text {
    padding: 0 0 0 50px;
  }
}
@media only screen and (min-width: 400px) and (max-width: 767px) {
  .text-and-content .box-image img {
    width: 300px;
  }
  .text-and-content .img-caption {
    width: 300px;
  }
}
@media only screen and (min-width: 768px) {
  .text-and-content :not(.items-center) .box-content-text h4 {
    margin-top: -8px;
  }
}
@media only screen and (max-width: 767px) {
  .text-and-content .flex .box-content-text,
  .text-and-content .flex .reverse.box-content-text {
    padding: 0;
    display: table-cell;
  }
  .text-and-content .flex .box-content-text p,
  .text-and-content .flex .reverse.box-content-text p {
    font-size: 18px;
    line-height: 22px;
  }
  .text-and-content .flex .flex-1 {
    flex: none;
  }
  .text-and-content .flex.align-top {
    align-items: center;
  }
  .text-and-content .flex.flex-column-mob {
    flex-direction: column;
  }
  .text-and-content .flex.flex-column-mob .box-content-text {
    padding: 25px 0 0 0;
  }
  .text-and-content .flex.flex-column-rev-mob {
    flex-direction: column-reverse;
  }
  .text-and-content .flex.flex-column-rev-mob .box-content-text {
    padding: 0 0 25px 0;
  }
}
