/**************** Premium Image Comparison *******************/
/*************************************************************/
.premium-image-comparison-wrap {
    overflow: hidden;
    position: relative !important;
}

.premium-img-compare-horizontal .premium-twentytwenty-handle:before,
.premium-img-compare-horizontal .premium-twentytwenty-handle:after,
.premium-img-compare-vertical .premium-twentytwenty-handle:before,
.premium-img-compare-vertical .premium-twentytwenty-handle:after {
    content: " ";
    display: block;
    position: absolute;
    z-index: 30;
}

.premium-img-compare-horizontal .premium-twentytwenty-handle:before,
.premium-img-compare-horizontal .premium-twentytwenty-handle:after {
    width: 3px;
    height: 9999px;
    right: 50%;
    background: #54595f;
}

.premium-img-compare-vertical .premium-twentytwenty-handle:before,
.premium-img-compare-vertical .premium-twentytwenty-handle:after {
    width: 9999px;
    height: 3px;
    top: 50%;
    background: #54595f;
}

.premium-twentytwenty-overlay {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    border-color: #000;
}

.premium-twentytwenty-before-label,
.premium-twentytwenty-after-label {
    position: absolute;
    border-color: #000;
}

.premium-twentytwenty-before-label span,
.premium-twentytwenty-after-label span {
    font-size: 22px;
    padding: 6px 20px;
    border-color: #000;
}

.premium-img-compare-horizontal .premium-twentytwenty-before-label.premium-twentytwenty-before-label-middle,
.premium-img-compare-horizontal .premium-twentytwenty-after-label.premium-twentytwenty-after-label-middle {
    top: 50%;
    margin-top: -19px;
}

.premium-img-compare-horizontal .premium-twentytwenty-before-label.premium-twentytwenty-before-label-top,
.premium-img-compare-horizontal .premium-twentytwenty-after-label.premium-twentytwenty-after-label-top {
    top: 0%;
}

.premium-img-compare-horizontal .premium-twentytwenty-before-label.premium-twentytwenty-before-label-bottom,
.premium-img-compare-horizontal .premium-twentytwenty-after-label.premium-twentytwenty-after-label-bottom {
    bottom: 0;
}

.premium-img-compare-vertical .premium-twentytwenty-before-label,
.premium-img-compare-vertical .premium-twentytwenty-after-label {
    text-align: center;
}

.premium-img-compare-vertical .premium-twentytwenty-before-label.premium-twentytwenty-before-label-left,
.premium-img-compare-vertical .premium-twentytwenty-after-label.premium-twentytwenty-after-label-left {
    right: 0;
}

.premium-img-compare-vertical .premium-twentytwenty-before-label.premium-twentytwenty-before-label-center,
.premium-img-compare-vertical .premium-twentytwenty-after-label.premium-twentytwenty-after-label-center {
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
}

.premium-img-compare-vertical .premium-twentytwenty-before-label.premium-twentytwenty-before-label-right,
.premium-img-compare-vertical .premium-twentytwenty-after-label.premium-twentytwenty-after-label-right {
    left: 0;
}

.premium-img-compare-horizontal .premium-twentytwenty-before-label {
    right: 10px;
}

.premium-img-compare-vertical .premium-twentytwenty-before-label {
    top: 10px;
}

.premium-img-compare-horizontal .premium-twentytwenty-after-label {
    left: 10px;
}

.premium-img-compare-vertical .premium-twentytwenty-after-label {
    bottom: 10px;
}

.premium-twentytwenty-left-arrow,
.premium-twentytwenty-right-arrow,
.premium-twentytwenty-up-arrow,
.premium-twentytwenty-down-arrow {
    width: 0;
    height: 0;
    border: 6px inset transparent;
    position: absolute;
}

.premium-twentytwenty-left-arrow,
.premium-twentytwenty-right-arrow {
    top: 50%;
    margin-top: -6px;
}

.premium-twentytwenty-up-arrow,
.premium-twentytwenty-down-arrow {
    right: 50%;
    margin-right: -6px;
}

.premium-twentytwenty-container {
    box-sizing: content-box;
    z-index: 0;
    overflow: hidden;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.premium-twentytwenty-container .premium-twentytwenty-before,
.premium-twentytwenty-container .premium-twentytwenty-after {
    width: 100%;
    min-height: 100%;
    position: absolute;
    top: 0;
    display: block;
}

.premium-twentytwenty-container.active .premium-twentytwenty-overlay,
.premium-twentytwenty-container.active:hover .premium-twentytwenty-overlay {
    background: rgba(0, 0, 0, 0);
}

.premium-twentytwenty-container * {
    box-sizing: content-box;
}

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

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

.premium-twentytwenty-overlay {
    -webkit-transition: background 0.3s ease-in-out;
    transition: background 0.3s ease-in-out;
    z-index: 25;
}

.premium-twentytwenty-overlay.premium-twentytwenty-show:hover {
    background: rgba(110, 193, 228, 0.3);
}

.premium-twentytwenty-overlay.premium-twentytwenty-hide {
    background-color: transparent;
}

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

.premium-twentytwenty-after {
    z-index: 10;
}

.premium-twentytwenty-handle {
    height: 38px;
    width: 38px;
    position: absolute;
    right: 50%;
    top: 50%;
    border: 3px solid #54595f;
    border-radius: 50%;
    box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
    z-index: 40;
    cursor: pointer;
}

.premium-img-compare-horizontal .premium-twentytwenty-handle {
    -webkit-transform: translateX(50%) translateY(-50%);
    -ms-transform: translateX(50%) translateY(-50%);
    transform: translateX(50%) translateY(-50%);
}

.premium-img-compare-vertical .premium-twentytwenty-handle {
    -webkit-transform: translateX(50%) translateY(-50%);
    -ms-transform: translateX(50%) translateY(-50%);
    transform: translateX(50%) translateY(-50%);
}

.premium-img-compare-horizontal .premium-twentytwenty-handle:before {
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
    bottom: 100%;
}

.premium-img-compare-horizontal .premium-twentytwenty-handle:after {
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
    top: 100%;
}

.premium-img-compare-vertical .premium-twentytwenty-handle:before {
    right: 100%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.premium-img-compare-vertical .premium-twentytwenty-handle:after {
    left: 100%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.premium-twentytwenty-left-arrow {
    border-left: 6px solid;
    right: 50%;
    margin-right: -17px;
}

.premium-twentytwenty-right-arrow {
    border-right: 6px solid;
    left: 50%;
    margin-left: -17px;
}

.premium-twentytwenty-up-arrow {
    border-bottom: 6px solid;
    top: 50%;
    margin-top: -17px;
}

.premium-twentytwenty-down-arrow {
    border-top: 6px solid;
    bottom: 50%;
    margin-bottom: -17px;
}

.premium-twentytwenty-handle.premium-twentytwenty-hide:before,
.premium-twentytwenty-handle.premium-twentytwenty-hide:after {
    display: none;
}

.premium-images-compare-container .premium-label-hidden {
    opacity: 0;
}