/*
* Video item unit 
*
*/
.wpstream-video-card-unit{
  margin-bottom: 30px;
  margin-top: 0px;
}

.wpstream-gridcard {
  background-color: transparent;
  box-shadow: none;
  border: 0;
  border-radius: 0;
  gap: 15px;
  
  &:hover{
      .wpstream_video_card_title{
        color:$argentinian-blue-light;
      }
      
      .wpstream_video_unit_video_play{
        visibility: visible;
        opacity: 1;
      }
      .wpstream_video_unit_overlay {
        opacity: 0.3;
      }
  
  }

}

.footer_widget .wpstream-gridcard {
  &:hover{
    .wpstream_video_unit_video_play {
      opacity: 0;
    }
  }
}




.wpstream-gridcard .card-bodyx {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.wpstream-gridcard .card-img {
  width: 100%;

  overflow: hidden;
}

.wpstream-gridcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wpstream-gridcard .wpstream_featured_image {
  display: flex;
  height: var(--wpstream-unit-card-image-height, 183px);
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  max-height: var(--wpstream-unit-card-image-height, 183px);
}

.wpstream-gridcard .wpstream_featured_image img {
  border-radius: 8px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 !important;
}

.wpstream_theme-footer{
    .wpstream-blog-card ,
    .wpstream-video-card-unit{
      margin-bottom: 15px;
    }

    .card-img {
      width: auto;
      overflow: visible;
    }

    .wpstream-gridcard {
      display: flex;
      flex-direction: row;
      align-content: flex-start;
      align-items: flex-start;
      align-items: center;
      .wpstream_author{
        display: none;
      }
      img {
          height:96px;
          width: 96px;
      }
      .wpstream_featured_image{
        height:96px!important;
        width: 96px;
        flex-shrink: 0;
      }
      .wpstream_video_unit_video_wrapper {
        position: relative;
        width: 96px;
        height: 96px;
        border-radius: 8px;

      }
      .wpstream_video_unit_video_wrapper .wpstream_video_unit_video {
        width: 96px;
        height: 96px;
      }

      .wpstream_featured_image_views{
        display: none;
      }
  }



}


.wpstream_author {
  border-radius: 100%;
  width: 48px;
  height: 48px;
  display: block;
  float: left;
  overflow: hidden;
  flex-shrink: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.wpstream-gridcard .wpstream_video_unit_video {
  width: 100%;
  height: 100%;
  object-fit: cover;

  &:hover {
    cursor: pointer;
  }
}

.wpstream_featured_image {
  position: relative;
}

.wpstream_video_unit_video_play{
  position: absolute;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--wpstream-play-bg);
  transition: all .3s;
  z-index: 10;
  padding-left: 3px;

  svg{
    width: 19px;
    height: 20px;
  }
}
.wpstream_video_unit_video_wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;



  .wpstream_video_unit_video{
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: top;
  }



}

.wpstream_featured_image_live_tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background-color: $wpstream-danger;
  color: $anti-flash-white;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 2;

  &--on-description {
    position: unset;
    display: inline-block;
    margin-bottom: 8px;
  }
}

