html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
li {

  /* Disable default tricks */
  list-style-type: none;
  margin: 0;
  padding: 0;
}

html {
  width: 100%;
}

body {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-size: 0.8em;
  width: 100%;
}

#header h1 {
  font-family: Roboto, serif;
  color: #a4925a;
  letter-spacing: 0.035rem;
  font-size: 2.5rem;
  line-height: 1.1;
  font-weight: 600;
  padding: 10px 10px 20px 0;
}

#header h2 {
  font-family: Roboto, serif;
  font-size: 1.5em;
}

h1 {
  font-size: 1.8em;
}

h2 {
  font-size: 1.5em;
}

h3 {
  font-size: 1.2em;
}

h4 {
  font-size: 1.1em;
}

a {
  color: #000;
  text-decoration: underline;
}

a:hover {
  color: #444;
  text-decoration: none;
}

input {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}

pre {
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 0.9em;
}

select {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-size: 0.85em;
}

td {
  vertical-align: top;
}

textarea {
  background-color: #fefefe; /* Attempt to disable OS styling */
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 0.9em;
  padding: 1px 1px 1px 3px;
}

/* --- General Stuff --- */
#header {
  margin-bottom: 1em;
}

#main {
  margin: auto;
  padding-top: 1em;
  padding-bottom: 2em;
  width: 65em;
}

.badcolor {
  color: #d00;
}

.bigtable td {
  padding-left: 5px;
  padding-right: 5px;
}

.bullets {
  margin-top: 1em;
  margin-bottom: 1em;
}

.bullets li {
  list-style-type: circle;
  margin-left: 2em;
  padding-left: 0.5em;
}

.container {
  display: flex;
  justify-content: center;
}

#login {
  background: #b3a369;
  border-color: transparent;
  font-weight: 500;
  letter-spacing: 0.02rem;
  font-size: 1.5rem;
  text-align: center;
  padding: 0.5em 7rem;
  margin: 20px;
  line-height: 1.5;
  border: 0;
  border-radius: 2px;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

.button {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  direction: ltr;
  font-family: Roboto, "Open Sans", Arial, sans-serif;
  color: white;
  font-size: larger;
  font-weight: bold;
  box-sizing: border-box;
  text-decoration: none;
  outline: 0;
  transition: all 0.3s;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  user-select: none;
  border: 1px solid transparent;
  border-radius: 3px;
  padding: 5px 10px;
  line-height: 20px;
  border-bottom: 3px solid rgba(0, 0, 0, 0.15);
  height: auto;
  margin: 0.3em 0.1em;
}

.button.primary {
  background-color: #2E640E;
  border-color: #4cae4c;
}

.button.secondary {
  background-color: #337ab7;
  border-color: #2e6da4;
}

.button.delete {
  background-color: #BC403D;
  border-color: #d43f3a;
}

.errorsymbol {
  color: #d00;
  font-family: Verdana, Arial, sans-serif;
  font-weight: bold;
  vertical-align: text-top;
}

.floatclear {
  clear: both;
}

.goodcolor {
  color: #0a0;
}

.pagetitle {
  margin-bottom: 0.7em;
}

.sectiontitle {
  margin-top: 30px;
  border-bottom: 1px solid black;
  margin-bottom: 5px;
  font-weight: bold;
}

.textinput {
  background-color: #fefefe; /* Attempt to disable OS styling */
  font-family: "Lucida Console", "Courier New", monospace;
  font-size: 0.9em;
  padding: 1px 1px 1px 3px;
}

/* --- Top Links --- */
#topbar {
  font-size: larger;
  background-color: #3b3b3b;
  margin: 5px 0;
  padding: 5px 8px;
}

#topbar li {
  color: #fff;
  display: inline;
}

#topbar a {
  color: #fff;
}

#wizardlinks {
  float: left;
}

#loginlinks {
  text-align: right;
}

#activewizard {
  text-align: right;
}

/* --- Section List --- */
#sections {
  float: left;
  width: 14em;
}

#sections .pagetitle {
  text-align: center;
}

#sections ul {
  font-size: 1.1em;
  margin-top: 5px;
}

#sections li {
  background-color: #3b3b3b;
  border-top: 1px solid #99c;
  border-bottom: 1px solid #77a;
  color: #fff;
  cursor: pointer;
}

#sections a {
  display: block;
  border-right: 0.5em solid #88b;
  color: #fff;
  padding: 3px 5px 3px 0;
  text-decoration: none;
}

#sections a:hover {
  color: #fff;
  background-color: #004f9f;
  border-right: 0.5em solid #b3a369;
}

#sections .numeral {
  background-color: #003057;
  float: left;
  font-weight: bold;
  margin-right: 5px;
  padding: 3px;
  text-align: center;
  width: 1.5em;
}

#sections .numeral_sel {
  background-color: #b3a369;
  color: #262626;
}

/* --- Main Form --- */
#formcontent {
  float: right;
  width: 43em;
}

#messages {
  width: 100%;
}

#messages li {
  background-color: #ffc;
  border: 1px solid #dda;
  margin-bottom: 1.5em;
  padding: 1em;
  text-align: center;
}

#errors {
  background-color: #fcc;
  border: 1px solid #daa;
  color: #000;
  margin: 1.5em 0 1em;
  padding-bottom: 1em;
  text-align: center;
  width: 100%;
}

#errors li {
  margin: 1em 1em 0;
}

#listbreadcrumb {
  background-color: #eee;
  color: #333;
  font-size: 0.85em;
  margin-bottom: 1em;
  overflow: hidden;
  padding: 3px;
  white-space: nowrap;
}

.formtable {
  width: 43em;
}

.list {
  margin-bottom: 20px;
  width: 100%;
}

.lightrow {
  background-color: #eee;
}

.darkrow {
  background-color: #ddd;
}

.messagefield {
  padding-top: 1em;
}

.specialrow td {
  vertical-align: top;
}

.fieldlabel {
  vertical-align: middle;
}

.fieldsublabel {
  color: #555;
  font-style: italic;
}

.fieldvalue {
  vertical-align: bottom;
  white-space: nowrap;
  width: 1px;
}

#buttons {
  margin-top: 1em;
  float: right;
}

/* --- Footer --- */
#footer {
  background-color: #003057;
  border: 1px solid #339; /* Needed for IE */
  clear: both;
  color: #fff;
  margin-top: 1em;
  padding: 3px 6px;
}

#footer a {
  color: #fff;
}

#hintbox {
  float: left;
}

#footer_right {
  float: right;
}

.totalrow td {
  border-top: 2px solid #fff;
}
