.carousel {
  .page-header {
    z-index: -2;
  }

  .carousel-control {
    &.left, &.right {
      z-index: 99;
      background-image: none;
    }
  }
  .item {
    text-align: center;

    .container {
      position: relative;
      padding: 100px 0;
      top: 50%;
      transform: translateY(-50%);
    }
  }
  .carousel-control {
    text-shadow: none;
    &.left {
      /**
       * rtl:ignore
       */
      right: auto;
      /**
       * rtl:ignore
       */
      left: 0;
    }
    &.right {
      /**
       * rtl:ignore
       */
      right: 0;
    }
    .fa {
      display: inline-block;
      position: absolute;
      z-index: 5;
      top: 50%;
      bottom: 15px;
    }
  }
  .buttons .btn-left + .btn-right {
    margin-left: 30px;
  }
}

.wp-custom-header {
  img, video, iframe {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: 100%;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    z-index: -1;
  }
}

.wp-custom-header .wp-custom-header-video-button {
  display: none;
}

#carousel-hestia-generic .carousel {
  overflow: hidden;
}
