.main-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-x: hidden;
}

.main {
    margin: auto;
    text-align: center;
}

.error-page.qld__body {
    flex-direction: column;
    justify-items: center;
    padding: 40px 37.5px;
}

.qld__body .error-page p {
    margin-top: 24px;
    font-size: 24px;
    line-height: 32px;
}

.phone-icon {
    transform: rotate(-90deg);
    margin-right: 3px;
}

a.qld__btn {
    border-width: 2px;
}

.contact-us-section {
    display: flex;
    padding-top: 16px;
    min-width: 205px;
}

.contact-us::after {
    content: "Other contact options";
}

.contact-us-row::before {
    display: block;
    width: 0px;
}

.contact-us-row::after {
    display: block;
    width: 0px;
}

@media (min-width: 992px) {
    .qld__footer__cta-content {
        max-width: 225px !important;
    }
}

@media (min-width: 992px) {
    .gov-trademark {
        margin-bottom: 10px !important;
    }
}

@media (max-width: 991px) {
    a.qld__btn {
        min-width: 168px;
    }

    .contact-us::after {
        content: "Contact options";
    }

    .qld__footer.qld__footer--dark .qld__footer__column:last-of-type {
        border-top: 1px solid var(--dtf-dark-borders-foregrounds-border-alt);
    }

    .qld__footer__social,
    .qld__footer__navigation {
        border-top: 2px solid rgb(17, 178, 212, 0.3);
    }
}

.social-links {
    display: none;
}

.copyright {
    order: 1;
}

.privacy {
    order: 2;
}

.right-to-info {
    order: 3;
}

.accessiblity {
    order: 4;
}

.other-languages {
    order: 5;
}

@media (min-width: 992px) {
    .qld__footer.qld__footer--dark .qld__footer__navigation {
        border-right: 2px solid rgb(17, 178, 212, 0.3);
    }

    .contact-us-column {
        min-width: 270px;
    }

    .links-column {
        min-width: 195px;
    }
}

@media (min-width: 700px) and (max-width: 991px) {
    .qld__footer__navigation ul.qld__link-list {
        justify-content: initial;
    }

    .copyright {
        order: 1;
    }

    .privacy {
        order: 4;
    }

    .right-to-info {
        order: 2;
    }

    .accessiblity {
        order: 5;
    }

    .other-languages {
        order: 3;
    }
}

@media (max-width: 699px) {
    .copyright {
        order: 1;
    }

    .privacy {
        order: 3;
    }

    .right-to-info {
        order: 5;
    }

    .accessiblity {
        order: 2;
    }

    .other-languages {
        order: 4;
    }
}

.qld__header__main.qld__body.qld__body--dark .qld__tag {
    color: #fff;
    margin: 0 0 0 10px;
}

@media (min-width: 992px) {
    .green-banner {
        border-bottom: 8px solid #6bbe27;
    }
}

@media (max-width: 699px) {
    .qld__header__pre-header {
        font-size: 14px;
        height: 48px;
        padding-top: 0.625rem;
        padding-bottom: 0.625rem;
    }
}

.qld__header.qld__header--dark {
    background-color: #04498f;
}

.qld__header__main.qld__body.qld__body--dark {
    background-color: #04498f;
}

.qld__header__brand {
    padding: 24px 0;
}

@media (max-width: 699px) {
    .qld__header__brand {
        padding: 12px 0;
    }
}

@media (min-width: 992px) {
    .qld__header__brand {
        padding: 34px 0;
    }
}
@media (max-width: 699px) {
    .qld__header__pre-header-brand-image {
        height: 1.75rem;
        width: auto;
    }
}

@media (min-width: 700px) {
    .qld__grid .container-fluid {
        padding: 0 32px;
    }
}

@media (min-width: 992px) {
    .qld__grid .container-fluid {
        padding: 0 64px;
    }
}

.myqld-beta {
    display: flex;
    align-items: center;
}

.row p {
    font-size: 14px;
    line-height: 20px;
}

.gov-trademark-container {
    line-height: 20px;
}

.qld__footer.qld__footer--dark .row {
    line-height: 20px;
    width: auto;
}
