/* =============================================================================
   DCE content elements
   ========================================================================== */

.content-slider-services {
  position: relative;
  margin: 0 auto;
}

.content-slider-services .content-slider-item {
  position: absolute;
  top: 0;
}

.content-slider-services .content-slider-prev,
.content-slider-services .content-slider-next {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 20px;
  height: 40px;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-tap-highlight-color: transparent;
}

.content-slider-services .content-slider-prev {
  left: 5px;
}

.content-slider-services .content-slider-next {
  right: 5px;
}

.content-slider-services .content-slider-prev-arrow,
.content-slider-services .content-slider-next-arrow {
  width: 20px;
  height: 40px;
  position: relative;
  cursor: pointer;
}

.content-slider-services .content-slider-prev-arrow.disabled,
.content-slider-services .content-slider-next-arrow.disabled {
  display: none;
}

.content-slider-services .slider-svg {
  fill: none;
  stroke: rgb(var(--c-neutral-darker));
  stroke-width: 2;
}

.content-slider-services .content-slider-container {
  height: 100%;
}

.content-slider-services .content-slider-itemwrap {
  height: 100%;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.content-slider-services > .page_margins {
  position: relative;
  z-index: 1;
}

.content-slider-services .content-slider-iteminner {
  margin: 0 10px;
}

.content-slider-services .content-slider-iteminner {
  background: rgb(var(--c-neutral-lighter));
}

@media (hover: hover) {
  .content-slider-services
  .content-slider-item:hover
  .content-slider-iteminner {
    background: rgb(var(--c-neutral-darker));
  }

  .content-slider-services .content-slider-item:hover a,
  .content-slider-services .content-slider-item:hover .service-subtitle,
  .content-slider-services .content-slider-item:hover h3 {
    color: rgb(var(--c-neutral-lightest));
  }
}

.service-itemwrap {
  padding: 3rem 2rem;
  text-align: center;
}

.service-icon-wrap::before {
  content: "";
  display: inline-block;
  background: rgb(var(--c-neutral-darker));
  width: 50px;
  height: 50px;
  transform: rotate(45deg);
}

.service-icon-wrap::after {
  background: rgb(var(--c-neutral-darker));
  height: 2px;
  width: 110px;
  content: "";
  position: absolute;
  top: 24px;
  left: -20px;
}

.service-icon-wrap > span,
.service-icon-wrap img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  line-height: 50px;
  z-index: 1;
}

.service-icon-wrap > span {
  font-size: 25px;
}

.service-icon-wrap img {
  max-height: 24px;
  max-width: 24px;
  vertical-align: middle;
  text-align: center;
}

.service-title h3 {
  font-size: var(--f-size-l-1);
  margin: 0;
  font-family: var(--f-family-hb);
  color: rgb(var(--c-neutral-darker));
  font-weight: normal;
  text-transform: uppercase;
  line-height: 120%;
  letter-spacing: 3px;
  margin: 1rem 0 2rem 0;
}

.textimage-bodytext .handwriting a {
  font-family: "Satisfy";
  text-transform: none;
}

.content > .frame > .textimage .textimage-textwrap {
  padding: 5rem;
}

@media (hover: hover) {
  a:hover .textimage-hover {
    opacity: 1;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
  }
}

.imagefullwidth {
  height: 34vw;
  max-height: 700px;
  width: 100%;
}

@media (hover: none) {
  .imagefullwidth {
    background-attachment: scroll !important;
  }
}

.scrollimage {
  position: relative;
}

