:root {
    --grid-gutter-width: 36px;

    --text-color: #333;
    --placeholder-color: #bbb;
    --border-color: #ccc;
    --input-background-color: #fff;
    --input-disabled-background-color: #eee;

    --default-btn-background-color: #fff;
    --default-btn-border-color: var(--border-color);
    --default-btn-hover-background-color: #ddd;

    --primary-btn-background-color: #fd0;
    --primary-btn-secondary-background-color: #f90;
    --primary-btn-border-color: #f60;

    --link-color: #369;
    --base-content-width: 400px;
    --base-row-gap: calc(var(--grid-gutter-width) / 2);

    --font-size-small: 0.85rem;
}
* {
    font-size: 1rem;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Lato", sans-serif;
}
body {
    padding: calc(var(--grid-gutter-width) / 2);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1;
    color: var(--text-color);
}
h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: var(--base-row-gap) 0 0 0;
}
a, a:link, a:visited {
    text-decoration: none;
    font-size: var(--font-size-small);
    color: var(--link-color);
}
::placeholder {
    color: var(--placeholder-color);
    opacity: 1; /* Firefox */
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: var(--placeholder-color);
}
::-ms-input-placeholder { /* Microsoft Edge */
    color: var(--placeholder-color);
}
.sr-only:not(:focus):not(:active) {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
.form-control, button, .btn {
    display: block;
    color: var(--text-color);
    width: 100%;
    padding: calc(var(--grid-gutter-width) / 4 + 1px) 0.75rem calc(var(--grid-gutter-width) / 4) 0.75rem;
    font-size: 1rem;
    background-color: var(--input-background-color);
    background-clip: padding-box;
    border: thin solid var(--border-color);
    border-radius: 0.25rem;
    transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
}
input:disabled {
    background: var(--input-disabled-background-color);
}
button, .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 125ms ease-in-out;
}
button:hover, .btn:hover {
    cursor: pointer;
    border-color: var(--default-btn-border-color);
    background-color: var(--default-btn-hover-background-color);
}
.btn-primary {
    border-color: var(--primary-btn-border-color);
    background-color: var(--primary-btn-background-color);
    background-image: linear-gradient(var(--primary-btn-background-color), var(--primary-btn-secondary-background-color));
}
.btn-primary:hover {
    border-color: var(--primary-btn-border-color);
    background-image: linear-gradient(var(--primary-btn-background-color), var(--primary-btn-border-color));
}
.sign-on-container {
    width: var(--base-content-width);
    max-width: 100vw;
}
.row,
.row > form {
    display: grid;
    justify-items: stretch;
    row-gap: var(--base-row-gap);
}
.logo-row {
    justify-items: center;
}
#logo {
    max-width: calc(var(--base-content-width) / 1.85);
}
.backline {
    line-height: 0;
    text-align: center;
    border-bottom: solid thin var(--border-color);
    margin-top: var(--base-row-gap);
}
.backline > * {
    background: white;
    padding: 0 0.35rem;
    font-size: var(--font-size-small);
}

.loading-ellipsis {
    display: flex;
    align-items: center;
    position: relative;
    width: 80px;
    height: 19px; /* I don't love this */
}
.loading-ellipsis div {
    position: absolute;
    width: 0.85em;
    height: 0.85em;
    border-radius: 50%;
    background: #fff;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.loading-ellipsis div:nth-child(1) {
    left: 8px;
    animation: loading-ellipsis1 0.6s infinite;
}
.loading-ellipsis div:nth-child(2) {
    left: 8px;
    animation: loading-ellipsis2 0.6s infinite;
}
.loading-ellipsis div:nth-child(3) {
    left: 32px;
    animation: loading-ellipsis2 0.6s infinite;
}
.loading-ellipsis div:nth-child(4) {
    left: 56px;
    animation: loading-ellipsis3 0.6s infinite;
}
@keyframes loading-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes loading-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes loading-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}

.mdc-button-google2 {
    display: flex;
    justify-content: center;
    border: 0;
    box-shadow: 0 1px 2px 1px #ddd;
    gap: 24px;
}

.list-unstyled {
    list-style-type: none;
}
