/*!
 * wpstream_theme custom styles
 */

// Add your own code here!
// Because this file is compiled after Bootstrap, you're also able to use Bootstrap mixins for better code.
// Some examples can be found here:

:root {
  --main-primary-color: #667080;
  --bs-body-content-color: #000000e0;
  --middle-grey: #67676b;
  --light-grey: #9c9c9c;
  --dark-grey: #151120;
  --main-secondary-color: #EEF1F4;
  --white-color: #fff;
  --secondary-white-color: #f1f1f1;
  --black-color: #000;
  --night-color: #0F0F0F;
  --white-grey: #D9D9D9;
  --argintinian-blue: #597DFA;
  --jet-grey: #2f2f35;
  --green: #4CBB17;
  --yellow: #f9d771;
  --violet: #4e2ee5;
  --add-to-cart-button-normal: linear-gradient(270deg, rgba(78, 46, 229, 1) 0%, rgba(89, 125, 250, 1) 100%);
  --add-to-cart-button-hover: linear-gradient(90deg, rgba(78, 46, 229, 1) 0%, rgba(89, 125, 250, 1) 100%);
 // --dark-ui-overlay: linear-gradient(0deg, rgba(15, 15, 15, 0.85) 0%, rgba(15, 15, 15, 0) 100%);
  --dark-ui-overlay: linear-gradient(0deg, rgba(6, 2, 18, 0.85) 0%, rgba(6, 2, 18, 0) 100%);

  --gap: 20px;
}

body {
  letter-spacing: 0.08px;
}

.site {
  padding-top: 88px;
}

  .container {
    max-width: calc(var(--wpstream-theme-width-container, 1352px) + var(--bs-gutter-x));
  }



/*
*
* General Styles
*
*/

a {
  text-decoration: none;
  transition: all 300ms ease;
  -webkit-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  color: inherit;

  &:hover {
    color: inherit;
  }
}

//style fot title with more link
.title-more {
  a {
    font-size: 1rem;
    color: $argentinian-blue-light;
    display: inline-flex;
    align-items: center;
  }
}

.wpstream-grid-main {
  .title-more {
    margin-bottom: 30px;
    float: left;
    width: 100%;
  }
}


.form-select, select {
  background-color: transparent;
  border-color: $dim-grey;
  color: var(--bs-body-color);
}

input,
textarea {
  padding: 9px 16px;

  &::placeholder {
    color: inherit;
  }

  &[type="checkbox"] {
    position: relative;
    border-radius: 3px;
    border: 1px solid $dim-grey;

    width: 16px;
    height: 16px;
    display: inline-block;
    -webkit-appearance: none;
    appearance: none;
    padding: unset;
    cursor: pointer;

    &:checked {
      background-size: 10px;
      background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e") no-repeat center;
    }
  }
}


ul,
li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wpstream_section {
  margin: 45px 0 60px 0px;
  float: left;
  width: 100%;
}

.wpstream_related_product, .wpstream_trending_videos, .wpstream_latest_videos,
.wpstream_related_post,
.wpstream_trending_post,
.wpstream_latest_post{
  margin-top: 60px;
  margin-bottom: 0px;
}

.single-wpstream_bundles .wpstream_related_product,
.single-product .wpstream_related_product{
  margin-top: 0px;
}

.wpstream_trending_post{
  margin-top: 0px;
}

.wpstream_latest_post{
   margin-top: 45px;
    margin-bottom: 30px;
}




