/* =============================================================================
   Tables
   ========================================================================== */

/* Column widths */
.page table.ce-table-tab6040,
.page table.ce-table-tab4060,
.page table.ce-table-tab204040 {
  table-layout: auto;
}

.page table.ce-table-tab6040 td:first-child {
  width: 60%;
}

.page table.ce-table-tab6040 td:nth-child(2),
.page table.ce-table-tab4060 td:first-child {
  width: 40%;
}

.page table.ce-table-tab4060 td:nth-child(2) {
  width: 60%;
}

.page table.ce-table-tab204040 td:first-child {
  width: 14%;
}

.page table.ce-table[class*="ce-table-tab"] td {
  min-width: 0;
}

/* Maintenance plan */
.page table.ce-table.ce-table-pflegeplan {
  font-size: 100%;
}

.page table.ce-table.ce-table-pflegeplan th,
.page table.ce-table.ce-table-pflegeplan td {
  min-width: 0;
  padding: 3px 5px;
  font-family: var(--f-family-2);
  font-size: 110%;
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  color: rgb(var(--c-neutral-lightest));
  background: rgb(var(--c-primary));
  border: 1px solid rgb(var(--c-neutral-light));
}

.page table.ce-table.ce-table-pflegeplan th:nth-child(-n+2),
.page table.ce-table.ce-table-pflegeplan td:nth-child(-n+2) {
  text-align: left;
}

.page table.ce-table.ce-table-pflegeplan th {
  padding: 0;
  font-weight: var(--f-weight-b);
}

.page table.ce-table.ce-table-pflegeplan th:nth-child(n+3):nth-child(-n+9) {
  width: 5%;
}

.page table.ce-table.ce-table-pflegeplan th:nth-child(-n+2),
.page table.ce-table.ce-table-pflegeplan th:nth-child(n+10) {
  font-size: 120%;
  white-space: normal;
  color: rgb(var(--c-primary));
  background: transparent;
}

.page table.ce-table.ce-table-pflegeplan th:nth-child(10) {
  width: 11.5%;
}

.page table.ce-table.ce-table-pflegeplan td:nth-child(n+3):nth-child(-n+9) {
  font-family: 'FaSolid', sans-serif;
  font-size: 100%;
  color: rgb(var(--c-primary));
  background: transparent;
}

.page table.ce-table {
  font-size: 100%;
}

.page table.ce-table td {
  padding: 0.5em 0.8em;
  border: 1px solid rgb(var(--c-neutral-light));
}

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));
  padding: 0.3rem 0.7rem;
  font-weight: var(--f-weight-sb);
}

.content .frame-bg-lightblue table.ce-table th,
.content .frame-bg-lightblue 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;
}


/* =============================================================================
   Standard contentelements
   ========================================================================== */

/* Uploads */
.uploads__item {
  background-color: rgb(var(--c-neutral-lighter));
}

.content .frame-bg-lightblue .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-lightblue .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%;
}

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));
}

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);
}

/* =============================================================================
   Menus
   ========================================================================== */

/* Metanav */
.metanav__item {
  display: inline-block;
  margin: 0 1em 0 0;
}

.metanav__separator {
  display: none;
}

/* =============================================================================
   Footer
   ========================================================================== */

.footer {
  margin: 0 0 2.5em;
}

.footer .frame-type-col2-5050 > .grid__12 {
  column-gap: 4.13%;
}

.footer .frame-type-col2-5050 > .grid__12 > .grid__col {
  grid-column: span 6;
}

.footerline {
  padding: 0.3em 0;
  color: rgb(var(--c-neutral-lightest));
  background: rgb(var(--c-primary));
}

.footerline a,
.footerline .iconfontwhite {
  color: rgb(var(--c-neutral-lightest));
}

.footerline .frame {
  display: block;
}

.footerline__contact {
  display: none;
}

/* =============================================================================
   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;
}

/* =============================================================================
   Container
   ========================================================================== */

/* Tabs */
.content > .frame-type-tabs > .tabs__nav {
  margin-right: 3%;
  margin-left: 3%;
}

/* =============================================================================
   Media Queries
   ========================================================================== */

@media (min-width: 641px) {
  /* Tables */
  .page table.ce-table:not([class*="ce-table-tab"]):not(.ce-table-pflegeplan):not(.-league) {
    table-layout: fixed;
  }

  .page table.ce-table:not([class*="ce-table-tab"]):not(.ce-table-pflegeplan):not(.-league) td {
    min-width: 0;
  }

  /* Footer */
  .footer {
    margin-top: 4em;
  }

  .footerline__contact {
    display: block;
  }
}

@media (min-width: 1025px) {
  /* Footer */
  .footerline__row {
    display: grid;
    grid-template-columns: 47.96% 47.96%;
    column-gap: 4%;
  }

  /* Tabs */
  .content > .frame-type-tabs > .tabs__nav {
    margin-right: 2%;
    margin-left: 2%;
  }
}

@media (min-width: 1081px) {
  .content > .frame-type-tabs > .tabs__nav {
    margin-right: calc((100% - 1040px) / 2);
    margin-left: calc((100% - 1040px) / 2);
  }
}
