.module_teaserslider {
    background: #9d977b;
    clear: both;
}

.module_teaserslider .slider_container {
    position: relative;
}

.module_teaserslider .slider_container_inner {
    min-height: 465px;
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.module_teaserslider .slides {
    position: relative;
    display: flex;
    justify-content: flex-start;
    gap: 23px;
    cursor: grab;
}

.module_teaserslider .header_container {
    text-align: center;
    padding: 25px 0;
}

.module_teaserslider .headline {
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    color: #fff;
    font-family: "OpenSans-Light";
    line-height: 1.2;
}

.module_teaserslider .image_container {
    margin-bottom: 45px;
    max-height: 280px;
}

.module_teaserslider .slide img {
    width: 100%;
    max-height: 280px;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16/9;
}

.module_teaserslider .headline_container {
    font-family: "OpenSans-Semi";
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.module_teaserslider .bodytext_container {
    font-size: 25px;
    color: #fff;
    font-family: "OpenSans-Light";
    line-height: 1.2;
}

.module_teaserslider .bodytext_container a {
    color: #fff;
    text-decoration: none;
}

.module_teaserslider .bodytext_container a:hover {
    text-decoration: underline;
}

.module_teaserslider .button_cta {
    color: #fff;
}

.module_teaserslider .swiper-pagination {
    position: absolute;
    bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.module_teaserslider .swiper-pagination .swiper-pagination-bullet {
    -webkit-appearance: none;
    border-radius: 10px;
    display: flex;
    width: 12px;
    height: 12px;
    margin: 0 5px 0 0;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.5);
}

.module_teaserslider .swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 30px;
    background-color: #fff;
}

@media (min-width: 567px) and (orientation: landscape) {
    .module_teaserslider .slider_container_inner {
        min-height: 490px;
    }
}

@media (min-width: 768px) {

    .module_teaserslider .slider_container_inner {
        min-height: 490px;
    }

    .module_teaserslider .header_container {
        text-align: center;
        padding: 50px 0 40px 0;
    }

    .module_teaserslider .slides {
        gap: 0;
        margin-left: 0;
        padding: 0;
    }

    .module_teaserslider .headline_container {
        font-size: 20px;
    }

    .module_teaserslider .bodytext_container {
        font-size: 30px;
    }

    .module_teaserslider .slide img {
        max-height: 150px;
    }
}

@media (min-width: 768px) and (orientation: landscape) {
    .module_teaserslider .header_container {
        padding: 50px 0 70px 0;
    }
}

@media (min-width: 1024px) {
    .module_teaserslider .slider_container_inner {
        min-height: 420px;
    }
}

@media (min-width: 1200px) {

    .module_teaserslider .slider_container_inner {
        min-height: 550px;
    }

    .module_teaserslider .swiper-pagination {
        bottom: 35px;
    }

    .module_teaserslider .slide img {
        max-height: 280px;
    }
}

@media (min-width: 1400px) {

    .module_teaserslider .slider_container_inner .slide {
        padding: 0 65px;
    }

    .module_teaserslider .slider_container {
        width: 100% !important;
        max-width: 1535px !important;
    }

    .module_teaserslider .button_prev {
        position: absolute;
        top: 45%;
        left: -5%;
        transform: translate(-40%, -55%);
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 10;
    }

    .module_teaserslider .button_prev:before {
        content: "";
        display: block;
        position: absolute;
        top: 20%;
        right: 20px;
        font-size: 80px;
        color: #fff;
        background-image: url("Rightarrow.png");
        transform: rotate(-180deg);
        background-repeat: no-repeat;
        background-position: center;
        width: 80px;
        height: 80px;
    }

    .module_teaserslider .button_next {
        position: absolute;
        top: 45%;
        right: -5%;
        transform: translate(30%, -55%);
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 10;
    }

    .module_teaserslider .button_next:before {
        content: "";
        display: block;
        position: absolute;
        top: 20%;
        left: 20px;
        font-size: 80px;
        color: #fff;
        background-image: url("Rightarrow.png");
        background-repeat: no-repeat;
        background-position: center;
        width: 80px;
        height: 80px;
    }
}

@media (min-width: 1600px) {
    .module_teaserslider .button_prev {
        left: 4%
    }

    .module_teaserslider .button_next {
        right: 4%;
    }
}

@media (min-width: 1900px) {
    .module_teaserslider .button_prev {
        left: -5%;
    }

    .module_teaserslider .button_next {
        right: -5%;
    }
}