html, body {
  height: 100%;
}

body {
  margin: 0;
  font-size: 16px;
  font-family: "Times New Roman", Times, serif;
  display: flex;
  flex-flow: column;
}

header {
  padding-left: 8px;
  padding-right: 8px;
  height: 60px;
  display: flex;
  align-items: center;
  flex: 0 0 60px;
  font-size: 22px;
}
header div {
  display: flex;
  align-items: center;
}
header img {
  width: 48px;
  height: 48px;
}
header #logo {
  margin-left: 8px;
  margin-right: 8px;
}
header button {
  font-size: 22px;
  padding: 4px 8px 4px 8px;
  -webkit-appearance: none;
}
header a {
  text-decoration: none;
}
header input {
  flex: 1 1 auto;
  width: 0;
  height: 34px;
  padding-left: 8px;
}

.search {
  flex: 1 1 auto;
  margin-left: 8px;
  margin-right: 8px;
  display: flex;
}

#noheader {
  display: flex;
  height: 1vh;
  flex: 1 1 auto;
}

nav, #content {
  padding: 7px;
  height: calc(100% - 16px);
  float: left;
  overflow: auto;
}

nav {
  flex-basis: 250px;
  flex-shrink: 0;
  font-size: 17px;
  font-family: "Anton", Impact, sans-serif;
}
nav ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
nav div {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
nav span {
  display: block;
  margin-left: 8px;
}
nav img {
  width: 40px;
  height: 40px;
}

#content {
  flex-grow: 1;
  overflow: auto;
  padding: 8px;
}

main {
  font-family: Verdana, Geneva, sans-serif;
  overflow-wrap: break-word;
  /*
  form {
    button {
      display: block;
    }
  }
  */
}

h1 {
  margin-top: 0;
  margin-bottom: 8px;
}
h1 img {
  width: 40px;
  height: 40px;
  margin-right: 8px;
}
h1 span, h1 .button {
  position: relative;
}
h1 span {
  bottom: 6px;
}
h1 .button {
  bottom: 12px;
}

#results-options {
  margin-bottom: 8px;
}

#results .title, #search-results .title {
  font-weight: bold;
  text-decoration: underline;
  font-size: 18px;
}

.entity {
  padding: 4px;
}
.entity > input {
  flex: 1 1 auto;
  width: 0;
  padding-left: 8px;
}
.entity input[type=text], .entity input[type=""], .entity input:not([type]), .entity input[type=date], .entity input[type=number], .entity select {
  height: 34px;
}
.entity input[type=radio] {
  transform: scale(1.6);
}
.entity.snippet {
  margin-bottom: 8px;
  border: 1px solid;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
}

.property .label {
  font-weight: bold;
}
.property .value {
  margin-left: 12px;
  margin-top: 2px;
}

.createpage .label, .editpage .label {
  margin-right: 8px;
}
.createpage .property, .editpage .property {
  margin-bottom: 8px;
}

.tag {
  border-radius: 5px;
  padding: 3px 5px;
  margin-top: 1px;
  margin-bottom: 1px;
  margin-right: 5px;
  display: inline-block;
  font-size: 12px;
}

.tags {
  display: inline-block;
}
.tags a {
  text-decoration: none;
}

.entitypage > .entity > .property > .label {
  font-size: 20px;
}

.table {
  border: 1px solid black;
  border-collapse: collapse;
}
.table th, .table td {
  border: 1px solid black;
  padding-left: 8px;
  padding-right: 8px;
}

.pollform thead th {
  width: 80px;
  position: sticky;
  top: -9px;
  z-index: 1;
}
.pollform tbody th {
  white-space: nowrap;
}
.pollform td {
  text-align: center;
}

tbody.center td {
  text-align: center;
}
tbody.center td.right {
  text-align: right;
}

.photolink img {
  object-fit: cover;
  object-position: center;
}

.entitypage .photolink img {
  width: 300px;
  height: 300px;
  max-width: 100%;
}

#results.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(50vh, 250px), 1fr));
  grid-column-gap: 16px;
  grid-row-gap: 24px;
  justify-content: center;
}
#results.grid .photolink {
  width: 100%;
  position: relative;
}
#results.grid .photolink :after {
  content: "";
  padding-top: 100%;
  display: block;
}
#results.grid .photolink img {
  width: 100%;
  height: 100%;
  position: absolute;
}

.map-responsive {
  overflow: hidden;
  padding-bottom: 30%;
  position: relative;
  height: 0;
}
.map-responsive iframe {
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}

.message {
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 10px;
}

button, a.button {
  padding: 10px;
  background: #007bff;
  color: white;
  border-radius: 7px;
  border-width: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  font-size: 13px;
}
button:hover, a.button:hover {
  background: #0069d9;
}
button:active, a.button:active {
  background: #0062cc;
}
button.red, a.button.red {
  background: #dc3545;
}
button.red:hover, a.button.red:hover {
  background: #c82333;
}
button.red:active, a.button.red:active {
  background: #bd2130;
}

#content button {
  margin-top: 4px;
}

a {
  color: dimgray;
}
a.button:hover {
  color: white;
}
a:hover {
  color: red;
}

header {
  background: #333333;
  color: white;
}
header a, header a:hover {
  color: white;
}

nav {
  background: gainsboro;
}

.table tr:nth-child(even), .table thead th {
  background: lightgrey;
}

form.simple {
  margin-top: 6px;
}
form.simple input {
  display: block;
  margin-bottom: 4px;
  padding: 8px;
  width: -webkit-fill-available;
  width: -moz-available;
  width: stretch;
}

.calendar {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
}
.calendar td {
  height: 100px;
}
.calendar a {
  text-decoration: none;
}

.calendar, .calendar tr, .calendar td, .calendar th {
  border: 1px solid black;
}

.oneline {
  height: 1.2em;
  overflow: hidden;
  white-space: nowrap;
}

.twolines {
  max-height: 2.4em;
  overflow: hidden;
  margin-bottom: 4px;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
}

.tops td {
  vertical-align: top;
}

.small {
  font-size: 12px;
}

table span {
  margin-bottom: 4px;
  display: inline-block;
}
table input[type=radio] {
  margin-top: 12px;
  margin-bottom: 12px;
}

span.red {
  color: red;
}

span.blue {
  color: blue;
}

h3 {
  font-size: 1em;
}

.entitypage .html {
  display: block;
}

.snippet .html p {
  display: inline;
  padding-right: 8px;
}

.entitypage.displaypage .property {
  margin-bottom: 8px;
}

#search-results img {
  width: 300px;
  max-width: 100%;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

#version {
  font-size: smaller;
  float: right;
}

#undfreunde {
  position: absolute;
  font-size: 12px;
  top: 20px;
  left: 31px;
  font-style: italic;
}

#profilepic {
  border-radius: 40%;
}

#derzirkelundfreunde {
  position: relative;
}

.testsystem {
  background: orangered;
}

.SUCCESS {
  color: white;
  background: limegreen;
}

.ERROR {
  color: white;
  background: #E74C3C;
}

.platzierung-input {
  margin-left: 20px;
  width: 15px;
}

.punkte-input {
  width: 35px;
}

.today {
  background: peachpuff;
}

/*# sourceMappingURL=layout.css.map */
