/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700');

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, button, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, input,
dl, dt, dd, ol, ul, li,
fieldset, form, 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,
textarea, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	vertical-align: baseline;
        text-align-last: auto;
        -moz-text-align-last: auto;
}
html { width: 100%; height: 100%; }
a { color: inherit; text-decoration: none; }
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
  line-height: 1;
  font-family: 'Roboto', Helvetica, Arial, sans;
  min-width: 65em;
  font-size: .85em;
  height: 100vh;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
button, input[type='submit'] {
        background: none;
        color: inherit;
        cursor: pointer;
        border: 0;
}
button:disabled, input[type='submit']:disabled {
        cursor: default;
}
button::-moz-focus-inner {border: 0}
input, textarea, .autotextarea {
  border: none;
  background: white;
  border-bottom: 1px solid #ccc;  /* border color */
  box-sizing: border-box;
  width: 100%;
  padding: .25em;
  margin-left: -.25em;
  line-height: 1.3;
  cursor: text;
}

input[type='checkbox'] {
  width: auto;
  margin-left: 0;
  margin-inline-end: 1ch;
  cursor: pointer;
}

.autotextarea.disabled { color: #777; }

input[type="range"] {
  border: none;
  vertical-align: middle;
}

input:focus, textarea:focus {
  border-bottom-color: #08415a;  /* primary */
  outline: none;
}

input.invalid:focus, input:invalid:focus,
input.invalid, input:invalid {
  border-bottom-color: #a01;  /* redDark */
  box-shadow: none;
}

input:disabled:not([type='submit']):not([type='radio']):not([type='checkbox']) {
  background: #f2f2f2;  /* background */
}

input::-webkit-input-placeholder { font-style: italic; user-select: none; color: #777; }
input:-ms-input-placeholder { font-style: italic; user-select: none; color: #777; }
input::-ms-input-placeholder { font-style: italic; user-select: none; color: #777; }
input::-moz-placeholder { font-style: italic; user-select: none; color: #777; opacity: 1; }
input::placeholder  { font-style: italic; user-select: none; color: #777; }
textarea::-webkit-input-placeholder { font-style: italic; user-select: none; color: #777;}
textarea:-ms-input-placeholder { font-style: italic; user-select: none; color: #777; }
textarea::-ms-input-placeholder { font-style: italic; user-select: none; color: #777; }
textarea::-moz-placeholder { font-style: italic; user-select: none; color: #777; opacity: 1; }
textarea::placeholder { font-style: italic; user-select: none; color: #777; opacity: 1; }
.autotextarea.placeholder { font-style: italic; user-select: none; color: #777; }

@keyframes spin {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}
