/* ==========================================================================
   DIJITALIST UP - HOMEPAGE BEFORE AFTER SLIDER STYLES
   ========================================================================== */

.dj-ba-slider {
  position: relative !important;
  width: 100% !important;
  height: 380px !important;
  overflow: hidden !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  cursor: ew-resize !important;
  background-color: #0f172a !important;
  touch-action: none !important;
}

.dj-ba-after,
.dj-ba-before {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.dj-ba-after {
  width: 100% !important;
  z-index: 1 !important;
}

.dj-ba-before {
  width: 50% !important;
  z-index: 2 !important;
  overflow: hidden !important;
  border-right: 2px solid #c59b27 !important;
  pointer-events: none !important;
}

.dj-ba-divider {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 50% !important;
  width: 2px !important;
  background-color: #c59b27 !important;
  z-index: 5 !important;
  transform: translateX(-50%) !important;
  pointer-events: none !important;
}

.dj-ba-handle {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 38px !important;
  height: 38px !important;
  background: #0f172a !important;
  border: 2px solid #c59b27 !important;
  border-radius: 50% !important;
  color: #c59b27 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.9rem !important;
  font-weight: bold !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.45) !important;
  pointer-events: none !important;
}

@media (max-width: 767px) {
  .dj-ba-slider {
    height: 280px !important;
  }
}