.image-slide {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
}

.image-slide .slide-content {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 36%;
  padding: 50px;
  font-size: 21px;
  line-height: 1.2;
  z-index: 2;
}

.image-slide .main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 500px;
}

.image-slide img.slide-overlay,
.image-slide picture.slide-overlay {
  position: absolute;
  top: -38%;
  right: 45%;
  opacity: 1;
  height: auto;
}
.image-slide picture.slide-overlay {
  width: 1000px;
  top: -25%;
}

.image-slide .slide-container:before {
  content: '';
  position: absolute;
  border: 5px solid var(--navy);
  left: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  width: 25%;
  border-right: 0px;
  z-index: 1;
  border-radius: 30px 0px 0px 30px;
}

.image-slide .slide-container:after {
  content: '';
  position: absolute;
  border: 5px solid var(--navy);
  right: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  width: 25%;
  border-left: 0px;
  z-index: 1;
  border-radius: 0px 30px 30px 0px;
}

.slide-container a.btn.btn-primary {
  margin-top: 13px;
}

.image-slide .slide-content h3 {
  text-align: left;
}

.img-slider-nav {
  position: absolute;
  top: 0;
  bottom: 0;
  font-size: 30px;
  border: 0px;
  background: transparent;
}

.img-slider-nav .icon svg {
  fill: var(--purple);
}

#ctas {
  position: relative;
}
#ctas img.teal-bkg-dot,
#ctas picture.teal-bkg-dot {
  position: absolute;
  z-index: 1;
  bottom: -4%;
  left: 1%;
  height: auto;
}

.image-dots.glider-dots {
  margin: 20px auto -20px;
}

@media (max-width: 992px) {
  .image-slide .slide-content {
    position: relative;
    width: 100%;
    margin: auto;
    text-align: center;
    color: var(--cream);
    background: transparent;
    font-size: 18px;
    padding: 25px;
  }

  .image-slide .slide-content h3,
  .image-slide .slide-content h2 {
    color: var(--cream);
    text-align: center;
  }

  .image-slide .slide-container:before,
  .image-slide .slide-container:after {
    display: none;
  }

  .img-slider-nav {
    position: absolute;
    top: 0;
    bottom: 0;
    font-size: 30px;
    border: 0px;
    background: transparent;
  }

  .image-slide {
    background: var(--navy);
  }

  .image-slide .btn {
    display: block;
    margin: auto;
  }

  #ctas img.teal-bkg-dot,
  #ctas picture.teal-bkg-dot {
    position: absolute;
    z-index: 1;
    bottom: -14%;
    left: 2%;
    height: auto;
    display: none;
  }

  .image-slide img.slide-overlay,
  .image-slide picture.slide-overlay {
    display: none;
  }
  .img-glider-container {
    border-radius: 0px;
  }
}

@media (min-width: 2000px) {
  #ctas img.teal-bkg-dot,
  #ctas picture.teal-bkg-dot {
    display: none;
  }
}
