html {
    height: 100%;
}

body {
    position: relative;
    min-height: 100%;
}

#api {
    margin-bottom: 32px;
}

div#api .entry + .divider h2 {
    display: none;
}

#api .intro h2, .panel-container h2 {
    font-family: RalewayRegular;
    font-style: normal;
    font-weight: 600;
    font-size: 36px;
    line-height: 40px;
    letter-spacing: 0.25px;
    font-feature-settings: 'pnum' on, 'lnum' on;
    color: #2A2829;
}

#api .divider {
    width: 100%;
    height: 10px;
    border-bottom: 1px solid black;
    text-align: center;
}

#api .divider h2 {
    font-family: RalewayRegular;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    background: #fff;
    text-align: center;
    letter-spacing: 0.25px;
    font-feature-settings: 'pnum' on, 'lnum' on;
    display: inline-block;
    padding: 0 10px;
}

#api .password-label a {
    font-size: 1.4rem;
}

#api button#cancel {
    display: none;
}

#api input {
    background: #FFFFFF;
    border: 1px solid #CBC8CA;
    box-sizing: border-box;
    border-radius: 5px;
    padding: 16px 20px;
}

#api input::placeholder {
    color: #757374;
    font-family: RalewayRegular;
    font-style: normal;
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 24px;

    font-feature-settings: 'pnum' on, 'lnum' on;
}

#api  .error.pageLevel[aria-hidden="false"] + .entry > div > input {
    border: 1px solid #BC3737;
}

body {
    font-size: 1.4rem;
    font-family: RalewayRegular, Helvetica, Arial, sans-serif;
    line-height: 2.8rem;
    color: #000;
    background: #fff;
    margin: 0 auto;
    padding-top: 64px;
    max-width: 100%;
    overflow-x: hidden;
    background: linear-gradient(transparent, rgba(11, 61, 110,
    0.7)),url(https://saentapp1165ncus01f2b3.blob.core.windows.net/web/fbc-reservations/images/Member_Background.png);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding-left: 80px;
    padding-right: 80px;
}

header img.logo {
    width: 120px;
    height: 120px;
}

header, footer {
    display: block;
    padding: 0;
    text-align: center;
}

.spacer {
    margin-top: 100px;
    width: 100%;
    height: 1px;
}

.panel-footer {
    padding: 0 32px;
    text-align: center;
    line-height: 1.5;
    font-style: normal;
    font-weight: 500;
    font-family: 'RalewayRegular';
    font-size: 16px;
    line-height: 24px;
    text-align: center;
    font-feature-settings: 'pnum' on, 'lnum' on;
    margin-bottom: 48px;
}

.fbc_footer_container {
    display: flex;
    align-items: center;
    width: 100%;
    padding-right: 50px;
    padding-left: 50px;
    font-size: 1.3rem;
}

.fbc_footer_contents {
    width: 50%;
    border-top: 1px solid rgba(255,255,255, 0.7);
}

ul.fbc_footer_list {
    display: flex;
    align-items: center;
    list-style: none;
    height: 50px;
    padding-left: 0;
}

ul.fbc_footer_list > li {
    margin: 10px;
}

.fbc_footer_copyright_information {
    width: 50%;
    border-top: 1px solid rgba(255,255,255, 0.7);
    height: 50px;
    margin-bottom: 11px;
    display: flex;
    align-items: center;
    justify-content: end;
}

.fbc_footer_copyright_information p {
    font-size: 1.4rem;
    margin-bottom: 0;
}

ul.fbc_footer_list > li:first-of-type {
    margin-left: 0;
}

.container.unified_container {
    position: relative;
    background: #fff;
    width: 519px;
    padding-left: 50px;
    display: flex;
    justify-content: center;
    margin: auto;
    padding: 48px 64px;
    padding-bottom: 0;
    box-shadow: 0px 38px 80px rgba(0, 0, 0, 0.05), 0px 24.6296px 46.8519px rgba(0, 0, 0, 0.037963), 0px 14.637px 25.4815px
    rgba(0, 0, 0, 0.0303704), 0px 7.6px 13px rgba(0, 0, 0, 0.025), 0px 3.0963px 6.51852px rgba(0, 0, 0, 0.0196296), 0px
    0.703704px 3.14815px rgba(0, 0, 0, 0.012037);
    border-radius: 16px;
}

button#next {
    width: 100%;
    margin: 0 auto;
    max-width: 100%;
    background: #175491;
    border-radius: 5px;
    padding: 16px 10px;
}

