#cookieModal .modal-dialog {
  position: absolute;
  bottom: 0;
  width: 100%;
  margin: 0;
}
#cookieModal .modal-body {
  padding: 3em;
}
#cookieModal .cookie-text {
  width: 100%;
}
#cookieModal .buttons {
  min-width: 210px;
  margin: 2em 0 0;
}
#cookieModal .modal-dialog .modal-content {
  border-radius: 0;
}
#cookieModal .modal-dialog .buttons .btn {
  margin: 0.2rem;
}
#cookieModal .notice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

img {
  max-width: 100%;
}

.gallery .gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 1em;
}

.gallery .gallery-item {
  width: 170px;
  overflow: hidden;
}

.gallery .gallery-item .photo {
  width: 170px;
  height: 170px;
}

.gallery .gallery-item .link {
  margin: 0.5em 0;
  display: block;
}

.gallery .gallery-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.photo {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
}

.image-loading-error {
  overflow: hidden;
  position: relative;
  background: #ddd;
  display: block;
  width: fit-content;
  border-radius: 3px;
  -webkit-user-select: none; /* Chrome all / Safari all */
  -moz-user-select: none; /* Firefox all */
  -ms-user-select: none; /* IE 10+ */
  user-select: none;
  border: 1px solid #bfbfbf;
}

.image-loading-error .error {
  top: 0;
  display: flex;
  padding: 0 1em;
  align-self: center;
  position: absolute;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  height: 100%;
  width: 100%;
  opacity: 0.75;
}

.image-loading-error .error .icon {
  width: 19%;
  min-width: 24px;
  margin-bottom: 5px;
  margin: 0 auto;
}
.image-loading-error .error .icon > svg {
  stroke: #000;
  width: 100%;
  height: auto;
}

.image-loading-error .error .message {
  font-size: 12px;
  margin-bottom: 5px;
  font-weight: 600;
  color: #000;
  width: 65%;
  min-width: 100px;
  margin: 0 auto;
}

.table-thumbnail {
  height: 75px;
  width: 100%;
}

.table-thumbnail > img {
  height: 100%;
  width: auto;
  border-radius: 3px;
}

.table-thumbnail.image-loading-error .error {
  padding: 1em 5px;
}

.table-thumbnail.image-loading-error .error .icon {
  width: 20px;
}

.table-thumbnail.image-loading-error .message {
  font-size: 9px;
  min-width: 100%;
}

.photography-view .photography-photo {
  min-height: 250px;
  min-width: 250px;
  display: block;
  width: fit-content;
  border-radius: 3px;
  overflow: hidden;
}

.additional-content {
  margin-bottom: 20px;
}

.additional-content .additional-content-inner:not(:last-child) {
  margin-bottom: 20px;
}

.additional-content.publication {
  --nav-width: 200px;
  max-width: calc(100% - var(--nav-width));
}

.publication-gallery-item > img{
  width: 100%;
  height: auto;
}