/* Background designs */
.content-row--bg-design-1 {
    background-color: #f2f2f2;
}
.content-row--bg-design-2 {
    background: url(/typo3conf/ext/mmpackage/Resources/Public/Images/bg-pattern.jpg) 50% 50%;
}
.breadcrumb ~ .page-content > .content-row--bg-design-2:first-child {
    /* pull up underneath breadcrumb (page-content padding-top + breadcrumb height) */
    margin-top: -60px;
}

.content-row__container {
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.content-row--stage-slideshow .content-row__container,
.content-row--stage-video .content-row__container {
    padding-top: 0;
}
.content-row--stage-img .content-row__container,
/* fix blank layout pages like used-trucks search iframe */
.page-alert + .content-row .content-row__container {
    padding-top: 0;
    padding-bottom: 0;
}
.content-row--stage-img-type-7 {
    position: relative;
    overflow: hidden;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
}
/* used for content-row--stage-img-type-7 only for now */
.content-row__inner {
    display: flex;
    flex-direction: column;
    overflow: visible;
}

/* add breadcrumb height to padding */
.breadcrumb ~ .page-content > .content-row--bg-design-2:first-child .content-row__container {
    padding-top: calc(1.1rem + 45px);
}

.content-row__bg-video-wrap,
.content-row__bg-img-wrap,
.content-row__stage-video-wrap,
.content-row__stage-img-wrap {
    max-width: 1920px;
}
.content-row--stage-img-type-5 .content-row__stage-img-wrap {
    max-width: 1170px;
}
.content-row--stage-img-type-7 .content-row__stage-img-wrap {
    /* add margin to force height calculation as flex-item */
    margin: 0;
    order: 1;
    overflow: visible;
}
.content-row__stage-img-lazy-helper {
    position: relative;
    height: 0;
}
.content-row--stage-img-type-5 .content-row__stage-img {
    /* simulate art direction */
    margin-left: -50%;
    width: 160%;
    max-width: none;
}
.content-row--stage-img-type-7 .content-row__stage-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}

.content-row--stage-img-type-7 .content-row__container {
    position: relative;
    padding: 20px 15px 30px;
}
.content-row--stage-img-type-7 .content-row__container-inner {
    display: flex;
    flex-direction: column;
}

.content-row__toggle-close-btn {
    color: #f96915;
    border-radius: 50%;
}
.no-touchevents .content-row__toggle-close-btn:hover {
    color: #fff;
    background-color: #f96915;
}

/* Text box */
.content-row__text-box {
    display: inline-flex;
    flex-direction: column;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
}
.content-row__text-box.no-textbox .content-row__text-box-headline--1  {
    margin: 0.4em 0 0;
}
.content-row__text-box-color--dark {
    color: #302E2C;
}
.content-row--stage-img-type-7 .content-row__text-box {
    padding: 0;
}
.content-row__text-box-headline {
    line-height: 1.2;
    margin-bottom: 0;
}
.content-row--stage-img-type-7 .content-row__text-box-headline {
    font-size: 1.875rem;
    margin-bottom: .6em;
    color: #302e2c;
}
.content-row__text-box--subline-first .content-row__text-box-headline {
    order: 1;
    margin-bottom: .8em;
}
.content-row__text-box-headline--1 {
    font-weight: normal;
}
.content-row--stage-img-type-2 .content-row__text-box-headline--1,
.content-row--stage-img-type-3 .content-row__text-box-headline--1,
.content-row--stage-img-type-4 .content-row__text-box-headline--1 {
    font-weight: bold;
    margin-bottom: 0.2em;
    color: #ff6700;
}
.content-row--stage-img-type-7 .content-row__text-box-headline--1 {
    font-size: 1em;
    color: #969492;
}
.content-row--stage-img-type-2 .content-row__text-box-headline--2,
.content-row--stage-img-type-3 .content-row__text-box-headline--2,
.content-row--stage-img-type-4 .content-row__text-box-headline--2 {
    font-size: 1.5rem;
    font-weight: normal;
    color: #969492;
}
.content-row--stage-img-type-3 .content-row__text-box-headline--2 {
    color: #302e2c;
}
.content-row--stage-img-type-5 .content-row__text-box-headline--2 {
    font-size: 2.2rem;
}
.content-row__text-box-text {
    margin: .6em 0 0;
}
.content-row--stage-img-type-7 .content-row__text-box-text {
    margin: 0 0 1.2em;
    color: #969492;
}
.content-row__text-box--subline-first .content-row__text-box-text {
    order: 0;
    margin-bottom: .3em;
}
.content-row__text-box-img {
    display: block;
}
.content-row__img-box {
    position: relative;
    max-width: 380px;
    margin: auto;
    padding-bottom: 15px;
}
.content-row__img-box-img-wrap {
    min-height: 100%;
    /* fallback color */
    background-color: #fff;
}
.content-row__img-box-img {
    max-width: 70%;
    right: 0;
    bottom: 0;
    margin: auto;
}

