body > main article.form,
body > main article.abstract {
    display: inline-block;
    background: var(--light-gray);
    border: var(--box-border);
    border-radius: var(--box-border-radius);
    width: calc(100% - 2rem);
    padding: 1.75rem;
    margin: 0 1rem 1.75rem;
}

body > main article.form article.form {
    border: none;
    background: transparent;
    margin: 1rem 0;
    padding: 0;
}

body > main article.form.fullWidth {
    display: block;
    margin: 1rem auto;
}

body > main article.abstract {
    background: var(--gray);
    color: var(--white);
}

body > main article.abstract > * {
    width: 100%;
}

body > main article.abstract > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

body > main article.abstract > ul > li {
    min-height: 2rem;
    border-bottom: var(--box-border);
    display: grid;
    grid-template-columns: 40% 60%;
    align-items: center;
    line-height: 1.5rem;
}

body > main article.abstract > ul > li.address {
    grid-template-columns: 40% 30% 30%;
}

body > main article.abstract > ul > li.address > span {
    height: 30px;
    line-height: 30px;
    overflow: hidden;
    text-align: right;
    text-overflow: ellipsis;
    top: 0;
    white-space: nowrap;
    width: 100%;
    padding: 0 0 0 0.5rem;
}

body > main article.abstract li.image {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    height: 150px;
    background: var(--white);
}

body > main article li.image img {
    position: relative;
    display: block;
    object-fit: contain;
    max-height: 150px;
    margin: 0 auto;
}

body > main article.abstract m-value > .value {
    color: var(--white);
    text-align: right;
}

body > main article.abstract > ul > li.address > span.title {
    grid-column: 1;
    grid-row: 1 / 4;
    text-align: left;
    padding: 0;
}

body > main article.abstract > ul > li > span {
    text-align: right;
    line-height: 30px;
    min-height: 30px;
}

body > main article.abstract > ul > li:last-of-type {
    border: none;
}

body > main article.abstract > ul > li > m-value span.value {
    padding: 0 0 0 0.5rem;
}

body > main article.abstract > ul > li > .price {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    align-content: space-between;
    margin: 1rem 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: 2rem;
    font-weight: 600;
    line-height: initial;
    overflow: unset;
    padding: 0;
}

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 > span.small {
    font-size: 1rem;
}

body > main article.abstract > ul ~ m-button {
    margin: 1.5rem 0 0 0;
    float: none;
}

body > main article.form h3,
body > main article.abstract h3 {
    color-scheme: light;
    width: 100%;
    text-align: left;
}

body > main article.abstract.notice h3 {
    border-top-right-radius: var(--box-border-radius);
    border-top-left-radius: var(--box-border-radius);
    background: var(--primary);
    margin: 0;
    padding: 1rem 1.75rem;
    text-transform: uppercase;
    font-size: 1.5rem;
}

body > main article.abstract.notice h3.info:before {
    content: '';
    height: 24px;
    width: 24px;
    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/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: 1.75rem 1.75rem 0;
    margin: 0;
}

body > main article.abstract.notice a {
    color: var(--white);
    text-decoration: underline;
}

body > main article.abstract h3 {
    margin: .5rem 0;
}

body > main article.form p,
body > main article.abstract p {
    width: 100%;
}

body > main article > div.info h3 {
    color-scheme: inherit;
    margin: 0 0 .5rem 0;
    font-size: 1.25rem;
    color: var(--error-message-color);
    text-transform: uppercase;
}

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: .5rem 0;
    line-height: 1.75rem;
    white-space: break-spaces;
}

body > main article.form m-list h4 {
    font-size: 1.25rem;
    margin: 0 0 .5rem 0;
    line-height: 1.5rem;
    white-space: break-spaces;
}

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:first-of-type div.info {
    margin: 0.5em 0 1em 0;
}

body > main article > div.info {
    width: 100%;
    background: var(--light-primary);
    border-radius: var(--box-border-radius);
    padding: 1em;
    margin: 0.5em 0 1em 0;
    color: var(--black);
}

body > main article > div.info > h3:before {
    content: '';
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    display: inline-block;
    width: 1em;
    height: 1em;
    margin: 0 .25em 0 0;
    top: -2px;
    -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);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    background: var(--error-message-color);
}

