/*
*, *:before, *:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  overflow: hidden;
  font-family: Helvetica, Arial, sans-serif;
}
*/

section {
  overflow: hidden;
  font-family: Helvetica, Arial, sans-serif;
}

.slider {
  position: relative;
  height: 100vh;
}
.slider__slides {
  z-index: 1;
  position: relative;
  height: 100%;
}
.slider__control {
  z-index: 2;
  position: absolute;
  top: 50%;
  left: 5%;
  width: 60px;
  height: 60px;
  margin-left: -30px;
  margin-top: -30px;
  border-radius: 50%;
  background: #fff;
  transition: background-color 0.3s;
  cursor: pointer;
}
.slider__control--right {
  left: 95%;
}
.slider__control:hover {
  background-color: #000;
}
.slider__control-line {
  position: absolute;
  left: 23px;
  top: 50%;
  width: 3px;
  height: 14px;
  transform-origin: 50% 0;
  transform: rotate(-45deg);
}
.slider__control-line:nth-child(2) {
  transform: translateY(1px) rotate(-135deg);
}
.slider__control--right .slider__control-line {
  left: 37px;
  transform-origin: 1px 0;
  transform: rotate(45deg);
}
.slider__control--right .slider__control-line:nth-child(2) {
  transform: translateY(1px) rotate(135deg);
}
.slider__control-line:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #888;
  transition: background-color 0.3s;
}
.slider__control:hover .slider__control-line:after {
  background-color: #fff;
}
.slider__control.a--rotation .slider__control-line:after {
  -webkit-animation: arrowLineRotation 0.49s;
          animation: arrowLineRotation 0.49s;
}
.slider__control.a--rotation .slider__control-line:nth-child(1):after {
  -webkit-animation: arrowLineRotationRev 0.49s;
          animation: arrowLineRotationRev 0.49s;
}

@-webkit-keyframes arrowLineRotation {
  to {
    transform: rotate(180deg);
  }
}

@keyframes arrowLineRotation {
  to {
    transform: rotate(180deg);
  }
}
@-webkit-keyframes arrowLineRotationRev {
  to {
    transform: rotate(-180deg);
  }
}
@keyframes arrowLineRotationRev {
  to {
    transform: rotate(-180deg);
  }
}
.slide {
  overflow: hidden;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 150vmax;
  height: 150vmax;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  transition: -webkit-clip-path 0s 0.91s;
  transition: clip-path 0s 0.91s;
  transition: clip-path 0s 0.91s, -webkit-clip-path 0s 0.91s;
  -webkit-clip-path: circle(30px at 120vw 50%);
          clip-path: circle(30px at 120vw 50%);
}
.slide.s--prev {
  -webkit-clip-path: circle(30px at 30vw 50%);
          clip-path: circle(30px at 30vw 50%);
}
.slide.s--active {
  z-index: 1;
  transition: -webkit-clip-path 1.3s;
  transition: clip-path 1.3s;
  transition: clip-path 1.3s, -webkit-clip-path 1.3s;
  -webkit-clip-path: circle(120vmax at 120vw 50%);
          clip-path: circle(120vmax at 120vw 50%);
}
.slide.s--active.s--active-prev {
  -webkit-clip-path: circle(120vmax at 30vw 50%);
          clip-path: circle(120vmax at 30vw 50%);
}
.slide:nth-child(1) .slide__inner {
  background-image: url("/sites/default/files/landing/img/fnd-ux.jpg");
}
.slide:nth-child(2) .slide__inner {
  background-image: url("/sites/default/files/landing/img/fnd-seo.jpg");
}
.slide:nth-child(3) .slide__inner {
  background-image: url("/sites/default/files/landing/img/fnd-auto.jpg");
}
.slide:nth-child(4) .slide__inner {
  background-image: url("/sites/default/files/landing/img/fnd-red.jpg");
}
.slide__inner {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100vw;
  height: 100vh;
  margin-left: -50vw;
  margin-top: -50vh;
  background-size: cover;
  background-position: center center;
}
.slide__inner:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
}
.slide__content {
  position: absolute;
  /*left: 5%;
  top: 50%;
  margin-left: -30px;
  margin-top: 48px;
  max-width: 480px;*/
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  /*background: rgba(0, 0, 0, .5);*/
  color: #fff;
}
.slide__heading {
  margin-bottom: 20px;
  font-size: calc(32px + (56 - 32) * (100vw - 300px) / (1000 - 300)) !important;
  color: #fff;
  line-height: 1.1em;
  border-bottom: 1px solid #fff;
}
.slide__text {
  font-size: calc(20px + (25 - 20) * (100vw - 300px) / (1000 - 300)) !important;
  line-height: 1.3em !important;
}
.slide__text a {
  color: inherit;
}


.xlayflex {
    /*text-align: center;*/
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
	align-items: center;
	width: 100%;
}
.xlayflex .item {
    width: 100%;
    /*max-width: 46%;*/
	flex: 50%;
    padding: 12px 26px;
}
.xlayflex .item p {
	font-size: calc(15px + (18 - 15) * (100vw - 300px) / (1000 - 300));
    line-height: 1.5em;
    margin-bottom: .7em;
}

@media (max-width: 840px) {
  .xlayflex img { width: 70%; }
  .xlayflex .item { flex: 100%; }
}
