.leaflet-popup-content-wrapper {
  overflow-y: auto;
  padding: 0 0;
  max-height: 350px;
}
.leaflet-popup-content {
  margin: 0 0;
}
.leaflet-popup-content .header {
  border-bottom: 1px solid black;
  background: #efefef;
  display: grid;
  grid-template-columns: min-content auto min-content min-content;
  grid-template-rows: 1.5em min-content;
}
.leaflet-popup-content .header .field--name-bundle-fieldnode {
  grid-row: 1 / 2;
  grid-column: 1 / 2;
}
.leaflet-popup-content .header .field--name-node-title {
  grid-row: 2 / 3;
  grid-column: 1 / 3;
}
.leaflet-popup-content .header .actions {
  grid-row: 1 / 2;
  grid-column: 2 / 3;
}
.leaflet-popup-content .header .field--name-field-bild {
  grid-row: 1 / 3;
  grid-column: 3 / 4;
}

.leaflet-popup-content .header,
.leaflet-popup-content .content,
.leaflet-popup-content .popup_content {
  padding: 0.5em 1em;
}
.leaflet-popup-content h1 {
  margin: 0.125em 0;
  font-size: 1.25em;
}
.leaflet-popup-content .header .field--name-field-bild {
  float: right;
}
.leaflet-popup-content .header .field--name-field-bild img {
  max-height: 4em;
  object-fit: contain;
}
.leaflet-popup-content .header::after {
  content: '';
  clear: both;
  display: table;
}

.leaflet-popup-content {
  background:
        linear-gradient(white 30%, hsla(0,0%,100%, 0)),
        linear-gradient(hsla(0,0%,100%,0) 10px, white 70%) bottom,
        radial-gradient(at top, rgba(0,0,0,0.2), transparent 70%),
        radial-gradient(at bottom, rgba(0,0,0,0.2), transparent 70%) bottom;
  background-repeat:no-repeat;
  background-size: 100% 20px, 100% 20px, 100% 10px, 100% 10px;
  background-attachment:local, local, scroll, scroll;
}

.field__label {
  font-weight: bold;
}
.field--label-above > .field__items > .field__item {
  margin-bottom: 0.25em;
}
.field--label-inline {
  display: flex;
  flex-direction: row;
}
.field--label-inline > .field__label {
  /* min-width: 25%; */
}
.field--label-inline > .field__label:after {
  content: ': ';
  margin-right: 0.25em;
}

.field__item .item-list > ul {
  padding-left: 20px;
  margin: 0 0;
}

/* Autocomplete */
input.form-text {
  width: 100%;
}
ul.ui-autocomplete {
  background: white;
  border: 1px solid black;
  margin: 0 0;
  padding: 0 0;
}
ul.ui-autocomplete > li {
  list-style: none;
}

#block-bartik-primary-local-tasks {
  display: none;
}

aside > .content {
  padding: 0;
}

/* Slideshow */
.slideshow {
  display: grid;
  grid-template-columns: 1em auto 1em;
  grid-template-rows: auto;
  justify-items: center;
  align-items: center;
}
.slideshow > * {
  opacity: 0;
  grid-column: 1 / 4;
  grid-row: 1 / 2;
}
.slideshow.active > * {
  display: none;
}
.slideshow > .slideshow-selected {
  display: block;
  opacity: 1;
}
.slideshow > .prev,
.slideshow > .next {
  opacity: 1;
  display: flex;
  grid-row: 1 / 2;
  align-items: center;
}
.slideshow > .prev {
  grid-column: 1 / 2;
  text-align: left;
}
.slideshow > .next {
  grid-column: 3 / 4;
  text-align: right;
}
/* /Slideshow */

/* Übersichten */
table.views-table {
  display: block;
  width: 100%;
}
table.views-table > thead {
  display: none;
}
table.views-table > tbody {
  display: block;
  width: 100%;
}
table.views-table tr {
  display: grid;
  gap: 0.5em;
  grid-template-columns: auto min-content;
  padding: 0.25em 0;
  border: 1px solid #ccc;
  border-bottom: none;
}
table.views-table tr:last-of-type {
  border-bottom: 1px solid #ccc;
}
table.views-table tr > td {
  display: none;
  border: none;
  font-size: 16px;
  font-family: Georgia,"Times New Roman",Times,serif;
}
table.views-table tr > .title,
table.views-table tr > .views-field-title {
  display: block;
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}
table.views-table tr > .views-field-field-bild {
  display: block;
  grid-column: 2 / 3;
  grid-row: 1 / 3;
}
table.views-table tr > .views-field-body {
  display: block;
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  font-size: 12px;
}
/* /Übersichten */

.kommentar > p:first-of-type {
  margin-top: 0;
}
