.image-comparator {
  width: 100%;
  display: inline-block;
  padding: 6px 6px 25px;

  .images {
    width: 100%;
    height: 97%;
    height: calc(100% - 35px);
    overflow: hidden;
    position: relative;
    a {
      max-width: inherit;
      &:hover img {
        opacity: 1.0;
      }
    }

    img {
      max-width: inherit !important;
      width: 100%;
      border: 0;
      padding: 0;
    }

    .left, .right {
      overflow: hidden;
      width: 100%;
    }
    .right {
      position: absolute;
      top: 0;
      left: 0;
    }
    .ic-clear {
      clear: both;
    }
  }

  .slider {
    bottom: 0;
    margin-top: 10px;
  }

  &.overlay {
    .left {
      position: absolute;
      top: 0;
      z-index: 1;
    }
    .right {
      position: relative;
      z-index: 0;
    }
  }

  .noUi-target {
    border-radius: 2px;
    border: 1px solid #c3c3c3;
  }

  .noUi-horizontal {
    height: 12px;
    .noUi-handle {
      width: 22px;
      height: 22px;
      border-radius: 2px;
      border-color: #c3c3c3;
      right: -10px;
      top: -6px;
      &:before, &:after {
        display: none;
      }
    }
  }
}

@media all and (max-width: 500px) {
  .image-comparator .noUi-horizontal .noUi-handle {
    width: 34px;
    height: 28px;
    right: -10px;
  }
}



