.zbr-before-after-slides {
    position: relative;
    overflow: hidden;
    max-height: unset;
    
}
.zbr-before-after-slides:before {
    content: "";
    display: inline-block;
    padding-bottom: calc(100vh - 80px);
    height:inherit
}
.zbr-before-after-slider h2 {
    font-family: "CenzoFlare";
    color: #03261D;
    font-size: 3rem;
}
.zbr-before-after-slider h2 small {
    line-height: .5;
    font-family: "Gotcha";
}
.zbr-before-slide, .zbr-after-slide {
    clip-path: inset(0px 50% 0px 0px);
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    padding: 0 5%
}
.zbr-after-slide {
    clip-path: inset(0px 0px 0px 50%);
}
.zbr-before-slide h3, .zbr-after-slide h3, .zbr-before-slide h4, .zbr-after-slide h4 {
    width: 50%;
    text-align: right;
    margin: 0;
    padding-top: .3rem;
    padding-bottom: .3rem;
}
.zbr-before-slide h3, .zbr-after-slide h3 {
    font-size: 4rem;
    text-shadow: 1px 0 0 #03261D, -1px 0 0 #03261D, 0 1px 0 #03261D, 0 -1px 0 #03261D, 1px 1px #03261D, -1px -1px 0 #03261D, 1px -1px 0 #03261D, -1px 1px 0 #03261D;
    color: #fff;
    font-family: "CenzoFlare";
    line-height: 1.2;
}
.zbr-after-slide h3, .zbr-after-slide h4 {
    width: 50%;
    margin-left: auto;
    text-align: left;
}

.zbr-before-slide img, .zbr-after-slide img {
    width: 100%;
    object-fit: cover;
}

.slider-input {
    position: absolute;
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 100%;
    background: transparent;
    outline: none;
    margin: 0;
    z-index: 2;
}

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 6%;
    max-width: 3.5rem;
    height: 100vh;
    background: url('/wp-content/themes/zoo-b-child/assets/images/before-after-separator.png');
    background-attachment: scroll;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    max-height: 100vh;
    cursor: ew-resize;
    box-shadow: none;
}
.slider-input::-moz-range-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 6%;
    max-width: 3.5rem;
    height: 100vh;
    background: url('/wp-content/themes/zoo-b-child/assets/images/before-after-separator.png');
    background-attachment: scroll;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    max-height: 100vh;
    cursor: ew-resize;
    box-shadow: none;
}
.slider-input:focus::-webkit-slider-thumb {
    width: 2px;
}
.slider-input:focus::-moz-range-thumb {
    width: 2px;
}


@keyframes before_slider_hover {
	0%   {
        clip-path: inset(0px 0px 0px 0px);
	}
	75%   {
        clip-path: inset(0px 100% 0px 50%);
	}
	100%   {
        clip-path: inset(0px 50% 0px 0px);
	}
}
@keyframes after_slider_hover {
	0%   {
        clip-path: inset(0px 0px 0px 0px);
	}
	75%   {
        clip-path: inset(0px 0px 0px 100%);
	}
	100%   {
        clip-path: inset(0px 0px 0px 50%);
	}
}
@media screen and (max-width: 766px) {
    .zbr-before-after-slides:before {
        padding-bottom: 75%;
    }
    .zbr-before-slide h3, .zbr-after-slide h3 {
        font-size: 2rem;
        line-height: 1.1;
        padding: 0 .3rem
    }
    .zbr-before-slide h4, .zbr-after-slide h4 {
        font-size: 1rem;
        padding: 0 .3rem
    }

    .zbr-before-slide, .zbr-after-slide {
        padding: 0
    }
}