footer
{
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    grid-gap: var(--sz_button_margin);
    background-color: black;
    color: white;
    box-sizing: border-box;
    padding: var(--sz_button_margin);
    min-width: var(--sz_width_min);
}
    footer > div
    {
    }
        footer p
        {
            font-size: 0.8rem;
            margin-bottom: 0;
        }
        footer h4
        {
            margin-top: 0;
        }

/* LINKS Look / Feel */
    footer  a
    {
        position: relative;
        text-decoration: none;
        color: white;

    }
        footer > div:nth-child(2) a
        {
            padding: calc( 0.5 * var(--sz_button_margin) );
        }
        footer a:hover
        {
            background-color: var(--color_primary);
            border-radius: var(--sz_button_margin);
        }
    footer nav
    {
        margin-bottom: calc(2 * var(--sz_button_margin) );
    }
        footer nav > a
        {
            display: block;
        }
        footer nav > a:hover:after
        {
            content: "→";
            display: block;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            right: calc(1 * var(--sz_button_margin));
            font-weight: bold;
        }

/* First column adjustments */
footer > div:nth-child(1)
{
    position: relative;
}
    footer > div:nth-child(1) > p
    {
        position: absolute;
        bottom: 0;
    }
footer .map,
footer .phone
{
    padding-left: calc(1.5 * var(--sz_button) );
    position: relative;
}
footer .map
{
    margin-bottom: calc(2 * var(--sz_button_margin) );
}
footer .map:before,
footer .phone:before
{
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    width: var(--sz_button);
    height: var(--sz_button);
}
footer .map:before { background-image: url(icons/map.svg); }
footer .phone:before { background-image: url(icons/phone.svg); }

/********************* Start Media queries for different layouts */

@media screen and (max-width: 1200px)
{
}

@media screen and (max-width: 1024px)
{
}

@media screen and (max-width: 768px)
{
    footer
    {
        grid-template-columns: 1fr;
    }
    footer > div:nth-child(1)
    {
        min-height: 150px;
    }
    footer > div:nth-child(2),
    footer > div:nth-child(3)
    {
        padding-top: calc(2 * var(--sz_button_margin) );
        margin-top: var(--sz_button_margin);
        border-top: var(--border);
    }
    footer > div:nth-child(3)
    {
        margin-bottom: calc(1 * var(--sz_button_margin) );
    }
}