.glidy--compare-imgs-wrapper {
  position: relative;
  width: 100%;
  margin: 20px 0;
}

.glidy--compare-image {
    position: relative;
    width: 100%;
    margin: 0;
    border: 5px white solid;
    box-sizing: border-box;
}

.glidy--compare-image > img {
    width: 100%;
    height: auto;
    display: block;
}

.glidy--compare-image .img-caption {
    position: absolute;
    width: 250px;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 10px;
    box-sizing: border-box;
    color: #DDD;
    text-align: right;
}

.glidy--compare-image .resize {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
}

.glidy--compare-image .resize > img {
    display: block;
    max-width: unset;
}

.glidy--compare-image .resize .img-caption {
    right: auto;
    left: 20px;
    text-align: left;
}

.glidy--compare-image .divider {
    position: absolute;
    width: 2px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    left: 50%;
    top: 0;
    bottom: 0;
    margin-left: -1px;
    cursor: ew-resize;
}

.glidy--compare-image .divider::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    left: -9px;
    top: 50%;
    margin-top: -10px;
    background-color: white;
    transform: rotate(45deg);
    transition: all 0.1s ease-in-out;
}

.glidy--compare-image .divider::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    left: -5px;
    top: 50%;
    margin-top: -6px;
    background-color: white;
    transform: rotate(45deg);
    transition: all 0.1s ease-in-out;
}

.glidy--compare-image .divider.draggable::before {
    width: 30px;
    height: 30px;
    left: -14px;
    margin-top: -15px;
}

.glidy--compare-image .divider.draggable::after {
    width: 20px;
    height: 20px;
    left: -9px;
    margin-top: -10px;
    background-color: #555;
}

.glidy--compare-imgs-wrapper .global-caption {
    position: relative;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    font-size: 12px;
    font-style: italic;
}
