@media (min-width: 768px) {
    #footer .row {
        display: flex;
        align-items: center;
    }

    #footer .col-md-6 {
        float: none;
        flex: 0 0 50%;
        max-width: 50%;
        display: flex;
        align-items: center;
    }

    #footer .col-md-6:first-child {
        justify-content: flex-start;
    }

    #footer .col-md-6:last-child {
        justify-content: flex-end;
    }

    #footer .col-md-6 img {
        display: block;
    }
}

@media (max-width: 991.98px) {
    .inner-bg {
        padding: 36px 0 16px 0;
    }

    .form-top-right {
        font-size: 52px;
        line-height: 84px;
    }
}

@media (max-width: 767.98px) {
    html,
    body {
        min-height: 100vh;
    }

    body {
        display: flex;
        flex-direction: column;
    }

    .top-content {
        flex: 1 1 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 0;
    }

    .inner-bg {
        width: 100%;
        min-height: 0;
        padding: 20px 0 10px 0;
        display: flex;
        align-items: center;
    }

    .top-content .container {
        width: 100%;
    }

    body {
        font-size: 14px;
        line-height: 1.5;
    }

    h1,
    h2 {
        margin-top: 0;
        font-size: 36px;
        line-height: 1.2;
    }

    h3 {
        font-size: 20px;
        line-height: 1.35;
    }

    .top-content .description {
        margin: 12px 0 8px 0;
    }

    .form-box {
        margin-top: 18px;
    }

    .form-top {
        padding: 4px 16px 10px 16px;
    }

    .form-bottom {
        padding: 16px 16px 20px 16px;
    }

    .form-top-left,
    .form-top-right {
        float: none;
        width: 100%;
        text-align: left;
    }

    .form-top-left {
        padding-top: 14px;
    }

    .form-top-right {
        margin-top: 6px;
        padding-top: 0;
        font-size: 28px;
        line-height: 1.2;
        opacity: 0.45;
    }

    .form-bottom p,
    .form-bottom .alert {
        margin-bottom: 10px;
        line-height: 1.4;
    }

    input.form-control,
    #submit {
        height: 46px;
        margin-top: 12px;
        padding: 0 14px;
        font-size: 15px;
        line-height: 40px;
    }

    html,
    body,
    #container {
        height: auto;
    }

    body > #container {
        height: auto;
        min-height: 0;
    }

    #footer {
        position: relative;
        height: auto;
        margin-top: 0;
        padding: 10px 0 14px 0;
    }

    #footer .col-md-6 {
        padding: 2px 0;
        font-size: 13px !important;
        text-align: center !important;
    }

    #footer img {
        max-height: 18px !important;
    }

    #bclogin,
    #standardlogin {
        display: inline-block;
        margin-top: 6px;
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    h1,
    h2 {
        font-size: 30px;
    }

    .form-top-left h3 {
        font-size: 18px;
    }

    .form-top,
    .form-bottom {
        padding-left: 12px;
        padding-right: 12px;
    }

    .form-bottom {
        padding-top: 14px;
        padding-bottom: 16px;
    }

    input.form-control,
    #submit {
        height: 44px;
        font-size: 14px;
    }
}
