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

table.ce-table td {
  border: 1px solid rgb(var(--c-neutral-light));
  background: rgb(var(--c-neutral-lightest));
  padding: 0.3rem 0.7rem;
  min-width: 100px;
}

table.ce-table th,
table.ce-table caption {
  color: rgb(var(--c-neutral-lightest));
  background: rgb(var(--c-primary));
  font-family: var(--f-family-b);
  border: 1px solid rgb(var(--c-neutral-light));
  padding: 0.3rem 0.7rem;
  text-align: left;
}

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

.frame-type-menu_pages li:not(:last-child) {
  border-bottom: 1px solid rgb(var(--c-neutral-light));
}

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



/* =============================================================================
   Layout and frame classes
   ========================================================================== */

div.frame-space-before-extra-small {
  margin-top: 1rem;
}

div.frame-space-before-small {
  margin-top: 2rem;
}

div.frame-space-before-medium {
  margin-top: 3rem;
}

div.frame-space-before-large {
  margin-top: 4rem;
}

div.frame-space-before-extra-large {
  margin-top: 5rem;
}

div.frame-space-after-extra-small {
  margin-bottom: 1rem;
}

div.frame-space-after-small {
  margin-bottom: 2rem;
}

div.frame-space-after-medium {
  margin-bottom: 3rem;
}

div.frame-space-after-large {
  margin-bottom: 4rem;
}

div.frame-space-after-extra-large {
  margin-bottom: 5rem;
}

div.frame-space-after-no-space {
  padding-bottom: 0 !important;
}

div.frame-space-before-no-space {
  padding-top: 0 !important;
}

.frame-layout-10:not(.frame-type-table) > p,
.frame-layout-10:not(.frame-type-table) > div {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}


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

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

.content {
  margin-top: 0.5rem;
}

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

.content > .grid__12 {
  background: rgb(var(--c-neutral-lightest));
  padding: 2em 2.5em
}

/* Footer */
.footer {
  margin-top: 40px;
  border-top: 1px solid rgb(var(--c-neutral-light));
}

#c20 .grid__12 {
  display: flex;
}

.banner.banner-13 {
  margin-bottom: 1.5rem;
  width: 142px;
}

/* sf_banners: Abstände aus den alten Banner-Feldern margin_* (ab sf_banners 12 nicht mehr unterstützt) */
.banner.banner-21,
.banner.banner-23 {
  margin-bottom: 50px;
}



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

/* Leftmenu */
.leftmenu__link {
  color: rgb(var(--c-neutral-dark));
  font-size: var(--f-size-l-1);
  font-family: var(--f-family-b);
}

.leftmenu__list.-level2 .leftmenu__link {
  font-family: var(--f-family);
}

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

.parentnav.headline.-large {
  border-bottom: 3px solid rgb(var(--c-neutral-darker));
}

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

/* popup */
.popup {
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
  background: rgba(var(--c-neutral-darkest), 0.7);
  overflow-y: auto;
}

.popup__container {
  position: absolute;
  top: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  max-width: 950px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 10rem 0;
  width: 92%;
}

.popup__content {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 4rem;
  background: rgb(var(--c-neutral-lightest));
  width: 100%;
  box-shadow: 0 0 20px 8px rgba(var(--c-neutral-darkest), .2);
  position: relative;
}

.popup__content > div:last-child {
  margin-bottom: 0;
}

.popup__close {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  background: rgb(var(--c-primary));
  color: rgb(var(--c-neutral-lightest));
  line-height: 40px;
  width: 40px;
  text-align: center;
}

.popup__close::after {
  content: '\f00d';
  font-family: 'FaRegular';
  font-size: 20px;
}

.popup .grid__main {
    display: block;
  }

/* More link */
p.linkmore {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}

p.linkmore::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 100%;
  height: 3px;
  background: rgb(var(--c-neutral-light));
  transform: translateY(-50%);
}

p.linkmore a {
  position: relative;
  z-index: 1;
  display: block;
  padding: 0 0.5rem;
  background: rgb(var(--c-neutral-lightest));
  font-family: var(--f-family-b);
  color: rgb(var(--c-neutral-dark));
}
