.img-comp-container {
    position: relative;
    height: auto;
    overflow: hidden;
    display: none;
}
.img-comp-img {
    width: auto;
    height: 100%;
    display: block;
    position: relative;
}
.img-comp-overlay {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    height: 100%;
    width: 50%; /* Default */
}
/*.img-comp-overlay img {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}*/
.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 24px;
    background: rgba(255,255,255,0.5);
    border: 1px solid #999;
    cursor: ew-resize;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.img-comp-labels {
  display: flex;
  width: 100%;           /* or any fixed width */
  height: auto;         /* example height */
}
.img-comp-labels-child {
  flex: 1;               /* both boxes take equal space */
  padding: 20px;
  box-sizing: border-box;
}
.img-comp-labels-left {
  text-align: left;
}
.img-comp-labels-right {
  text-align: right;
}
