/* =============================================================================
   Linktextbox
   ========================================================================== */

.linktextbox .uploads__item,
.content .frame-bg-grey .linktextbox .uploads__item,
.content > .frame:nth-child(2n) .linktextbox .uploads__item {
  background: rgb(var(--c-neutral-lighter));
}

.linktextbox .uploads__title,
.content > .frame:nth-child(2n) .linktextbox .uploads__title {
  color: rgb(var(--c-primary));
  text-transform: uppercase;
}

.linktextbox .uploads__arrowpath,
.content > .frame:nth-child(2n) .linktextbox .uploads__arrowpath {
  stroke: rgb(var(--c-primary));
}

@media (hover: hover) {
  .linktextbox .uploads__item:hover,
  .content .frame-bg-grey .linktextbox .uploads__item:hover,
  .content > .frame:nth-child(2n) .linktextbox .uploads__item:hover {
    background: rgb(var(--c-primary));
  }

  .linktextbox .uploads__item:hover .uploads__title,
  .linktextbox .uploads__item:hover .uploads__description,
  .content > .frame:nth-child(2n) .linktextbox .uploads__item:hover .uploads__title {
    color: rgb(var(--c-neutral-lightest));
  }

  .linktextbox .uploads__item:hover .uploads__arrowpath,
  .content > .frame:nth-child(2n) .linktextbox .uploads__item:hover .uploads__arrowpath {
    stroke: rgb(var(--c-neutral-lightest));
  }
}

/* =============================================================================
   Textimage
   ========================================================================== */

.frame.textimage.-fullwidth,
.frame.textimage.-fullwidth.-left,
.frame.textimage.-fullwidth.-right {
  grid-template-columns: 1fr;
  direction: ltr;
  margin: 10px 0;
}

.frame.textimage .textimage__content,
.frame.textimage.-fullwidth.-left .textimage__content,
.frame.textimage.-fullwidth.-right .textimage__content {
  grid-column: 1;
  padding: 3em 2em;
  border: 1px solid rgb(var(--c-neutral-light));
  min-height: 200px;
  align-self: stretch;
}

.frame.textimage .textimage__imagewrap,
.frame.textimage.-fullwidth.-left .textimage__imagewrap,
.frame.textimage.-fullwidth.-right .textimage__imagewrap {
  grid-column: 1;
  min-height: 35vw;
  margin: 0;
}

.frame.textimage .textimage__title {
  inset: 0.7em;
  width: auto;
  height: auto;
}

.frame.textimage .textimage__title::before {
  left: -0.7em;
  right: -0.7em;
  bottom: -0.7em;
}

.frame.textimage .textimage__description {
  justify-content: flex-end;
  align-items: flex-end;
  padding-right: 0.7em;
  text-transform: uppercase;
  font-size: 218%;
  font-weight: var(--f-weight-l);
  font-style: italic;
  line-height: 1;
  border: 1px solid rgb(var(--c-neutral-light));
}

/* Headline spacing inside gkmb_ce elements */

.frame.textimage .headline.-large,
.frame.textimage .headline.-small,
.scrollimage .headline.-large,
.scrollimage .headline.-small,
.album .headline.-large,
.album .headline.-small {
  margin-bottom: 8px;
}

/* =============================================================================
   Scrollimage
   ========================================================================== */

.scrollimage.-textbutton .scrollimage__background {
  display: none;
}

.scrollimage.-textbutton div.scrollimage__overlay {
  position: absolute;
  top: 2em;
  bottom: 2em;
  left: 0;
  right: auto;
  width: 94%;
  max-width: 94%;
  min-width: 200px;
  background: rgba(var(--c-neutral-darkest), 0.55);
  justify-content: center;
  display: flex;
  flex-flow: inherit !important;
  align-items: inherit !important;
  height: calc(100% - 4rem);
  padding: 0;
}

.scrollimage.-textbutton .scrollimage__bodytext {
  position: relative;
  margin: 0.7em;
  padding: 2.5em 2.5em 4em 2.5em;
  border: 1px solid rgb(var(--c-neutral-lightest));
  max-width: none;
  display: flex;
  justify-content: center;
  flex-flow: column;
  flex: 1;
}

.scrollimage.-textbutton .headline {
  text-align: left;
}

.scrollimage.-textbutton .scrollimage__button .font__button {
  background: transparent;
  border: 1px solid rgb(var(--c-neutral-lightest));
}

