:root {
  --red-rgb: 199, 24, 67;
  --red: rgb(var(--red-rgb));
  --dark-red-rgb: 158, 30, 63;
  --dark-red: rgb(var(--dark-red-rgb));
  --teal-rgb: 0, 153, 186;
  --teal: rgb(var(--teal-rgb));
  --white-rgb: 236, 236, 236;
  --white: rgb(var(--white-rgb));
}

body {
  font-family: LatoWeb, sans-serif;
}

main {
  min-height: 52vh;
}

.fs-7 {
  font-size: 0.8rem !important;
}

.accent-color-red {
  accent-color: var(--red);
}

.color-teal {
  color: var(--teal);
}

.color-red {
  color: var(--red);
}

.bg-red {
  background-color: var(--red);
  color: var(--white);
}

.bg-darkred {
  background-color: var(--dark-red);
  color: var(--white);
}

.bg-red a,
.bg-darkred a {
  color: var(--white) !important;
}

#article-header a {
  text-decoration: underline;
  text-decoration-style: dotted;
}

footer li {
  list-style: none;
}

footer h4 {
  font-weight: 700;
}

a,
.nav-link {
  color: var(--bs-gray-600);
  text-decoration: none;
}

.split-main a {
  color: var(--teal);
  text-decoration: none;
}

a:hover,
.split-main a:hover {
  text-decoration: underline;
  text-decoration-style: dotted;
}

.nav-link {
  display: block;
}

.nav-link:hover {
  color: var(--red);
}

.footer-logos img {
  max-height: 3rem;
  width: auto;
}

#schnellsuche .aa-Form {
  border-radius: 30px;
  background-color: var(--bs-gray-200);
  border: 0;
}

#schnellsuche input {
  border-radius: 30px;
  padding-left: 1rem;
  padding-right: 1rem;
  height: 2.2rem;
}

#schnellsuche input::placeholder {
  color: var(--bs-gray-600);
  text-align: center;
}

.five-lines {
  border-top: 0.1rem solid var(--teal);
  margin-top: 0.35rem;
}

.kastel {
  width: 100%;
  height: 22rem;
  border: 0.2rem solid var(--red);
  border-radius: 10px;
  box-shadow: 0.4rem 0.4rem 1rem rgba(0, 0, 0, 0.25);
}

.kastel .card-body {
  border-top: 0.2rem solid var(--red);
  color: var(--red);
  height: 7rem;
  max-height: 7rem;
  justify-content: center;
  transition: max-height 0.2s;
}

.kastel:hover .card-body {
  height: 16rem;
  max-height: 16rem;
  color: var(--white);
  background-color: var(--red);
  justify-content: unset;
}

.kastel .kastel-heading {
  font-size: 1.5rem;
  font-weight: 700;
  max-height: 6rem;
}

.kastel:hover .kastel-heading {
  margin-bottom: 1rem;
}

.kastel .kastel-details {
  display: none;
  font-size: 1.25rem;
}

.kastel:hover .kastel-details {
  display: block;
  border-top: dotted var(--white) 0.1rem;
  padding-top: 1rem;
}

.kastel img {
  height: auto;
  max-height: 15rem;
  width: 100%;
  object-fit: cover;
  object-position: top;
  transition: max-height 0.2s;
}

.kastel:hover img {
  max-height: 6rem;
}

#kasteln a:hover {
  text-decoration: none;
}

article {
  font-family: Arial, sans-serif;
  line-height: 2rem;
  font-size: larger;
}

#article-header {
  line-height: 1.3;
}

@media (min-width: 992px) {
  #article-header {
    height: 12rem;
  }
}

.medallion {
  clip-path: circle(50%);
  border: 0.7rem solid var(--dark-red);
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 50%;
  height: 15rem;
  width: 15rem;
  margin: 0;
  margin-top: -3rem;
}

@media (min-width: 992px) {
  .medallion {
    margin: -3rem;
  }
}

.split-nav {
  top: 1rem;
  font-size: smaller;
  padding-right: 3rem;
}

.split-nav a {
  text-transform: uppercase;
}

.split-nav a:hover {
  color: var(--red);
  text-decoration: underline;
  text-decoration-style: dotted;
}

.split-main {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 992px) {
  .split-main {
    padding-left: 2rem;
    margin-left: -1rem;
    border-left: 0.15rem dotted var(--red);
  }
}

#btn-back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  opacity: 0;
  transition: opacity 0.4s;
  box-shadow: 0.2rem 0.2rem 0.2rem rgba(0, 0, 0, 0.25);
  padding: 0;
  width: 3rem;
  height: 3rem;
  background-color: var(--red);
  color: #fff;
  border: 0;
}

