.image_and_text_module {
  margin: 0 auto !important;
  min-height: 30rem;
  width: 100%;
}
.image_and_text_module.layout-stacked {
  margin-top: 230px !important;
}
@media only screen and (max-width: 1024px) {
  .image_and_text_module.layout-stacked {
    margin-top: 150px !important;
    width: 75%;
  }
}
.image_and_text_module.layout-side {
  margin-top: 50px !important;
}
.image_and_text_module .content {
  max-width: 100% !important;
  width: 80%;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-direction: row;
}
@media only screen and (max-width: 540px) {
  .image_and_text_module .content {
    width: 85%;
    padding: 0 12px;
  }
}
.image_and_text_module .content:not(:last-child) {
  margin-bottom: 100px !important;
}
.image_and_text_module .content:not(:last-child).layout-stacked {
  margin-top: 150px !important;
}
@media only screen and (max-width: 890px) {
  .image_and_text_module .content {
    flex-direction: column;
  }
}
.image_and_text_module .content.layout-side .section-image-container {
  width: 50%;
  display: flex;
  align-items: center;
}
@media only screen and (max-width: 1366px) {
  .image_and_text_module .content.layout-side .section-image-container {
    width: 44%;
  }
}
@media only screen and (max-width: 890px) {
  .image_and_text_module .content.layout-side .section-image-container {
    width: 100%;
    margin-bottom: 20px;
  }
}
.image_and_text_module .content.layout-side .section-image-container .section-image {
  height: 500px;
  border-radius: 38px;
  width: 100%;
}
@media only screen and (max-width: 1440px) {
  .image_and_text_module .content.layout-side .section-image-container .section-image {
    height: 400px;
  }
}
@media only screen and (max-width: 1250px) {
  .image_and_text_module .content.layout-side .section-image-container .section-image {
    height: 350px;
  }
}
@media only screen and (max-width: 900px) {
  .image_and_text_module .content.layout-side .section-image-container .section-image {
    height: 500px;
  }
}
@media only screen and (max-width: 767px) {
  .image_and_text_module .content.layout-side .section-image-container .section-image {
    height: 400px;
  }
}
@media only screen and (max-width: 640px) {
  .image_and_text_module .content.layout-side .section-image-container .section-image {
    height: 300px;
  }
}
@media only screen and (max-width: 475px) {
  .image_and_text_module .content.layout-side .section-image-container .section-image {
    height: 200px;
  }
}
.image_and_text_module .content.layout-side .sections.section-text {
  align-items: center;
}
.image_and_text_module .content.layout-side .sections.section-text.img-left {
  padding: 0 80px 0 50px;
}
@media only screen and (max-width: 1099px) {
  .image_and_text_module .content.layout-side .sections.section-text.img-left {
    padding: 0 0px 0 50px;
  }
}
@media only screen and (max-width: 1099px) {
  .image_and_text_module .content.layout-side .sections.section-text.img-left {
    padding: 0 50px;
  }
}
@media only screen and (max-width: 580px) {
  .image_and_text_module .content.layout-side .sections.section-text.img-left {
    padding: 0;
  }
}
.image_and_text_module .content.layout-side .sections.section-text.img-right {
  padding: 0 50px 0 80px;
}
@media only screen and (max-width: 1099px) {
  .image_and_text_module .content.layout-side .sections.section-text.img-right {
    padding: 0 50px 0 0;
  }
}
@media only screen and (max-width: 1099px) {
  .image_and_text_module .content.layout-side .sections.section-text.img-right {
    padding: 0 50px;
  }
}
@media only screen and (max-width: 580px) {
  .image_and_text_module .content.layout-side .sections.section-text.img-right {
    padding: 0;
  }
}
@media only screen and (max-width: 1366px) {
  .image_and_text_module .content.layout-side .sections.section-text {
    width: 56%;
    padding: 0 2rem;
  }
}
@media only screen and (max-width: 890px) {
  .image_and_text_module .content.layout-side .sections.section-text {
    width: 100%;
  }
}
.image_and_text_module .content.layout-side.img-right {
  flex-direction: row-reverse;
}
@media only screen and (max-width: 890px) {
  .image_and_text_module .content.layout-side.img-right {
    flex-direction: column;
  }
}
.image_and_text_module .content.layout-stacked {
  flex-direction: column;
  align-items: center;
}
.image_and_text_module .content.layout-stacked .sections.section-text {
  padding: 50px 0 50px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 80%;
  max-width: none;
}
.image_and_text_module .content.layout-stacked .section-image-container {
  height: 25vw;
  display: flex;
  align-items: flex-end;
  width: 80%;
  margin: -10% auto 0 auto;
}
@media only screen and (max-width: 890px) {
  .image_and_text_module .content.layout-stacked .section-image-container {
    height: 350px;
    width: 100%;
  }
}
.image_and_text_module .content.layout-stacked .section-image-container .section-image {
  height: 100%;
  border-radius: 38px;
}
.image_and_text_module .content.layout-stacked .section-image-container img.mhflogo {
  height: 50%;
  margin-bottom: -40px;
}
@media only screen and (max-width: 890px) {
  .image_and_text_module .content.layout-stacked .section-image-container img.mhflogo {
    display: none;
  }
}
.image_and_text_module .content .sections {
  flex: 50%;
  max-width: 50vw;
  width: 50vw;
  height: auto;
  box-sizing: border-box !important;
}
.image_and_text_module .content .sections#image-carousel {
  display: flex;
  align-items: center !important;
  justify-content: center !important;
}
.image_and_text_module .content .sections.section-image {
  background-size: cover !important;
  background-position: center !important;
}
.image_and_text_module .content .sections.section-image .splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image_and_text_module .content .sections.section-image.video-popup {
  cursor: pointer;
}
.image_and_text_module .content .sections.section-image.video-popup::before {
  content: "";
  font-weight: 400;
  display: block;
  width: 30%;
  height: 30%;
  position: relative;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  background: url('/wp-content/themes/iBUILDiT/assets/play_icon.svg') no-repeat !important;
  background-position: center !important;
}
.image_and_text_module .content .sections.section-text {
  padding: 3rem 5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
}
.image_and_text_module .content .sections.section-text .text-wrap {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  width: 100%;
}
.image_and_text_module .content .sections.section-text .text-wrap .title {
  font-size: 53px;
  font-weight: 700;
  color: #1f5da6;
  width: 100%;
  margin-bottom: 1rem;
}
.image_and_text_module .content .sections.section-text .text-wrap .title strong {
  font-weight: 600;
}
.image_and_text_module .content .sections.section-text .text-wrap .title h2 {
  font-family: 'Inter' !important;
  font-weight: 600;
  font-size: 40px !important;
  color: #1f5da6 !important;
}
.image_and_text_module .content .sections.section-text .text-wrap .text {
  width: 100%;
  margin-bottom: 20px;
}
.image_and_text_module .content .sections.section-text .text-wrap .text p {
  line-height: 1.5 !important;
}
.image_and_text_module .content .sections.section-text .text-wrap p {
  margin-bottom: 2rem;
}
.image_and_text_module .content .sections.section-text .text-wrap .buttons {
  justify-content: flex-start;
}
.image_and_text_module .content .sections.section-text .text-wrap .buttons a:not(:last-child) {
  margin-right: 10px;
}
.image_and_text_module .content .sections.section-text ul {
  list-style: disc;
  padding-left: 22px;
}
.image_and_text_module .content .sbtn {
  padding: 8px 15px !important;
}
.image_and_text_module .content .sbtn.btn-dark:hover {
  background-color: white !important;
  color: #111636 !important;
}
.image_and_text_module .content .sbtn.btn-light:hover {
  background-color: #111636 !important;
  color: white !important;
}
@media only screen and (max-width: 475px) {
  .image_and_text_module .content .sbtn {
    min-width: 220px;
  }
}
@media only screen and (max-width: 375px) {
  .image_and_text_module .content .sbtn {
    min-width: 195px;
  }
}
@media only screen and (max-width: 1024px) {
  .image_and_text_module .content .sections {
    width: 100%;
    max-width: 100vw;
    height: 100%;
    flex-wrap: wrap;
  }
  .image_and_text_module .content .sections.section-image {
    min-height: 30vh !important;
  }
  .image_and_text_module .content .sections.section-text {
    padding: 3rem;
  }
  .image_and_text_module .content .sections.section-text .title {
    font-size: 2rem;
    line-height: 3rem;
  }
}
