.text-image {
  z-index: 3 !important;
}
.text-image .col-lg-5 {
  max-height: 100%;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  /* height: 100%; */
  margin-top: -3rem;
}
@media (min-width: 992px) {
  .text-image .col-lg-5 {
    /* position: absolute; */
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
  }
}
.text-image .col-lg-5.order-lg-1 {
  /* left: 0; */
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  z-index: 0;
}
@media (max-width: 991px) {
  .text-image .col-lg-5.order-1 {
    /* left: 0; */
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    z-index: 0;
  }
}
.text-image .col-lg-5.order-lg-2 {
  right: 0;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
@media (max-width: 991px) {
  .text-image .col-lg-5.order-2 {
    right: 0;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}
.text-image .col-lg-5 picture {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
}
.text-image .col-lg-5 picture img {
  max-height: 100%;
}
.text-image .col-lg-5 > * {
  z-index: 1;
  max-height: 100%;
}
.text-image .col-lg-5.order-lg-1 > * {
  /* margin-left: -15px; */
}
@media (max-width: 991px) {
  .text-image .col-lg-5.order-1 > * {
    /* margin-left: -15px; */
  }
}
.text-image .col-lg-5.order-lg-2 > * {
  margin-right: -15px;
}
@media (max-width: 991px) {
  .text-image .col-lg-5.order-2 > * {
    margin-right: -15px;
  }
}