.wpstream_featured_image_views {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 14px;
    color: var(--wpstream-blog-post-unit-card-views-color, #F1F1F1);
    background-color: var(--wpstream-blog-post-unit-card-views-background-color, rgba(24, 24, 27, 0.7490196078));


}

.wpstream_card_title_wrapper {
  display: flex;
  flex-direction: column;
}

.wpstream_video_card_author {
  color: var(--wpstream-blog-post-unit-meta-color-default);
}


.wpstream-video-card-unit {
  .wpstream_video_card_title {
    color: var(--wpstream-unit-card-title-color, var(--bs-body-color));
    font-weight: var(--wpstream-unit-font-weight);
  }

  .wpstream_video_card_author {
    color: var(--wpstream-unit-card-author-name-color, var(--wpstream-blog-post-unit-meta-color-default));
  }

  .wpstream_featured_image_views {
    color: var(--wpstream-unit-card-views-color, $anti-flash-white);
    background-color: var(--wpstream-unit-card-views-background-color, #151120bf);
  }

  div.wpstream_featured_image {
    border-radius: var(--wpstream-unit-card-image-border-radius, 8px);
  }

  .wpstream_video_card_card_details {
    color: var(--wpstream-blog-post-unit-meta-color-default);
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
    column-gap: 7px;
  }

  .wpstream_video_card_price {
    color: var(--wpstream-unit-price-color);
    margin-top: 3px;
  }

  &:hover {
    .wpstream_video_card_title, .wpstream-blog-post-card-details {
      color: var(--wpstream-unit-card-title-hover-color, var(--bs-body-color));
    }
  }

  &.v1 {

  }

  &.v2 {
    .wpstream_featured_image {
      height: var(--wpstream-unit-card-image-height, 390px);
      max-height: unset;
    }
  }


}

.wpstream-shortcode-wrapper {
  &.wpstream-item-list-wrapper.row,
  &.wpstream-item-list-by-if-wrapper.row,
  &.wpstream-item-list-with-top-filters-wrapper.row {
    --bs-gutter-x: 1rem;

  }
}

.wpstream-shortcode-list-wrapper {
  .wpstream-pagination {
    .pagination {
      display: flex;
      gap: 12px;

      .page-item {
        height: 40px;
        border: 1px solid var(--light-grey);
        border-radius: 24px;
        overflow: hidden;
        display: flex;
        align-items: center;
        background-color: transparent;
        transition: 300ms ease;
        border: 1px solid var(--wpstream-header-search-border-color, var(--wpstream-header-search-border-color-default));

        .page-link {
          width: 40px;
          height: 40px;
          display: flex;
          align-items: center;
          justify-content: center;
          color: var(--bs-body-color);
          background-color: transparent;
          border: none;
        }

        &__link-prev,
        &__link-next {
          font-size: 14px;
          padding: 10px 18px;
          min-width: 90px;
          width: fit-content !important;
        }

        &:hover {
          background-color: var(--secondary-white-color);

          .page-link {
            color: var(--night-color);
          }
        }
      }

      .page-item.active {
        background-color: var(--wpstream-button-color-bg);
       

        .page-link {
          border: none;
          color:var(--wpstream-button-color-text);
        }
      }
    }
  }

  .wpstream_load_more_wrapper {
    display: flex;
    justify-content: center;

    .wpstream_load_more {
      border: 1px solid var(--middle-grey);
      border-radius: 24px;
      color: var(--bs-body-color);
      background-color: transparent;
      padding: 10px 30px;

      &:hover {
        background: var(--bs-body-color);
        color: var(--bs-body-bg);
      }
    }
  }
}

//Featured video item
.wpstream_featured_video {
  color: $anti-flash-white;

     .wpstream_featured_action{
        width: 100%;
        justify-content: space-between;  
        pointer-events: auto;    
    }

    .wpstream_featured_excerpt{
      font-weight: 400;
      width: 70%;
      margin-bottom: 0px;
    }

    .wpstream_featured_meta{
      color: var(--argintinian-blue);
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
      align-content: center;
      align-items: center;
      justify-content: flex-start;
      gap: 5px;
      font-weight: 400;
      
      a{
        font-weight: 400;
        color:var(--argintinian-blue);
        color:$argentinian-blue-light;
        &:hover{
          text-decoration: underline;
        }
      }
    }
  

   




  &.type-1 {
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
    height: 400px;

    h1{
      margin-bottom: 0px;
    }
  }

  & > .container {
    max-width: 1350px;
    position: absolute;
    width: auto;
    bottom: 60px;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    pointer-events: none;

    a{
        pointer-events: auto;
    }

  }

  &__badge {
    background-color: $body-color;
    border-radius: 4px;
    padding: 0 8px;

    color: $night;
    font-size: .75rem;
    line-height: 1.5rem;
    text-transform: uppercase;
  }

  &__link {
    font-size: 1.5rem;
    color: $anti-flash-white;
    

    &:hover {
      span {
        background: var(--add-to-cart-button-hover);
      }
    }

    span {
      width: 64px;
      height: 64px;
      background: var(--add-to-cart-button-normal);
    }

  }

  @include media-breakpoint-down(lg) {
    .wpstream-social-share-main {
      right: 0;
      left: unset;
    }
  }

  &.type-2 {
    color: var(--bs-body-color);

    .wpstream_category_unit_item_cover{
      background: none;
    }
    
    .wpstream_featured_video__image {
      margin-bottom: 15px;
    }
    .wpstream_featured_meta{
      margin-bottom: 5px;
      color:$argentinian-blue-light;
    }
    h2{
      a{
        font-weight: 500;
        &:hover{
          color:$argentinian-blue-light;
        }
      }
    }

    .wpstream_featured_video__badge {
      position: absolute;
      top: 20px;
      left: 20px;
    }

    .wpstream_featured_video__link {
      position: absolute;
      bottom: 20px;
      left: 20px;
      font-size: 16px;

      span {
        width: 55px;
        height: 55px;

        svg {
          height: 21px;
          width: 21px;
          margin: 1px 0px 0px 4px;
        }
      }

      &:hover{
        color:$argentinian-blue-light;
        svg{
          color:$anti-flash-white;
        }
      }

    }

    .wpstream-watch-later-btn .wpstream-watch-later-action,
    .wp-stream-share-icon-section .wp-stream-share-icon {

      &:hover {
        background-color: transparent;
        color: inherit;
      }
    }
  }

  &__image {
    position: relative;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
  }

}

.wpstream_featured_meta{
  text-transform: capitalize;
}



.wpestream-bundle-item-card__description{
  display: flex;
  flex-direction: column;
  gap:5px;
  padding: 15px;

  .wpstream_video_card_excerpt{
      color: var(--bs-body-content-color);
  }
  .wpstream_video_card_details a{
   
  }

  .wpstream_video_card_details_bundle_child{
      a{
        color: $argentinian-blue-light;
      }
      span{
        margin: 0px 5px;
      }
  }
}




.elementor-widget-WpStreamTheme_Featured_Video   {
  .wpstream_featured_video .wpstream_featured_excerpt{
    font-weight: 400;
  }
}