.twentytwenty-horizontal .twentytwenty-handle:before,
.twentytwenty-horizontal .twentytwenty-handle:after,
.twentytwenty-vertical .twentytwenty-handle:before,
.twentytwenty-vertical .twentytwenty-handle:after {
  content: " ";
  display: block;
  background: #fff;
  position: absolute;
  z-index: 30;
  }
.twentytwenty-horizontal .handle_black .twentytwenty-handle:before,
.twentytwenty-horizontal .handle_black .twentytwenty-handle:after,
.twentytwenty-vertical .handle_black .twentytwenty-handle:before,
.twentytwenty-vertical .handle_black .twentytwenty-handle:after {
  background: #000;
}

.twentytwenty-horizontal .twentytwenty-handle:before, .twentytwenty-horizontal .twentytwenty-handle:after {
  width: calc(3 / 1920 * 100vw);
  height: calc(9999 / 1920 * 100vw);
  left: 50%;
  margin-left: calc(-1.5 / 1920 * 100vw); }

.twentytwenty-vertical .twentytwenty-handle:before, .twentytwenty-vertical .twentytwenty-handle:after {
  width: calc(9999 / 1920 * 100vw);
  height: calc(3 / 1920 * 100vw);
  top: 50%;
  margin-top: calc(-1.5 / 1920 * 100vw); }

.twentytwenty-before-label, .twentytwenty-after-label, .twentytwenty-overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%; }

.twentytwenty-before-label, .twentytwenty-after-label, .twentytwenty-overlay {
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  transition-duration: 0.5s; }

.twentytwenty-before-label, .twentytwenty-after-label {
  -webkit-transition-property: opacity;
  -moz-transition-property: opacity;
  transition-property: opacity; }

.twentytwenty-before-label:before, .twentytwenty-after-label:before {
  color: #fff;
  font-size: calc(13 / 1920 * 100vw);
  letter-spacing: 0.1em;
}
.handle_black .twentytwenty-before-label:before,
.handle_black .twentytwenty-after-label:before {
  color: #fff;
}

.twentytwenty-before-label:before, .twentytwenty-after-label:before {
  position: absolute;
  background: rgba(255, 255, 255, 0.2);
  line-height: calc(38 / 1920 * 100vw);
  padding: 0 calc(20 / 1920 * 100vw);
  -webkit-border-radius: calc(2 / 1920 * 100vw);
  -moz-border-radius: calc(2 / 1920 * 100vw);
  border-radius: calc(2 / 1920 * 100vw); }


.twentytwenty-horizontal .twentytwenty-before-label:before, .twentytwenty-horizontal .twentytwenty-after-label:before {
  top: 50%;
  margin-top: calc(-19 / 1920 * 100vw); }

.twentytwenty-vertical .twentytwenty-before-label:before, .twentytwenty-vertical .twentytwenty-after-label:before {
  left: 50%;
  margin-left: calc(-45 / 1920 * 100vw);
  text-align: center;
  width: calc(90 / 1920 * 100vw); }

.twentytwenty-left-arrow, .twentytwenty-right-arrow, .twentytwenty-up-arrow, .twentytwenty-down-arrow {
  width: 0;
  height: 0;
  border-width: calc(6 / 1920 * 100vw);
  border-style: inset;
  border-color: transparent;
  position: absolute; }

.twentytwenty-left-arrow, .twentytwenty-right-arrow {
  top: 50%;
  margin-top: calc(-6 / 1920 * 100vw); }

.twentytwenty-up-arrow, .twentytwenty-down-arrow {
  left: 50%;
  margin-left: calc(-6 / 1920 * 100vw); }

.twentytwenty-container {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  z-index: 0;
  overflow: hidden;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none; }
  .twentytwenty-container img {
    max-width: 100%;
    position: absolute;
    top: 0;
    display: block;
    user-select: none;
  }
  .twentytwenty-container.active .twentytwenty-overlay, .twentytwenty-container.active :hover.twentytwenty-overlay {
    background: rgba(0, 0, 0, 0); }
    .twentytwenty-container.active .twentytwenty-overlay .twentytwenty-before-label,
    .twentytwenty-container.active .twentytwenty-overlay .twentytwenty-after-label, .twentytwenty-container.active :hover.twentytwenty-overlay .twentytwenty-before-label,
    .twentytwenty-container.active :hover.twentytwenty-overlay .twentytwenty-after-label {
      opacity: 0; }
  .twentytwenty-container * {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box; }

