﻿.btn-slide {
  display: inline-block;
  padding: 10px 40px;
  color: #fff;
  text-decoration: none;
  position: relative;
  background: transparent;
  border: 1px solid #e1e1e1;
  text-align: center;
  text-indent: 2px;
  white-space: nowrap;
  text-transform: uppercase;
  transition: color 0.1s linear 0.05s;
}

  .btn-slide::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(0,0,0,0.4);
    z-index: 1;
    opacity: 0;
    transition: height 0.2s ease, top 0.2s ease, opacity 0s linear 0.2s;
  }

  .btn-slide::after {
    transition: border 0.1s linear 0.05s;
  }

  .btn-slide .btn-inner {
    position: relative;
    z-index: 2;
  }

  .btn-slide:hover {
    color: #fff;
    transition: color 0.1s linear 0s;
  }

    .btn-slide:hover::before {
      top: 0;
      height: 100%;
      opacity: 1;
      transition: height 0.2s ease, top 0.2s ease, opacity 0s linear 0s;
    }

    .btn-slide:hover::after {
      border-color: #373737;
      transition: border 0.1s linear 0s;
    }

.slideshow {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

  .slideshow .slideshow-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .slideshow .slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }

  .slideshow .slide {
    display: none;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0;
    background-color: rgba(255,255,255,0.9);
    transition: opacity 0.3s ease;
  }

    .slideshow .slide.is-active {
      display: block;
    }

    .slideshow .slide.is-loaded {
      opacity: 1;
    }

    .slideshow .slide .caption {
      padding: 0 100px;
    }

    .slideshow .slide .image-container {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-position: center center;
      background-size: cover;
      background-repeat: no-repeat;
      z-index: 1;
      image-rendering: optimizeQuality;
    }

      .slideshow .slide .image-container::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
      }

  .slideshow .slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .slideshow .slide .title, .slideshow .slide .text {
    margin: 0 auto 15px;
    line-height: 1.4;
    max-width: 100%;
  }

  .slideshow .slide .title {
    font-family: "BrandMPS";
    font-size: 24px;
  }

  .slideshow .slide .text {
    font-size: 18px;
  }

  .slideshow .slide .btn {
    margin: 15px 0 0;
    border-color: #fff;
  }

    .slideshow .slide .btn::before {
      background: #fff;
    }

  .slideshow .pagination {
    position: absolute;
    bottom: 35px;
    left: 0;
    width: 100%;
    height: 12px;
    cursor: default;
    z-index: 2;
    text-align: center;
    justify-content: center;
  }

    .slideshow .pagination .item {
      display: inline-block;
      padding: 15px 5px;
      position: relative;
      width: 46px;
      height: 32px;
      cursor: pointer;
      text-indent: -999em;
      z-index: 1;
    }

      .slideshow .pagination .item + .page {
        margin-left: -2px;
      }

      .slideshow .pagination .item::before {
        content: "";
        display: block;
        position: absolute;
        top: 15px;
        left: 5px;
        width: 36px;
        height: 2px;
        background: rgba(255, 255, 255, 0.5);
        transition: background 0.2s ease;
      }

      .slideshow .pagination .item::after {
        width: 0;
        background: #fff;
        z-index: 2;
        transition: width 0.2s ease;
      }

      .slideshow .pagination .item:hover::before, .slideshow .pagination .item.is-active::before {
        background-color: #fff;
      }

  .slideshow .arrows .arrow {
    margin: -33px 0 0;
    padding: 20px;
    position: absolute;
    top: 50%;
    cursor: pointer;
    z-index: 3;
  }

  .slideshow .arrows .prev {
    left: 30px;
  }

    .slideshow .arrows .prev:hover .svg {
      left: -10px;
    }

  .slideshow .arrows .svg {
    position: relative;
    left: 0;
    width: 14px;
    height: 26px;
    fill: #fff;
    transition: left 0.2s ease;
  }

@media screen and (max-width: 600px) {
  .slideshow .arrows .prev, .slideshow .arrows .next {
    display: none;
  }
}
