#head {
  height: 3%;
  min-height: 10px;
  overflow: hidden;
  width: 100%;
}

#foot {
  bottom: 0;
  height: 3%;
  min-height: 20px;
  overflow: hidden;
  position: fixed;
  text-align: center;
  width: 100%;
}

#logo {
  height: 170px;
  margin-top: 60px;
  text-align: center;
  width: 100%;
}

#maincontent {
  height: 94%;
  margin-bottom: 50px;
  width: 100%;
}

#referral-code {
  background-color: #151515;
  color: #f5f5f5;
  padding: 10px;
  text-align: center;
}

input[type=text],
input[type=password] {
  font-family: tahoma, arial, helvetica, sans-serif;
  font-size: 8pt;
  padding: 1px 3px 0 3px;
  width: 200px;
}

input[type=text]:valid,
input[type=password]:valid {
  border-style: none;
}

input[type=text]:invalid,
input[type=password]:invalid {
  border-style: none solid 2px none none;
  border-color: red;
}

body {
  background-color: #041813;
  font-family: "Bitstream Vera Sans", Tahoma, sans-serif;
  color: #e0e0e0;
}

a {
  color: #178c36;
  text-decoration: none;
}

a:hover {
  color: #1fd54f;
  text-decoration: underline;
}

.action {
  width: 100%;
}

.action-bar {
  display: block;
  font-size: 0.8em;
  margin: 20px auto;
  width: max-content;
}

.action-bar a {
  padding: 0 10px;
}

.auth {
  line-height: 1.8;
  margin: 0 auto;
  width: max-content;
}

.auth label {
  display: inline-block;
  margin-right: 4px;
  text-align: right;
  width: 120px;
}

.auth-form a {
  display: block;
  font-size: 0.7em;
  margin-left: 80px;
  margin-top: 10px;
}

.center {
  text-align: center;
}

.enter {
  margin: 20px 0;
  width: 100%;
}

.enter a {
  display: block;
  font-size: 1.2em;
  margin: 0 auto;
  width: max-content;
}

.hidden {
  display: none;
}

.info {
  color: green;
  font-weight: bold;
}

.links {
  font-size: 0.8em;
}

.main {
  margin: 0 auto;
  max-width: 800px;
}

.main .submit {
  margin: 20px 0 0 80px;
}

.para {
  font-size: 0.9em;
  line-height: 1.2em;
  margin: 0 auto;
  padding-top: 18px;
  width: max-content;
}

.pwrecover {
  margin: 20px auto;
  width: max-content;
}

.referral {
  margin: 0 auto;
  width: 80%;
}

.referral label {
  display: inline-block;
  line-height: 1.8em;
  width: 130px;
}

.referral > .submit {
  margin: 10px 0;
}

.tor-login {
  border: 2px solid #ff0000;
  color: #f01000;
  margin: 0 auto 20px;
  padding: 10px;
  text-align: center;
  width: 48%;
}

.warning {
  color: #ff9617;
  font-weight: 550;
}

.warning-login {
  color: #ff9617;
  font-weight: 550;
  margin: 50px 0;
  text-align: center;
}

#password-toggle {
  display: inline-block;
  width: 21px;
  cursor: pointer;
  text-align: center;
}

#login-buttons {
  text-align: center;
}

#login-buttons a {
  margin: 10px 0;
}