/* Images compare main container */
.images-compare-container {
    display: inline-block;
    position: relative;
    overflow: hidden;margin:6px 0 -8px;min-width: 100%;
}

/* Images compare front element */
.images-compare-before {
    will-change: clip;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;max-height: 100%;
}

/* Images compare back element */
.images-compare-after {
    pointer-events: none;
}

/* Responsive image settings */
.images-compare-before img, .images-compare-after img {
    max-width: 100%;width: 100%;
    height: auto;
    display: block;
}

/* Separator (thin vertical blank line) */
.images-compare-separator {
    position: absolute;
    background: #e8eaea;
    height: 100%;
    width: 4px;
    z-index: 4;
    left: -2px;
    top: 0;
}

/* Drag handle (circle) */
.images-compare-handle {
    height: 48px;
    width: 48px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -22px;
    margin-top: -24px;
    -webkit-border-radius: 1000px;
    -moz-border-radius: 1000px;
    border-radius: 1000px;
    -webkit-box-shadow: 0 0 12px rgba(51, 51, 51, 0.5);
    -moz-box-shadow: 0 0 12px rgba(51, 51, 51, 0.5);
    box-shadow: 0 0 12px rgba(51, 51, 51, 0.5);
    z-index: 4;
    background: #05c495;
    cursor: pointer;
}

/* Drag handle arrows */
.images-compare-left-arrow, .images-compare-right-arrow {
    width: 0;
    height: 0;
    border: 8px inset transparent;
    position: absolute;
    top: 50%;
    margin-top: -8px;
}

.images-compare-left-arrow {
    border-right: 8px solid #000;
    left: 50%;
    margin-left: -20px;
}

.images-compare-right-arrow {
    border-left: 8px solid #000;
    right: 50%;
    margin-right: -20px;
}

/* Label */
.images-compare-label {
    font-family: sans-serif;
    font-weight: bold;
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 1; margin:0;padding: 0;    line-height: 1;    font-size: 25px;
    color: #fff;
    pointer-events: none;
    display: none;
}

.images-compare-container .images-compare-label {
    display: inherit;
}

.images-compare-before .images-compare-label {
    left: 30px;
}

.images-compare-after .images-compare-label {
    left: auto;
    right: 30px;
}


@media screen and (max-width: 739px) {
    .images-compare-label {font-size: 22px;}
}

@media screen and (max-width: 439px) {
    .images-compare-label {font-size: 18px;bottom: 15px;}    
}