.heroelement {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    max-width: 2200px;
    position: relative;
}

.heroelement h4 {
    color: white;
    font-size: 50px;
    width: 80%;
}

.heroelement>div {
    width: 65%;
}


.heroelement>div:last-child>div {
    display: flex;
    justify-content: flex-end;
    height: 600px;
}

.heroelement .heroimg2content {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

#herovideo {
    position: absolute;
    left: 0;
}

.heroelement>div:last-child>img {
    width: 200px;
    position: absolute;
    right: 0;
    top: 0;
}

.heroelement>div:last-child .heroimg2content img {
    width: 40%;
}

.heroelement>div:last-child>div {
    height: 700px;
    background-size: cover;
    background-position: center;
    margin-top: 120px;
}

.heroelement video {
    width: 100%;
}

.widget_opener_widget {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.bx-wrapper .mobildSecondaryBadge img {
    width: 120px !important;
    height: auto;
}


@media only screen and (max-width: 1200px) {
    #herovideo {
        position: relative;
    }
    .heroelement>div:last-child>div {
        margin-top: 0;
    }

    .heroelement  {
        flex-direction: column;
    }

    .heroelement div {
        width: 100vw;
    }

    .heroelement .heroimg2content {
        width: 100%;
        padding: 10px;
    }

    .heroelement h4 {
        width: 100%;
    }
}


@media only screen and (max-width: 900px) {
    .heroelement {
        display: unset;
        width: unset;
        max-width: unset;
        position: unset;
    }

    #herovideo {
        position: unset;

    }

    .heroelement>div {
        width: unset;
    }

    .mobileImageContent h4 {
        font-size: 16px;
    }

    .mobileImageContent .themainBadge {
        display: none;
    }
}

.mobileHero {
    display: none;
}

@media only screen and (max-width: 1200px) {
    .heroelement {
        display: none;
    }

    .mobileHero {
        display: block;
    }

    .mobileHero video {
        height: 100%;
        width: auto;
    }

    .mobileImageContent h4 {
        color: white;
    }

    .mobileImageContent {
        padding: 0px 30px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .mobileImageContent .themainBadge {
        width: 20vw !important;
        height: auto !important;
    }

    .mobileImageContent img {
        width: 50px;
        height: auto;
    }

    .mobileHero>div {
        width: 100vw;
        height: 56.25vw;
        background-color: transparent;
        overflow: hidden;
    }

    .mobileHero>div:nth-child(2n) {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
}