.scrollimageinner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;

  background: -moz-radial-gradient(
  center,
  ellipse cover,
  rgba(var(--c-neutral-darkest), 0.4) 0%,
  rgba(var(--c-neutral-darkest), 1) 100%
  );
  background: -webkit-radial-gradient(
  center,
  ellipse cover,
  rgba(var(--c-neutral-darkest), 0.4) 0%,
  rgba(var(--c-neutral-darkest), 1) 100%
  );
  background: radial-gradient(
  ellipse at center,
  rgba(var(--c-neutral-darkest), 0.4) 0%,
  rgba(var(--c-neutral-darkest), 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#66000000', endColorstr='#000000', GradientType=1);
}

.scrollimage-textwrap {
  color: rgb(var(--c-neutral-lightest));
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  text-align: center;
  transform: translateY(-50%);
}

.scrollimage h2::before,
.scrollimage h2::after {
  display: none;
}

.scrollimage h2 {
  font-family: "Satisfy";
  font-size: 300%;
  color: rgb(var(--c-neutral-lightest));
  text-align: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.scrollimage-shorttext {
  color: rgb(var(--c-neutral-lightest));
  font-family: var(--f-family-h);
  font-size: 125%;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.scrollimage-buttonwrap {
  color: rgb(var(--c-neutral-lightest));
  font-family: var(--f-family-h);
  font-size: 125%;
  text-transform: uppercase;
  border: 1px solid rgb(var(--c-neutral-lightest));
  display: inline-block;
  margin-top: 1.2rem;
}

@media (hover: hover) {
  .scrollimage-buttonwrap a:hover span {
    opacity: 0.6;
    color: rgb(var(--c-neutral-lightest)) !important;
  }
}

.photo-gallery-itemwrap {
  display: none;
}

.paginator-content a {
  display: block;
  overflow: hidden;
}

.paginationjs-pages li a {
  text-decoration: none;
}

.photo-gallery-item:before {
  content: "";
  display: block;
  padding-top: 100%;
}

.photo-gallery-itemouter {
  width: 25%;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  float: left;
  margin: 0;
}

.photo-gallery-item {
  transition: all 0.4s ease 0s;
  -webkit-transition: all 0.4s ease 0s;
  -moz-transition: all 0.4s ease 0s;
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-position: center center;
}

.photo-gallery .paginator-content a:nth-child(1) {
  grid-area: Text1;
}

.photo-gallery .paginator-content a:nth-child(2) {
  grid-area: Image1;
}

.photo-gallery .paginator-content a:nth-child(3) {
  grid-area: Image2;
}

.photo-gallery .paginator-content a:nth-child(4) {
  grid-area: Text2;
}

.photo-gallery .paginator-content a:nth-child(5) {
  grid-area: Text3;
}

.photo-gallery .paginator-content a:nth-child(6) {
  grid-area: Image3;
}

.photo-gallery .paginator-content a {
  position: relative;
}

.photo-gallery .paginator-content a::after {
  content: "";
  background: rgba(var(--c-neutral-darkest), 0.6);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 1s ease;
}

@media (hover: hover) {
  .photo-gallery .paginator-content a:hover::after {
    background: rgba(var(--c-neutral-darkest), 0);
  }
}

.photo-gallery-itemouter,
.photo-gallery-item {
  height: 100%;
  width: 100%;
}

.paginator-content {
  padding: 0;
  width: 100%;
  overflow: hidden;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  grid-template-areas: "Text1 Image2 Text3" "Image1 Image2 Image3" "Image1 Text2 Image3";
  height: calc(90vh - 50px);
  min-height: 50vw;
}

ul.f3-widget-paginator,
.paginationjs-pages ul {
  padding: 0;
  text-align: center;
}

.photo-gallery ul.f3-widget-paginator,
.paginationjs-pages {
  width: 100%;
  text-align: center;
  margin-top: 1em;
}

.page ul.f3-widget-paginator li.current,
.paginationjs-pages li.active {
  background: rgb(var(--c-primary));
  color: rgb(var(--c-neutral-lightest));
  padding: 0.4em 0.9em;
}

.paginationjs-pages li.active {
  padding: 0;
}

.page ul.f3-widget-paginator li,
.paginationjs-pages li {
  list-style-type: none;
  background: rgb(var(--c-neutral-lighter));
  display: inline-block;
  *display: inline;
  zoom: 1;
  margin-bottom: 1em;
  margin-left: 5px !important;
  min-width: 40px;
  text-align: center;
}

.page ul.f3-widget-paginator li a,
.paginationjs-pages li a {
  display: block;
  padding: 0.4em 0.9em;
  color: rgb(var(--c-neutral-dark));
}

.paginationjs-pages li.active a {
  color: rgb(var(--c-neutral-lightest));
}

@media (hover: hover) {
  .page ul.f3-widget-paginator li:hover,
  .paginationjs-pages li:hover,
  .page ul.f3-widget-paginator li.current:hover {
    background: rgb(var(--c-primary));
    color: rgb(var(--c-neutral-lightest));
  }

  .page ul.f3-widget-paginator li:hover a,
  .paginationjs-pages li:hover a {
    color: rgb(var(--c-neutral-lightest));
  }
}

.content ul.f3-widget-paginator li:before,
.content .paginator ul li::before {
  display: none;
}

.content ul.f3-widget-paginator li,
.content .paginator ul li {
  padding-left: 0;
}

.caption-wrap {
  background: rgb(var(--c-neutral-lightest));
  padding: 0.8rem 2.5rem 1rem 2.5rem;
  position: relative;
}

.caption-wrap::before {
  border: 2px solid rgb(var(--c-neutral-lightest));
  position: absolute;
  left: -10px;
  top: -10px;
  right: -2px;
  bottom: 10px;
  content: "";
}

.linkbox {
  background: rgb(var(--c-neutral-lighter));
  position: relative;
}

.linkboxinner {
  padding: 2rem 60px 2rem 2.5rem;
}

.linkbox.nolink .linkboxinner {
  padding: 20px;
}

.linkbox.withlink > a {
  display: block;
  text-decoration: none;
}

.linkbox .linkbox-title {
  line-height: 140%;
  color: rgb(var(--c-primary));
  font-size: var(--f-size-l-2);
  font-family: var(--f-family);
  margin-bottom: 0.2em;
  text-transform: uppercase;
}

.linkbox-subtitle {
  color: rgb(var(--c-neutral-dark));
}

@media (hover: hover) {
  .page .linkbox.withlink:hover {
    background: rgb(var(--c-primary));
  }

  .linkbox.withlink:hover .linkbox-title {
    color: rgb(var(--c-neutral-lightest));
  }

  .linkbox.withlink:hover .linkbox-subtitle,
  .linkbox.withlink:hover a {
    color: rgb(var(--c-neutral-lightest));
  }
}

.withlink .linkboxinner::after {
  position: absolute;
  right: 20px;
  top: 50%;
  margin-top: -24px;
  width: 22px;
  height: 48px;
  content: "";
  background-color: rgb(var(--c-primary));
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 48'%3E%3Cpath d='M1 1l20 23L1 47' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center / contain;
}

@media (hover: hover) {
  .page .withlink:hover .linkboxinner::after {
    background-color: rgb(var(--c-neutral-lightest));
  }
}

@media only screen and (max-width: 1560px) {
  .content > .frame > .textimage .textimage-textwrap {
    padding: 3rem;
  }
}

@media only screen and (max-width: 1280px) {
  .content-slider-services .page_margins {
    width: calc(100% - 60px);
  }
}

@media only screen and (max-width: 1024px) {
  .imagefullwidth {
    height: 50vw;
  }

  .scrollimage-textwrap {
    font-size: 1.2vw;
  }
}

@media only screen and (max-width: 800px) {
  .caption-wrap {
    padding: 0.7rem 2rem 0.7rem 2rem;
  }

  .paginator-content {
    height: auto;
  }
}

@media only screen and (max-width: 500px) {
  .scrollimage-shorttext {
    display: none;
  }
}

.textimage .headline > h2.-subheader,
.textimage .headline > h3.-subheader {
  margin-bottom: 1.5rem;
}
