.module_image_with_headline_tiles {
    position: relative;
    z-index: 0;
    height: 100%;
}

.module_image_with_headline_tiles .image img {
    width: 100%;
    object-fit: cover;
    max-height: 500px;
    height: 100vh;
}

.module_image_with_headline_tiles .outer {
    padding: 0;
}

.module_image_with_headline_tiles .inner {
    position: absolute;
    padding: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.module_image_with_headline_tiles .inner .topline {
    color: #ff7529;
    font-size: 19px;
    font-weight: 500;
    font-family: 'Open-Sans Semi';
}

.module_image_with_headline_tiles .headline {
    color: #fff
}

.module_image_with_headline_tiles .inner .header {
    padding: 0 30px;
    text-align: center;
    border: none;
    font-size: 46px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 45px;
    hyphens: auto;
    font-family: 'Open-Sans Bold';
}

.module_image_with_headline_tiles .buttons_wrap .left_button {
    background-color: transparent;
    height: 60px;
    width: 260px;
    border-radius: 10px;
    position: relative;
    border: 2px solid #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.module_image_with_headline_tiles .buttons_wrap .left_button a:hover {
    border: 1px solid #fff;
    background: #fff;
    color: #ff7529;
}

.module_image_with_headline_tiles .buttons_wrap .left_button a {
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
    height: 100%;
    text-transform: uppercase;
    text-decoration: none;
}

.module_image_with_headline_tiles .overlay {
    width: 100%;
    height: 100%;
    z-index: 0;
    transition: 1s ease-in-out;
}

.module_image_with_headline_tiles .inner .bodytext {
    color: #fff;
    font-weight: 500;
    text-align: center;
    padding: 0 30px;
    font-size: 18px;
    font-family: "Open-Sans Semi";
    display: none;
}

.module_image_with_headline_tiles .image_overlay_container {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    transition: 1s ease-in-out;
}

.module_image_with_headline_tiles .image_overlay_container:hover {
    background: linear-gradient(rgba(255, 117, 41, 0.95), rgba(0, 0, 0, 0.5));
}

.module_image_with_headline_tiles .overlay:hover .bodytext {
    display: block;
    animation: fadeInUp 0.2s ease-in-out forwards;
}

.module_image_with_headline_tiles .overlay:hover .header, .module_image_with_headline_tiles .overlay:hover .topline {
    animation: fadeInUp 0.2s ease-in-out forwards;
}

.module_image_with_headline_tiles .overlay:hover .left_button a {
    border: 1px solid #fff;
    background: #fff;
    color: #ff7529;
    border-radius: 5px;
}

.module_image_with_headline_tiles .image img {
    height: revert-layer;
    position: relative;
    z-index: -1;
}

.module_image_with_headline_tiles .inner:hover .bodytext {
    display: block;
    animation: fadeInUp 0.2s ease-in-out forwards;
}

.module_image_with_headline_tiles .overlay:not(:hover) .bodytext {
    display: none;
    animation: fadeOutDown 0.2s ease-in-out forwards;
}

.module_image_with_headline_tiles .overlay:not(:hover) .header, .module_image_with_headline_tiles .overlay:not(:hover) .topline {
    animation: fadeOut 0.2s ease-in-out forwards;
}

/* FadeIn fo Topline, Header and Bodytext */
@keyframes fadeInUp {
    0% {
        display: none;
        opacity: 0;
        transform: translateY(0);
    }
    100% {
        display: block;
        opacity: 1;
        transform: translateY(-35px);
    }
}
/* FadeOut of the Bodytext */
@keyframes fadeOutDown {
    0% {
        display: block;
        opacity: 1;
        transform: translateY(-35px);
    }
    100% {
        display: none;
        opacity: 0;
        transform: translateY(0);
    }
}

/* FadeOut of the Topline and Header */
@keyframes fadeOut {
    0% {
        display: block;
        opacity: 1;
        transform: translateY(-35px);
    }
    100% {
        display: block;
        opacity: 1;
        transform: translateY(0);
    }
}



@media only screen and (min-width: 768px) {
    .module_image_with_headline_tiles .image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .module_image_with_headline_tiles .inner {
        position: absolute;
        display: block;
        bottom: 95px;
       padding: 0 165px;
        height: auto;
    }

    .module_image_with_headline_tiles .inner .header {
        padding: 0;
        text-align: left;
    }

    .module_image_with_headline_tiles .inner .bodytext {
        padding: 0;
        text-align: left;
    }

    .module_image_with_headline_tiles .image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        max-height: none;
    }
}

@media only screen and (min-width: 991px) {
    .module_image_with_headline_tiles .inner {
        padding: 25px;
        bottom: 0;
    }
    .module_image_with_headline_tiles .outer:first-of-type .inner {
        padding: 30px;
    }

    .module_image_with_headline_tiles .overlay {
        min-height: 510px;
    }

}

@media only screen and (min-width: 1200px) {
    .module_image_with_headline_tiles .inner {
        bottom: 95px;
        padding: 0 100px !important;
    }

    .module_image_with_headline_tiles .image {
        min-height: 710px;
        height: 100%;
    }

}

@media only screen and (min-width: 1400px) {

    .module_image_with_headline_tiles .inner {
        padding: 0 165px !important;
    }
}