html {
  font-family: Arial, Helvetica, Sans-Serif;
  font-size: 1em;
}
body {
  margin: 0;
  padding: 0;
  background: #000;
  color: #fff;
}
a {
  color: #fff;
}
a:visited {
  color: #fff;
}
a:hover {
  color: #a3a3a3;
}
header {
  padding: 1em;
  background: #3a3a3a;
}
main {
  height: calc(100vh - 3.25rem - 2.0625rem - 5px);
}
.genericrow {
  position: relative;
  padding: 1.5rem 2em 0 2em;
  margin-bottom: .25rem;
  width: calc(100% - 4rem);
}
div.checkrow {
  position: relative;
  padding: 1.5rem 2em 0 2em;
  margin-bottom: .25rem;
  width: calc(100% - 4rem);
}
div.checkrow label {
  font-size: 85%;
}
div.inputrow,
div.inputsubrow {
  position: relative;
  padding: 1.5rem 2em 0 2em;
  margin-bottom: .25rem;
  width: calc(100% - 4rem);
}
div.inputrow label,
div.inputsubrow label {
  position: absolute;
  font-size: 85%;
  color: #222;
  pointer-events: auto;
  top: .375rem;
  left: 3em;
  transition: .15s all;
}
div.inputrow input:not([type="button"]),
div.inputsubrow input:not([type="button"]) {
  display: block;
  width: calc(100% - 2rem);
  padding: .5em 1em;
  background: #f7f7f7;
  border: solid 1px #f0f0f0;
  outline: 0;
}
div.inputrow input[type="button"],
div.inputsubrow input[type="button"] {
  border: none;
}
div.inputrow input:not(:focus)[value=""] ~ label,
div.inputsubrow input:not(:focus)[value=""] ~ label {
  font-size: 85%;
  color: #aaa;
  pointer-events: none;
  top: 2.25em;
  left: 3em;
}
div.inputrow span.error,
div.inputsubrow span.error {
  display: inline-block;
  vertical-align: text-top;
  color: red;
}
div.inputrow input[type="submit"],
div.inputsubrow input[type="submit"] {
  color: #fff;
  font-weight: bold;
  width: 100%;
  background-color: #656565;
  padding: 1em;
  cursor: pointer;
}
div.inputrow input[type="submit"]:hover,
div.inputsubrow input[type="submit"]:hover {
  background-color: #a3a3a3;
}
div.inputrow.g-recaptcha {
  text-align: center;
}
div.inputrow.g-recaptcha div {
  margin: 0 auto;
}
footer {
  font-size: .9em;
  text-align: center;
  background-color: #000;
  padding: .5rem 1rem;
}
footer b {
  color: #a3a3a3;
  font-weight: bold;
  font-style: italic;
  padding: 1em 0;
}
footer a {
  padding: 1em 0;
}
@media only screen and (max-width: 530px) {
  body {
    font-size: 1rem;
  }
  main {
    height: auto;
  }
  main article {
    padding: 0 0 1rem;
  }
  div.inputrow label,
  div.inputsubrow label {
    font-size: 65%;
    left: 3.25em;
    top: .375rem;
  }
  div.inputrow input:not(:focus)[value=""] ~ label,
  div.inputsubrow input:not(:focus)[value=""] ~ label {
    font-size: 65%;
    left: 3.25em;
    top: 2em;
  }
  div.checkrow label {
    font-size: 65%;
  }
  footer {
    font-size: .8em;
  }
}
