#video-compare-container {
  position: relative;
  height: 100%;
  min-height: 100%;
  -ms-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -webkit-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out; }

#video-compare-container > video, #video-clipper .video-wrap video {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -100;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%); }

#video-clipper {
  width: 50%;
  height: 100%;
  z-index: 1;
  min-height: 100%;
  position: relative;
  overflow: hidden; }
  #video-clipper .video-wrap {
    min-width: 100vw;
    min-height: 100vh;
    height: auto;
    width: auto;
    position: relative; }


  @media screen and (max-device-width: 1024px){ 
    #video-clipper .video-wrap {
    min-height: 550px; }
    .afterbefore {
      height: 550px;
    }
  }
