
/* Before After Container */

.bal-container {
    position: relative;
    width: 100%;
   
    padding-top: 56.25%;
    cursor: grab;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.bal-after {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.bal-before {
    display: block;
    position: absolute;
    top: 0;
    /* right: 0; */
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 15;
    overflow: hidden;
}

.bal-before-inset {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
}

.bal-after img,
.bal-before img {
    object-fit: cover;
    position: absolute;
    width: 100%;
    height: 100%;
    object-position: 50% 50%;
    top: 0;
    bottom: 0;
    left: 0;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.bal-beforePosition {
    background: #eef1f2;
    color: #222222;
    left: 0;
    pointer-events: none;
    padding: 8px 28px;
}

.bal-afterPosition {
    background: #eef1f2;
    color: #222222;
    right: 0;
    pointer-events: none;
    padding: 8px 28px;
}

.beforeLabel {
    position: absolute;
    bottom: 0;
    margin: 20px;
    font-family: 'Quicksand', sans-serif;
    font-size: 18px;
    font-weight: 500;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.afterLabel {
    position: absolute;
    bottom: 0;
    margin: 20px;
    font-family: 'Quicksand', sans-serif;
    font-size: 18px;
    font-weight: 500;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}


/* handle and arrow */

.bal-handle {
    height: 50px;
    width: 50px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -25px;
    margin-top: -25px;
    border: 2px solid #fff;
    background-color: #eef1f2;
    border-radius: 1000px;
    z-index: 20;
    pointer-events: none;
    box-shadow: 0 0 10px rgb(12, 12, 12);
}

.handle-left-arrow,
.handle-right-arrow {
    width: 14px;
    height: 14px;
    /*border: 6px inset transparent;*/
    position: absolute;
    top: 50%;
    margin-top: -15.5px;
    font-size:21px;
}

.handle-left-arrow {
   /* border-right: 6px solid #fff;*/
    left: 50%;
    margin-left: -16px;
}
 

    .handle-right-arrow {
        /* border-left: 6px solid #fff;*/
        right: 50%;
        margin-right: -16px;
    }

.bal-handle::before {
    bottom: 50%;
    margin-bottom: 25px;
/*    box-shadow: 0 0 10px rgb(12, 12, 12);*/
}

.bal-handle::after {
    top: 50%;
    margin-top: 25px;
/*    box-shadow: 0 0 5px rgb(12, 12, 12);*/
}

.bal-handle::before,
.bal-handle::after {
    content: " ";
    display: block;
    width: 2px;
    background: #fff;
    height: 9999px;
    position: absolute;
    left: 50%;
    margin-left: -1.5px;
}