:root {
    font-size: 14px;
}

body {
    color: var(--textOnPrimary);
}

input[type="text"],
input[type="password"] {
    font-weight: bold;
}

div.login-ui {
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    display: table;
    background-color: var(--primaryColour);
    z-index: 20;
    font-family: "poppins", sans-serif;
}

.logoContainer {
    overflow: hidden;
    max-width: 100vw;
}

.login-ui .login-fields .labeled-field {
    display: block;
    position: relative;
    z-index: 1;
    margin: 5px 0;
}

.footer_content {
    width: 100%;
    padding: 1em 2em;
    margin: 0 auto;
    color: var(--textOnSecondary);
    background-color: var(--secondaryColour);
    position: fixed;
    bottom: 0;
    z-index: 100;
}

.footer_content a {
    color: var(--textOnSecondary);
}

.login-fields input {
    border: 1px solid var(--neutralTwoColour);
    width: 100%;
    margin: 0;
    padding: 0.25em 0.5em;
    max-width: none;
    font-weight: bold;
    height: 2.5em;
    background-color: transparent;
    border-radius: 4px;
}

.login-fields input:focus {
    background-color: var(--primaryColour);
}

input[type="submit"],
input[type="button"],
button,
.support-button-anchor {
    -webkit-appearance: none;
    text-decoration: none;
    background-color: var(--accentColour);
    border: 2px solid var(--accentColour);
    color: var(--textOnAccent);
    font-size: 1em;
    font-weight: 600;
    font-family: Carlito, FreeSans, Helvetica, Arial, sans-serif;
    padding: 0.25em 1em;
    min-width: 5em;
    margin: 0.25em;
    border-radius: 3px;
    transition: 0.3s all ease;
}

input[type="submit"]:hover,
input[type="button"]:hover,
button:hover,
.support-button-anchor:hover {
    border: 2px solid var(--secondaryColour);
}

h1 {
    margin: 0;
    padding: 0.5em;
    font-size: 2em;
    vertical-align: middle;
    text-align: center;
}

.support-button-anchor {
    text-decoration: none;
    text-align: center;
    background-color: var(--primaryColour);
    color: var(--textOnPrimary);
    border: 2px solid var(--highlightColour);
    text-shadow: none;
    width: 140px;
    float: right;
}

a.support-button-anchor:hover {
    color: var(--textOnPrimary);
}

.support-button-anchor:focus,
.support-button-anchor:hover {
    text-decoration: none;
}

/* matches chromes default focus style, but will be in every browser now*/
.support-button-anchor:focus,
.login-button:focus {
    border: 2px solid var(--secondaryColour);
}

/* Keep * required text on same line as input */
.labeled-field {
    white-space: nowrap;
}

.login-fields {
    margin-bottom: 15px;
}

.field-label {
    display: block;
    margin-top: 1em;
    margin-bottom: 0.1em;
}

#show-password-checkbox {
    border: 1px solid var(--textOnPrimary);
    margin: 0px 5px 0px 0px;
}

#show-password-label {
    user-select: none;
    margin-bottom: 0px;
}

#show-password-label:hover {
    cursor: pointer;
}

#show-password-div {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 15px;
}

#show-password-text:hover {
    cursor: pointer;
}