body > main article span.small {
    position: relative;
    display: block;
    margin: 1.25em 0;
    line-height: 1.5rem;
}

body > main article.form m-select.active > .content nav > m-button {
    margin: 0;
}

fieldset > div {
    display: inline-block;
    width: calc(100% - 32px);
}

fieldset > div.text {
    width: 100%;
}

.accordion {
    color: var(--black);
    cursor: pointer;
    padding: 1rem;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
}

body > main article > section fieldset:last-child {
    border: none;
}

body > main article .payment {
    flex-direction: column;
}

body > main article .payment > fieldset {
    border-bottom: 1px solid var(--medium-gray);
    margin: 0;
    padding: 1rem 0;
}

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;
}

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;
    float: left;
}

body > main article.stepper > h2,
body > main article.stepper > p {
    padding: 0 1rem 0 .5rem;
}

body > main article.stepper > p {
    margin: 0 0 1rem 0;
}

.stepper {
    margin: 2rem 1rem 0 1rem;
    padding: 0;
    width: calc(100% - 2rem);
}

.stepper > li {
    position: relative;
    list-style: none;
    border-left: 1px solid var(--secondary);
    min-height: 2rem;
    top: 1rem;
    margin: 0 0 3rem 0;
    padding: 0 0 4rem 1.5rem;
}

.stepper > li:last-of-type {
    border: none;
    min-height: 0;
    margin: 0;
    padding: 0 0 0 1.5rem;
}

.stepper > li.completed > *,
.stepper > li > * {
    display: none;
}

.stepper > li > * {
    position: relative;
    top: -2.5rem;
}

.stepper > li > nav {
    top: 0;
}

.stepper > li.active > *,
.stepper > li > .circle,
.stepper > li.completed > h4,
body > main article.form .stepper > li > h4 {
    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 {
    display: block;
    color-scheme: light;
    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 > section > main {
    width: 100%;
}

body > main article.form nav.paymentNav {
    display: none;
}

body > main article.form .benefits,
body > main article.form .map {
    position: relative;
    width: 100%;
    border-top: var(--box-border);
    padding: .5rem 0 0 0;
}

nav.paymentNav {
    position: relative;
    display: block;
    text-align: center;
}

@media (max-width: 768px) {
    body > main article.form,
    body > main article.abstract {
        margin: 0 .5rem 1.75rem .5rem;
        width: calc(100% - 1rem);
    }

    body > main article.form.stepper {
        padding: 1.75rem 0 1.75rem .5rem;
    }

    body > main article.form.stepper > h3,
    body > main article.form.stepper > p {
        padding: 0 1.75rem 0 1.25rem;
    }

}

@media (min-width: 768px) {
    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;
    }

    .stepper > li {
        padding: 0 0 0 2rem;
        width: 100%;
        position: relative;
        display: inline-block;
    }

    .stepper > li > * {
        display: none;
    }

    .stepper > li.active > * {
        display: inline-grid;
        grid-template-columns: auto auto;
    }

}

@media (min-width: 1400px) {
    body > main {
        display: flex;
        width: 1400px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-content: flex-start;
    }

    body > main article.form {
        width: 900px;
        margin: 0 auto 2rem 0;
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: space-between;
        align-content: flex-start;
        height: fit-content;
    }

    body > main article.form.fullWidth {
        width: 100%;
    }

    body > main article.abstract {
        width: calc(500px - 2.5rem);
        position: relative;
        z-index: 1;
        height: fit-content;
    }

    body > main article section {
        position: relative;
        display: inline-flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        flex-wrap: nowrap;
    }

    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 fieldset:last-child {
        margin: 0;
    }

    body > main article section.debit {
        flex-direction: column;
    }

    fieldset.small {
        width: 50%;
    }

    body > main article > section fieldset:last-child {
        margin: 0;
    }

    body > main article .paymentNav span.small {
        width: 100%;
        text-align: right;
        font-size: .85rem;
    }

    body > main article.form nav.paymentNav {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    nav.paymentNav {
        display: none;
    }

}