/* =============================================================================
   Tables
   ========================================================================== */

table.ce-table td {
  border: 1px solid rgb(var(--c-neutral-light));
  border-left: none;
  border-right: none;
  background: transparent;
  padding: 0.5rem 0.7rem;
}

.content .frame-bg-grey table.ce-table td {
  border: 1px solid rgb(var(--c-neutral));
}

table.ce-table th,
table.ce-table caption {
  color: rgb(var(--c-primary));
  background: transparent;
  border: 1px solid rgb(var(--c-neutral-light));
  padding: 0.5rem 0.7rem;
  font-family: var(--f-family-2);
  font-size: var(--f-size-l-1);
  border-left: none;
  border-right: none;
}

.content .frame-bg-grey table.ce-table th,
.content .frame-bg-grey table.ce-table caption {
  border: 1px solid rgb(var(--c-neutral));
}

.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: 0;
}

/* =============================================================================
   Standard contentelements
   ========================================================================== */

/* Uploads */
.uploads__item {
  background-color: rgb(var(--c-neutral-lighter));
}

.content .frame-bg-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));
}

@media (hover: hover) {
  .content .frame-bg-grey .uploads__item:hover,
  .uploads__item:hover {
    background-color: rgb(var(--c-primary));
  }

  .uploads__item:hover,
  .uploads__item:hover .uploads__description,
  .uploads__item:hover .uploads__title {
    color: rgb(var(--c-neutral-lightest));
  }

  .uploads__item:hover .uploads__arrowpath {
    stroke: rgb(var(--c-neutral-lightest));
  }
}

/* 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));
  display: flex;
  justify-content: center;
  align-items: center;
}

ul.f3-widget-paginator a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  color: rgb(var(--c-neutral-darkest));
  text-decoration: none;
}

ul.f3-widget-paginator li.current {
  background: rgb(var(--c-neutral-darkest));
  color: rgb(var(--c-neutral-lightest));
  font-weight: var(--f-weight-b);
}

ul.f3-widget-paginator li.current a {
  color: rgb(var(--c-neutral-darkest));
}

@media (hover: hover) {
  ul.f3-widget-paginator li:hover {
    background: rgb(var(--c-neutral-light));
    color: rgb(var(--c-neutral-darkest));
  }

  ul.f3-widget-paginator li:hover a {
    color: rgb(var(--c-neutral-darkest));
  }
}

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);
}

/* =============================================================================
   Footer
   ========================================================================== */

.footer {
  background: url(/fileadmin/content/Bilder/Footer_Standard/footer.jpg)
    no-repeat 0 center;
  background-size: cover;
  position: relative;
  color: rgb(var(--c-neutral-lightest));

  &::before {
    content: "";
    background: rgb(var(--c-neutral-darker));
    opacity: 0.7;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  & > * {
    z-index: 10;
  }

  & h2,
  & h3,
  & h4 {
    color: rgb(var(--c-neutral-lightest));
    font-weight: var(--f-weight-sb);
  }

  & .frame-type-menu_pages a {
    color: rgb(var(--c-neutral-lightest));
  }

  & .gallery__item {
    width: 120px;
  }

  & p {
    font-size: var(--f-size-s-2);
  }
}

/* =============================================================================
   Menus
   ========================================================================== */

.frame-type-menu_pages img {
  width: 32px;
  margin-right: 1rem;
  display: block;
}

.frame-type-menu_pages a {
  text-decoration: none;
  font-size: var(--f-size-l-1);
  font-weight: var(--f-weight-sb);
}

.frame-type-menu_pages a span.hover {
  display: none;
}

.frame-type-menu_pages a span {
  display: inline-block;
  vertical-align: middle;
}

@media (hover: hover) {
  .frame-type-menu_pages a:hover {
    color: rgb(var(--c-primary));
  }

  .frame-type-menu_pages a:hover span.normal {
    display: none;
  }

  .frame-type-menu_pages a:hover span.hover {
    display: inline-block;
  }
}

/* Metanav */
.metanav {
  background: rgb(var(--c-neutral-dark));
  color: rgb(var(--c-neutral-lightest));
  padding: 0.6rem 0;
  font-size: var(--f-size-s-1);

  & a {
    color: rgb(var(--c-neutral-lightest));
    text-decoration: none;
  }
}

@media (hover: hover) {
  .metanav__link:hover {
    color: rgb(var(--c-primary));
  }
}

/* =============================================================================
   Forms
   ========================================================================== */

input,
select,
textarea {
  border: 1px solid rgb(var(--c-neutral-light));
  padding: calc(0.6rem - 1px) 0.6rem;
  margin: 0 0 1rem 0;
  line-height: 1.4;
  font-weight: var(--f-weight-l);
}

select {
  width: 100%;
}

/* =============================================================================
   Media Queries
   ========================================================================== */
