/* =============================================================================
   Tables
   ========================================================================== */

table.ce-table td {
  border: 2px solid rgb(var(--c-neutral-lightest));
  background: rgb(var(--c-neutral-lighter));
  padding: 0.3rem 0.7rem;
}

.content > .frame-type-gridelements_pi1:nth-child(2n) 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));
  font-family: var(--f-family);
  border: 2px solid rgb(var(--c-neutral-lightest));
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
}

.content > .frame-type-gridelements_pi1:nth-child(2n) table.ce-table th,
.content > .frame-type-gridelements_pi1:nth-child(2n) 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;
}


/* =============================================================================
   Layouts
   ========================================================================== */

.frame-layout-20 {
  & .gallery__item > a[rel="noreferrer"]::after {
    background: transparent;
  }

  & picture {
    background: rgb(var(--c-neutral-lightest));
    padding: 1rem 1.5rem;
    aspect-ratio: 5 / 3;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 1px solid rgb(var(--c-neutral-light));

    & img {
      object-fit: contain;
      width: 100%;
      height: 100%;
      border: none;
    }
  }
}

/* =============================================================================
   Standard contentelements
   ========================================================================== */

/* Uploads */
.uploads__item {
  background-color: rgb(var(--c-neutral-lighter));
}

.content > .frame:nth-child(2n) .uploads__item {
  background-color: rgb(var(--c-neutral-lightest));
}

.uploads__link {
  color: rgb(var(--c-neutral-dark));
}

.uploads__title {
  color: rgb(var(--c-primary));
  text-transform: uppercase;
  font-size: var(--f-size-l-1);
}

.uploads__arrowpath {
  stroke: rgb(var(--c-primary));
}

.no-touch .content > .frame:nth-child(2n) .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));
}

/* 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);
}

/* 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));
}

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));
  display: flex;
  justify-content: center;
  align-items: center;
}

.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);
}

.video-embed {
  height: auto !important;
  padding: 0 !important;
}

/* Footer */
.footer {
  background: rgb(var(--c-primary));
  font-size: var(--f-size-s-1);
  padding: 35px 0;
  position: relative;
}

.footer .grid__col.-w25:first-child .image {
  max-width: 160px;
}

.footer .image a {
  display: block;
}

.footer,
.footer h4,
.footer a,
.no-touch .footer a:hover {
  color: rgb(var(--c-neutral-lightest));
}

.footer .fab {
  font-size: 30px;
}

.footer__scroll {
  position: absolute;
  right: 0;
  top: 1rem;
  width: 28px;
  height: 44px;
  background: url(../Images/sprites.svg) no-repeat 0 0;
  -webkit-background-size: 400px 400px;
  -moz-background-size: 400px 400px;
  -o-background-size: 400px 400px;
  background-size: 400px 400px;
  cursor: pointer;
}


/* =============================================================================
   Media Queries
   ========================================================================== */
@media (min-width: 400px) {

  .footer {
    padding-top: calc(35px + (70 - 35) * ((100vw - 400px) / (1600 - 400)));
    padding-bottom: calc(35px + (70 - 35) * ((100vw - 400px) / (1600 - 400)));
  }
}

@media (min-width: 1580px) {

  .footer {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .footer__scroll {
    right: 2rem;
    top: 70px;
  }
}