.content-row--stage-img-type-2 .content-row__text-box-headline--1,
.content-row--stage-img-type-3 .content-row__text-box-headline--1,
.content-row--stage-img-type-4 .content-row__text-box-headline--1 {
    font-weight: bold;
    margin-bottom: 0.2em;
    color: #ff6700;
}
.content-row--stage-img-type-2 .content-row__text-box-headline--2,
.content-row--stage-img-type-3 .content-row__text-box-headline--2,
.content-row--stage-img-type-4 .content-row__text-box-headline--2 {
    /* h3-size */
    font-size: 1.5rem;
    font-weight: normal;
    color: #969492;
}
.content-row--stage-img-type-3 .content-row__text-box-headline--2 {
    color: #302e2c;
}

.content-row__text-box--subline-first .content-row__text-box-btn-wrap {
    order: 1;
}
.content-row__text-box-btn--1,
.content-row__text-box-btn--2 {
    margin-top: 1em;
    margin-bottom: 0;
}
.content-row--stage-img-type-7 .content-row__text-box-btn--1,
.content-row--stage-img-type-7 .content-row__text-box-btn--2 {
    margin: 0;
}
.content-row--stage-img-type-7 .content-row__text-box-btn--1 {
    margin-right: 10px;
}

@media ( min-width: 768px ) {
    .content-row--stage-img-type-7 {
        border-bottom: 1px solid #f2f2f2;
    }
    .content-row__inner {
        flex-direction: row;
    }

    .content-row--stage-img-type-6 .content-row__container-inner {
        display: flex;
    }
    .content-row--stage-img-type-2 > .content-row__container,
    .content-row--stage-img-type-3 > .content-row__container {
        top: 10%;
        transform: none;
        text-align: center;
    }
    .content-row--stage-img-type-4 > .content-row__container {
        text-align: center;
    }
    .content-row--stage-img-type-5 > .content-row__container {
        top: 25%;
        transform: none;
    }
    .content-row--stage-img-type-7 .content-row__container {
        position: absolute;
        top: 0;
        left: calc(calc(100vw - 750px) / 2);
        bottom: 0;
        width: calc(0.45 * 750px);
        padding-right: 40px;
        padding-bottom: 60px;
        overflow: hidden;
    }

    .content-row--stage-img-type-7 .content-row__stage-img-wrap {
        flex: 0 0 auto;
        width: calc(0.55 * 750px + calc(calc(100vw - 750px) / 2));
        margin-left: auto;
    }
    .content-row--stage-img-type-7 .content-row__stage-img-lazy-helper {
        height: 300px;
        /* required to enable height */
        padding-bottom: 0 !important;
    }
    .content-row--stage-img-type-7 .content-row__stage-img {
        max-width: none;
        object-fit: cover;
        object-position: right;
        height: 100%;
    }
    .content-row--stage-img-type-5 .content-row__stage-img {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
    }

    .content-row__text-box {
        max-width: 60%;
        color: #fff;
    }
    .content-row__text-box-color--dark {
        color: #302E2C;
    }
    .content-row--stage-img-type-2 .content-row__text-box,
    .content-row--stage-img-type-3 .content-row__text-box,
    .content-row--stage-img-type-4 .content-row__text-box {
        margin: auto;
        padding: 0;
        background-color: transparent;
        max-width: 85%;
    }
    .content-row--stage-img-type-5 .content-row__text-box {
        max-width: 40%;
        padding: 0;
        color: #000;
        background-color: transparent;
    }
    .content-row--stage-img-type-6 .content-row__text-box {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .content-row--stage-img-type-7 .content-row__text-box {
        background-color: transparent;
        max-width: none;
        padding: 0;
    }
    .content-row__text-box-headline {
        color: inherit;
    }
    .content-row--stage-img-type-2 .content-row__text-box-headline--1,
    .content-row--stage-img-type-3 .content-row__text-box-headline--1 {
        font-size: 3rem;
    }
    .content-row--stage-img-type-4 .content-row__text-box-headline--1 {
        font-size: 3rem;
        color: #fff;
    }
    .content-row--stage-img-type-3 .content-row__text-box-headline--2 {
        color: #545454;
    }
    .content-row--stage-img-type-4 .content-row__text-box-headline--2 {
        color: #fff;
        margin: 0 3em;
    }

    .content-row__img-box {
        width: 280px;
        max-width: none;
        margin: 0;
        padding-bottom: 0;
    }
}
@media ( min-width: 992px ) {
    .content-row--bg-video > .content-row__container,
    .content-row--bg-img > .content-row__container {
        /* golden ratio */
        top: 38.2%;
    }
    .content-row--stage-img-type-7 .content-row__container {
        left: calc(calc(100vw - 970px) / 2);
        width: calc(0.45 * 970px);
        display: flex;
        align-items: center;
    }

    .content-row--stage-img-type-7 .content-row__stage-img-wrap {
        width: calc(0.55 * 970px + calc(calc(100vw - 970px) / 2));
    }
    .content-row--stage-img-type-7 .content-row__stage-img-lazy-helper {
        height: 320px;
    }

    .content-row__text-box {
        max-width: 50%;
        padding: 30px;
    }

    .content-row--stage-img-type-2 .content-row__text-box,
    .content-row--stage-img-type-3 .content-row__text-box {
        max-width: 95%;
    }
    .content-row--stage-img-type-2 .content-row__text-box-headline--1 {
        font-size: 5.5rem;
        margin-bottom: 0;
    }
    .content-row--stage-img-type-3 .content-row__text-box-headline--1 {
        font-size: 4rem;
    }

    .content-row__img-box {
        width: 340px;
    }
}
@media ( min-width: 1200px ) {
    .content-row--stage-img-type-7 .content-row__container {
        left: calc(calc(100vw - 1170px) / 2);
        width: calc(0.45 * 1170px);
        padding-bottom: 70px;
    }

    .content-row--stage-img-type-7 .content-row__stage-img-wrap {
        width: calc(0.55 * 1170px + calc(calc(100vw - 1170px) / 2));
    }
    .content-row--stage-img-type-7 .content-row__stage-img-lazy-helper {
        height: 380px;
    }

    .content-row__text-box {
        padding: 40px;
    }

    .content-row__img-box {
        width: 420px;
    }
}
@media ( min-width: 1600px ) {
    .content-row--stage-img-type-7 .content-row__container {
        left: calc(calc(100vw - 1400px) / 2);
        width: calc(0.45 * 1400px);
    }

    .content-row--stage-img-type-7 .content-row__stage-img-wrap {
        width: calc(0.55 * 1400px + calc(calc(100vw - 1400px) / 2));
    }
    .content-row--stage-img-type-7 .content-row__stage-img-lazy-helper {
        height: 450px;
    }
}
@media ( min-width: 1920px ) {
    .content-row--stage-img-type-7::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 1px;
        background-color: #f2f2f2;
        pointer-events: none;
    }
    .content-row--stage-img-type-7 .content-row__container {
        left: 260px;
        width: 630px;
    }
    .content-row--stage-img-type-7 .content-row__stage-img-wrap {
        width: 1030px;
    }
}