html
{
    height: 100%;
}

body
{
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #031c3a;
    color: #cde2f6;
}

html,
body
{
    font-family:
            
        "Switzer",

        -apple-system,
        BlinkMacSystemFont,

        "Roboto",
        "Segoe UI",
        "Helvetica",
        "Arial",

        sans-serif,

        "Apple Color Emoji",
        "Segoe UI Emoji",
        "Segoe UI Symbol";
        
    font-size: 14px;
    line-height: 20px;
}

.background
{
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    opacity: .07;
}

.body-container
{
    flex-grow: 1;
    max-width: none;
    padding: 0 330px 0 120px;
    margin: 0;
}

.nav-page
{
    padding: 28px 106px;
}

.nav-page .icon-banner
{
    width: 172px;
    height: auto;
}

.login-container
{
    height: 100%;
    display: flex;
    align-items: center;
    margin-top: -60px;
    min-height: 480px;
}

.login-page
{
    width: 420px;
}

.login-page h1
{
    font-size: 24px;
    font-weight: 500;
    line-height: 28px;
    text-rendering: geometricprecision;
    margin-bottom: 16px;
}

.login-page h2
{
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    text-rendering: geometricprecision;
}

.login-hero
{
    margin-right: auto;
}

.login-hero h1
{
    font-size: 80px;
    font-weight: 600;
    line-height: 92px;
    text-rendering: geometricprecision;
    margin-bottom: 64px;
}

.login-hero h2
{
    font-size: 20px;
    font-weight: 400;
    line-height: 32px;
    text-rendering: geometricprecision;
}

.login-page .btn-primary
{
    width: 100%;
}

.login-page-divider
{
    display: none;
}

.card
{
    color: #1a1b21;
    border-radius: 6px;
}

.card-header
{
    background: none;
    border: none;
}

.card-header + .card-body
{
    padding-top: 0;
}

.btn
{
    border-width: 0;
    padding: 10px 16px;
    line-height: 20px;
    -webkit-user-drag: none;
}

.form-control
{
    min-height: 40px;
}

.form-check-label
{
    margin-left: 4px;
}

/* The following further aligns the style with that of the account pages in the web app */

.login-page
{
    width: 400px;
}

.login-page-tab-separator
{
    opacity: 0.2;
    margin: 0 0.8em;
}

.login-page-local-options
{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.login-page-local-options .form-check
{
    margin: 4px 0;
}

.login-page-divider
{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px 0;
    opacity: 0.8;
}

.login-page-external
{
    margin-top: 0 !important;
}

.login-page .btn-primary,
.login-page-external .btn-secondary
{
    width: 100% !important;
    color: #fff !important;
    background-color: #007bff !important;
    border-color: #007bff !important;
}

.login-page-external .list-inline-item
{
    display: block;
}

.login-page > .lead
{
    display: flex;
}

.login-page h1
{
    margin-bottom: 24px;
}

.login-page a
{
    font: inherit;
    text-decoration: none;
    color: #68a7e5ff;
}

.login-page .card
{
    background: none;
    border: 0;
    color: inherit;
}

.login-page .card-header
{
    display: none;
}

.login-page .card-body
{
    padding: 0;
}

.login-page .form-group
{
    margin-bottom: 12px;
}

.login-page input[type="text"],
.login-page input[type="password"]
{
    background: #e5e5e5 !important;
    color: #1a1b21 !important;
    border: 1px solid #d4d4d4ff !important;
    border-radius: 4px !important;
}

.login-page input[type="text"]::placeholder,
.login-page input[type="password"]::placeholder
{
    color: #6b6c6f;
}

.login-page .btn,
.login-page .form-control
{
    box-shadow: 0 0 4rem 2rem rgba(0, 0, 0, .02) !important;
}

/* The following adjusts teh styles based on viewport size */


@media (max-width: 1600px)
{
    .body-container
    {
        padding-right: 240px;
    }
}

@media (max-width: 1440px)
{
    .body-container
    {
        padding-right: 120px;
    }
    
    .login-hero h1
    {
        font-size: 64px;
        line-height: 74px;
        margin-bottom: 51px;
    }
}

@media (max-width: 1199px)
{
    .login-container
    {
        margin-top: -30px;
    }

    .login-container
    {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    .login-hero h1
    {
        font-size: 40px;
        line-height: 48px;
        margin-bottom: 24px;
    }

    .login-hero h2
    {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 64px;
    }
}

@media (max-width: 1199px) and (max-height: 900px)
{
    .login-hero h1
    {
        font-size: 40px;
        line-height: 48px;
        margin-bottom: 24px;
    }

    .login-hero h2
    {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 24px;
    }
}

@media (max-width: 1199px) and (max-height: 679px)
{
    .login-hero
    {
        display: none;
    }
}

@media (max-width: 720px)
{
    .login-page
    {
        width: 100%;
    }
}

@media (max-width: 600px)
{
    .body-container
    {
        padding: 0 40px 0 40px;
    }
    .nav-page
    {
        padding: 14px 26px 14px 26px;
    }
}

@media (max-width: 440px)
{
    .br-hint
    {
        display: none;
    }
}

/*
Note: This only works if allowed by the Content Security Policy
@import url("https://api.fontshare.com/css?f%5B%5D=switzer@300,400,500,600,700&display=swap");
*/
