/* Styles for wrapper container & animations */
.featuredContent {
  margin-bottom: 120px;
}
.featuredContent > .container {
  padding: 0;
  position: relative;
  display: flex;
}

.featuredContent > .container > div {
  overflow: hidden;
  width: 100%;
}
.featuredContent .views-element-container {
  position: relative;
  transition: left 0.1s ease-in-out;
}
.featuredContent .views-element-container > div > div {
  display: flex;
}
.featuredContent .views-row {
  line-height: 0;
}


.featuredContent-prev, .featuredContent-next {
  background: rgba(255, 255, 255, 0.75);
  border: 0;
  cursor: pointer;
  color: #000;
  font-family: "Neon 80s";
  font-size: 14px;
  font-weight: bold;
  padding: 5px;
  position: absolute;
  bottom: -0.5em;
  outline: none;
  text-transform: uppercase;
  z-index: 100;
}

.featuredContent-prev.disabled, .featuredContent-next.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.featuredContent-prev:before, .featuredContent-next:before {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.featuredContent-prev {
  left: 0;
  padding-left: 25px;
}
.featuredContent-prev:before {
  background: url('../../images/slider-control-prev.png') 0 0 no-repeat;
  height: 37px;
  right: calc(100% - 20px);
  width: 44px;
}

.featuredContent-next {
  right: 0;
  padding-right: 20px;
}
.featuredContent-next:before {
  background: url('../../images/slider-control-next.png') 0 0 no-repeat;
  height: 38px;
  left: calc(100% - 15px);
  width: 41px;
}


.frontpage-slide {
  position: relative;
}

.frontpage-slide-content {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  padding: 10px;
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
}

.frontpage-slide h2,
.frontpage-slide h3 {
  background: #fff;
  display: inline-block;
  line-height: 1;
  font-family: 'Neon 80s';
  padding: 5px;
  text-transform: uppercase;
}

.frontpage-slide h2 {
  color: #000;
  font-size: 38px;
}

.frontpage-slide h3 {
  color: rgba(0, 0, 0, 0.75);
  font-size: 14px;
}

.frontpage-slide a {
  align-items: center;
  background: #fec119;
  color: #fff;
  display: inline-flex;
  font-family: 'Neon 80s';
  font-size: 14px;
  margin: 20px 30px;
  padding: 15px 60px;
  justify-content: center;
  text-shadow: rgba(0, 0, 0, 0.15) 0 -1px 1px;
  text-decoration: none;
  text-transform: uppercase;
}

@media screen and (max-width: 1438px) {
  .featuredContent-prev {
    left: 40px;
  }
  .featuredContent-next {
    right: 40px;
  }
}

@media screen and (max-width: 948px) {
  .frontpage-slide-content {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .featuredContent {
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 568px) {
  .featuredContent-prev, .featuredContent-next {
    display: none;
  }

  .frontpage-slide-content {
    top: auto;
    bottom: 5px;
  }
  .frontpage-slide h2 {
    font-size: 24px;
  }
  .frontpage-slide a {
    margin: 10px 0 0;
    padding: 10px 30px;
  }
}
