
/*------------------------------------------------------*/
/*---------------------- VIDEO BANNER ----------------------*/

.iframe-video.banner-video {
  margin-bottom: 0;
  background-size: cover;
  background-position: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;

  &.full {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    z-index: 998;
    .fluid-width-video-wrapper {
      height: 100% !important;
    }
  }

  .title {
    font-size: 80px;
    font-family: "Open Sans", sans-serif;
    color: #ffffff;
    letter-spacing: .2px;
    line-height: 1.1;
    text-align: center;
    padding-left: 15px;
    padding-right: 15px;
    font-weight: 600;
    @media only screen and (max-width: 1199px) {
      font-size: 70px;
    }
    @media only screen and (max-width: 767px) {
      font-size: 50px;
    }
  }
  .fluid-width-video-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
  }
  .video-content {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 999;
    span {
      cursor: pointer;
      position: relative;
      display: inline-block;
      top: 0;
      left: 0;
      height: 45px;
      width: 45px;
      background-color: transparent;
      -webkit-transform: none;
      transform: none;
      -webkit-transition: all 300ms ease;
      transition: all 300ms ease;
      color: #fff;
      text-decoration: none;
      opacity: 1;
      margin: 0 7.5px;
      &::before {
        position: absolute;
        top: 50%;
        left: 50%;
        font-size: 24px;
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        font-family: "Ionicons", sans-serif;
      }
    }
    .play-button::before {
      content: "\f488";
    }
    .play-button.start::before {
      content: "\f210";
    }
    .mute-button::before {
      content: "\f257";
    }
    .mute-button.mute1::before {
      content: "\f258";
    }
    .full-button::before {
      content: "\f25e";
    }
    .full-button.on::before {
      content: "\f267";
    }
  }
}
@media only screen and (max-width: 767px) {
  .iframe-video.banner-video .video-content {
    bottom: 15px;
    span {
      height: 30px;
      width: 30px;
      &::before {
        font-size: 18px;
      }
    }
  }
}

.iframe-video {
  iframe,
  video {
    left: 50%;
    top: 50%;
    //transform: translate(-50%, -50%);
  }
}

.iframe-video .video-close-button {
  cursor: pointer;
  position: absolute;
  top: 120px;
  right: 15px;
  height: 45px;
  width: 45px;
  z-index: 120;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  color: #fff;
  text-decoration: none;
  text-align: center;
  line-height: 45px;
  &::before {
    font-size: 24px;
    font-family: "Ionicons", sans-serif;
    content: '\f12a';
  }
}

.iframe-video.full .video-close-button {
  top: 45px;
}

.iframe-video.play .video-close-button {
  visibility: visible;
  opacity: 1;
}

.iframe-video {
  //.fluid-width-video-wrapper {
  //  opacity: 0;
  //  visibility: hidden;
  //  transition: 0.3s;
  //}
  &.play {
    .fluid-width-video-wrapper {
      visibility: visible;
      opacity: 1;
    }
  }
}