body > main article.form,
body > main article.abstract {
    display: block;
    background: var(--secondary);
    border: var(--box-border);
    border: var(--border);
    border-radius: var(--box-border-radius);
    width: calc(100% - 1rem);
    margin: 1.25rem auto;
    padding: 1rem;
}

body > main article.form.fullWidth {
    min-width: calc(100% - 1rem);
    max-width: calc(100% - 1rem);
    text-align: left;
}

body > main article.form article.form {
    border: none;
    background: transparent;
    margin: 1rem 0;
    padding: 0;
}

body > main article.abstract {
    border: var(--border);
}

body > main article.abstract > * {
    width: 100%;
}

body > main article.abstract > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

body > main article.abstract > ul > li {
    border-bottom: var(--box-border);
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    margin: 0 0 .5rem 0;
    min-height: 24px;
    line-height: 24px;
    font-weight: 600;
}

body > main article.abstract > ul > li:last-child {
    grid-template-columns: 50px 1fr;
}

body > main article.abstract > ul > li > span {
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
}

body > main article.abstract > ul > li:last-of-type {
    border: none;
    margin: 0;
}

body > main article.abstract > ul > li.image img {
    max-width: 100%;
}

body > main article.abstract > ul > li > .price {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    align-content: space-between;
    margin: .25rem 0 0 0;
}

body > main article.abstract > ul > li.address {
    grid-template-columns: 1fr 1fr;
}

body > main article.abstract > ul > li.address > span.title {
    grid-column-start: 1;
    grid-column-end: 3;
    text-align: left;
    font-weight: 600;
}

body > main article.abstract > ul > li.address m-value:nth-child(even) > span {
    padding: 0;
}

body > main article.abstract > ul > li > .price m-value {
    width: auto;
}

body > main article.abstract > ul > li > .price > span,
body > main article.abstract > ul > li > .price > span > m-value span.value {
    position: relative;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: initial;
    overflow: unset;
    padding: 0;
    text-align: right;
}

body > main article.abstract > ul > li > .price > span .removeIt m-value span.value {
    position: relative;
    overflow: unset;
}

body > main article.abstract > ul > li > .price > span > span {
    font-size: 1rem;
    font-weight: 400;
}

body > main article.abstract > ul > li > .price > span.small {
    font-size: .85rem;
    font-weight: 400;
    margin: 0.25rem 0 0 0;
}

body > main article.abstract > ul > li m-value > span {
    color: var(--black);
    font-weight: 400;
    font-size: 1rem;
    text-align: right;
    padding: 0 0 0 0.5rem;
}

body > main article.abstract > ul > li .price m-value > span {
    padding: 0;
    font-size: .8rem;
}

body > main article.abstract > ul > span.small {
    font-size: .85rem;
    line-height: 1.5rem;
}

body > main article.abstract > ul ~ m-button {
    margin: 1.5rem 0 0 0;
    font-size: .9rem;
}

body > main article.form h2,
body > main article.abstract h2 {
    font-size: 1.5rem;
    font-family: 'Roboto Slab', serif;
    margin: .75rem 0;
    width: 100%;
    text-align: left;
}

body > main article.form m-list h2 {
    margin: 0 0 .5rem 0;
    line-height: 1.75rem;
    white-space: break-spaces;
}

body > main article.form m-list h3 {
    font-size: 1.5rem;
    margin: .75rem 0;
    line-height: 1.75rem;
    white-space: break-spaces;
}

body > main article.abstract.notice {
    padding: 0 0 1rem 0;
    height: max-content;
}

body > main article.abstract.notice h2 {
    font-family: 'Roboto Slab', serif;
    border-top-right-radius: var(--box-border-radius);
    border-top-left-radius: var(--box-border-radius);
    background: var(--primary);
    margin: 0;
    padding: 0.5rem;
    text-transform: uppercase;
    font-size: 1.5rem;
}

