/* Shared footer alignment and typography for the active desktop/mobile layouts. */
.bgr-up > .container > .row > .col-md-8 > div:first-of-type img[src*="/phone.svg"],
.bgr-up > .container > .row > .col-md-8 > div:first-of-type img[src*="/mail.svg"] {
    filter: brightness(0) saturate(100%) invert(55%) sepia(94%) saturate(626%) hue-rotate(338deg) brightness(103%) contrast(91%);
}

@media (min-width: 768px) {
    .bgr3 .container {
        width: calc(100% - 32px);
        max-width: 1420px !important;
    }

    .bgr3 .container:first-child .row {
        min-height: 48px;
        align-items: center !important;
    }

    .bgr3 .container:first-child .col-md-6:first-child,
    .bgr3 .container:first-child .col-md-6:last-child {
        display: flex;
        align-items: center;
    }

    .bgr3 .container:first-child .col-md-6:last-child {
        justify-content: flex-end;
        white-space: nowrap;
    }

    .bgr3 .container:first-child .gray_24,
    .bgr3 .container:first-child a {
        font-size: 18px !important;
        line-height: 1.4 !important;
    }

    .bgr3 .container:first-child img {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .bgr3 .container:nth-of-type(2) > .row {
        align-items: flex-start;
    }

    .bgr3 .container:nth-of-type(2) img[src*="logo.svg"] {
        display: block;
        width: 350px !important;
        max-width: 100%;
        height: auto;
        margin: 0 !important;
    }
}

@media (max-width: 767px) {
    .footer_design .gray_16 > div:first-child .gray_24,
    .footer_design .gray_16 > div:first-child a {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    .footer_design .gray_16 > div:first-child img {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        vertical-align: middle;
    }

    .footer_design img[src*="logo.svg"] {
        display: block;
        width: min(100%, 210px) !important;
        height: auto;
        margin: 12px auto 8px !important;
    }
}
