@media (min-width: 1200px) {
    #header .container-xl {
        max-width: 100%;
        padding-left: 28px;
        padding-right: 28px;
    }

    #header .navbar {
        flex-wrap: nowrap;
        align-items: center;
    }

    #header .navbar-brand img {
        width: 170px;
        height: auto;
    }

    #header .header-top-alignment {
        width: auto;
        flex: 1 1 auto;
        min-width: 0;
    }

    #header .navbar-collapse {
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        flex-wrap: nowrap;
        width: 100%;
        gap: 16px;
    }

    #header .navbar-nav {
        flex: 1 1 auto;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-evenly;
        margin-bottom: 0;
        width: 100%;
    }

    #header .navbar-nav > li {
        white-space: nowrap;
        padding-left: 8px;
        padding-right: 8px;
    }

    #header .navbar-nav > li > a {
        white-space: nowrap;
        font-size: 16px;
    }

    #header .head-btns {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        flex: 0 0 auto;
        gap: 8px;
        margin-left: 8px;
    }

    #header .head-btns a.primary-btn {
        margin-left: 0;
        white-space: nowrap;
        height: 40px;
        padding: 0 14px;
        font-size: 13px;
        line-height: 1;
    }
}

@media (max-width: 1500px) and (min-width: 1200px) {
    #header .navbar-nav > li > a {
        font-size: 15px;
    }

    #header .head-btns .loc-region {
        display: none;
    }

    #header .head-btns a.primary-btn {
        padding: 0 12px;
        font-size: 12px;
        height: 36px;
    }
}

@media (max-width: 1320px) and (min-width: 1200px) {
    #header .navbar-brand img {
        width: 145px;
    }

    #header .navbar-nav > li > a {
        font-size: 14px;
    }

    #header .head-btns {
        gap: 6px;
    }

    #header .head-btns a.primary-btn {
        padding: 0 10px;
    }
}

#header .head-call-to-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

@media (max-width: 1199.98px) {
    #header .head-call-to-actions {
        margin-right: 36px !important;
        padding-right: 0 !important;
    }

    #header .navbar-toggler {
        top: 50%;
        transform: translateY(-50%);
    }
}

#header .head-call-to-actions .head-btn {
    margin-right: 0 !important;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #fff !important;
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
}

#header .head-call-to-actions .head-btn img {
    width: 40px;
    height: 40px;
}

@media (max-width: 420px) {
    #header .head-call-to-actions {
        gap: 6px;
        margin-right: 34px !important;
    }

    #header .head-call-to-actions .head-btn img {
        width: 36px;
        height: 36px;
    }
}

.location-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 8px 0 20px;
}

.location-switch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 50px;
    padding: 0 22px;
    border-radius: 50px;
    border: 1px solid #fff;
    background: transparent;
    color: #fff !important;
    font-size: 16px;
    font-weight: 500;
    line-height: 30px;
    letter-spacing: 0;
    text-transform: uppercase;
    text-decoration: none;
}

.location-switch-btn.is-active,
.location-switch-btn:hover {
    background: #163832;
    border-color: #163832;
    color: #fff !important;
    text-decoration: none;
}

.location-switch-address {
    margin-bottom: 16px;
    text-transform: uppercase;
}

footer .section-heading p.footer-locations {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 2rem;
    align-items: start;
    width: 100%;
}

footer .section-heading p.footer-locations a {
    display: inline-flex;
    align-items: flex-start;
}

footer .section-heading p.footer-locations a.footer-location-portland {
    justify-self: end;
    text-align: right;
    justify-content: flex-end;
}

@media (max-width: 767.98px) {
    footer .section-heading p.footer-locations {
        grid-template-columns: 1fr;
        row-gap: 1.25rem;
    }

    footer .section-heading p.footer-locations a.footer-location-portland {
        justify-self: start;
        text-align: left;
        justify-content: flex-start;
    }
}
