@media (max-width: 992px) {
    .container .container {
        padding-left: 0px;
        padding-right: 0px;
        margin-left: 0px;
        margin-right: 0px;
    }

    #desktopNav {
        left: 0px;
        top: 140px !important;
    }

    #desktopNav .withSubNav ul {
        margin-left: 0px !important;
    }

    .heroFrontBox {
        padding: 20px;
        background-color: rgba(255, 255, 255, 0.7);
    }

    .imageWrapper .foldout {
        height: auto !important;
        padding-bottom: 1.5em !important;
        max-height: 100% !important;
    }

    html body .owl-carousel .owl-dots {
        left: 50% !important;
        transform: translateX(-50%);
        margin-top: 0px !important;
        width: 100% !important;
    }

    #hero .owl-carousel .owl-dots {
        left: 50% !important;
    }

    .owl-carousel .owl-dots button span {
        background: black !important;
    }

    .owl-carousel .owl-dots button.active span {
        background: #cb091e !important;
    }

    p,
    li {
        font-size: max(25px, 3vw) !important;
    }

    h4 {
        font-size: max(28px, 3vw) !important;
    }

    footer .col-12 {
        padding: 0px;
    }

    footer .col-12 > .container {
        margin: 0px;
        padding: 0px;
    }

    .navcat .overlay {
        padding: 0px 2.5em;
    }

    #notdienstBox .content {
        box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
        -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
        -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);

        width: 50vw;
    }

    #c138 .primaryBg{
        padding: 20px !important;
    }
}

@media (min-width: 547px) and (max-width: 992px) {
    #header {
        height: 140px;
    }

    #hero {
        margin-top: 140px;
    }

    #header
        .container-fluid.px-0.d-flex.align-items-start.justify-content-between.contentMaxWidth {
        flex-wrap: nowrap !important;
    }

    #header .logoBox {
        order: 2 !important;
        width: auto !important;
    }

    #header .rightBox {
        order: 3;
    }
}

@media (max-width: 546px) {
    #desktopNav {
        left: 0px;
        top: 256px !important;
        width: 100vw !important;
    }

    #header {
        height: 260px;
    }

    #hero {
        margin-top: 260px !important;
    }

    #header
        .container-fluid.px-0.d-flex.align-items-start.justify-content-between.contentMaxWidth {
        flex-wrap: wrap !important;
    }

    #header .logoBox {
        order: 1 !important;
        width: 100% !important;
    }

    #header .rightBox {
        order: 3;
    }

    #hero .sliderWrapper {
        height: 400px;
    }

    #hero .sliderWrapper .owl-carousel,
    #hero .sliderWrapper .owl-stage-outer,
    #hero .sliderWrapper .owl-stage,
    #hero .sliderWrapper .owl-item,
    #hero .sliderWrapper .container-fluid,
    #hero .sliderWrapper .heroBackBox {
        height: 100%;
    }

    #hero .sliderWrapper .heroBackBox {
        background-position: top !important;
    }

    #hero .sliderWrapper .heroFrontBox {
        width: 100%;
        text-align: center;
    }

    #hero .owl-dots {
        margin-top: 0px;
    }

    h2 {
        font-size: max(30px, 3vw) !important;
    }

    h3 {
        font-size: max(24px, 2.5vw) !important;
    }

    h4 {
        font-size: max(20px, 2vw) !important;
    }

    h5 {
        font-size: max(18px, 1.5vw) !important;
    }

    h6 {
        font-size: max(16px, 1.2vw) !important;
    }

    #c10 .container .container {
        margin: 0px;
        padding: 0px;
        max-width: 100% !important;
    }

    .checkIcon {
        padding-right: 0px;
    }

    p,
    li {
        font-size: max(18px, 3vw) !important;
    }

    /* #header {
        transform: translateY(0px);
        } */

    #header.scrolled {
        transition: all 0.3s ease-in-out;
        height: 130px;
    }

    #header > .container-fluid {
        transform: translateY(0px);
        transition: all 0.3s ease-in-out;
    }

    #header.scrolled > .container-fluid {
        transform: translateY(-140px);
    }

    #header.scrolled + #hero {
        margin-top: 230px !important;
    }

    .navcat .image {
        height: 440px;
        object-fit: cover;
    }

    #notdienstBox .content {
        width: 80vw;
    }

    .kontaktform .submit {
        margin-top: 100px;
    }

    .kontaktform .clearfix {
        width: 220px;
    }

    #karriere-139-fileupload-1 {
        width: 400px !important;
        font-size: 12px;
    }

    #c123 .ce-bodytext{
        margin-left: 0px !important;
        padding: 110px 20px !important;
    }
}

#notdienstTrigger .content a {
    color: #cb091e;
    font-size: max(20px, 1.5vw);
}

p.nav-link {
    font-size: max(23px, 1.3vw);
    text-transform: uppercase;
    color: #cb091e;
}

.accordion-item .accordion-button {
    font-size: max(18px, 1vw);
}

#karriere-139-fileupload-1 {
    width: 470px;
}
