* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body, #root {
    height: 100%;
}

h2 {
    margin-bottom: 0.3rem;
}

body {
    color: rgba(0, 0, 0, 0.87);
    margin: 0;
    font-size: 0.875rem;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    line-height: 1.43;
    letter-spacing: 0.01071em;
    background-color: #fafafa;
}

html {
    font: 16px Roboto;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.layout {
    height: 100%;
    display: flex;
    flex-direction: column;
}


.login {
    max-width: 980px;
    padding: 0px 16px;
    -webkit-box-flex: 1;
    flex-grow: 1;
    align-self: center;
    width: 100%;
}

    .login main {
        padding: 32px 8px 0px;
    }

    .login .paper-root {
        margin: auto;
        padding: 80px;
        display: flex;
        flex-direction: column;
        -webkit-box-align: center;
        align-items: center;
        max-width: 900px;
        box-shadow: 0px 2px 1px -1px rgba(0,0,0,0.2),0px 1px 1px 0px rgba(0,0,0,0.14),0px 1px 3px 0px rgba(0,0,0,0.12);
        border-radius: 4px;
        color: rgba(0, 0, 0, 0.87);
        transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
        background-color: #fff;
    }

    .login .logo-container {
        margin-bottom: 16px;
        max-width: 540px;
        display: inline-flex;
        -webkit-box-pack: center;
        justify-content: center;
        margin-top: 1rem;
        padding-bottom: 1rem;
        width: 100%;
    }

    .login .info {
        margin-bottom: 16px;
        padding: 1rem 0px 1.5rem;
        font-size: 1rem;
    }

.logo {
    margin-top: 0px;
    width: 300px;
    max-width: 80%;
}



footer {
    display: inline-flex;
    flex-direction: row;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: start;
    justify-content: flex-start;
    width: 100%;
    padding: 24px 16px;
    background-color: rgb(58, 58, 58);
}

    footer span {
        color: #ffffff;
        margin-right: 20px;
        text-decoration: none;
    }

        footer span a {
            color: #ffffff;
            text-decoration: none;
        }

.header {
    padding: 8px;
    background-color: rgb(255, 255, 255);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

    .header .logo-container {
        display: inline-flex;
        -webkit-box-pack: center;
        justify-content: center;
        margin-top: 1rem;
        padding-bottom: 1rem;
        width: 100%;
    }

.account {
    max-width: 600px;
    margin-top: 1rem;
    padding: 0px 16px;
    -webkit-box-flex: 1;
    flex-grow: 1;
    align-self: center;
    width: 100%;
}

    .account main {
        display: flex;
        flex-direction: column;
        margin-bottom: 1.5rem;
        text-align: center;
    }

    .account .info {
        padding: 0px 0px 1rem;
        font-size: 1rem;
        margin: 0px;
        box-sizing: border-box;
    }

.multi-grid-container {
    width: calc(100% + 24px);
    margin: -12px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.multi-grid-item {
    padding: 12px;
    flex-grow: 0;
    max-width: 100%;
    flex-basis: 100%;
    margin: 0;
    box-sizing: border-box;
}

.account .paper-root {
    background-color: rgb(240, 240, 240);
    padding: 1rem;
    text-align: center;
    margin-bottom: 1rem;
    box-shadow: none;
    border-radius: 4px;
    color: rgba(0, 0, 0, 0.87);
    transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}

.primary-button {
    color: rgb(255, 255, 255);
    background-color: #6db048;
    box-shadow: 0px 2px 4px -1px rgba(0,0,0,0.2),0px 4px 5px 0px rgba(0,0,0,0.14),0px 1px 10px 0px rgba(0,0,0,0.12);
    padding: 6px 16px;
    font-size: 0.875rem;
    min-width: 64px;
    box-sizing: border-box;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-weight: 500;
    line-height: 1.75;
    border-radius: 4px;
    letter-spacing: 0.02857em;
    text-transform: uppercase;
    border: 0;
    cursor: pointer;
    margin: 0;
    display: inline-flex;
    outline: 0;
    position: relative;
    align-items: center;
    user-select: none;
    vertical-align: middle;
    -moz-appearance: none;
    justify-content: center;
    text-decoration: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
}

    .primary-button:hover {
        text-decoration: none;
    }

.nhslogin-button {
    font-weight: 400;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 28px;
    -webkit-appearance: none;
    appearance: none;
    background-color: #005eb8;
    border: 2px solid transparent;
    border-radius: 4px;
    box-shadow: 0 4px 0 #003087;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-weight: 600;
    margin-top: 0;
    padding: 12px 16px;
    position: relative;
    text-align: center;
    vertical-align: top;
    width: auto;
}

@media (min-width: 40.0625em) {
    .nhslogin-button {
        font-size: 19px;
        font-size: 1.1875rem;
        line-height: 1.47368;
    }
}

@media print {
    .nhslogin-button {
        font-size: 14pt;
        line-height: 1.15;
    }
}

@media (min-width: 40.0625em) {
    .nhslogin-button {
        margin-bottom: 36px;
    }
}

@media (max-width: 40.0525em) {
    .nhslogin-button {
        padding: 8px 16px;
    }
}

.nhslogin-button:link,
.nhslogin-button:visited,
.nhslogin-button:active,
.nhslogin-button:hover {
    color: #fff;
    text-decoration: none;
}

.nhslogin-button::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.nhslogin-button:hover {
    background-color: #1e569b;
}

.nhslogin-button:focus {
    background: #ffeb3b;
    box-shadow: 0 4px 0 #003087;
    color: #003087;
    outline: none;
}

.nhslogin-button:active {
    background: #1e569b;
    box-shadow: none;
    color: #fff;
    top: 4px;
}

.nhslogin-button::before {
    background: transparent;
    bottom: -6px;
    content: "";
    display: block;
    left: -2px;
    position: absolute;
    right: -2px;
    top: -2px;
}

.nhslogin-button:active::before {
    top: -6px;
}

.nhslogin-button--reverse {
    background-color: #fff;
    box-shadow: 0 4px 0 #003087;
    color: #005eb8;
}

    .nhslogin-button--reverse:hover {
        background-color: #f2f2f2;
        color: #005eb8;
    }

    .nhslogin-button--reverse:focus {
        background: #ffeb3b;
        box-shadow: 0 4px 0 #003087;
        color: #003087;
        outline: 4px solid transparent;
    }

    .nhslogin-button--reverse:active {
        background: #f2f2f2;
        box-shadow: none;
        color: #005eb8;
        top: 4px;
    }

    .nhslogin-button--reverse:link {
        color: #005eb8;
    }

    .nhslogin-button--reverse.nhsuk-button--disabled {
        background-color: #fff;
    }

        .nhslogin-button--reverse.nhsuk-button--disabled:focus {
            background-color: #fff;
        }

.nhslogin-button--disabled,
.nhslogin-button[disabled="disabled"],
.nhslogin-button[disabled] {
    background-color: #005eb8;
    opacity: 0.5;
    pointer-events: none;
}

    .nhslogin-button--disabled:hover,
    .nhslogin-button[disabled="disabled"]:hover,
    .nhslogin-button[disabled]:hover {
        background-color: #005eb8;
        cursor: default;
    }

    .nhslogin-button--disabled:focus,
    .nhslogin-button[disabled="disabled"]:focus,
    .nhslogin-button[disabled]:focus {
        background-color: #005eb8;
        outline: none;
    }

    .nhslogin-button--disabled:active,
    .nhslogin-button[disabled="disabled"]:active,
    .nhslogin-button[disabled]:active {
        box-shadow: 0 4px 0 #003087;
        top: 0;
    }

.nhslogin-button--reverse[disabled="disabled"],
.nhslogin-button--reverse[disabled] {
    background-color: #fff;
    opacity: 0.5;
}

    .nhslogin-button--reverse[disabled="disabled"]:hover,
    .nhslogin-button--reverse[disabled]:hover {
        background-color: #fff;
        cursor: default;
    }

    .nhslogin-button--reverse[disabled="disabled"]:focus,
    .nhslogin-button--reverse[disabled]:focus {
        outline: none;
    }

    .nhslogin-button--reverse[disabled="disabled"]:active,
    .nhslogin-button--reverse[disabled]:active {
        box-shadow: 0 4px 0 #003087;
        top: 0;
    }

.ie8 .nhslogin-button:focus {
    outline: 1px dotted #003087;
}

.nhslogin-button-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-logo {
    padding-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
