.ba-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.ba-slider .ba-bg {
    position: relative;
    padding-bottom: 50%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center center;
}

.ba-slider img {
    width: 100%;
    display: block;
    max-width: none;
    object-fit: cover;
}

.ba-slider .resize {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    overflow: hidden;
}

.ba-slider .resize .ba-bg {
    padding-bottom: 0 !important;
    height: 100% !important;
}

.ba-slider .handle {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    margin-left: -2px;
    cursor: ew-resize;
}

.ba-slider .handle:before,
.ba-slider .handle:after {
    position: absolute;
    content: "";
    width: 4px;
    background-color: #fff;
    left: 50%;
    transform: translateX(-50%);
    height: calc(50% - 28px);
}

.ba-slider .handle:before {
    top: 0;
}

.ba-slider .handle:after {
    bottom: 0;
}

.ba-slider .handle .handle-base {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url("/assets/images/ba-oval.svg");
    background-repeat: no-repeat;
    background-position: center center;
    width: 66px;
    height: 66px;
    background-size: 100%;
}

.ba-slider .handle .handle-arrow-left,
.ba-slider .handle .handle-arrow-right {
    position: absolute;
    z-index: 3;
    top: 50%;
    transform: translateY(-50%);
}

.ba-slider .handle .handle-arrow-left {
    left: 18%;
}

.ba-slider .handle .handle-arrow-right {
    right: 18%;
}

.custom-ba-text-label {
    position: absolute;
    left: 30px;
    bottom: 30px;
    text-align: center;
    padding: 10px 25px;
    background-color: #467991;
    color: white;
    min-width: 100px;
}

.custom-ba-text-label.after{
    left: auto;
    right: 30px;
}

@media screen and (max-width: 767px) {

    .ba-slider .handle .handle-base {
        width: 33px;
        height: 33px;
    }

    .ba-slider .handle:before, .ba-slider .handle:after {
        height: calc(50% - 14px);
    }

    .handle img {
        width: 8px;
    }

    .custom-ba-text-label {
        left: 0px;
        bottom: 0px;
        text-align: center;
        padding: 6px 10px;
        min-width: 80px;
    }

    .custom-ba-text-label.after{
        right: 0px;
    }
}