.btn-hover-white {
  border-radius: 24px;
  transition: all 300ms ease;

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

.meta-style {
  color: var( --wpstream-metadata-share-text-color, #000000e0 );
  background-color: var( --wpstream-metadata-share-background-color, #ffffffa8 );

  &:hover {
    color: var( --wpstream-metadata-share-hover-text-color, #f1f1f1 );
    background-color: var( --wpstream-metadata-share-hover-background-color, #ffffffa8 );
  }

}

//fancybox image border radius
.fancybox-image,
.fancybox-thumbs__list a {
  border-radius: 8px;
}

.fancybox-thumbs__list a:before {
  border-radius: 10px;
  border: 2px solid $argentinian-blue-light !important;
}

//button with border
.btn-pill {
  display: inline-flex;
  padding: 12px 24px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 24px;
  border: 1px solid $dim-grey;
  transition: all 300ms ease;

  &:hover {
    background: $anti-flash-white;
    color: $night;
    border-color: $anti-flash-white;
  }
}

//button tags
.btn-tag {
  border-radius: 8px;
  padding: 4px 12px;
}

/* ==content */

.page-template-default .entry-header{
  padding-left: var(--container-default-padding-left, 10px);
}



.site-content.container.mt-4,
.site-content.container.mt-5 {
  margin-top: 76px !important;
}


/* ==  */

.vjs-poster {
  text-align: center;
}

.vjs-poster img {
  max-width: 100%;
  max-height: 100%;
  text-align: center;
}

.woocommerce div.product div.images img {
  display: inline-block;
  width: auto;
}

.woocommerce #content div.product div.images,
.woocommerce div.product div.images,
.woocommerce-page #content div.product div.images,
.woocommerce-page div.product div.images {
  width: 100%;
}

.woocommerce #content div.product div.summary,
.woocommerce div.product div.summary,
.woocommerce-page #content div.product div.summary,
.woocommerce-page div.product div.summary {
  width: 100%;
}


/* ==single product */


/* Tooltip container style */
.tooltip {
  color: #fff;
  padding: 8px;
  border-radius: 4px;
}

.tooltip-inner {
  font-size: 14px;
}

.tooltip-arrow {
  border-top-color: #333;
}

.bs-tooltip-top .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before {
  top: -2px;
}

/*==login register */

.wpstream-theme_register_form,
.wpstream-theme_forgot_form {
  display: none;
}

.wpstream-theme_login_link,
.wpstream-theme_widget_login {
  display: none;
}

.login_sections_control {
  display: flex;
  gap: 10px;
}

/* Header Type 01 */
.top-right-menu {
  .menu {
    display: flex;
    list-style: none;
    margin: 0;

    li.menu-item {
      list-style: none;
      padding: 0 10px;
      display: inline-flex;

      a {
        min-width: 94px;
        height: 46px;
        font-size: 16px;
        font-weight: 500;
        color: var(--main-primary-color);
        text-decoration: none;
        background: var(--main-secondary-color);
        border-radius: 23px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        padding: 0 10px;
      }
    }

    li.menu-item:nth-child(2) {
      a {
        background-color: var(--main-secondary-color);
        color: var(--main-primary-color);
      }
    }

    li.menu-item:last-child {
      a {
        // min-width:auto;
        // width:46px;
        // height:46px;
        background-color: var(--main-primary-color);
        color: var(--main-secondary-color);
      }
    }
  }
}

.site-header.navbar_fixed .fixed-top {
  background-color: var(--white-color);
}


/*
* Blog list
* 
*/

.wpstream-grid-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: stretch;

}



/*
* author section - Blog page 
* 
*/


/*
* author section - Video Pages
* 
*/

.wpstream_author_wrapper_name {
  display: flex;
  flex-direction: column;
  font-size: 14px;

  & > span a {
    color: var(--wpstream-taxonomies-text-color, var(--wpstream-categories-pill-color));

    &:hover {
      color: var(--wpstream-taxonomies-hover-text-color, $anti-flash-white);
    }
  }
}

.subscribebtn {
  padding: 10px 24px;
  border-radius: 25px;
  background-color: var(--main-primary-color);
  color: var(--white-color);
  margin-left: 30px;
  font-size: 14px;
  font-weight: 500;
}

.subscribebtn:hover {
  color: var(--main-secondary-color);
}

/*
* top bar section - Video Pages
* 
*/

.wp-stream-list-right {
  justify-content: flex-end;
}

.wp-stream-social-icons {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

#wpstream-product-collection-content-tab-bar {
  border-radius: 8px 8px 0 0;
  border-bottom: none;
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-bottom: 45px;
  float: left;
  width: 100%;

  .nav-link {
    border-radius: 24px;
    padding: 10px 20px;
    border: 1px solid var(--middle-grey);
    color: var(--bs-body-color);
    transition: 300ms ease;

    &:hover {
      color: var(--bs-body-bg);
      background-color: var(--bs-body-color);
      border: 1px solid var(--bs-body-color);
    }
  }

  .nav-link.active {
    color: var(--bs-body-bg);
    background-color: var(--bs-body-color);
    border: 1px solid var(--bs-body-color);
  }
}

/*
*  Video Player
* 
*/
.wpstream-featured-player-wrapper {

}

.wpstream-featured-player-wrapper .wpstream_player_container {
  max-width: 100%;
}

.wpstream-featured-player-wrapper .vjs-poster img,
.wpstream-featured-player-wrapper .wpstream_player_container .vjs-poster img {
  max-width: 100%;
  max-height: 100%;
  text-align: center;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.wpstream_player_wrapper_bundle_product_not_bought {
  margin: 0;
  overflow: hidden;
  position: relative;
  height: auto;
  max-height: 760px;
  min-height: 480px;
}

.wpstream_player_wrapper_bundle_product_not_bought {
  background-position: center center;
  background-size: cover;
}




.wpstream_video_on_demand_play_trailer_on_live {
  top: 10px;
}


.wpstream_player_container_gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
  background: var(--dark-ui-overlay, linear-gradient(0deg, rgba(15, 15, 15, 1) 0%, rgba(15, 15, 15, 0.4) 100%));
  border-radius: 8px;
}
.wpstream_featured_banner_vod  .wpstream_player_container_gradient {
  border-radius: 0px;
}

.wpstream-product-description {
  margin-bottom: 5px;
}

.wpstream-product-categories-wrapper {
    margin-bottom: 15px;
    color: $argentinian-blue-light;

    a {
      font-weight: 500;
      font-size: 16px;
      color: $argentinian-blue-light;

      &:hover {
        text-decoration-line: underline;
      }
    }
}

.wpstream-play-fist-episode {
  background: blue;
  padding: 20px;
  border-radius: 50%;
  color: #fff;
  float: left;

}

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

.wpstream_past_broascast_for_non_live_section_wrapper .wpstream-video-card-unit {
  width: 100% !important;
}

.wpstream_past_broascast_for_non_live_section_wrapper .wpstream-video-card-unit .wpstream-gridcard {
  display: flex;
  flex-direction: row;
}

.wpstream_past_broascast_for_non_live_section_wrapper .wpstream-gridcard .wpstream_featured_image {
  width: auto;
}

.wpstream_past_broascast_for_non_live_section_wrapper .wpstream-video-card-unit .wpstream_featured_unit_cards {
  max-width: 155px;
}

.wpstream-sb-recent-post-list {
  li {
    .wpstream-recent-post-grid {
      display: flex;
      flex-wrap: nowrap;

      img {
        width: 92px;
        height: auto;
      }
    }
  }
}


.wpstream-post-content:after {
  content: "";
  width: 0;
  height: 0;
  display: table;
  clear: both;
}


.wpstream_already_liked,
.wpstream_already_disliked {

}


.wp-stream-vod-content {
  padding-top: 30px;
  .wpstream-single-post-bar {
    padding: 15px;
  }
}

/*
* Episodes Section
*
*/
#wpstream-product-collection-content-tab {

}

.wpstream-episode-content {
  margin: 0 0 60px 0;
}

.wpstream-episode-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.wpestream-bundle-item-card .wpstream_featured_image {
  max-width: 231px;
  height: 129px;
}

.wpestream-bundle-item-card .wpstream-gridcard {
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: flex-start;

  @media only screen and (min-width: 768px) {
    flex-direction: row;
    align-items: center;
    gap:0px;
  }
}

.wpestream-bundle-item-card__description {
  @media only screen and (max-width: 768px) {
    padding: 16px 16px 16px 0;
  }
}


/*
* spinners
*
*/
.wpstream-loader-wrapper{
    width: 100%;
    display: flex;
    padding: 100px;
    align-content: center;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}
.wpstream-loader {
  width: 16px;
  height: 16px;
  position: relative;
  left: -16px;
  border-radius: 50%;
  color: #d4d4d4;
  background: currentColor;
  box-shadow: 32px 0 , -32px 0 ,  64px 0;
}

.wpstream-loader::after {
  content: "";
  position: absolute;
  left: -32px;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 10px;
  background:var(--argintinian-blue);
  animation: move 3s linear infinite alternate;
}

@keyframes move {
  0% , 5%{
    left: -32px;
    width: 16px;
  }
  15% , 20%{
    left: -32px;
    width: 48px;
  }
  30% , 35%{
    left: 0px;
    width: 16px;
  }
  45% , 50%{
    left: 0px;
    width: 48px;
  }
  60% , 65%{
    left: 32px;
    width: 16px;
  }

  75% , 80% {
    left: 32px;
    width: 48px;
  }
  95%, 100% {
    left: 64px;
    width: 16px;
  }
}

/*
* ADD EXPLNATIONS HERE - Separate css code via comments
*
*/


.wpstream-author-buttons {
  display: flex;
  width: 100%;

  .wp-stream-playbtn__cart-wrap {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    margin-right: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--add-to-cart-button-normal);
    transition: all 300ms ease;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    svg{
      width: 34px;
    }
  }
  .subscription-details{
    margin-left: 5px;
  }

  .wp-stream-playbtn {
    display: inline-flex;
    color: var(--main-secondary-color);
    font-size: 20px;
    line-height: 22px;
    justify-content: center;
    align-items: center;
    border-radius: 36px;

    &:hover {
      color: $argentinian-blue-light;
      
      .wp-stream-playbtn__cart-wrap {
        background: var(--add-to-cart-button-hover);
      }
    } 
  }

  .wp-stream-view-trailerbtn {
    display: inline-flex;
    padding: 10px 24px;
    background-color: var(--main-secondary-color);
    color: var(--main-primary-color);
    font-size: 14px;
    line-height: 22px;
    border-radius: 24px;
  }
}

/* 
*
* Page comments
*
*/




/*Mobile Device CSS*/
@media only screen and (max-width: 991px) {

  .comment-form {
    width: 100%;

    p.comment-form-author {
      width: 100%;
    }

    p.comment-form-email {
      width: 100%;
    }

    .form-submit {
      width: 100%;
    }
  }

  body.logged-in {
    form.comment-form {
      .comment-form-comment {
        width: 100%;
        margin-right: 0;
      }

      .form-submit {
        width: 100%;
      }
    }
  }

}


@media only screen and (max-width: 767px) {

  body.logged-in {
    
  }


  .wpstream-vod-terms-main {
    .wpstream-vod-terms-content {
      .wpstream-vod-terms-title {
        width: 100%;
      }

      .wpstream-vod-terms-list {
        width: 100%;
      }
    }
  }

  .wp-stream-episode-content {
    .wp-stream-episode-list {
      .gridbox {
        .wpstream-gridcard {
          .card-img {
            width: 100%;
            flex: auto;
          }

          .wp-stream-episode-bundle-content {
            width: 100%;
            flex: auto;
          }
        }
      }
    }
  }


}

@media only screen and (max-width: 445px) {
  .wpstream-grid-main {
    .wpstream-gridcard {
      .card-img {
        display: flex;

        img {
          height: auto;
       
        }
      }
    }
  }
}

.woocommerce widget_products {
  li {
    margin-bottom: 16px;
  }
}


//better message
:root.dark-theme {
  .bp-messages-wrap .bm-reply .bm-emojies,
  .bp-messages-wrap .bm-reply .bm-editor .bm-editor-content:empty::before {
    color: rgba(var(--main-bm-color), 1);
  }

  .bp-messages-wrap .chat-header .thread-info .thread-info-data .name {
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
  }

  .bp-messages-wrap .chat-header .thread-info .thread-info-data .sub-name {
    color: #9c9c9c;
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
  }

  .bp-messages-wrap .bm-messages-list .bm-list .bm-messages-stack .bm-content .bm-info .name span,
  .bp-messages-wrap .bm-messages-list .bm-list .bm-messages-stack .bm-content .bm-info .name a {
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
  }

  --bs-body-content-color: #bebebe;
}

:root.white-theme {
  .bp-messages-wrap .bm-reply .bm-emojies,
  .bp-messages-wrap .bm-reply .bm-editor .bm-editor-content:empty::before {
    color: rgba(var(--main-bm-color), 1);
  }

  .bp-messages-wrap .chat-header .thread-info .thread-info-data .name {
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
  }

  .bp-messages-wrap .chat-header .thread-info .thread-info-data .sub-name {
    color: #67676b;
    font-size: 12px;
    line-height: 16px;
    font-weight: 700;
  }

  .bp-messages-wrap .bm-messages-list .bm-list .bm-messages-stack .bm-content .bm-info .name span,
  .bp-messages-wrap .bm-messages-list .bm-list .bm-messages-stack .bm-content .bm-info .name a {
    font-size: 14px;
    line-height: 20px;
    font-weight: 700;
  }
}

.gallery-icon{
  transition: all 300ms ease;
  &:hover img{
    opacity: 0.8;
  }
}


.wpstream_back_to_top{
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: all 300ms ease;
    svg {
      opacity: 0.75;
      height: 13px;
      transform: rotatez(270deg);
      margin: 0 auto;
    }
}

.show_hide_password{
  cursor: pointer;
  color: var(--bs-body-content-color);
  opacity: 0.8;
  &:hover{
    opacity: 1;
  }
}
