html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Roboto", sans-serif;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  position: relative;
  background-color: #37939B;
  color: #333333;
  -webkit-font-smoothing: antialiased;
}

body > header {
  width: 100%;
  height: 100px;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  margin: 0;
  padding: 0;
}

body > header > div {
  width: 1020px;
  margin: 0 auto;
}

body > header > div > img {
  float: left;
  margin-top: 30px;
  height: 35px;
  width: 331px;
}

body > header > div > a {
  text-transform: uppercase;
  text-decoration: none;
  float: right;
  font-weight: bold;
  font-size: 15px;
  color: #FFFFFF;
  margin: 30px 0 0 0;
  border-top: 3px solid transparent;
  transition: all 0.3s;
}

body > header > div > a:hover {
  border-top: 3px solid #F1AD0F;
}

#wrapper {
  background-color: #FFFFFF;
  width: 100%;
}

#container {
  width: 1020px;
  margin: 0 auto;
}

#container::after {
  content: "";
  display: table;
  clear: both;
}

#content {
  width: 960px;
  margin: 30px;
  padding: 0;
  overflow: hidden;
  float: left;
  position: relative;
  color: #333333;
  font-size: 1em;
}

#content > :first-child {
  margin-top: 0;
}

#content a {
  color: #0088CC;
}

#content a:hover {
  color: #005580;
}

#content h1,
#content h2,
#content h3,
#content p {
  padding: 0;
}

#content h1,
#content h2,
#content h3 {
  line-height: 1.2em;
  margin: 20px 0 5px 0;
  font-weight: bold;
  text-transform: uppercase;
  border-bottom: 1px solid #F1AD0F;
}

#content h1 + p,
#content h2 + p,
#content h3 + p {
  margin: 5px 0 17px 0;
}

body > footer {
  color: #FFFFFF;
  padding: 0;
  margin: 0;
  text-align: center;
  font-size: 0;
  min-width: 1020px;
  text-rendering: optimizelegibility;
}

body > footer > div {
  width: 204px;
  margin: 0 68px;
  padding: 20px 0;
  display: inline-block;
  font-size: 0.95rem;
  vertical-align: top;
}

body > footer > div h3 {
  text-transform: uppercase;
  border-bottom: 1px solid #F1AD0F;
  font-size: 14px;
  line-height: 40px;
  margin: 10px 0;
}

body > footer > div a {
  color: #FFFFFF;
  text-decoration: none;
}

body > footer > div a:hover {
  text-decoration: underline;
}

body > footer > img {
  clear: both;
  margin: 80px 20px;
  height: 35px;
  width: 331px;
}

.error_explanation {
  color: #5B1200;
  background: #FFA791 url("/assets/failure-03485ff2.gif") no-repeat -17px -15px;
  border: 1px solid #FF3300;
  padding: 10px 30px 10px 60px;
  margin-bottom: 20px;
  text-align: left;
}

#content .error_explanation h2 {
  border-bottom-color: rgba(91, 18, 0, 0.15);
}

#content form.databaseinput {
  display: block;
  margin: 0 0 20px 0;
  padding: 0;
  font-size: 0.9em;
}

#content form.databaseinput fieldset {
  text-align: left;
  border: 2px solid #B1B4B4;
  margin: 0 2px;
  padding: 0;
  background-color: #EAEAEA;
}

#content form.databaseinput fieldset > p {
  margin: 0;
  clear: left;
  padding: 5px 5px 3px 0;
  color: #000000;
}

#content form.databaseinput fieldset > p::after {
  content: "";
  display: block;
  clear: both;
}

#content form.databaseinput fieldset > p > label {
  float: left;
  width: 175px;
  text-align: right;
  margin: 0 5px;
  font-weight: bold;
}

#content form.databaseinput textarea {
  width: 296px;
  font-family: inherit;
}

#content form.databaseinput fieldset > p.buttons {
  background-color: #CECECE;
  padding: 4px 0 0 187px;
  border-top: 2px solid #B1B4B4;
}

#content form.databaseinput button {
  display: inline-block;
  margin: 0 7px 4px 0;
  background-color: #F5F5F5;
  border: 1px solid #DEDEDE;
  border-top: 1px solid #EEEEEE;
  border-left: 1px solid #EEEEEE;
  font-size: 12px;
  font-family: inherit;
  line-height: 17px;
  font-weight: bold;
  color: #529214;
  cursor: pointer;
  padding: 5px 10px 5px 7px;
}

#content form.databaseinput button:hover {
  background-color: #E6EFC2;
  border: 1px solid #C6D880;
}

#content form.databaseinput button svg {
  width: 12px;
  height: 12px;
  margin: 0 7px -2px 3px;
  fill: currentColor;
}

@media (max-width: 767px) {
  body > header {
    height: auto;
    min-height: 100px;
    overflow: hidden;
  }

  body > header > div {
    width: 95%;
    text-align: center;
  }

  body > header > div > img {
    max-width: 100%;
    height: auto;
    float: none;
  }

  body > header > div > a {
    clear: both;
    margin: 10px 20px 20px 0;
  }

  #wrapper {
    width: auto;
    padding: 1.5em;
  }

  #container {
    width: auto;
    margin: 0;
  }

  #content {
    width: 100%;
    margin: 0;
    float: none;
  }

  body > footer {
    min-width: 0;
  }

  body > footer > div {
    width: auto;
    margin: 0 1.5em;
    display: block;
  }

  body > footer > img {
    max-width: calc(100% - 40px);
    height: auto;
  }

  #content form.databaseinput fieldset > p {
    margin: 0 0.5em;
  }

  #content form.databaseinput fieldset > p > label {
    float: none;
    width: 100%;
    text-align: left;
    display: block;
    margin-left: 0;
  }

  #content form.databaseinput textarea {
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
  }

  #content form.databaseinput fieldset > p.buttons {
    padding: 4px 0 0 7px;
    margin: 0;
    text-align: center;
  }
}
