/* =============================================================================
   Tables
   ========================================================================== */

table.ce-table td {
  border: 2px solid rgb(var(--c-neutral-lightest));
  background: rgb(var(--c-neutral-lighter));
  padding: 0.3rem 0.7rem;
}

.frame-layout-grey table.ce-table td {
  border: 2px solid rgb(var(--c-neutral-lighter));
  background: rgb(var(--c-neutral-lightest));
}

table.ce-table th,
table.ce-table caption {
  color: rgb(var(--c-neutral-lightest));
  background: rgb(var(--c-primary));
  border: 2px solid rgb(var(--c-neutral-lightest));
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
}

.frame-layout-grey table.ce-table th,
.frame-layout-grey table.ce-table caption {
  border: 2px solid rgb(var(--c-neutral-lighter));
}

.ios-scrollbar {
  padding-bottom: 20px;
  position: relative;
}

.ios-scrollbar::after {
  content: "\f178";
  font-family: "FaLight", sans-serif;
  font-size: 15px;
  line-height: 100%;
  position: absolute;
  right: 0;
  bottom: 5px;
}

/* =============================================================================
   Standard contentelements
   ========================================================================== */

/* Uploads */
.uploads__item {
  background-color: rgb(var(--c-neutral-lighter));
}

.frame-layout-grey .uploads__item {
  background-color: rgb(var(--c-neutral-lightest));
}

.uploads__link {
  color: rgb(var(--c-neutral-dark));
}

.uploads__title {
  color: rgb(var(--c-primary));
  font-size: var(--f-size-l-1);
}

.uploads__arrowpath {
  stroke: rgb(var(--c-primary));
}

.no-touch .frame-layout-grey .uploads__item:hover,
.no-touch .uploads__item:hover {
  background-color: rgb(var(--c-primary));
}

.no-touch .uploads__item:hover,
.no-touch .uploads__item:hover .uploads__title {
  color: rgb(var(--c-neutral-lightest));
}

.no-touch .uploads__item:hover .uploads__arrowpath {
  stroke: rgb(var(--c-neutral-lightest));
}

.video__responsive iframe {
  z-index: 1;
}

.video-embed {
  position: relative;
  padding-bottom: 0 !important;
  height: auto !important;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.video-embed iframe,
.video-embed object,
.video-embed embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Images */
.-border img,
.-border iframe {
  border: 1px solid rgb(var(--c-neutral-light));
}

.gallery__item a[data-fancybox]::before,
.media__image a::before {
  background-color: rgba(var(--c-primary), 0.6);
}

#Ebene_1 a > image {
  transition: 0.6s all;
  transform-origin: 50% 50%;
  transform-box: fill-box;
}

#Ebene_1 a:hover > image {
  transform: scale(1.3, 1.3);
}

/* Videos */
video {
  width: 100%;
}

/* Menus */
.frame-type-menu_pages li a,
.frame-type-menu_sitemap li a {
  color: rgb(var(--c-neutral-dark));
}

/* Paginator */
ul.f3-widget-paginator {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

ul.f3-widget-paginator li {
  list-style-type: none;
  width: 40px;
  height: 40px;
  margin: 0 5px 5px 0;
  background: rgb(var(--c-neutral-lighter));
  justify-content: center;
  align-items: center;
  display: flex;
}

ul.f3-widget-paginator a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
}

.no-touch ul.f3-widget-paginator li:hover,
ul.f3-widget-paginator li.current {
  background: rgb(var(--c-primary));
  color: rgb(var(--c-neutral-lightest));
}

.no-touch ul.f3-widget-paginator li:hover a,
ul.f3-widget-paginator li.current a {
  color: rgb(var(--c-neutral-lightest));
}

ul.f3-widget-paginator li.previous a::after {
  content: "\f053";
  font-family: "FaLight", sans-serif;
  font-weight: normal;
  font-style: normal;
  text-decoration: inherit;
  -webkit-font-smoothing: antialiased;
  height: auto;
  line-height: normal;
  vertical-align: baseline;
  font-size: var(--f-size);
}

ul.f3-widget-paginator li.next a::after {
  content: "\f054";
  font-family: "FaLight", sans-serif;
  font-weight: normal;
  font-style: normal;
  text-decoration: inherit;
  -webkit-font-smoothing: antialiased;
  height: auto;
  line-height: normal;
  vertical-align: baseline;
  font-size: var(--f-size);
}

/* elfsight */
.flipbook-placeholder {
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: center;
  gap: 2rem;
}

.flipbook-placeholder img {
  width: 400px;
}

.flipbook-placeholder button {
  margin-top: 1rem;
}

/* =============================================================================
   Template
   ========================================================================== */

/* Footer */
.footer {
  background: rgb(var(--c-primary));
  color: rgb(var(--c-neutral-lightest));
}

.footer a,
.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5 {
  color: rgb(var(--c-neutral-lightest));
}

.footer a:hover {
  color: rgb(var(--c-primary-light));
}

.footer > .grid__main {
  position: relative;
}

.footer > .grid__main > .grid__12 {
  position: relative;
  z-index: 1;
}

.footer > .grid__main::after {
  position: absolute;
  content: "";
  right: 0;
  top: -1rem;
  background: url(../Images/sprites.svg) no-repeat -400px 0;
  -webkit-background-size: 800px 800px;
  -moz-background-size: 800px 800px;
  -o-background-size: 800px 800px;
  background-size: 800px 800px;
  width: 400px;
  height: 400px;
  z-index: 0;
}

/* =============================================================================
   Media Queries
   ========================================================================== */

@media (min-width: 800px) {
  .grid__12 div.grid__12.uploads .uploads__link {
    grid-column: span 12;
  }

  .grid__12 .grid__12 div.grid__12.uploads .uploads__link {
    grid-column: span 12;
  }

  /* elfsight */
  .flipbook-placeholder {
    display: flex;
    flex-direction: row;
  }

  .flipbook-placeholder img {
    width: 300px;
  }
}

@media (min-width: 1024px) {
  div.uploads .uploads__link {
    grid-column: span 6;
  }

  footer.footer .grid__col.-w33 {
    grid-column: span 6;
  }

  footer.footer .grid__col.-w33:first-child,
  footer.footer .grid__col.-w33:last-child {
    grid-column: span 3;
  }
}