* {
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
  background-color: #eee;
  padding: 2rem;
}
body header {
  display: flex;
  height: 8rem;
  padding-bottom: 0.5rem;
  border-bottom: solid 1px #000;
}
body header div {
  max-width: 50%;
  width: 50%;
  display: flex;
  align-items: flex-end;
}
body header div * {
  max-height: 100%;
  float: left;
}
body header div strong {
  margin-right: 4px;
}
body header div span {
  font-size: 0.7rem;
}
body header div a {
  max-height: 10rem;
}
body header div a img {
  max-height: 8rem;
  transition: opacity 100ms, transform 100ms;
}
body header div a img:hover {
  opacity: 0.8;
  transform: scale(1.01);
}
body main {
  padding-top: 1rem;
}
body main.index-main {
  display: flex;
  justify-content: flex-start;
  gap: 3rem;
}
body main.index-main table {
  background-color: rgba(255, 255, 255, 0);
}
body main.index-main table td, body main.index-main table th {
  border: none;
}
body main.index-main article {
  height: -moz-fit-content;
  height: fit-content;
  background-color: #fff;
  border-radius: 0.25rem;
}
body main.index-main article div div h4 {
  margin-bottom: 0.5rem;
}
body main.index-main article div div form {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}
body main.index-main article div div form textarea {
  resize: vertical;
  flex-grow: 1;
}
body main.index-main article div div form input[type=submit] {
  max-height: 2rem;
}
body main.index-main article div div form#list-toggle {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
body main.index-main article div div:not(:last-of-type) {
  border-bottom: 1px solid #aaa;
}
body main.index-main article div div:not(:first-of-type) {
  padding: 0.5rem;
}
body main.index-main nav {
  max-width: 25rem;
}
body main.index-main nav a {
  margin-bottom: 1rem;
  color: #000;
  transition: color 100ms;
}
body main.index-main nav a:visited {
  color: #000;
}
body main.index-main nav a:hover {
  color: #555;
}
body main.index-main nav div.links-section:not(:first-of-type) {
  margin-top: 1rem;
}
body main.index-main nav div.links-section:not(:last-of-type) {
  border-bottom: solid 1px #000;
}
body main.index-main nav div.links-section {
  display: flex;
  flex-direction: column;
  max-width: 24rem;
}
body main.index-main nav form {
  padding: 0.5rem;
}
body main.login-main {
  margin: 0 auto;
  max-width: 30rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}
body main.list-main div {
  display: flex;
  align-items: center;
}
body main.list-main form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.5rem;
  max-width: 20rem;
  width: 100%;
}
body main.list-main #search {
  background-color: #fff;
  flex-direction: row;
  border-top-right-radius: 0.25rem;
  border-top-left-radius: 0.25rem;
}
body main.list-main #search input[type=text] {
  flex-grow: 1;
}
body main.list-main #search input[type=text]::-moz-placeholder {
  font-size: 0.7rem;
}
body main.list-main #search input[type=text]::placeholder {
  font-size: 0.7rem;
}
body main.list-main #search input[type=submit] {
  padding: 0 0.25rem;
}

form.large-form {
  background-color: #fff;
  border-radius: 0.25rem;
  padding: 0.5em;
  margin-bottom: 1rem;
}
form.large-form h3 {
  margin-bottom: 1rem;
}
form.large-form div:not(.weak) > label {
  font-weight: 600;
}
form.large-form label {
  width: 16rem;
  margin-bottom: 0.2rem;
  line-height: 100%;
}
form.large-form p {
  font-size: 12px;
  font-weight: 400;
}
form.large-form div {
  margin-top: 0.5rem;
  padding-bottom: 0.2rem;
  display: flex;
  justify-content: flex-start;
}
form.large-form div.vertical {
  margin-top: 0;
  padding-bottom: 0;
  flex-direction: column;
}
form.large-form div.small {
  margin-top: 0;
}
form.large-form div.small label {
  height: 1rem;
  font-size: 0.8rem;
  line-height: 1rem;
  color: #888;
  width: -moz-max-content;
  width: max-content;
  margin-right: 0.5rem;
}
form.large-form input {
  width: 16rem;
}
form.large-form input[type=submit] {
  width: 5rem;
  margin-right: 0.5rem;
}
form.large-form input[type=checkbox] {
  width: 1rem;
  height: 1rem;
}
form.large-form textarea {
  width: 16rem;
  resize: vertical;
}

form#login-form {
  background: none;
}
form#login-form div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}
form#login-form div input {
  margin-top: 0;
  width: 50%;
}
form#login-form input[type=submit] {
  margin-top: 1rem;
  width: 100%;
}

#errors {
  display: flex;
  flex-direction: column;
  border: 1px solid red;
  background-color: rgba(255, 0, 0, 0.2);
  max-width: 32rem;
  padding: 0.5rem;
  box-sizing: border-box;
}
#errors h4 {
  margin-bottom: 0.5rem;
  color: rgb(163, 0, 0);
}
#errors li {
  color: rgb(163, 0, 0);
  list-style: none;
}
#errors li:not(:last-of-type) {
  margin-bottom: 0.5rem;
}

#errors.hide {
  display: none;
}

p.suggestion {
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  color: #888;
  cursor: pointer;
  transition: color 100ms;
  display: none;
}
p.suggestion:hover {
  color: #444;
}

p.suggestion.visible {
  margin-top: 0.2rem;
  display: block;
}

table {
  max-width: 100%;
  table-layout: fixed;
  background-color: #fff;
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}
table tr.inactive {
  background-color: #ccc;
}
table tr:not(:first-of-type) th, table tr:not(:first-of-type) td {
  border-top: solid 1px #888;
  padding-top: 0.5rem;
}
table tr.border:not(:first-of-type) th, table tr.border:not(:first-of-type) td {
  border-top: solid 2px #000;
}
table tr th, table tr td {
  word-wrap: break-word;
  padding: 0.5rem;
  text-align: start;
}
table tr th:not(:last-of-type), table tr td:not(:last-of-type) {
  padding-right: 2rem;
}
table tr th:last-of-type, table tr td:last-of-type {
  width: 6rem;
}
table tr th button, table tr td button {
  cursor: pointer;
  white-space: nowrap;
  height: 24px;
  width: 6rem;
  border: solid 1px #888;
  border-radius: 4px;
  padding: 0.25rem;
  transition: background-color 50ms;
}
table tr th button[disabled], table tr td button[disabled] {
  cursor: not-allowed;
}
table tr th p, table tr td p {
  padding: 0.25rem 0;
}

#catImg {
  width: 7rem;
}
#catImg p {
  color: #888;
}
#catImg input {
  margin-bottom: 0.5rem;
}
#catImg img {
  border-radius: 0.25rem;
}

#show-search-term {
  font-size: 0.75rem;
  margin-left: 0.5rem;
  height: -moz-fit-content;
  height: fit-content;
  width: -moz-fit-content;
  width: fit-content;
  color: #444;
}/*# sourceMappingURL=style.css.map */