/*Shortcuts*/

.footer .shortcut,
.footer .shortcut a,
.footer .shortcut.fixed {
  background: none;
  box-shadow: none;
  color: rgb(var(--c-icons-footer));
  position: relative;
  top: auto;
  right: auto;
  display: flex;
  width: 100%;
  justify-content: flex-start;
}

.footer .shortcut .font__fal {
  display: none;
}

.footer .shortcut .font__fab {
  font-size: var(--f-size-l-2);
}

.footer .tooltip::after,
.footer .tooltip::before {
  display: none !important;
}

@media (hover: hover) {
  .footer div.shortcut .tooltip:hover {
    background-color: rgba(var(--c-neutral-lightest));
  }

  .footer div.shortcut .tooltip:hover a {
    color: rgba(var(--c-primary));
  }
}

.footer .shortcut .tooltip {
  width: auto;
}

/* Serviceslider */
div.slider__iteminner {
  position: relative;
  overflow: hidden;
  margin: 0 5px;
  height: 350px;
}

.slider__iteminner a {
  display: block;
}

.service__title {
  color: rgba(var(--c-neutral-lightest));
  font-family: var(--f-family-hb);
  font-size: var(--f-size-l-2);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.service__title_text {
  color: rgba(var(--c-neutral-lightest));
}

.service__background {
  object-fit: cover;
  height: 100%;
  width: 100%;
  max-height: inherit;
  max-width: inherit;
}

div.service__text {
  box-sizing: border-box;
  position: absolute;
  bottom: 0;
  width: 100%;
  left: 0;
  padding: 45px;
  height: 100%;
  align-items: flex-end;
  align-content: flex-end;
  display: grid;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.65+100 */
  /*background: -moz-linear-gradient(top, rgba(0, 46, 2, 0) 0%, rgb(6, 80, 48) 100%); /* FF3.6-15 */
  /*background: -webkit-linear-gradient(top, rgba(0, 46, 2, 0) 0%, rgba(6, 80, 48) 100%); /* Chrome10-25,Safari5.1-6 */
  /*background: linear-gradient(to bottom, rgba(0, 46, 2, 0) 0%, rgba(6, 80, 48) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  background: rgba(var(--c-primary), 0.7);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#a6000000', GradientType=0); /* IE6-9 */
  transition: background 1s ease, height 1s ease;
}

.slider.-service .slider__arrow {
  fill: rgb(var(--c-neutral)) !important;
  stroke: transparent !important;
}

:is(.frame-background, .frame-bg-image) .slider.-service .slider__arrow {
  fill: rgb(var(--c-neutral-lightest)) !important;
}

@media (hover: hover) {
  .slider.-service .slider__arrow:hover {
    fill: rgb(var(--c-primary)) !important;
  }
  div.service__item:hover .service__text {
    background: rgba(var(--c-primary-dark), 0.7);
    height: 100%;
  }
}

.slider.grid__main {
  position: relative;
}

.grid__col.-w100 > .slider.grid__main {
  display: grid;
  margin-left: -4%;
  margin-right: -4%;
}

.slider .slider__itemwrap {
  padding-bottom: 0;
}

.slider > .slider__prev {
  width: 34px;
  height: 100%;
  z-index: 10;
  cursor: pointer;
  transition: background-color ease 0.5s;
}

.slider__prev svg {
  left: 0;
  top: 50%;
}

.slider > .slider__next {
  height: 100%;
  z-index: 10;
  cursor: pointer;
  transition: background-color ease 0.5s;
}

.slider__next svg {
  right: 0;
  top: 50%;
}

/*Text-Image*/

div.textimage__imagewrap {
  border: none;
  padding: 0;
}

div.textimage__content {
  padding: 0 0 3rem 0;
  display: flex;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
}

div.textimage__content > * {
  width: 100%;
}

div.textimage.-fullwidth {
  border: none;
}

div.textimage {
  background: transparent !important;
}

.content > .textimage {
  padding-top: 25px;
  padding-bottom: 25px;
}

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

@media (min-width: 400px) {
  .content > .textimage {
    padding-top: calc(25px + (50 - 25) * ((100vw - 400px) / (1600 - 400)));
    padding-bottom: calc(25px + (50 - 25) * ((100vw - 400px) / (1600 - 400)));
  }
}

@media (min-width: 640px) {
  div.slider__iteminner {
    height: 450px;
  }
}

@media (min-width: 800px) {

  @media (hover: hover) {
    div.shortcut .tooltip:hover {
      color: rgb(var(--c-neutral-lightest));
      background: rgb(var(--c-primary-dark));
    }
  }

  .footer .shortcut,
  .footer .shortcut.fixed {
    justify-content: flex-start;
    gap: 0.5rem;
  }
}

@media (min-width: 900px) {
  .textimage__imagewrap,
  .textimage__content {
    min-height: 400px;
  }

  div.textimage.-fullwidth {
    grid-template-columns: 4% 30px 1fr 1fr 30px 4%;
  }

  div.textimage.-fullwidth.-left .textimage__imagewrap,
  div.textimage.-fullwidth.-right .textimage__imagewrap {
    padding: 0;
    border: none !important;
    margin: 0;
  }

  div.textimage.-fullwidth.-right .textimage__imagewrap {
    grid-column: 4 / 5;
  }

  div.textimage.-fullwidth.-left .textimage__imagewrap {
    grid-column: 4 / 5;
  }

  div.textimage__content {
    grid-column: 1 / 4;
    background: rgb(var(--c-neutral-lighter));
    border-radius: var(--b-radius-s);
    position: relative;
    z-index: 1;
    width: 100%;
  }

  div.textimage.-fullwidth.-left .textimage__content {
    padding: 6rem;
  }

  div.textimage.-fullwidth.-right .textimage__content {
    padding: 6rem;
  }

  div.textimage__textwrap {
    flex-flow: column;
  }

  div.textimage__additional {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (min-width: 1024px) {
  .footer .shortcut,
  .footer .shortcut.fixed {
    justify-content: flex-end;
  }
}

@media (min-width: 1580px) {
  .textimage__imagewrap,
  .textimage__content {
    min-height: 720px;
  }

  div.textimage.-fullwidth.-right .textimage__content {
    padding: 6rem 6rem 6rem calc(50vw - 720px);
  }

  div.textimage.-fullwidth.-left .textimage__content {
    padding: 6rem calc(50vw - 720px) 6rem 6rem;
  }

  div.textimage.-fullwidth {
    grid-template-columns: 1fr 50px 720px 720px 50px 1fr;
  }

  div.textimage__content {
    grid-column: 1 / 4;
  }

  .content > .textimage {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .slider__next svg,
  .slider__prev svg {
    top: 50%;
  }

  .page .slider > .slider__next {
    grid-column: 4;
  }

  .page .slider > .slider__prev {
    grid-column: 2;
  }
}
