/* =============================================================================
   Tables
   ========================================================================== */

table.ce-table td {
  border: 1px solid rgb(var(--c-border));
  background: rgb(var(--c-neutral-lighter));
  padding: 0.6rem 1rem;
}

.frame-bg-grey table.ce-table td {
  border: 1px solid rgb(var(--c-border));
  background: transparent;
}

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.6rem 1rem;
  font-weight: var(--f-weight-n);
  text-transform: uppercase;
}

.frame-bg-grey table.ce-table th,
.frame-bg-grey table.ce-table caption {
  border: 1px solid rgb(var(--c-border));
}

.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;
}

table.ce-table.ce-table-borderhorizontal tr {
  border: 1px solid rgb(var(--c-border));
}

table.ce-table.ce-table-borderhorizontal th,
table.ce-table.ce-table-borderhorizontal td {
  border: none !important;
}

table.ce-table-greenfee thead th:nth-child(4),
table.ce-table-greenfee thead th:nth-child(5),
table.ce-table-greenfee thead th:nth-child(6),
table.ce-table-greenfee thead th:nth-child(7),
table.ce-table-greenfee thead th:nth-child(8),
table.ce-table-greenfee thead th:nth-child(9),
table.ce-table-greenfee thead th:nth-child(10),
table.ce-table-greenfee thead th:nth-child(11) {
  display: none;
}

table.ce-table-greenfee tbody td.td_loch {
  background-color: rgb(var(--c-primary-lighter));
}

table.ce-table-greenfee tbody td.td_loch_c {
  background-color: rgb(var(--c-primary-lighter)) !important;
}


table.ce-table-greenfee tbody tr:first-child td:nth-child(6),
table.ce-table-greenfee tbody tr:first-child td:nth-child(7),
table.ce-table-greenfee tbody tr:first-child td:nth-child(8),
table.ce-table-greenfee tbody tr:first-child td:nth-child(9),
table.ce-table-greenfee tbody tr:first-child td:nth-child(10),
table.ce-table-greenfee tbody tr:first-child td:nth-child(11),
table.ce-table-greenfee tbody tr:first-child td:nth-child(12),
table.ce-table-greenfee tbody tr:first-child td:nth-child(13) {
  display: none;
}

table.ce-table-greenfee tbody tr td:first-child {
  background-color: rgb(var(--c-golf));
  color: rgb(var(--c-neutral-lightest));
}

table.ce-table-greenfee tbody tr> td:nth-child(4),
table.ce-table-greenfee tbody tr> td:nth-child(5),
table.ce-table-greenfee tbody tr> td:nth-child(8),
table.ce-table-greenfee tbody tr> td:nth-child(9) {
  background-color: rgb(var(--c-primary-lighter));
}


/* =============================================================================
   Standard contentelements
   ========================================================================== */

/* Cookies and eye-able */
.ccm-settings-summoner {
  bottom: 70px !important;
}

/* divider */
.frame-type-div {
  padding: var(--p) 0;
}

/* 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));
  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;
}

.frame-bg-grey ul.f3-widget-paginator li {
  background: rgb(var(--c-neutral-lightest));
}

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);
}

/* =============================================================================
   Menus
   ========================================================================== */

/* Metanav */
.metanav {
  background: rgb(var(--c-neutral-lighter));
  padding: 0.6rem 0;
}

.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-right: 70px;
}

.metanav {
  display: grid;
  font-size: var(--f-size-s-2);
}

.metanav__left {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.metanav .phone,
.metanav .menu.-language,
.metanav .menu.-portal {
  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;
}

/* =============================================================================
   Template
   ========================================================================== */

.footer h2,
.footer h3.-subheader {
  color: rgb(var(--c-neutral-darker));
}

.footer .headline.-withline {
  border-left: 3px solid rgb(var(--c-neutral-darker));
}

.image__info {
  font-family: 'FaSolid';
  font-weight: 400;
  font-style: normal;
  text-decoration: inherit;
  -webkit-font-smoothing: antialiased;
  line-height: 45px;
  vertical-align: top;
  font-size: 30px;
  color: rgb(var(--c-neutral-lightest));
  background: rgb(var(--c-primary));
  position: absolute;
  left: 0;
  bottom: 0;
  text-align: center;
  width: 45px;
  height: 45px;
  cursor: pointer;
  opacity: .8;
  z-index: 10;
}

.gallery__caption {
  font-size: var(--f-size-s-2);
}

.gallery.-border .image__info {
  left: 1px;
  bottom: 1px;
}

.page.-golfen .image__info {
  background: rgba(var(--c-golf));
}
.page.-conference .image__info {
  background: rgba(var(--c-conference));
}
.page.-hotel .image__info {
  background: rgb(var(--c-hotel));
}

.gallery__caption {
  display: none;
}

/* =============================================================================
   Media Queries
   ========================================================================== */

@media (min-width: 640px) {

  /* Footer */
  .footer .grid__col.-w25:first-child {
    position: relative;
  }

  .footer .grid__col.-w25:first-child::after {
    content: '';
    display: block;
    position: absolute;
    top: 0.5rem;
    right: -.5rem;
    bottom: 0.5rem;
    width: 2px;
    height: calc(100% - 1rem);
    background: rgb(var(--c-neutral-darkest));
    z-index: 1;
  }

  .footer .grid__col.-w25 {
    grid-column: span 3;
  }

  .metanav .phone,
  .metanav .menu.-language,
  .metanav .menu.-portal,
  .metanav__nav {
    display: block;
  }

}

@media (min-width: 1440px) {
  /* Menus */
  .metanav {
    grid-template-columns: 4% 30px 1fr 1fr 30px 4%;
  }
  .metanav__left {
    grid-column: 3;
  }
  .metanav__nav {
    grid-column: 4;
    text-align: right;
    padding-right: 0;
  }
}

@media (min-width: 1580px) {
  .metanav {
    grid-template-columns: 1fr 50px 720px 720px 50px 1fr;
  }
}