body > main article.abstract.notice h2.info:before {
    content: '';
    height: 28px;
    width: 28px;
    min-width: 28px;
    top: -2px;
    background: var(--black);
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 0.25rem 0 0;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    background: var(--white);
    -webkit-mask-image: url(https://mediagroup-central.s3.eu-central-1.amazonaws.com/images/icons/info.svg);
    mask-image: url(https://mediagroup-central.s3.eu-central-1.amazonaws.com/images/icons/info.svg);
}

body > main article.abstract.notice p {
    padding: 1rem 1rem 0 1rem;
    margin: 0;
}

body > main article.abstract.notice a {
    color: var(--primary);
    text-decoration: underline;
}

body > main article.abstract h2 {
    margin: .5rem 0;
}

body > main article.form p,
body > main article.abstract p {
    width: 100%;
}

body > main article.form a {
    color: var(--primary);
}

body > main article.form m-list p.text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    white-space: break-spaces;
    margin: 0;
}

body > main article > div.info {
    width: 100%;
    background: var(--primary);
    border-radius: var(--box-border-radius);
    padding: 1rem;
    margin: 0.5rem 0 1rem 0;
}

body > main article span.small {
    position: relative;
    display: block;
    margin: 1.25rem 0;
    font-size: .85rem;
    line-height: 1.25rem;
}

main > article > section {
    margin: 0;
    width: 100%;
}

body > main article.form nav {
    width: 100%;
    display: inline-block;
}

body > main article.form nav m-button {
    margin: 0 1rem 0 0;
}

body > main article.form nav m-button:last-child {
    margin: 0;
}

body > main article.form nav m-button.next {
    float: right;
}

body > main article.form nav.paymentNav m-button.next {
    float: none;
}

body > main article.form nav.paymentNav {
    display: none;
}

body > main article.abstract nav.paymentNav {
    display: flex;
    text-align: right;
    margin: 2rem 0 0 0;
    flex-direction: column;
}

body > main article.abstract nav.paymentNav m-button.next {
    margin: 0 0 1rem auto;
}

body > main article.abstract nav.paymentNav .small {
    margin: 0;
}

fieldset > div {
    display: inline-block;
    width: calc(100% - 32px);
}

.accordion {
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
}

body > main article .payment {
    flex-direction: column;
}

body > main article .payment > fieldset {
    border-bottom: 1px solid var(--medium-gray);
    margin: 0;
    padding: 1rem 0;
    /*width: calc(100% - 24px);*/
}

body > main article .payment > fieldset div {
    position: relative;
    display: none;
    opacity: 0;
    height: 0;
    transition: all .3s;
}

body > main article .payment > fieldset m-state.active ~ div {
    display: block;
    opacity: 1;
    width: 100%;
    height: 100%;
    margin: 48px 0 0 0;
}

body > main article .payment > fieldset m-state.radiobutton {
    min-height: 42px;
    margin: 0;
}

body > main article .differentBilling m-state.switch > .frame > .body {
    margin: .75rem 0;
}

m-state > .frame {
    min-width: auto;
}

body > main article * > fieldset m-state > .frame > .label {
    margin: 0;
    text-align: left;
    line-height: 1.5rem;
}

body > main article .payment > fieldset m-state .label img {
    position: relative;
    display: block;
    max-height: 32px;
    width: auto;
    margin: 0 auto 0 0;
}

body > main article.stepper {
    padding: .5rem 0 0 .5rem;
    background: var(--secondary);
}

body > main article.stepper > h2,
body > main article.stepper > p {
    padding: 0 1rem 0 .5rem;
}

.stepper {
    margin: 2rem 1rem;
    padding: 0;
    width: calc(100% - 2rem);
}

.stepper > li {
    position: relative;
    display: inline-block;
    list-style: none;
    border-left: 1px solid var(--gray);
    width: 100%;
    min-height: 2rem;
    top: 1rem;
    margin: 0 0 2rem 0;
    padding: 0 0 0 1.5rem;
}

.stepper > li:last-of-type {
    border: none;
    min-height: 0;
    margin: 0;
}

.stepper > li.completed > *,
.stepper > li > * {
    display: none;
}

.stepper > li > * {
    position: relative;
    top: -2.25rem;
}

.stepper > li.active > *,
.stepper > li > .circle,
.stepper > li.completed > h2,
body > main article.form .stepper > li > h2 {
    display: block;
    margin: 0;
}

.stepper > li > .circle {
    position: absolute;
    left: -1rem;
    background: var(--gray);
    color: var(--white);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    text-align: center;
    line-height: 2rem;
    font-weight: 700;
    top: -2.5rem;
}

.stepper > li.active > .circle,
.stepper > li.completed > .circle {
    background: var(--primary);
}

.stepper > li.completed > .circle {
    color: transparent;
}

.stepper > li.completed > .circle:before {
    content: '';
    height: 2rem;
    width: 2rem;
    min-width: 2rem;
    background: var(--white);
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 0.5rem 0 0;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-image: url(https://mediagroup-central.s3.eu-central-1.amazonaws.com/images/icons/check.svg);
    mask-image: url(https://mediagroup-central.s3.eu-central-1.amazonaws.com/images/icons/check.svg);
}

body > main article.stepper .stepper > li > nav {
    margin: 1rem 0;
}

body > main article.form .benefits,
body > main article.form .map {
    position: relative;
    width: 100%;
    padding: .5rem 0 0 0;
}

@media (min-width: 768px) {
    body > main article.form.fullWidth {
        min-width: auto;
        width: 100%;
        max-width: var(--max-content-width);
    }

    body > main article.form.fullWidth section {
        position: relative;
        display: inline-flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        flex-wrap: nowrap;
    }

    body > main article.form.fullWidth section fieldset {
        width: 100%;
        margin: 0 1rem 0 0;
    }

    body > main article.form.fullWidth section fieldset:last-child {
        margin: 0;
    }

    body > main article.stepper > h2,
    body > main article.stepper > p {
        padding: 0 1rem 0 0;
    }

    body > main article.stepper .stepper > li.active section {
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    body > main article.stepper .stepper > li section fieldset {
        width: 100%;
        margin: 0 1rem 0 0;
    }

    body > main article.stepper .stepper > li section fieldset:last-child {
        margin: 0;
    }

    body > main article.abstract > ul > li m-value > span {
        padding: 0;
    }

    body > main article.stepper {
        padding: 1rem 0 0 1rem;
    }

    .stepper > li {
        padding: 0 0 0 2rem;
        width: 100%;
        position: relative;
        display: inline-block;
    }

    .stepper > li > * {
        display: none;
    }

    .stepper > li.active > * {
        display: inline-block;
    }

    body > main article.form m-list p.text {
        -webkit-line-clamp: 3;
    }

}

@media (min-width: 1400px) {
    body > main {
        display: grid;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: flex-start;
        max-width: var(--max-content-width);
        grid-template-columns: 2fr 1fr;
    }

    body > main article.form {
        margin: 0 1rem 2rem 0;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-between;
        align-content: flex-start;
        height: fit-content;
        width: 700px;
        float: left;
    }

    body > main article.abstract {
        width: 292px;
        height: max-content;
        margin: 0 0 2rem 0;
        z-index: 1;
        top: 0;
        float: right;
    }

    body > main article.abstract > ul > li {
        grid-template-columns: 1fr;
        margin: 0 0 .25rem 0;
    }

    body > main article.abstract > ul > li m-value > span,
    body > main article.abstract > ul > li > span {
        text-align: left;
    }

    body > main article section {
        position: relative;
        display: inline-flex;
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: nowrap;
    }

    body > main article.fullWidth,
    body > main article.orderingProcess {
        max-width: calc(var(--max-content-width) - 1rem);
        grid-column: 1 / span 2;
        float: left;
        margin: 0;
    }

    body > main article.fullWidth > section {
        flex-direction: column;
    }

    body > main article section.variant_true {
        flex-wrap: wrap;
    }

    body > main article section div > section {
        flex-direction: row;
    }

    body > main article section fieldset {
        width: 100%;
        margin: 0 1rem 0 0;
    }

    body > main article section.debit {
        flex-direction: column;
    }

    fieldset.small {
        width: 50%;
    }
    body > main article section fieldset:last-child,
    body > main article > section fieldset:last-child {
        margin: 0;
    }

    body > main article.form nav.paymentNav {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    body > main article.abstract nav.paymentNav {
        display: none;
    }

    body > main article .paymentNav span.small {
        width: 100%;
        text-align: right;
    }
}