body {
    font-family: "Inter", sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #EBEBEB; /* <- silver */
    color: #000;
}

a {
    color: inherit;
    text-decoration: inherit;
}

.container {
    max-width: 920px;
    margin: auto;
    display: grid;
    gap: 1.5em;
}

h1, h2 {
    text-align: center;
    letter-spacing: 0.6px;
    font-weight: 600;
}

.title {
  padding: 0.5em 1em;
}

.info_page .title {
  padding: 0.5em 2em;
}

.info_page p {
  margin: auto;
}

.tags-row {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1em;
    justify-content: space-between;
    gap: 0.75em 0.5em;
}

.tags-row .tag,
.tag-reset,
.model-add,
.button {
    padding: 10px;
    cursor: pointer;
}

.button,
.model-add,
.tag-reset {
    padding-left: 15px;
    padding-right: 15px;
}

.tag-reset {
  margin-left: auto;
}

.button,
.model-add {
  background: #fff;
}

.model-add {
  text-align: center;
  padding: 2px;
}

.tags-row .tag:hover,
.tag-reset:hover,
.tag.selected {
  background: #fff;

}

/*.button-row {
  display: flex;
  justify-content: flex-end;
}*/

#tiles {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.button,
.rounded-rect {
    border-radius: 10px;
    border: 3px solid #000; /* #d1d1d1; */
}

.tile {
    padding: 15px;
    min-width: 200px;
    max-width: 400px;
    flex: 1 1 auto; /* Allow tiles to grow and shrink */
    box-shadow: 0px 4px 0px 0px #000;
    cursor: pointer;
}

.tile:hover {
    box-shadow: none;
    transform: translateY(4px);
}

.tile h2 {
    margin: 0 0 10px;
    text-align: left;
}

.tile-tags {
    margin-top: 10px;
}

.tile-tags .tag {
    padding: 0px;
    font-size: 0.9em;
    margin: 0 0 0 5px;
}

.button {
  display: flex;
  max-width: fit-content;
  margin: 0;
  background-color: #FFF;
}

.header {
  display: flex;
}

.home,
.menu i,
.back {
  font-size: 2.5em;
  max-width: fit-content;
}

.home,
.menu,
.back {
  align-content: center;
}

.header h1 {
  flex-grow: 1;
}

.menu i {
  cursor: pointer;
}

.info_page {
  justify-content: center;
}

.info_page .header h1 {
  flex-grow: 0;
}

.tile .description {
	overflow: hidden;
	max-height: 100px;
	min-height: 100px;
  word-break: break-word;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
}

.yes {
	color: green;
}

.no {
	color: red;
}

.cols {
  display: flex;
  flex-wrap: wrap;
}

.cols > p {
  margin: 0 1em 1em 0;
}

.ns {
  color: #555;
}

/* .rel {
  background: white;
  padding: 5px 5px;
  font-size: 0.97em;
  border: 1px solid darkgray;
  border-radius: 5px;
  font-family: Monospace;
}
*/
.rel:not(:last-child):after {
  content: ", ";
}

.detail p > a {
  text-decoration: underline;
}

input,
select,
textarea {
  border: 1px solid #000; /* #d1d1d1; */
  border-radius: 5px;
}

form {
  display: flex;
  flex-direction: column;
  max-width: 800px;
}

form > p {
  display: flex;
  margin: 0.75em 0;
}

form label {
  text-align: right;
  margin-right: 20px;
  flex: 0.75;
}

form input,
form select,
form textarea {
  flex: 2;
  padding: 5px;
  background: #fff;
}

form .helptext {
  position: absolute;
  margin-top: 1.25em;
  font-style: italic;
  color: #4a4a4a;
}

.form-bottom {
  display: flex;
  justify-content: center;
  margin: 1em;
}

img.captcha {
  margin-right: 20px;
}

.menu-rect {
  padding: 15px;
  min-width: 250px;
  position: absolute;
  background-color: #EBEBEB;
  margin-top: 1em;
  box-shadow: 0px 4px 0px 0px #000;
  display: none;
}

.menu:hover .menu-rect,
.menu-rect:hover {
    display: block;
}

.menu-rect a {
  display: block;
  padding: 5px;
}

.menu-rect a:not(:last-child) {
  margin-bottom: 15px;
}

.menu-rect a:hover {
  background: white;
  border-radius: 5px;
}

.errorlist {
  color: red;
}

.page p {
	text-align: justify;
}
