body {
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  color: #cdcdcd;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='hexagons' fill='%239C92AC' fill-opacity='0.10' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"), linear-gradient(to right top, #000000, #151314, #211f22, #2b2c31, #211f22, #151314, #000000);
  min-height: 100vh;
}

* {
  box-sizing: border-box;
  line-height: normal;
  border: none;
  box-shadow: none;
}

header {
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 5px 5px #cdcdcd;
  padding: 10px 0;
}
header a.button {
  width: 300px;
  margin: 10px 20px;
}
header a.active {
  background: #333439;
}

.content {
  max-width: 1500px;
  margin: 0 auto;
}

.t-left {
  text-align: left;
}

h1 {
  font-size: 26px;
  margin: 50px 0 30px;
}

a.button {
  text-decoration: none;
  text-align: center;
  margin: 20px;
  padding: 10px 30px;
  border-radius: 10px;
  background: #000000;
  font-size: 16px;
  color: #ffffff;
  box-shadow: 0 0 5px 2px #ffffff;
  border: none;
  text-transform: uppercase;
  font-weight: bold;
  display: inline-block;
}

.tableholder {
  max-width: calc(100% - 20px);
  overflow-y: auto;
  padding: 5px;
  margin: 0 auto 80px;
}

table {
  border-spacing: 0;
  border-collapse: separate;
  padding-top: 50px;
  width: 100%;
  font-size: 14px;
  margin: 0 auto 10px;
}
table.transfers th,
table.transfers td {
  width: 16.66666%;
}

table tr td,
table tr th {
  background: #333439;
  text-align: center;
  padding: 5px 10px;
  box-shadow: 0 0 3px 1px #ffffff;
}

table.stations {
  padding: 0;
  margin: 0;
  border-spacing: 0;
  width: calc(100% - 2px);
  box-shadow: 0 3px 3px -3px #fff;
}

table.stations tr.station td {
  font-size: 12px;
  padding: 2px 0;
  box-shadow: none;
  background: #2a2a2f;
}

table.stations tr.station td.settings {
  padding: 0;
}

table tr.spacer {
  height: 10px;
}

table tr th {
  background: #000000;
  box-shadow: 0 0 3px 1px #ffffff;
}

table tr td {
  width: 28.5%;
}

table tr td.stations {
  padding: 0;
  box-shadow: none;
  position: relative;
  top: -5px;
  background: none;
}

table tr.stations {
  display: none;
}

table tr.stations.open {
  display: table-row;
}

table tr td.name {
  width: 36%;
}

table tr td.settings {
  width: 7%;
  padding: 5px 0;
}

table tr td a {
  cursor: pointer;
  display: inline-block;
  width: 25px;
  height: 25px;
  background-size: auto 100%;
  margin: 0 5px;
}

table tr td.holder {
  position: relative;
}

table tr td a.arrow {
  position: absolute;
  top: 9px;
  right: 0;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.5);
  color: #000;
  border-radius: 50%;
  line-height: 20px;
  height: 20px;
  width: 20px;
  font-weight: bold;
  text-align: center;
}

table tr td a.edit {
  background: url(/edit.svg) no-repeat center;
}

table tr td a.delete {
  background: url(/trash.svg) no-repeat center;
}

p.error {
  background: #fff;
  color: red;
  padding: 5px 15px;
  border: 2px solid red;
  margin-top: 0;
}

*:focus {
  outline: none !important;
}

*::-moz-focus-inner {
  border: 0;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 40rem #fff inset;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pageholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
}

.loginbox, .formbox {
  background: rgba(0, 0, 0, 0.6);
  width: 90%;
  max-width: 500px;
  margin: 0 auto 30px;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px #ffffff;
  text-align: center;
  font-size: 14px;
}
.loginbox h1, .formbox h1 {
  margin-top: 0;
  color: #cdcdcd;
  text-transform: uppercase;
  font-size: 20px;
  text-align: center;
}

form label {
  text-align: left;
  display: block;
  padding-left: 5px;
}
form input {
  width: 100%;
  text-align: left;
  border: 1px solid #cdcdcd;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 10px;
  font-size: 14px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
form input.submit {
  text-align: center;
  max-width: 200px;
  margin: 20px auto 0;
  background: #000000;
  font-size: 16px;
  color: #fff;
  box-shadow: 0 0 5px 2px #ffffff;
  border: none;
  text-transform: uppercase;
  font-weight: bold;
}
form select {
  width: 100%;
  text-align: left;
  border: 1px solid #cdcdcd;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 10px;
  font-size: 14px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #ffffff url(../arrow-down.svg) no-repeat right 10px center;
  background-size: 15px auto;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
form select option {
  color: #000000;
  text-align: left;
}

form input::-moz-placeholder {
  color: gray;
  opacity: 1;
}

form input::placeholder,
form select:invalid {
  color: gray;
  opacity: 1;
}