.cocoen {
  box-sizing: border-box;
  cursor: pointer;
  line-height: 0;
  margin: 0;
  /* overflow: hidden; */
  padding: 0 0 2vw 0;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.cocoen * {
  box-sizing: inherit;
}

.cocoen ::after,
.cocoen ::before {
  box-sizing: inherit;
}

.cocoen img,
.cocoen picture>img {
  max-width: none;
  display: block;
  user-select: none;
}

.cocoen>img,
.cocoen>picture>img {
  display: block;
  width: 100%;
}

.cocoen>div:first-child,
picture .cocoen>div {
  height: 100%;
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  width: 50%;
}

.cocoen>input.range {
  position: absolute;
  left: 0;
  bottom: -5%;
  width: 100%;
  margin: 0;
}

.cocoen-drag {
  background: #fff;
  bottom: 0;
  cursor: ew-resize;
  left: 50%;
  margin-left: -1px;
  position: absolute;
  top: 0;
  width: 2px;
}

.cocoen-drag::before {
  position: absolute;
  content: '';
  left: 50%;
  bottom: -3%;
}

.cocoen-drag::after {
  position: absolute;
  content: '';
  display: inline-block;
  bottom: -2.5%;
  left: 50%;
}