@media (min-width: 992px) {
  #btn-back-to-top {
    bottom: 3rem;
    right: 3rem;
  }
}

#btn-back-to-top:hover {
  background-color: var(--dark-red);
}

#btn-back-to-top svg {
  width: 50%;
  height: 50%;
  margin-bottom: 0.4rem;
}

.container {
  max-width: 66rem;
}

.aa-Item {
  background-color: var(--bs-body-bg-color);
}

.aa-Item[aria-selected="true"] {
  background-color: var(--bs-gray-200);
}

.aa-Item a {
  font-size: larger;
  color: var(--teal);
}

.aa-Item + .aa-Item {
  margin-top: 0.35rem;
}

.aa-Form {
  --aa-primary-color-rgb: var(--teal-rgb);
}

nav + nav {
  margin-top: 0.8rem;
}

.w-min-content {
  width: min-content;
}

.preview-image {
  height: 100%;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

figure {
  position: relative;
  border: 1px solid rgb(0 0 0 / 10%);
}

figure:hover figcaption.caption-hover {
  visibility: visible;
  opacity: 0.85;
}

figcaption.caption-hover {
  position: absolute;
  bottom: 0;
  left: 0;
  visibility: hidden;
  opacity: 0;
  transition:
    visibility 0s,
    opacity 0.3s linear;
}

figcaption a {
  color: var(--white) !important;
}

audio::-webkit-media-controls-enclosure {
  border-radius: 0;
}

.text-decoration-underline-dotted {
  text-decoration: underline !important;
  text-decoration-style: dotted !important;
}

.cursor-help {
  cursor: help;
}

.cursor-pointer {
  cursor: pointer;
}

.popover {
  max-width: 32rem;
}

.line-height-125 {
  line-height: 1.25;
}

.line-height-15 {
  line-height: 1.5;
}

section#Werke {
  margin-bottom: 1rem;
}

#imageModal .modal-body {
  --bs-modal-padding: 0;
  background-color: #000;
}

#imageModal .modal-xl {
  width: fit-content;
  height: fit-content;
}

#imageModal #imgModal {
  object-fit: scale-down;
  max-width: 100%;
  max-height: 80vh;
}

.mh-85vh {
  max-height: 85vh;
}

.hanging-indent {
  margin-left: 1.5em;
  text-indent: -1.5em;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.pagination-item {
  --bs-pagination-color: var(--bs-body-color);
}

.pagination-selected {
  --bs-pagination-bg: var(--red);
  --bs-pagination-active-bg: var(--red);
  --bs-pagination-focus-bg: var(--red);
  --bs-pagination-hover-bg: var(--red);
  --bs-pagination-hover-color: var(--white);
  --bs-pagination-focus-color: var(--white);
  --bs-pagination-color: var(--white);
}

.pagination-item a, .pagination-selected a {
  color: var(--bs-pagination-color) !important;
}

.pagination-disabled {
  --bs-pagination-color: var(--bs-gray-500);
  --bs-pagination-hover-color: var(--bs-gray-500);
  --bs-pagination-hover-bg: var(--my-bg);
}

input[type="search" i]::-webkit-search-cancel-button {
  display: none;
}

mark {
  padding: 0;
}

.tab-content {
  --bs-nav-tabs-link-active-border-color: #dee2e6;
  border: solid var(--bs-nav-tabs-link-active-border-color) 1px;
  border-top-style: none;
}

.nav-link.active {
  border-bottom-style: none;
}

@media (min-width: 992px) {
  .columns-lg-2 {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
  }

  .columns-lg-3 {
    columns: 3;
    -webkit-columns: 3;
    -moz-columns: 3;
  }

  .columns-lg-4 {
    columns: 4;
    -webkit-columns: 4;
    -moz-columns: 4;
  }

  .columns-lg-5 {
    columns: 5;
    -webkit-columns: 5;
    -moz-columns: 5;
  }

  .columns-lg-6 {
    columns: 6;
    -webkit-columns: 6;
    -moz-columns: 6;
  }

  .columns-lg-7 {
    columns: 7;
    -webkit-columns: 7;
    -moz-columns: 7;
  }
}

@media print {
  article p,
  article li {
    font-family: "Times New Roman", serif !important;
  }
  section#Hörbeispiele > div > div {
    justify-content: start !important;
  }
  figcaption.caption-hover {
    position: static;
    visibility: visible;
    opacity: 1;
    color: #000 !important;
  }
  #Abbildungen > div > div {
    display: block !important;
    width: auto;
  }
  #Abbildungen img {
    max-width: 150px;
    max-height: 150px;
  }
  header .img-fluid {
    max-width: 50%;
  }

  #btn-back-to-top,
  header form,
  nav,
  footer,
  audio {
    display: none !important;
  }
}