.entry {
    position: relative;
}

.buttons {
    margin-top: 46px;
}

a#forgotPassword2 {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 89px;
    left: 50%;
    font-family: RalewayRegular;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    font-feature-settings: 'pnum' on, 'lnum' on;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    font-size: 1.6rem;
    text-decoration: none;
    color: #2075BA;
    line-height: 24px;
}

ul.fbc_footer_list > li > a, .fbc_footer_copyright_information {
    color: #fff;
    font-family: RalewayRegular;
    font-style: normal;
    font-weight: 500;
    font-size: 1.4rem;
    line-height: 20px;
    letter-spacing: 0.25px;
    font-feature-settings: 'pnum' on, 'lnum' on;
}

/* FORGOT PASSWORD STYLING */
#api[data-name="SelfAsserted"] .intro p {
    display: none;
}

#api .sendNewCode, #api .verifyCode {
    margin: 0 auto !important;
}

.panel-container h2, p.verify-header-step1.left-align {
    margin-left: 34px;
}

/* Forgot Password Change Email Address Button */
button#emailVerificationControl_but_change_claims {
    display: none !important;
}

button#emailVerificationControl_but_send_code,
button#emailVerificationControl_but_verify_code,
button#emailVerificationControl_but_send_new_code,
button#emailVerificationControl_but_change_claims,
button#continue {
    width: 100%;
    margin: 0 auto;
    max-width: 100%;
    background: #175491;
    border-radius: 5px;
    padding: 16px 10px;
}

button#emailVerificationControl_but_send_new_code,
button#emailVerificationControl_but_change_claims {
    background-color: #fff;
    border: 1px solid transparent;
    color: #2075BA;
}

button#emailVerificationControl_but_send_new_code:hover,
button#emailVerificationControl_but_change_claims:hover {
    color: #175491;
    border: 1px solid #002f5f;
}

#api .claims-provider-list-buttons.social {
    width: 100%;
    padding-left: 55px;
    padding-right: 55px;
}

#api .claims-provider-list-buttons.social button {
    width: 100%;
    margin: 0 auto;
    max-width: 100%;
    background-color: #fff;
    border-radius: 5px;
    padding: 16px 10px;
    color: #175491;
    border: 1px solid #002f5f;
}

#api[data-name="SelfAsserted"] {
    flex-direction: initial;
}

#api[data-name="SelfAsserted"] .buttons {
    display: flex;
    flex-direction: column;
    margin-top: 0;
}

li.TextBox.VerificationCode,
button#emailVerificationControl_but_send_new_code,
button#continue {
    display: none;
}

#api .TextBox.VerificationCode {
    display: none;
}

#api .verificationSuccessText {
    display: none;
}

.change-signinname button#continue,
.reset-password button#continue {
    display: block;
}

.secondary_text_container {
    width: 100%;
    min-height: 60px;
    margin-left: 34px;
    padding-right: 60px;
}
/*************************************************/

/* AAD STAFF STYLING */

.fbc-staff #api form {
    padding-bottom: 100px;
}

.fbc-staff .divider {
    position: absolute;
    bottom: 115px;
}

.fbc-staff .claims-provider-list-buttons.social {
    position: absolute;
    bottom: 30px;
}

/*************************************************/
form .verifying-modal {
    display: none;
}

div#verifying_blurb {
    background: #fff;
    border-radius: 10px;
}

.forgot_password_header {
    margin-bottom: 32px;
}

img.back_to_login_caret {
    width: 7.5px;
    margin-right: 13px;
    height: 13px;
}

.back_to_login_container p {
    display: flex;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0.25px;
    font-feature-settings: 'pnum' on, 'lnum' on;
    color: #2075BA;
    align-items: center;
}

.back_to_login_container {
    display: none;
    margin-left: 34px;
    margin-bottom: 24px;
}

.back_to_login_container a {
    text-decoration: none;
}

.passcode_code_sent_container img.check-valid {
    width: 16px;
    height: 16px;
    margin-right: 12px;
    vertical-align: sub;
}

