.wave-image-module {
  position: relative;
}

@media only screen and (max-width: 768px) {
  .wave-image-module.wave-hidden::after {
    display: none!important;
  }
  
  {# These reset the offset adjustments field inputs for mobile #}
  body .wave-image-module {
    width: 100%!important;
    margin: 0!important;
  }
}

.wave-image-module.bottom::after {
  background-image: url('https://www.buddyhealthcare.com/hubfs/assets/graphical-elements/bhc_header_wave_white.png');
  background-position: bottom;
}

.wave-image-module.top::after {
  background-image: url('https://www.buddyhealthcare.com/hubfs/assets/graphical-elements/bhc_header_wave_white.png');
  background-position: bottom;
  transform: rotate(180deg);
}

.wave-image-module.right::after {
  background-image: url('https://www.buddyhealthcare.com/hubfs/assets/graphical-elements/wave_left.png');
  background-position: right;
  background-size: 64px 100%;
}

.wave-image-module.right.reverse-wave::after {
  transform: scaleY(-1);
}

.wave-image-module.left.reverse-wave::after {
  transform: scaleX(-1);
}

.wave-image-module.left::after {
  background-image: url('https://www.buddyhealthcare.com/hubfs/assets/graphical-elements/wave_left.png');
  background-position: right;
  transform: rotate(180deg);
  background-size: 64px 100%;
}

.wave-image-module::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  background-repeat: no-repeat;
  background-size: 100% 64px;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.wave-image-module img {
  width: 100%;
  max-width: 100%;
  height: auto;
}

{# Color over image field #}
.wave-image-color{
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}

{# START the full-height toggle option #}

.wave-full-height {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.wave-full-height img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media only screen and (max-width: 768px) {
  .wave-full-height img {
    height: auto;
    object-fit: initial;
  }
  
  .wave-full-height {
    position: relative;
  }
}

{# END the full-height toggle option #}