html,
body {
    font-family: 'PT Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #345;
    height: 100%;
    min-height: 100vh;
    background: rgb(236, 240, 243);
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

button,
button:active,
button:focus,
input,
input:active,
input:focus,
textarea:active,
textarea:focus {
    outline: none;
}

h1, h2, h3, h4, h5 {
    margin: 0 0 1rem;
    color: #19569a;
}

p {
    margin-bottom: 1rem;
    line-height: 1.33;
}

p:last-child {
    margin-bottom: 0;
}

pre {
    display: block;
    margin: 1rem 0;
}

.header {
    color: #fff;
    width: 100%;
    width: 100vw;
    display: flex;
    background-color: #19569a;
    box-shadow: hsla(207, 50%, 31%, 0.25) 0 0.5rem 1rem;
    min-height: 3rem;
    z-index: 100;
    justify-content: space-between;
}

.header a {
    color: #fff;
    text-decoration: none;
    font-size: .9rem;
    margin: .5rem 1rem;
    padding: .5rem 1rem;
    display: block;
}

.header a:hover {
    cursor: pointer;
    border-radius: .25rem;
    background-color: hsla(0,0%,100%,.2);
}

.base {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.content {
    overflow-x: auto;
    flex: 1 1 auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card {
    padding: 2rem;
    width: 22rem;
    max-width: 100%;
    max-width: 100vw;
    background: #fff;
    border-radius: .25rem;
    display: flex;
    flex-direction: column;
    box-shadow: hsla(207, 50%, 31%, 0.25) 0 0.5rem 1rem;
}

.field-group {
    margin: 2rem 0;
}

.field-group:last-child {
    margin-bottom: 0;
}

.field-group:first-child {
    margin-top: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin: 1rem 0;
}

.form-group > label {
    margin-bottom: .5rem;
}

.row {
    display: flex;
    flex-direction: row;
}

.centered {
    text-align: center;
}

label {
    font-size: .9rem;
    font-weight: 700;
}

input {
    flex: 1 1 auto;
    padding: .5rem;
    font-size: 1rem;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(0, 0, 0, .2);
    border-radius: .25rem;
}

button {
    font-size: 1rem;
    padding: .5rem 1rem .5rem 1rem;
    margin: 0;
    color: #fff;
    background-color: #19569a;
    border: none;
    border-radius: .25rem;
}

button:last-child {
    margin-bottom: 0;
}

.submit-group {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 1rem 0;
}

.submit-group:last-child {
    margin-bottom: 0;
}

.submit-group button {
    margin-left: auto;
}

.flash {
    padding: 1rem;
    border-radius: .25rem;
    font-size: .9em;
    margin: 1rem 0;
}

.flash.error {
    color: #86181d;
    background-color: #ffdce0;
    border: 1px solid rgba(134, 24, 29, .2);
}

.flash.success {
    color: #165c26;
    background-color: #dcffe4;
    border: 1px solid rgba(22, 92, 38, .2);
}

.ms-login {
    text-decoration: none;
    border: 1px solid #8c8c8c;
    color: #2e2e2e;
    padding: 12px;
    font-weight: 500;
    flex: 0 1 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 1em 0;
}

.ms-login img {
    margin-right: 12px;
}

.thematic-break {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 1em;
    margin: 1em 0;
}

.thematic-break:before {
    content: '';
    height: 1px;
    width: 100%;
    background-color: rgba(0, 0, 0, .2);
}

.thematic-break span {
    position: absolute;
    padding: .3em;
    background-color: #fff;
    color: rgba(0, 0, 0, .4);
    text-transform: uppercase;
}
