/* HTML5 Reset Stylesheet
   http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
button, fieldset, form, input, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}
ol {
    list-style: decimal;
}
ul {
    list-style: disc;
    list-style-position: inside;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

html {
    height: 100%;
}
body {
    background: #333;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: normal;
    line-height: 1.4em;
    min-height: 100vh;
}
/* Chrome has problems with flexbox + a body background (the body background
 * isn't applied until the first time styles are recalculated) so we need to
 * use an inner wrapper instead.
 */
#wrapper {
    display: -ms-flexbox;
    -ms-flex-pack: center;
    -ms-flex-align: center;

    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 100vh;
    padding: 55px 10px;
}
#container {
    height: auto;
    width: 400px;
}

button {
    margin-top: 21px;
}
a, a:hover, label.link {
    color: #0098d1;
    cursor: pointer;
    text-decoration: none;
}
button {
    display: block;
    cursor: pointer;
    border: none;
    border-radius: 2px;
    background-color: #0098d1;
    color: #fff;
    text-transform: uppercase;
    height: 55px;
    width: 100%;
}
button:disabled {
    opacity: 0.55;
}
h1 {
    color: inherit;
    display: block;
    font-weight: bold;
    text-transform: uppercase;
}
input {
    background: none;
    border: none;
    border-bottom: 1px solid #4a4a4a;
    color: #fff;
    line-height: inherit;
    padding: 4px 0;
    outline: none;
    width: 100%;
}
input:-webkit-autofill {
    /* Override Chrome autofill styling. */
    -webkit-box-shadow: 0 0 0px 1000px #333 inset !important;
    -webkit-text-fill-color: #fff !important;
    -webkit-text-stroke-color: #fff !important;
    caret-color: #fff;
}
label {
    color: #999;
    line-height: inherit;
    padding: 4px 0 5px 0;
}
p, .input-group {
    margin-top: 17px;  /* 21px, minus extra space from line-height. */
}
p {
    color: inherit;
}
dl, dt {
    margin-top: 17px;
}
dt {
    color: #999;
}
ul, ol, li {
    color: inherit;
}

.sm-logo {
    display: block;
    height: 55px;
    width: 55px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.hidden {
    display: none;
}

.alternative-action {
    text-align: center;
}

.input-group {
    width: 100%;
}
.input-group .message {
    display: none;
    margin-top: 5px;
}
.input-group.error input {
    border-bottom: 1px solid #ff5555;
}
.input-group.error .message {
    display: block;
    color: #ff5555;
}

.error-message {
    color: #ff5555;
    margin-top: 40px;
}
.error-message p {
    margin-top: 7px;
}

.help-message, .info-message {
    margin-top: 40px;
}
.help-message h1, .info-message h1 {
    border-bottom: 1px dotted #4a4a4a;
    padding: 0 0 6px 0;
    margin-bottom: -6px;
}
.help-message {
    color: #999;
}
.info-message {
    color: #fff;
}

@media only screen and (max-width: 500px) {
  #wrapper {
    align-items: flex-start; /* puts content at top which leaves room for mobile keypads below, prevents jumping */
  }
}

@supports (-webkit-overflow-scrolling: touch) {
  /* CSS specific to iOS devices */
  .input-group input {
    font-size: 16px; /* min 16px to prevent zooming on IOS */
  }
}

.custom-logo {
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.custom-logo > .sm-logo {
    padding: 17px;
    width: 0;
    height: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 17px;
    background-repeat: no-repeat;
}
.custom-logo > svg {
    fill: #fff;
    stroke: #fff;
    width: auto;
    height: 34px;
    margin-left: 17px;
}

.custom-logo > .divider {
    height: 21px;
    margin: 0;
    border-right: 1px solid #fff;
}