.twentytwenty-before-label {
  opacity: 0; }
  .twentytwenty-before-label:before {
    content: attr(data-content); }

.twentytwenty-after-label {
  opacity: 0; }
  .twentytwenty-after-label:before {
    content: attr(data-content); }

.twentytwenty-horizontal .twentytwenty-before-label:before {
  left: calc(10 / 1920 * 100vw); }

.twentytwenty-horizontal .twentytwenty-after-label:before {
  right: calc(10 / 1920 * 100vw); }

.twentytwenty-vertical .twentytwenty-before-label:before {
  top: calc(10 / 1920 * 100vw); }

.twentytwenty-vertical .twentytwenty-after-label:before {
  bottom: calc(10 / 1920 * 100vw); }

.twentytwenty-overlay {
  -webkit-transition-property: background;
  -moz-transition-property: background;
  transition-property: background;
  background: rgba(0, 0, 0, 0);
  z-index: 25; }
  .twentytwenty-overlay:hover {
    background: rgba(0, 0, 0, 0.5); }
    .twentytwenty-overlay:hover .twentytwenty-after-label {
      opacity: 1; }
    .twentytwenty-overlay:hover .twentytwenty-before-label {
      opacity: 1; }

.twentytwenty-before {
  z-index: 20; }

.twentytwenty-after {
  z-index: 10; }
/* 
.twentytwenty-handle {
  height: calc(38 / 1920 * 100vw);
  width: calc(38 / 1920 * 100vw);
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: calc(-22 / 1920 * 100vw);
  margin-top: calc(-22 / 1920 * 100vw);
  border-width: calc(3 / 1920 * 100vw);
  border-style: solid;
  border-color: #fff;
  -webkit-border-radius: calc(1000 / 1920 * 100vw);
  -moz-border-radius: calc(1000 / 1920 * 100vw);
  border-radius: calc(1000 / 1920 * 100vw);
  z-index: 40;
  cursor: pointer;
}
.handle_black .twentytwenty-handle {
  border-width: calc(3 / 1920 * 100vw);
  border-style: solid;
  border-color: #000;
}

.twentytwenty-horizontal .twentytwenty-handle:before {
  bottom: 50%;
  margin-bottom: calc(22 / 1920 * 100vw);
}
.twentytwenty-horizontal .twentytwenty-handle:after {
  top: 50%;
  margin-top: calc(22 / 1920 * 100vw);
}

.twentytwenty-vertical .twentytwenty-handle:before {
  left: 50%;
  margin-left: calc(22 / 1920 * 100vw);
}
.twentytwenty-vertical .twentytwenty-handle:after {
  right: 50%;
  margin-right: calc(22 / 1920 * 100vw);
}

.twentytwenty-left-arrow {
  border-right-width: calc(6 / 1920 * 100vw);
  border-right-color: #fff;
  border-right-style: solid;
  left: 50%;
  margin-left: calc(-17 / 1920 * 100vw); }

.twentytwenty-right-arrow {
  border-left-width: calc(6 / 1920 * 100vw);
  border-left-color: #fff;
  border-left-style: solid;
  right: 50%;
  margin-right: calc(-17 / 1920 * 100vw); }

.twentytwenty-up-arrow {
  border-bottom-width: calc(6 / 1920 * 100vw);
  border-bottom-color: #fff;
  border-bottom-style: solid;
  top: 50%;
  margin-top: calc(-17 / 1920 * 100vw); }

.twentytwenty-down-arrow {
  border-top-width: calc(6 / 1920 * 100vw);
  border-top-color: #fff;
  border-top-style: solid;
}

.handle_black .twentytwenty-left-arrow {
  border-right-width: calc(6 / 1920 * 100vw);
  border-right-color: #000;
  border-right-style: solid;
}

.handle_black .twentytwenty-right-arrow {
  border-left-width: calc(6 / 1920 * 100vw);
  border-left-color: #000;
  border-left-style: solid;
}

.handle_black .twentytwenty-up-arrow {
  border-bottom-width: calc(6 / 1920 * 100vw);
  border-bottom-color: #fff;
  border-bottom-style: solid;
}

.handle_black .twentytwenty-down-arrow {
  border-top-width: calc(6 / 1920 * 100vw);
  border-top-color: #000;
  border-top-style: solid;
} */

.handle_black .twentytwenty-handle {
  border-color: #000;
}
.handle_black .twentytwenty-handle > span {
  filter: invert();
}
