/* =============================================================================
   Tables
   ========================================================================== */
table.ce-table td {
  border: 1px solid rgb(var(--c-neutral-light));
  background: transparent;
  padding: 0.3rem 0.7rem;
}

.content .frame-bg-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: 1px solid rgb(var(--c-neutral-lightest));
  padding: 0.3rem 0.7rem;
  font-weight: var(--f-weight-sb);
  text-transform: uppercase;
}

.content .frame-bg-grey table.ce-table th,
.content .frame-bg-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: 0;
}

table.ce-table-rahmenlos td {
  border: none;
  padding: 0 0.7rem 0.3rem 0;
}

table.ce-table-goldandsilver {
  & tr td:first-child {
    border: 2px solid rgb(var(--c-neutral-lightest));
    border-bottom-color: rgb(var(--c-neutral-lighter));
    background: rgb(var(--c-neutral-lightest));
  }

  & tr td:nth-child(2) {
    background-color: #e6ac00;
    color: rgb(var(--c-neutral-lightest));
    text-align: center;
  }

  & tr td:nth-child(3) {
    background-color: #a6a6a6;
    color: rgb(var(--c-neutral-lightest));
    text-align: center;
  }
}

/* =============================================================================
   Standard contentelements
   ========================================================================== */

/* Uploads */
.uploads__item {
  background-color: rgb(var(--c-neutral-lighter));
  margin-bottom: 2rem;
  position: relative;
}

.content .frame-bg-grey .uploads__item {
  background-color: rgb(var(--c-neutral-lightest));
}

.uploads__link {
  color: rgb(var(--c-neutral-dark));
}

.uploads a::after {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 12px;
}

.uploads__title {
  color: rgb(var(--c-neutral-darkest));
  font-size: var(--f-size-l-2);
  text-transform: uppercase;
  text-align: left;
}

.uploads__arrowpath {
  stroke: rgb(var(--c-primary));
}

.page .uploads__arrow::before {
  content: "\f054";
  font-family: "FaLight", sans-serif;
  font-size: var(--f-size-l-4);
  margin-right: 0.4rem;
  color: rgb(var(--c-primary));
}

.uploads__description {
  margin-top: 0.2rem;
  line-height: 125%;
  font-weight: var(--f-weight-b);
}

.uploads__arrow::before {
  transition: color 0.3s ease;
}

@media (hover: hover) {
  .page.-gmvd .content .frame-bg-grey .uploads__item:hover,
  .page.-gmvd .uploads__item:hover {
    background-color: rgb(var(--c-neutral-darkest));
  }

  .page.-ccm .content .frame-bg-grey .uploads__item:hover,
  .page.-ccm .uploads__item:hover {
    background-color: rgb(var(--c-ccm));
  }

  .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));
  }

  .uploads__item:hover .uploads__arrow::before {
    color: 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%;
}

ul.f3-widget-paginator li.current {
  background: rgb(var(--c-primary));
  color: rgb(var(--c-neutral-lightest));
}

ul.f3-widget-paginator li.current a {
  color: rgb(var(--c-neutral-lightest));
}

@media (hover: hover) {
  ul.f3-widget-paginator li:hover {
    background: rgb(var(--c-primary));
    color: rgb(var(--c-neutral-lightest));
  }

  ul.f3-widget-paginator li:hover 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);
}

/* =============================================================================
   Template
   ========================================================================== */

/* Footer */
.footer {
  background: rgb(var(--c-neutral-lighter));
}

#c29740 img {
  height: 36px;
}

#c29740 .grid__12 {
  display: flex;
}

.arrow.-top {
  background: transparent !important;
  margin-top: -30px;
  position: relative;
  z-index: 10;

  & .arrow__image {
    background: url("../Images/arrow_up.png") no-repeat;

    &::after {
      content: "\f325";
    }
  }
}

/* =============================================================================
   Menus
   ========================================================================== */

/* Metanav */
.metanav {
  background: rgb(var(--c-neutral-lighter));
}

.metanav__link {
  color: rgb(var(--c-neutral-dark));
  text-transform: uppercase;
}

@media (hover: hover) {
  .metanav__link:hover {
    color: rgb(var(--c-primary));
  }
}

.metanav__nav {
  padding: 0.6rem 0;
}

/* =============================================================================
   Forms
   ========================================================================== */

input,
select,
textarea {
  border: 1px solid rgb(var(--c-neutral-light));
  padding: calc(0.6rem - 1px) 0.6rem;
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

/* =============================================================================
   Media Queries
   ========================================================================== */

@media (min-width: 800px) {
  #c29740 img {
    height: 50px;
  }
}
