

html, body {
  /* margin, padding, background, font-family are inherited from baseInteractive.css */
 
}

.interactive-container {
  /* Inherits from baseInteractive.css: position, width: 100%, margin: 0, border-radius: 0, overflow: hidden */
  /* Specific overrides/additions for compare.html mobile view */
  
}

.interactive-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.before.fade {
  z-index: 2;
  opacity: 0.5;
}

.before.swipe {
  z-index: 2;
}

.slider-bar {
  position: absolute;
  background: white;
  z-index: 3;
  cursor: grab;
}

.handle {
  position: absolute;
  background: white;
  border-radius: 50%;
  translate: 2px 0;
}

.fade-slider {
  width: 100%;
  max-width: 960px;
  margin: 1rem auto 0 auto;
  display: block;
}

.fade-slider.hidden,
.slider-bar.hidden {
  display: none;
  
}

@media (min-width: 1150px) {
  .interactive-container {
    /* Inherits from baseInteractive.css: max-width, margin, border-radius, height: auto, max-height: none */
    /* Specific overrides/additions for compare.html desktop view */
    
  }
}