.passcode_code_sent_container {
    margin-left: 34px;
    display: none;
    align-items: center;
    font-weight: bold;
    font-style: normal;
    font-size: 16px;
    margin-bottom: 5px;
    line-height: 24px;
    font-feature-settings: 'pnum' on, 'lnum' on;
    color: #188518;
}

#emailVerificationControl_code_sent_message {
    display: none;
}

.change-signinname .verificationInfoText {
    display: none;
}

.reset-password .verificationInfoText {
    display: none;
}

@media screen and (max-width: 1000px) {
    .spacer {
        margin-top: 150px;
    }

    .fbc_footer_container {
        flex-direction: column;
    }

    .fbc_footer_contents {
        width: 100%;
    }

    ul.fbc_footer_list {
        justify-content: center;
    }

    .fbc_footer_copyright_information {
        width: 100%;
        justify-content: center;
    }

}

@media screen and (max-width: 520px) {
    #api {
        width: 100%;
        padding: 0;
        margin-bottom: 45px;
    }

    .forgot-password .panel-container h2,
    .reset-password .panel-container h2 {
        text-align: center;
        margin-bottom: 20px;
        margin-left: 0;
    }

    .forgot-password .secondary_text_container,
    .reset-password .secondary_text_container {
        margin-left: 0;
        padding-right: 0;
        font-size: 1.3rem;
    }

    .container.unified_container {
        width: 100%;
    }

    .fbc_footer_container {
        padding-right: 5px;
        padding-left: 5px;
    }

    ul.fbc_footer_list > li {
        margin: 5px;
    }

    ul.fbc_footer_list > li > a, .fbc_footer_copyright_information {
        font-size: 1rem;
    }

    .fbc_footer_copyright_information p {
        font-size: 1rem;
    }

    #api .claims-provider-list-buttons.social {
        max-width: 400px;
        padding-left: 0;
        padding-right: 0;
    }

    .panel-footer {
        font-size: 1.3rem;
    }

    .back_to_login_container p {
        font-size: 1.3rem;
    }

    .back_to_login_container {
        margin-left: 0;
    }
    img.back_to_login_caret {
        width: 6.5px;
        height: 12px;
    }

    .passcode_code_sent_container {
        margin-left: 0;
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 435px) {
    body {
        padding-top: 40px;
    }

    header {
        margin-bottom: 20px;
    }

    .forgot-password div#api,
    .reset-password div #api {
        margin-bottom: 20px;
    }

    .container.unified_container {
        width: 100%;
        padding: 20px 64px;
    }
    .entry-item {
        max-width: 350px;
    }

    #api .intro h2, .panel-container h2 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    #api input {
        width: 350px;
    }

    #api label,
    #api p, #api input, #api div, #api a, #api button, #api li, #api span,
    #api .password-label a,
    #api .divider h2,
    label#email_label,
    label#newPassword_label,
    label#reenterPassword_label,
    label#VerificationCode_label,
    input#signInName,
    input#email,
    input#newPassword,
    input#reenterPassword,
    input#password,
    input#VerificationCode,
    input#signInName::placeholder,
    input#email::placeholder,
    input#newPassword::placeholder,
    input#reenterPassword::placeholder,
    input#password::placeholder,
    input#VerificationCode::placeholder {
        font-size: 1.3rem;
    }

    .fbc-staff .divider {
        bottom: 131px;
    }

    #api .claims-provider-list-buttons.social {
        padding-left: 20px;
        width: 100%;
        padding-right: 20px;
    }
}

@media screen and (max-width: 395px) {
    #api {
        margin-bottom: 25px;
    }

    .spacer {
        margin-top: 25px;
    }

    footer {
        position: initial;
    }

    ul.fbc_footer_list {
        flex-direction: column;
        height: 100%;
    }

    ul.fbc_footer_list > li {
        width: 100%;
    }

    ul.fbc_footer_list > li > a, .fbc_footer_copyright_information {
        width: 100%;
    }

    .fbc-staff .divider {
        bottom: 121px;
    }
}

@media screen and (max-width: 365px) {
    .container.unified_container {
        padding: 10px 10px;
    }

    .row {
        width: 100%;
    }

    a#forgotPassword2 {
        text-align: center;
        width: 100%;
    }

    #api input {
        width: 100%;
    }

    .entry {
        width: 100%;
    }

    .entry-item {
        width: 100%;
    }

    .panel-body {
        width: 100%;
    }
}