/* =============================================================================
   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-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: 2px solid rgb(var(--c-neutral-lightest));
  padding: 0.3rem 0.7rem;
  font-weight: var(--f-weight-sb);
}

table.ce-table caption {
  border-top-right-radius: var(--b-radius-m);
  border-top-left-radius: var(--b-radius-m);
}

table.ce-table.-left tr:last-child th:first-child {
  border-bottom-left-radius: var(--b-radius-m);
}

table.ce-table.-left.-top tr:first-child td:last-child {
  border-top-right-radius: var(--b-radius-m);
}

table.ce-table.-left tr:first-child td:last-child {
  border-top-right-radius: var(--b-radius-m);
}

table.ce-table.-left.-top tr:first-child th:first-child {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

table.ce-table.-left.-top thead tr:first-child th:first-child {
  border-top-left-radius: var(--b-radius-m);
  border-bottom-left-radius: 0;
}

table.ce-table.-left.-top tr:first-child td:last-child {
  border-top-right-radius: 0;
}

.content .frame-bg-grey table.ce-table th,
.content .frame-bg-grey table.ce-table caption {
  border: 2px solid rgb(var(--c-neutral-lighter));
}

table.ce-table tr:first-child th:first-child {
  border-top-left-radius: var(--b-radius-m);
}

table.ce-table tr:first-child th:last-child {
  border-top-right-radius: var(--b-radius-m);
}

table.ce-table tr:last-child td:first-child {
  border-bottom-left-radius: var(--b-radius-m);
}

table.ce-table tr:last-child td:last-child {
  border-bottom-right-radius: var(--b-radius-m);
}

.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;
}

.tx-go-maps-ext select {
  width: 240px;
}

/* =============================================================================
   Standard contentelements
   ========================================================================== */

/* Uploads */
.uploads__item {
  background-color: rgb(var(--c-neutral-lightest));
  border-radius: var(--b-radius-m);
  border: 3px solid rgb(var(--c-primary));
}

.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%;
}

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);
}

.top-fixed {
  position: fixed;
  background-color: rgb(var(--c-secondary));
  color: rgb(var(--c-neutral-lightest));
  border-top-left-radius: var(--b-radius-s);
  border-top-right-radius: var(--b-radius-s);
  font-weight: var(--f-weight-b);
  font-size: var(--f-size-s-2);
  text-transform: uppercase;
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  transform-origin: 100% 100%;
  right: -3px;
  bottom: 20rem;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  max-width: 220px;
  max-height: 65px;
  padding: 10px 1rem;
  z-index: 100;
  cursor: pointer;
  display: none;
}

@media (hover: hover) {
  .top-fixed:hover {
    background-color: rgb(var(--c-primary));
  }
}

/* =============================================================================
   Menus
   ========================================================================== */

/* Metanav */
.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: 525px) {
  .tx-go-maps-ext select {
    width: auto;
  }
}

@media (min-width: 1280px) {
  .top-fixed {
    border-top-left-radius: var(--b-radius-m);
    border-top-right-radius: var(--b-radius-m);
  }
}
