/* Pretend page styles */

body {
    font-family: Arial, "Liberation Sans", sans-serif;
}

h1,
p {
    margin: 20px;
    width: 90%;
    color: #3d3d3d;
}

p {
    color: #7d7d7d;
}

.someElement1 {
    width: 100%;
    height: 450px;
}

.someElement1 img {
    min-height: 450px;
    min-width: 711px;
}

.someElement2 {
    width: 100%;
    height: 320px;
}


/* Component styles below */

.beforeAfter {
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

.beforeAfter.responsiveWidth img {
    width: 100%;
    cursor: crosshair;
    min-inline-size: -webkit-fill-available;
}

.beforeAfter.responsiveHeight img {
    height: 100%;
    cursor: crosshair;
}

.beforeAfter .teaser {
    position: absolute;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75);
    width: 100%;
    z-index: 3;
}

.beforeAfter h2,
.beforeAfter p {
    color: #ffffff;
    font-size: 14pt;
    margin: 5px;
    padding: 5px;
}

.beforeAfter p {
    bottom: 0;
    color: #eeeeee;
    font-size: 10pt;
    margin: 3px 5px;
}

.beforeAfter .before,
.beforeAfter .after {
    position: absolute;
    top: 0;
    left: 0;
}

.beforeAfter .before {
    z-index: 2;
    opacity: 1;
    -webkit-transition: all 500ms ease-in-out;
    -moz-transition: all 500ms ease-in-out;
    -ms-transition: all 500ms ease-in-out;
    -o-transition: all 500ms ease-in-out;
    transition: all 500ms ease-in-out;
}

.beforeAfter .before:hover,
.before.active {
    opacity: 0;
}

.beforeAfter .after {
    z-index: 1;
}

@media (min-width:1799px) and (max-width:2199px) {
    .someElement1 {
        width: 100%;
        height: 578px;
    }
}

@media (min-width:1599px) and (max-width:1799px) {
    .someElement1 {
        width: 100%;
        height: 540px;
    }
}

@media (min-width:1199px) and (max-width:1599px) {
    .someElement1 {
        width: 100%;
        height: 480px;
    }
}

@media (min-width:1092px) and (max-width:1399px) {
    .someElement1 {
        width: 100%;
        height: 450px;
    }
}

@media (min-width:789px) and (max-width:1092px) {
    .someElement1 {
        width: 100%;
        height: 520px;
    }
}

@media(max-width:789px) {
    .someElement1 {
        width: 100%;
        height: 450px;
    }
}

@media(max-width:479px) {
    .someElement1 {
        width: 100%;
        height: 493px;
    }
}