/* =============================================================================
   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-type-gridelements_pi1:nth-child(2n) 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-weight: var(--f-weight-sb);
  border: 2px solid rgb(var(--c-neutral-lightest));
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
}

.content > .frame-type-gridelements_pi1:nth-child(2n) table.ce-table th,
.content > .frame-type-gridelements_pi1:nth-child(2n) table.ce-table caption {
  border: 2px solid rgb(var(--c-neutral-lighter));
}

.ce-table-greenkeeping td:not(:nth-child(2)) {
  text-align: center;
}

.ce-table-greenkeeping td.check {
  content: '\f00c';
  background-color: rgb(var(--c-secondary));
  color: rgb(var(--c-neutral-lightest));
  font-family: "FaRegular";
  vertical-align: middle;
}

.ce-table-greenkeeping td:first-child {
  color: rgb(var(--c-neutral-lightest));
  background: rgb(var(--c-primary));
  font-weight: var(--f-weight-sb);
  border: 2px solid rgb(var(--c-neutral-lightest));
  text-transform: uppercase;
  text-align: left;
}

.ce-table-greenkeeping td:nth-child(3),
.ce-table-greenkeeping td:nth-child(4),
.ce-table-greenkeeping td:nth-child(5),
.ce-table-greenkeeping td:nth-child(6),
.ce-table-greenkeeping td:nth-child(7),
.ce-table-greenkeeping td:nth-child(8),
.ce-table-greenkeeping td:nth-child(9) {
  min-width: 60px;
  width: 60px;
}

table.ce-table-greenkeeping th {
  vertical-align: middle;
  text-align: center;
}

table.ce-table-greenkeeping th:nth-child(1),
table.ce-table-greenkeeping th:nth-child(2) {
  text-align: left;
}

/* =============================================================================
   Standard contentelements
   ========================================================================== */

/* Uploads */
.uploads__item {
  background-color: rgb(var(--c-neutral-lighter));
}

.content > .frame:nth-child(2n) .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:nth-child(2n) .uploads__item:hover,
.no-touch .uploads__item:hover {
  background-color: rgb(var(--c-primary));
}

.no-touch .uploads__item:hover .uploads__link,
.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);
}

.gallery__item > a[rel="noreferrer"]::after {
  padding: 2px;
}

/* 
video {
  background: black;
} */

.page .video-embed,
.page .csc-textmedia-gallery-media,
.page .iframe-container {
  height: inherit;
}

.page .video-embed iframe,
.page .csc-textmedia-gallery-media iframe,
.page .iframe-container iframe {
  width: inherit;
  height: inherit;
}

/* 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);
}

/* =============================================================================
   RTE
   ========================================================================== */

.font__button,
input[type="submit"] {
  text-transform: uppercase;
  color: rgb(var(--c-secondary));
  background: transparent;
  line-height: 1.4;
  padding: 0.5rem 1rem;
  border: 2px solid rgb(var(--c-secondary));
  font-weight: var(--f-weight-sb);
}

a.font__button::after,
.font__button a::after {
  content: '\f324';
  font-family: 'FaSolid';
  margin-left: 0.3rem;
  font-size: var(--f-size-s-1);
}

.font__button a, a.font__button {
  color: rgb(var(--c-secondary));
}

.no-touch .font__button:hover,
.no-touch input[type="submit"]:hover {
  background: rgb(var(--c-secondary));
  color: rgb(var(--c-neutral-lightest));
}

.font__button:hover a, a.font__button:hover {
  color: rgb(var(--c-neutral-lightest));
}

.font__secondarycolor {
  color: rgb(var(--c-secondary));
}

a .font__speciallink::after,
a.font__speciallink::after,
.font__speciallink a::after {
  content: '\f324';
  font-family: 'FaRegular';
  margin-left: 0.3rem;
  font-size: var(--f-size-s-1);
}

/* Elfsight Instagram Feed */
.instagram-feed-preview {
  display: grid;
  grid-gap: var(--g-gap);
}

.instagram-feed-preview img {
  cursor: pointer;
}

@media (min-width: 800px) {
  .instagram-feed-preview {
    grid-template-columns: 4fr 3fr;
    align-items: center;
  }
}

/* =============================================================================
   Frames
   ========================================================================== */

.frame-layout-20 .gallery__item {
  max-width: 220px;
  max-height: 120px;
}

.frame-layout-20 .gallery__image {
  max-height: 120px;
}

.frame-layout-30 .grid__12 {
  grid-gap: 0 var(--g-gap);
}

.frame-layout-30 .text-right {
  text-align: left;
}

.frame-layout-30 {
  margin-bottom: 0.5rem;
}

.frame-type-felogin_login fieldset {
  border: none;
  padding: 0;
  margin-top: var(--g-gap);
}

.frame-type-felogin_login input[type=submit] {
  margin-top: var(--g-gap-s);
}

/* =============================================================================
   Template
   ========================================================================== */

/* Footer */
.footer {
  position: relative;
}

.footer.-grey {
  background: rgb(var(--c-neutral-lighter));
}

.topbutton {
  position: absolute;
  right: 4%;
  bottom: 0;
  background: rgb(var(--c-secondary));
  cursor: pointer;
  color: rgb(var(--c-neutral-lighter));
  padding: 0.5rem 1rem;
  font-weight: var(--f-weight-sb);
  text-transform: uppercase;
}

.topbutton::before {
  content: '\f325';
  font-family: 'FaRegular';
  margin-right: 0.5rem;
}

/* =============================================================================
   Menus
   ========================================================================== */

/* Metanav */
.metanav {
  padding: 0.6rem 0;
  background: rgb(var(--c-primary));
}

.metanav a {
  color: rgb(var(--c-neutral-lightest));
  font-weight: var(--f-weight-n);
}

/* =============================================================================
   Media Queries
   ========================================================================== */

@media (min-width: 800px) {
  /* Frames */
  .frame-layout-30 {
    margin-bottom: 0;
  }

  .frame-layout-30 .text-right {
    text-align: right;
  }
}

@media (min-width: 1580px) {
  /* Footer */
  .topbutton {
    right: calc(50vw - 725px);
  }
}