.custom-slider-2 {
  position: relative;
  width: 100%;
  margin: 0 auto;
  max-width: 1200px;
}

.custom-slider-2 .swiper {
  width: 90%;
  margin-left: 5%;
  margin-right: 5%;
  position: static !important;
}
.custom-slider-2 .swiper .swiper-wrapper {
  position: static !important;
}
.custom-slider-2 .swiper-button-prev,
.custom-slider-2 .swiper-button-next {
  position: absolute !important;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #5096B4;
}
.custom-slider-2 .swiper-button-prev::after,
.custom-slider-2 .swiper-button-next::after {
  color: #fff;
  font-size: 14px;
}

.custom-slider-2 .swiper-button-prev {
  left: calc(5% - 15px) !important;
  background-image: none !important;
}

.custom-slider-2 .swiper-button-next {
  right: calc(5% - 15px) !important;
  background-image: none !important;
}

.custom-slider-2 .swiper-pagination {
  bottom: 1.25rem !important;
}

.custom-slider-2 .swiper-slide {
  width: 18.75rem;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */ /* IE10+/Edge */
  user-select: none;
}

.custom-slider-2 .swiper-3d .swiper-slide-shadow-left,
.custom-slider-2 .swiper-3d .swiper-slide-shadow-right {
  background-image: none;
}

@media only screen and (max-width: 768px) {
  .custom-slider-2 .swiper {
    margin-left: 0 !important;
    width: 100% !important;
  }
  .custom-slider-2 .swiper-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
  }
  .custom-slider-2 .swiper-button-prev {
    top: auto !important;
    left: auto !important;
    position: static !important;
    margin-right: 5px;
  }
  .custom-slider-2 .swiper-button-next {
    top: auto !important;
    right: auto !important;
    position: static !important;
    margin-left: 5px;
  }
}
/*----------*/
.custom-slider-2 .custom-container {
  height: 350px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: #5096B4;
}
.custom-slider-2 img {
  width: 100% !important;
  height: 100% !important;
  position: absolute !important;
  opacity: 0.5;
  object-fit: cover;
}
.custom-slider-2 .before-images {
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  opacity: 1;
}
.custom-slider-2 .before-after-slide-range {
  position: relative;
  -webkit-appearance: none;
  width: calc(100% + 40px);
  height: 100%;
  margin-left: -20px;
  background-color: transparent;
  outline: none;
}
.custom-slider-2 .before-after-slide-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 35px;
  width: 35px;
  background: url("https://www.svgrepo.com/show/414886/chevron-right-navigation.svg"),
    #fff;
  border: 3px solid white;
  border-radius: 50%;
  background-size: contain;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.before-after-slider-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50, 0);
  width: 3px;
  height: 100%;
  background-color: #fff;
  z-index: 0;
}
@media only screen and (max-width: 768px) {
  .custom-slider-2 .custom-container {
    height: 300px;
  }
}
@media only screen and (max-width: 668px) {
  .custom-slider-2 .custom-container {
    height: 270px;
  }
}
@media only screen and (max-width: 540px) {
  .custom-slider-2 .custom-container {
    height: 200px;
  }
}
/* Before After Comp */
.elementskit-image-comparison {
  background-color: #5096B4 !important;
}
.elementskit-image-comparison .twentytwenty-after {
  opacity: 0.5;
}
.custom-slider-2 .swiper-slide .before-after-slide-range{
	pointer-events:none;
}
.custom-slider-2 .swiper-slide-active .before-after-slide-range, .custom-slider-2 .swiper-slide-duplicate-active .before-after-slide-range{
	pointer-events:inherit;
}