.scrollimage .font__button {
  background-color: transparent;
  border: 1px solid rgb(var(--c-neutral-lightest));
}

@media (hover: hover) {
  .scrollimage.-textbutton .scrollimage__button .font__button:hover {
    background: rgb(var(--c-neutral-lightest));
    color: rgb(var(--c-neutral-darkest));
  }
  .scrollimage .font__button:hover {
    background-color: rgb(var(--c-neutral-lightest));
    color: rgb(var(--c-neutral-darkest));
  }
}

/* =============================================================================
   Shortcut
   ========================================================================== */

.sidebar .shortcut .tooltip {
  width: 40px;
  height: 40px;
  line-height: 40px;
  border: none;
  border-radius: 20px;
  background: rgb(var(--c-neutral-dark));
}

.sidebar .shortcut a {
  height: 40px;
  line-height: 40px;
}

.sidebar .shortcut .font__fal,
.sidebar .shortcut .font__fab,
.sidebar .shortcut .font__fas,
.sidebar .shortcut .font__far {
  height: 40px;
  line-height: 40px;
  font-size: 20px;
}

.sidebar .shortcut .tooltip.top-fixed {
  background: none;
}

.sidebar .shortcut .tooltip.top-fixed a {
  color: rgb(var(--c-neutral-dark));
  font-size: 20px;
}

@media (hover: hover) {
  .sidebar .shortcut .tooltip:hover {
    background: rgb(var(--c-primary));
  }

  .sidebar .shortcut .tooltip.top-fixed:hover {
    background: none;
  }

  .sidebar .shortcut .tooltip.top-fixed:hover a {
    color: rgb(var(--c-primary));
  }
}

/* =============================================================================
   Gallery
   ========================================================================== */

.paginationjs-pages li {
  margin: 0 0 1em 5px;
}

.paginationjs-pages a {
  width: 40px;
  height: 40px;
  line-height: 40px;
  padding: 0;
  border-radius: 50px;
  text-align: center;
  background: rgb(var(--c-neutral-dark));
  color: rgb(var(--c-neutral-lightest));
}

.scrollimage.-textbutton .-subheader {
  display: block;
  position: absolute;
  right: 0.7em;
  bottom: 0.1em;
  margin: 0;
  font-size: 312%;
  font-weight: var(--f-weight-l);
  font-style: italic;
  line-height: 1;
  text-transform: uppercase;
  color: rgb(var(--c-neutral-lightest));
}

/* =============================================================================
   Media Queries
   ========================================================================== */

@media (min-width: 640px) {
  div.scrollimage.-textbutton .scrollimage__bodytext {
    margin: 0.7em;
  }
}

@media (min-width: 801px) {
  .frame.textimage .textimage__description {
    font-size: 312%;
  }

}

@media (min-width: 901px) {
  .scrollimage.-textbutton div.scrollimage__overlay {
    width: auto;
    max-width: 40%;
  }

}

@media (min-width: 1024px) {
  div.scrollimage .imagefullwidth,
  div.scrollimage div.scrollimage__overlay,
  div.scrollimage {
    height: 500px;
  }
}

@media (min-width: 1081px) {
  .frame.textimage.-fullwidth,
  .frame.textimage.-fullwidth.-left {
    grid-template-columns: 65% 34%;
    justify-content: space-between;
    direction: ltr;
  }

  .frame.textimage.-fullwidth.-right {
    grid-template-columns: 34% 65%;
    justify-content: space-between;
    direction: ltr;
  }

  .frame.textimage.-fullwidth.-left .textimage__content {
    grid-column: 1;
    grid-row: 1;
    padding: 3em 2em;
  }

  .frame.textimage.-fullwidth.-left .textimage__imagewrap {
    grid-column: 2;
    grid-row: 1;
  }

  .frame.textimage.-fullwidth.-right .textimage__imagewrap {
    grid-column: 1;
    grid-row: 1;
  }

  .frame.textimage.-fullwidth.-right .textimage__content {
    grid-column: 2;
    grid-row: 1;
    padding: 3em 2em;
  }

  .frame.textimage .textimage__imagewrap,
  .frame.textimage.-fullwidth.-left .textimage__imagewrap,
  .frame.textimage.-fullwidth.-right .textimage__imagewrap {
    min-height: 0;
  }
}

@media (min-width: 1401px) {
  .scrollimage.-textbutton div.scrollimage__overlay {
    max-width: 35%;
  }
}
