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


/* =============================================================================
   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));
  font-family: var(--f-family);
  border: 2px solid rgb(var(--c-neutral-lightest));
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
}

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

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

/* Layout max width */
.frame-layout-10:not(.frame-type-table) > * {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* 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));
  text-transform: uppercase;
  font-size: var(--f-size-l-1);
}

.uploads__arrowpath {
  stroke: rgb(var(--c-primary));
}

.no-touch .content .frame-bg-grey .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));
  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%;
}

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

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

/* Accordion */
.accordion.-vertical .accordion__header {
  margin: 0 0 3px;
  font-size: var(--f-size-l-2);
  text-transform: uppercase;
}

.accordion.-vertical .accordion__button {
  padding: 0.6rem 4rem 0.6rem 1rem;
  border: none;
  background: rgb(var(--c-neutral-lighter));
  color: rgb(var(--c-primary));
  font: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.content .frame-bg-grey .accordion.-vertical .accordion__button {
  background: rgb(var(--c-neutral-lightest));
}

.content .accordion.-vertical .accordion__header.-active .accordion__button,
.no-touch .content .accordion.-vertical .accordion__header:hover .accordion__button {
  background: rgb(var(--c-primary));
  color: rgb(var(--c-neutral-lightest));
}

.content .accordion.-vertical .accordion__header::after {
  right: 1rem;
  color: rgb(var(--c-primary));
}

.content .accordion.-vertical .accordion__header.-active::after,
.no-touch .content .accordion.-vertical .accordion__header:hover::after {
  color: rgb(var(--c-neutral-lightest));
}

.accordion.-vertical .accordion__content {
  margin-bottom: 3px;
  padding: 3rem 1rem;
}


/* =============================================================================
   Template
   ========================================================================== */

/* Content */
.content > .frame,
.content__top,
.content__bottom > .frame,
.footer {
  padding-top: 40px;
  padding-bottom: 40px;
  background: rgb(var(--c-neutral-lightest));
}

.content .frame-bg-grey {
  background: rgb(var(--c-neutral-lighter));
}

/* Footer */
.footer {
  background: rgb(var(--c-primary));
  border-top: 3px solid rgb(var(--c-neutral-lightest));
  position: relative;
}

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

@media (hover: hover) {
  .footer a:hover {
    color: rgb(var(--c-neutral-lightest));
  }
}

.metanav {
  background: rgb(var(--c-neutral-lighter));
  margin-bottom: 50px;
}

.top-fixed {
  background: rgb(var(--c-primary));
  width: 60px;
  height: 40px;
  position: absolute;
  right: 3%;
  top: -40px;
  z-index: 50;
  padding: 12px 13px;
  cursor: pointer;
}

.top-fixed::after {
  content: '\f077';
  display: block;
  width: 34px;
  height: 16px;
  font-family: 'FaThin';
  font-size: 22px;
  line-height: 16px;
  text-align: center;
  color: rgb(var(--c-neutral-lightest));
}

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

/* Leftmenu */
.leftmenu__link {
  color: rgb(var(--c-neutral-dark));
}

.no-touch .leftmenu__link:hover,
.leftmenu__link.-active {
  color: rgb(var(--c-primary));
}

.leftmenu__list.-level1 > .leftmenu__item {
  border-bottom: 1px solid rgb(var(--c-neutral-light));
}

/* Breadcrumb */
.breadcrumb__link {
  color: rgb(var(--c-neutral-dark));
}

.no-touch .breadcrumb__link:hover {
  color: rgb(var(--c-primary));
}

/* Metanav */
.metanav__link {
  color: rgb(var(--c-neutral-dark));
  text-transform: uppercase;
}

.no-touch .metanav__link:hover {
  color: rgb(var(--c-primary));
}

.metanav__nav {
  padding: 0.6rem 0;
  text-align: center;
}
