.banner-image-wrapper-color{
  position: relative;
  overflow: hidden;
  background: #fff;
  height: 520px;
  /*display:flex;
  align-items:center;*/
}

.banner-image-wrapper-color::after{
  content: "";
  display: inline-block;
  width: 100%;
  height: 11px;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 3;
  background: url(https://www.umsl.edu/workforce/files/images/awc-colorblock-2.jpg);
  background-position: 50px -4px;
}
.banner-video-wrapper{
    display:flex;
    align-items:center;
    height:auto;
}
/* Right image */
.banner-image{
  position: absolute;
  top: 0;
  right: -20%;
  height: 100%;
  width: auto;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
}

/* Desktop overlay is hidden.
   The content container will provide the red background instead. */
@media (min-width: 768px) {
    .banner-image-wrapper-color .image-overlay {
        display: none;
    }
}

.border__gold{
  border: 2px solid #eab000;
}
/* Desktop: content container becomes the red panel */
@media (min-width: 768px) {

        .banner-image-wrapper-color .image-hero--content {
        position: absolute;

        top: 50%;
        left: 0;

        width: 50%;
        height: auto;

        margin: 0;

        padding:
            clamp(2.5rem, 4vw, 4rem)
            clamp(2rem, 5vw, 6rem);

        display: block;

        background: rgba(186, 12, 47, 0.95);
        color: #fff;

        box-sizing: border-box;

        z-index: 2;

        transform: translateY(-50%);
    }

}
.video-hero--content a.btn.btn-primary{
    color: #fff !important;
    border: 2px solid #fff !important;
    text-decoration: none !important;
    width:200px;
}
.video-hero--content a.btn.btn-primary:hover {
  background: #fff;
  color: #ba0c2f !important;
  text-decoration: none !important;
}
.video-hero--content{
  z-index: 1;
  width: 45%;
  margin: 0;
      display: flex;
    flex-direction: column;
    justify-content: center;
}
.video-hero--content p{
    width:100%!important
}
.banner-image-wrapper-color .image-hero--content h1 {
    margin: 0 !important;
    padding: 0;

    color: #fff !important;
    line-height: 1.1 !important;
    text-transform: uppercase;
}
@media (max-width: 767px) {
    .video-hero--content {
        top:50%;
        bottom:50%;
    }
}
.image-hero--content .umsl-secondary-text{
  color: #fff;
}
@media screen and (max-width: 1199px) {
    .video-hero--content {
        top: inherit;
    }
}
@media (min-width: 576px){
     .video-hero--content{
         max-width: 540px;
    }
}
@media (min-width: 768px){
     .video-hero--content{
         max-width: 720px;
    }
}
@media (min-width: 992px){
  .video-hero--content{ max-width: 960px; }
}
@media (min-width: 1200px){
  .video-hero--content{ max-width: 1140px; }
}
@media (min-width: 1400px){
  .video-hero--content{ max-width: 1320px; }
}

.demo-video-wrapper{
  background: #fff !important;
}

@media screen and (min-width: 20em){
  .banner-image-wrapper-color .image-hero--content h1{
    font-size: calc(2.2rem + 1.4 * ((100vw - 20em) / 80));
    line-height: 1.1;
  }
}
@media screen and (min-width: 1440px) {
    .banner-image-wrapper-color .image-hero--content h1 {
        font-size: 60px;
    }
}
@media screen and (max-width: 576px){
  h1{ width: 100%; }
}

@media (max-width: 992px){
  .banner-image{
    right: -10%;
    height: 100%;
    object-position: inherit;
  }
}

@media (max-width: 767.98px){
  .banner-image-wrapper-color{
    height: 350px;
  }

  .banner-image{
    position: relative;
    width: 100%;
    height: 100%;
    right: auto;
    object-fit: cover;
  }


  .banner-image-wrapper-color .image-overlay{
    display: block;
    position: absolute;
    left: 0;
    right: auto;
    width: 100%;
    height: 100%;
    top: 0;
    background: linear-gradient(
      60deg,
      #ba0c2f,
      rgba(186, 12, 47, 0.97) 14.29%,
      rgba(186, 12, 47, 0.91) 25.32%,
      rgba(186, 12, 47, 0.82) 33.77%,
      rgba(186, 12, 47, 0.72) 40.26%,
      rgba(186, 12, 47, 0.60) 45.45%,
      rgba(186, 12, 47, 0.48) 50%,
      rgba(186, 12, 47, 0.36) 54.55%,
      rgba(186, 12, 47, 0.25) 59.74%,
      rgba(186, 12, 47, 0.15) 66.23%,
      rgba(186, 12, 47, 0.07) 74.68%,
      rgba(186, 12, 47, 0.02) 85.71%,
      rgba(186, 12, 47, 0)
    );
    translate:inherit;
    transform:initial;
  }

  .image-hero--content,
  .video-hero--content{
    width:auto;
    max-width: none;
    position: absolute;
    left: 0;
    right: 0;
    padding-left: 15px;
    padding-right: 15px;
  }
  .banner-image-wrapper-color .image-hero--content {
    top: 50%;
    height: auto;

    padding: 15px;

    background: transparent;

    transform: translateY(-50%);
}
  .video-hero--content{
      top:0;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .visible-md {
        display: block !important;
    }
}

/* Desktop only (Bootstrap 3 lg is 1200px+) */
@media (min-width: 1200px){
  .banner-image-wrapper-color.demo-video-wrapper{
    display: flex;
  }
}

/* Mobile + tablet (xs, sm, md) */
@media (max-width: 1199px){
  .banner-image-wrapper-color.video-wrapper{
        display: grid;
        align-items: center;
  }
}
.display-text{
    font-size: clamp(32px, 4vw, 44px);
}
h2 .feature-overlay__heading{ font-size: clamp(32px, 4vw, 44px);}
.parallax{background-size:90%}

/* ============================================================
   AWC IMAGE HERO - FINAL DESKTOP OVERRIDE
   ============================================================ */

@media (min-width: 768px) {

    /* Hide the original empty overlay on desktop */
    .banner-image-wrapper-color > .image-overlay {
        display: none !important;
    }

    /* Use the content area itself as the red panel */
    .banner-image-wrapper-color > .image-hero--content {
        position: absolute !important;

        top: 50% !important;
        left: 0 !important;
        right: auto !important;

        width: 50% !important;

        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        margin: 0 !important;

        padding: 3rem 5rem !important;

        display: block !important;

        background: rgba(186, 12, 47, 0.95) !important;
        color: #fff !important;

        transform: translateY(-50%) !important;

        box-sizing: border-box !important;
        z-index: 2 !important;
    }

    .banner-image-wrapper-color > .image-hero--content h1 {
        margin: 0 0 1rem 0 !important;
        padding: 0 !important;

        color: #fff !important;
        line-height: 1.1 !important;
        text-transform: uppercase;
    }

    .banner-image-wrapper-color > .image-hero--content .umsl-secondary-text {
        display: block;
        margin: 0;
        padding: 0;
        color: #fff !important;
    }
}


/* Preserve original large AWC heading */
@media (min-width: 1440px) {

    .banner-image-wrapper-color > .image-hero--content h1 {
        font-size: 60px !important;
    }

}
