.before_after_slider_box {
    position: relative;
    //left: -2vw;
    //width: 94vw;
    max-width: 1050px;
    //margin: 0 auto;
    //z-index: 4;
    transition-duration: 100ms;
    }

.select_left_before {
    position: absolute; 
    margin-left: 5px;
    top: 5px;
    margin-top: 5px;
    width: 30%;
    height: 40px;
    font-size: min(2.6vw, 100%);
    z-index: 4;
    }

.select_right_after {
    position: absolute; 
    right: 0px;
    margin-right: 5px;
    top: 5px;
    //margin-top: 5px;
    width: 30%;
    height: 40px;
    font-size: min(2.6vw, 100%);
    z-index: 4;
    }

.slider_maximize {
    position: absolute;
    bottom: 5px;
    margin-left: 5px;
    width: 100px;
    height: 30px;
    font-size: min(3.6vw, 100%);
    z-index: 4;
    }

@media (max-width: 960px) {
  .slider_maximize {
    display: none;
  }
}

.before_after_slider {
    position: relative;
    overflow: hidden;
    left: 0px;
    width: 100%;
    //max-width: 1200px;
    background-color: rgb(220, 220, 228);
    }

.box_before {
    overflow: hidden;
    position: absolute;
    z-index: 1;
    left: 0;
    bottom: 0;
    width: 60%;
    max-width: 99.6%;
    height: 100%;
    border-right: 5px solid rgba(0, 255, 255, 0.7);
    box-shadow: 10px 0 15px -13px #000;
    transition-duration: 10ms;
    }

.img_before {
    position: relative;
    z-index: 1;
    left: 0px;
    top: 0px;
    //width: 100%;
    max-width: 1920px;
    height: 100%;
    object-fit: cover;
    object-position: left top;
    vertical-align: top;
    //transform: translate(-0%, -00%) scale(1);
    //transform-origin: top left;
    }

.box_after {
    overflow: hidden;
    z-index: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    }

.img_after {
    position: relative;
    z-index: 0;
    left: 0px;
    top: 0px;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
    vertical-align: top;
    }

.img_before, .img_after {
    transform: translate(0px, 0px) scale(1);
    transform-origin: top left;
    transition-duration: 100ms;
    }

.slider_range {
    z-index: 3;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: col-resize;
    }
