footer {
    position: relative;
    display: block;
    color: var(--black);
    background: var(--white);
    border-top: var(--border);
}

footer a {
    color: var(--black);
}

footer > .footerMain {
    padding: 2rem 1.25rem 0 1.25rem;
    overflow: hidden;
}

footer > .footerMain > article {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 0 0 1.5rem 0;
    padding: 0 0 1.5rem 0;
    border-bottom: var(--border);
}

footer > .footerMain > article:last-of-type {
    margin: 0;
    padding: 0;
    border: none;
}

footer > .footerMain > article > section {
    padding: 0;
}

footer > .footerMain > article > section:first-child {
    margin: 0;
}

footer > .footerMain > article.contact > section {
    border: none;
    padding: 0 0 1.25rem 0;
}

footer > .footerMain > article.contact > section:last-child {
    padding: 0;
    margin: 0 0 1rem 0;
}

footer > .footerMain > article > section .phone {
    font-size: 2rem;
    font-weight: 700;
    white-space: nowrap;
}

footer > .footerMain > article > section .phone:before {
    content: '';
    position: relative;
    display: inline-block;
    height: 28px;
    width: 28px;
    background-image: url(https://mediagroup-central.s3.eu-central-1.amazonaws.com/images/icons/phone-alt-solid.svg);
    margin: 0 .5rem 0 0;
}

footer > .footerMain > article > section > img {
    position: relative;
    display: block;
    width: 100%;
    max-width: 140px;
    margin: 1.25rem 0 0 0;
}

footer > .footerBottom {
    position: relative;
    display: inline-block;
    width: 100%;
    background: rgba(var(--secondary-rgb), .3);
    text-align: center;
    padding: 1.5rem;
}

footer > .footerBottom > ul {
    list-style: none;
    margin: 0 0 1rem 0;
    padding: 0;
    display: block;
    position: relative;
    text-align: left;
}

footer > .footerBottom > ul > li {
    position: relative;
    display: block;
    padding: .5rem;
}

footer > .footerBottom > span {
    line-height: 1.5rem;
}

footer > .footerMain m-button.next {
    margin: 0 0 1rem 0;
}

footer > .footerMain m-button.next:last-of-type {
    margin: 0;
}

@media (min-width: 768px) {
    footer > .footerMain {
        max-width: var(--max-content-width);
        margin: 0 auto;
        overflow: initial;
        display: flex;
    }

    footer > .footerMain > article {
        display: inline-flex;
        border-right: var(--border);
        border-bottom: none;
        margin: 0 1.5rem 1.5rem 0;
        padding: 0 1.5rem 0 0;
    }

    footer > .footerMain > article.contact {
        display: inline-block;
    }

    footer > .footerMain > article > section {
        margin: 0 2rem 2rem 0;
    }

    footer > .footerMain > article.contact > section {
        border: none;
        margin: 0 1rem auto 0;
        width: calc(50% - 1.5rem);
        float: left;
    }

    footer > .footerMain > article.contact > section:last-of-type {
        margin: 0;
        width: 50%;
    }

    footer > .footerMain > article > section {
        display: flex;
        flex-direction: column;
    }

    footer > .footerMain > article > section > img {
        max-width: 280px;
        margin: -5rem 0 0 0;
    }

    footer > .footerMain > article > section .phone {
        font-size: 1.5rem;
    }

    footer > .footerMain > article > section .phone:before {
        height: 20px;
        width: 20px;
    }

    footer > .footerBottom > ul {
        text-align: center;
    }

    footer > .footerBottom > ul > li {
        display: inline-block;
    }
}

@media (min-width: 1400px) {

    footer > .footerMain > article > section .phone {
        font-size: 2rem;
    }

    footer > .footerMain > article > section .phone:before {
        height: 26px;
        width: 26px;
    }
}