/*! http://responsiveslides.com v1.54 by @viljamis */

.ccm-image-slider {
  position: relative;
}

.aw_slider-custom .ccm-image-slider-text {
  position: absolute;
  width: 60%;
  left: 50%;
  bottom: 30%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
}

.ccm-image-slider-title {
  margin-top: auto;
}

.testimonial-slider h2.ccm-image-slider-title {
	color: white!important;
}

.ccm-image-slider-container a.mega-link-overlay {
  position: absolute;
  z-index: 20;
  width: 100%;
  height: 100%;
  left: 0px;
}

.rslides {
  margin: 0 auto;
}

.ccm-image-slider-container::before {
  position: absolute;
  content: "";
  display: block;
  height: 400px;
  width: 100%;
  background-color: rgb(12, 110, 17);
  top: -300px;
  left: 0;
  transform: skewY(-8deg);
  z-index: 3;
}

/* Additional */

.ccm-image-slider-container .container {
  position: absolute;
  height: 350px;

  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
@media (max-width: 768px) {
  .ccm-image-slider-container .container {
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .ccm-image-slider-container .tersus-machine-image {
    position: relative !important;
    height: 250px;
  }
}
.ccm-image-slider-container .tersus-machine-image {
  background: url("tersus-machine-1.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;

  position: absolute;
  top: 0;
  right: -175px;
  bottom: 0;
  width: 175px;
}

@media (min-width: 768px) {
  .ccm-image-slider-container::before {
    height: 500px;
  }

  .ccm-image-slider-container .tersus-machine-image {
    right: 0;
  }
}

@media (min-width: 991px) {
  .aw_slider-custom .ccm-image-slider::after {
    height: 150px;
  }
}

@media (min-width: 991px) {
  .aw_slider-custom .ccm-image-slider::after {
    height: 250px;
  }
}

@media (min-width: 1200px) {
  .aw_slider-custom .ccm-image-slider::after {
    height: 300px;
  }
}
