.login {
    height: 100%;
}

.login #content {
    display: flex;
    flex: 1 0;
}

.login body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
    color: var(--body-fg);
    background: var(--body-bg);
}

.login .form-row {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.login .form-row label {
    display: block;
    line-height: 2em;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
}

.login #content-main {
    display: flex;
    background: var(--body-bg);
    border: 1px solid var(--hairline-color);
    border-radius: 8px;
    overflow: hidden;
    max-width: 450px;
    margin: 10px auto;
    float: none;
    padding: 20px;
    flex-direction: column;
}

.login #container {
    position: relative;
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0px;
    border: none;
    border-radius: 0px;
    background-image: url("/static/portal/images/background.065c3a64ad2d.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.login #header {
    background: none;
    height: 100px;
    border-bottom: none;
    justify-content: center;
    padding: 0px;
}

.login #branding {
    justify-content: center;
    flex-basis: auto;
}

.login #site-name {
    border: none;
    flex: auto;
}

.login h1 {
    font-weight: 700;
    text-align: center;
    color: #212121;
}

.login .subtitle {
    margin: 1em 0 .5em 0;
    font-size: large;
    font-weight: 400;
    text-align: center;
    color: #757575;
}

#login-form {
    display: flex;
    flex-direction: column;
    padding-top: 10px;
    height: 100%;
}

.sign-in-header {
    border-bottom-width: 1px;
    border-bottom-color: #DCDCDC;
    border-bottom-style: solid;
}

.login .submit-row {
    margin: 25px 0px 0px;
}

.login input {
    flex-grow: 1;
}

.login input[type="submit"] {
    width: 100%;
    font-weight: 600;
    font-size: 1rem;
}

.login input[type=submit]:active,
.login input[type=submit]:focus,
.login input[type=submit]:hover {
    color: var(--button-primary-hover-fg);
    background: var(--button-primary-hover-bg);
}

.login input[type=submit]:focus {
    outline: 2px solid var(--button-primary-hover-bg);
    outline-offset: 1px;
}

@media (max-width: 767px) {
    .login #container {
        width: auto;
        max-width: unset;
        margin: 0;
    }
}
