/* ---------------------------------------------------------------
   footer.css - new footer for mmoscal
   All classes use the mf- prefix and do not rely on any other file.
   Linked from footer.tpl.html AFTER style.css so it wins the cascade
   over div.footer rules in style.css and media.css.
   --------------------------------------------------------------- */

body div.footer {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 20px 0 0 !important;
    background: #1f6d95 !important;
    background: linear-gradient(180deg, #3a92bc 0%, #22729b 45%, #11506f 100%) !important;
    color: #fff;
    font-family: "Open Sans", Arial, sans-serif;
    overflow: hidden;
}

.mf-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 22px 24px 20px;
    box-sizing: border-box;
}

.mf-col {
    flex: 1 1 180px;
    min-width: 0;
}

.mf-col-head {
    position: relative;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    margin: 0 0 10px;
    padding-bottom: 7px;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
}

.mf-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    line-height: 1.5;
}

.mf-links a {
    color: #e2f1fa;
    text-decoration: none;
}

.mf-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.mf-links a.mf-sale {
    color: #ffd67a;
    font-weight: 500;
}

.mf-phone {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    margin-bottom: 5px;
}

.mf-phone svg {
    flex: 0 0 14px;
    fill: #cfe6f3;
}

.mf-phone:hover {
    color: #fff;
    text-decoration: none;
}

.mf-phone:hover svg {
    fill: #fff;
}

.mf-hours {
    color: #cfe6f3;
    font-size: 12px;
    margin: 9px 0 12px;
}

.mf-hours svg {
    vertical-align: -2px;
    margin-right: 5px;
    fill: currentColor;
}

/* ---- glass call button ------------------------------------------ */

.mf-glass {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 11px 10px;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    color: #fff;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 12px;
    background: rgba(255, 255, 255, .15);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    backdrop-filter: blur(12px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 2px 10px rgba(0, 0, 0, .18);
    -webkit-transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
    transition: box-shadow .3s ease, border-color .3s ease, background .3s ease;
}

.mf-glass:hover {
    background: rgba(120, 210, 255, .2);
    border-color: #8fd8f5;
    text-shadow: 0 0 10px rgba(170, 235, 255, .9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55),
                inset 0 0 16px rgba(140, 220, 255, .3),
                0 0 20px rgba(90, 200, 255, .6),
                0 0 44px rgba(90, 200, 255, .3);
}

.mf-glass:active {
    -webkit-transform: scale(.98);
    transform: scale(.98);
}

/* ---- bottom bar -------------------------------------------------- */

.mf-bottom {
    width: 100%;
    background: #11506f;
}

.mf-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    box-sizing: border-box;
}

.mf-bottom-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mf-glaz {
    display: block;
    max-height: 31px;
    width: auto;
    border: 0;
}

.mf-copy,
.mf-cookie {
    color: #bcdcec;
    font-size: 12px;
    line-height: 1.5;
}

.mf-cookie a {
    color: #ffd67a;
    text-decoration: none;
}

.mf-cookie a:hover {
    text-decoration: underline;
}

.mf-scripts {
    height: 0;
    overflow: hidden;
}

/* ---- tablet ------------------------------------------------------ */

@media only screen and (max-width: 900px) {
    .mf-col {
        flex: 1 1 45%;
    }
}

/* ---- mobile: columns become accordions, contacts on top ---------- */

@media only screen and (max-width: 640px) {

    .mf-inner {
        display: block;
        padding: 0 16px 4px;
    }

    .mf-col {
        border-top: 1px solid rgba(255, 255, 255, .22);
    }

    .mf-col-contacts {
        border-top: 0;
        padding: 18px 0 16px;
        text-align: center;
    }

    .mf-col-contacts .mf-col-head {
        display: none;
    }

    .mf-col-contacts .mf-phone {
        justify-content: center;
        font-size: 17px;
    }

    .mf-col-contacts .mf-glass {
        font-size: 14px;
        padding: 13px 12px;
        border-color: #8fd8f5;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5),
                    0 0 14px rgba(90, 200, 255, .45);
    }

    .mf-col-toggle .mf-col-head {
        margin: 0;
        padding: 13px 24px 13px 0;
        border-bottom: 0;
        cursor: pointer;
    }

    .mf-col-toggle .mf-col-head:after {
        content: "";
        position: absolute;
        top: 50%;
        right: 4px;
        margin-top: -2px;
        border: 5px solid transparent;
        border-top-color: #fff;
    }

    .mf-col-toggle.mf-open .mf-col-head:after {
        margin-top: -7px;
        border-top-color: transparent;
        border-bottom-color: #fff;
    }

    .mf-col-toggle .mf-links {
        display: none;
        gap: 9px;
        padding-bottom: 13px;
    }

    .mf-col-toggle.mf-open .mf-links {
        display: flex;
    }

    .mf-bottom-inner {
        display: block;
        text-align: center;
        padding: 14px 16px;
    }

    .mf-bottom-left {
        display: block;
    }

    .mf-glaz {
        margin: 0 auto 10px;
    }
}
