/**
 * Product Video
 *
 * @author    Nxtal <support@nxtal.com>
 * @copyright Nxtal 2023
 * @license   GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 * @version   3.1.0
 *
 */

.hide {
  display: none !important;
}
.pr-0 {
  padding-right: 0 !important;
}

/** Product page cover image */
#cover_video {
  margin-bottom: 1.25rem;
  position: relative;
}
#cover_video .video {
  width: 100%;
  height: 95%;
}
.product-images > li.thumb-container {
  display: inline-block;
  position: relative;
}

.images-container .product-images > li.thumb-container > .thumb {
  position: relative;
}
.images-container .product-images > li.thumb-container span {
  position: absolute;
  display: inline-block;
  left: 30%;
  top: 30%;
}
.images-container .product-images > li.thumb-container span i {
  font-size: 35px;
  color: #7a7a7a;
  cursor: pointer;
}

/** Product page video list */
.nxtalproductvideo {
  margin-top: 20px;
  display: inline-block;
}
.nxtalproductvideo ul {
  list-style: none;
  padding: 0;
  display: inherit;
}
.nxtalproductvideo li {
  width: 277px;
  padding: 0px 5px;
  display: inline-block;
  float: left;
}
.product-additional-info .nxtalproductvideo li {
  /* width: 268px; */
  width: 50%;
}
.video-box {
  border: 1px solid #ccc;
  display: block;
  margin-bottom: 15px;
  background: #ffffff;
}
.video-box .video-cover {
  cursor: pointer;
  /* height: 150px; */
  background-color: #ddd;
}
.video-box .nxtal-image {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.video-box .nxtal-image img {
  width: 100%;
  height: 196px;
}
.video-box .nxtal-image span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 100%;
  text-align: center;
}
.video-box .nxtal-image span i {
  font-size: 35px;
  color: #f3f3f3;
  cursor: pointer;
}
.video-box .nxtal-image:hover span i {
  color: #fff;
}
.video-box .nxtal-video iframe,
.video-box .nxtal-video video {
  width: 100%;
  height: 196px;
}

.video-box .video_desc {
  margin: 5px;
  padding-top: 5px;
  height: 55px;
  overflow: hidden;
  text-align: left;
  font-size: 14px;
}

.video-box .video_desc h3 {
  font-size: 14px;
}
.video-box .video_desc h3 a {
  color: inherit;
}

/** Product listing */
.product-description .nxtal-video {
  display: none;
}
.product-miniature .nxtal-video {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  z-index: 999;
}
.product-miniature .nxtal-video:hover {
  color: #aaaa97;
}

/** Modal video list */

#nxtalproductvideo-modal .modal-dialog {
  width: 100%;
  max-width: 1140px;
}
#nxtalproductvideo-modal .video-player iframe,
#nxtalproductvideo-modal .video-player video {
  width: 100%;
  height: 380px;
}

#nxtalproductvideo-modal .video-player {
  margin-bottom: 20px;
}
#nxtalproductvideo-modal .video-player .video-desc {
  margin: 10px;
  font-size: 14px;
}
#nxtalproductvideo-modal .video-list {
  height: 445px;
  overflow: auto;
  margin: 0;
  list-style: none;
  padding-left: 0;
}
#nxtalproductvideo-modal .video-list li {
  width: 277px;
  padding: 0px 5px;
  display: inline-block;
}
#nxtalproductvideo-modal .video-list .active .video-box,
.nxtalproductvideo li.active .video-box {
  border-color: #25b9d7;
}

/** Video front controller page */
.text-uppercase {
  text-transform: uppercase !important;
}
#video_filters {
  box-shadow: 2px 2px 8px 0 rgb(0 0 0 / 20%);
  margin-bottom: 1.563rem;
  background: #fff;
  padding: 1.563rem 1.25rem;
}

#video_filters .facet {
  padding-top: 0.625rem;
}
#video_filters .facet .facet-title {
  width: calc(100% - 30px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#video_filters .facet .title {
  display: flex;
}
#video_filters .facet .collapse {
  display: block;
}
#video_filters .navbar-toggler {
  width: 2.5em;
  height: 2em;
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
  line-height: 1;
  background: transparent no-repeat 50%;
  background-size: 24px 24px;
  border: 1px solid transparent;
  border-radius: 0;
}
#video_filters .facet .facet-label {
  width: 100%;
  text-align: left;
  margin-bottom: 0;
  color: #232323;
  font-size: 0.875rem;
}
#video_filters .facet .facet-label a {
  width: calc(100% - 30px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 0.4375rem;
  color: #232323;
  display: inline-block;
  font-size: 0.9375rem;
}
#module-nxtalproductvideo-video .nxtalproductvideo li {
  width: 267px;
}
#module-nxtalproductvideo-video .nxtalproductvideo {
  margin: 0;
}
.nxtalproductvideo-player {
  margin-bottom: 1.563rem;
  background: #fff;
  box-shadow: 2px 2px 8px 0 rgb(0 0 0 / 20%);
  padding-bottom: 1.4rem;
}
.nxtalproductvideo-player .player-box {
  max-height: 600px;
  overflow: hidden;
  position: relative;
}
.nxtalproductvideo-player .player-box.overflow-show {
  max-height: unset;
  overflow: unset;
}
.nxtalproductvideo-player .player-box .video-read-more {
  box-sizing: border-box;
  position: absolute;
  width: 100%;
  height: 100px;
  bottom: 0px;
  text-align: center;
  left: 0;
  background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 100%);
}
.video-read-more .video-read-more-button {
  box-sizing: border-box;
  position: relative;
  bottom: -60px;
  display: inline-flex;
}
.video-read-more .video-read-more-button button {
  padding: 0px 20px;
  box-shadow: rgb(99 100 102 / 20%) 0px 0px 0px 1px inset;
  border-radius: 50px;
  line-height: 30px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: #636466;
  height: 30px;
  border-width: 0px;
  outline: none;
  color: inherit;
  transition-property: box-shadow, background-color;
  transition-duration: 60ms;
  transition-timing-function: ease-out;
}
.video-read-more .video-read-more-button button:hover {
  background-color: #ddd !important;
}
.video-read-more .video-read-more-button button i {
  font-size: 20px;
}

.nxtalproductvideo-player .player-box.overflow-show .video-read-more {
  display: none;
}
.nxtalproductvideo-player .video-player iframe,
.nxtalproductvideo-player .video-player video {
  width: 100%;
  height: 452px;
}
.nxtalproductvideo-player .video-desc,
.nxtalproductvideo-player .video-details {
  padding: 1rem 1.25rem;
  font-size: 14px;
}
.nxtalproductvideo-player .video-details {
  border-top: 1px solid #ccc;
}
.nxtalproductvideo-player .video-details h3 {
  font-size: 15px;
}
.nxtalproductvideo-player .video-details ul {
  list-style: none;
  padding-left: 0;
}
.nxtalproductvideo-player .video-details .video-categories li,
.nxtalproductvideo-player .video-details .video-manufacturers li {
  margin: 0px 5px 5px 0px;
  display: inline-block;
}
.nxtalproductvideo-player .video-details .video-categories li a,
.nxtalproductvideo-player .video-details .video-manufacturers li a {
  border: 1px solid #ccc;
  padding: 5px 15px;
  display: block;
  border-radius: 15px;
}
.nxtalproductvideo-player .video-details .video-categories li a:hover,
.nxtalproductvideo-player .video-details .video-manufacturers li a:hover {
  background: #f6f6f6;
}

.nxtalproductvideo-player .video-details .video-products .cart-item {
  border-bottom: 1px solid #ccc;
}

/** Pagination */
#module-nxtalproductvideo-video .pagination {
  display: inline-block;
  padding-left: 0;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-radius: 0;
  width: 100%;
}
#module-nxtalproductvideo-video .pagination > div:first-child {
  line-height: 2.5rem;
}
#module-nxtalproductvideo-video .pagination .page-list {
  background: #fff;
  padding: 0.375rem;
  margin-bottom: 0;
  box-shadow: 2px 2px 4px 0 rgb(0 0 0 / 20%);
  text-align: center;
}
#module-nxtalproductvideo-video .pagination .page-list li {
  display: inline;
}
#module-nxtalproductvideo-video .pagination a {
  color: inherit;
  font-weight: 600;
  font-size: 16px;
}
#module-nxtalproductvideo-video .pagination a:not(.previous):not(.next) {
  letter-spacing: 0.125rem;
}
#module-nxtalproductvideo-video .pagination .disabled {
  color: #7a7a7a;
}
#module-nxtalproductvideo-video .pagination .current a {
  color: #2fb5d2;
  text-decoration: none;
  font-size: 1.25rem;
}

#module-nxtalproductvideo-video .pagination .previous {
  float: left;
}
#module-nxtalproductvideo-video .pagination .next {
  float: right;
}

/** Media css */
@media (max-width: 991px) {
  #nxtalproductvideo-modal .modal-dialog {
    width: calc(100% - 20px);
  }
  #video_filters .facet .facet-label {
    text-align: left;
  }
  #nxtalproductvideo-modal .video-player iframe,
  #nxtalproductvideo-modal .video-player video {
    height: 358px;
  }
  .nxtalproductvideo-player .video-player iframe,
  .nxtalproductvideo-player .video-player video {
    height: 283px !important;
  }
}

@media (min-width: 768px) {
  .offset-md-2 {
    margin-left: 16.66667%;
  }
}
@media (max-width: 767px) {
  .hidden-sm-down {
    display: none !important;
  }
  #nxtalproductvideo-modal .video-player iframe,
  #nxtalproductvideo-modal .video-player video {
    height: 415px !important;
  }
  .nxtalproductvideo-player .video-player iframe,
  .nxtalproductvideo-player .video-player video {
    height: 180px !important;
  }
  #video_filters {
    margin-bottom: 15px;
    box-shadow: none;
    padding: 0;
    border-top: 1px solid #f6f6f6;
  }
  #video_filters .facet {
    padding-top: 0;
    border-bottom: 1px solid #f6f6f6;
  }
  #video_filters .facet .h6 {
    margin-bottom: 0;
    padding: 0.625rem;
    display: inline-block;
  }
  #video_filters .facet .facet-title {
    color: #232323;
    text-transform: uppercase;
  }
  #video_filters .facet .title {
    cursor: pointer;
  }
  #video_filters .facet .collapse {
    display: none;
  }
  #video_filters .facet .collapse.in {
    display: block;
  }
  #video_filters .facet .navbar-toggler {
    display: inline-block;
    padding: 0.625rem 0.625rem 0 0;
  }
  #video_filters .facet .title .collapse-icons .remove,
  #video_filters .facet .title[aria-expanded='true'] .collapse-icons .add {
    display: none;
  }
  #video_filters .facet .title[aria-expanded='true'] .collapse-icons .remove {
    display: block;
  }
  #video_filters .facet ul {
    margin-bottom: 0;
  }
  #video_filters .facet ul li {
    border-top: 1px solid #f6f6f6;
    padding: 0.625rem;
  }
  #video_filters .facet .facet-label a {
    margin-top: 0;
  }
}
@media (min-width: 768px) {
  .hidden-md-up {
    display: none !important;
  }
}
@media (min-width: 576px) {
  .text-sm-center {
    text-align: center !important;
  }
}
@media (max-width: 576px) {
  #nxtalproductvideo-modal .video-player iframe,
  #nxtalproductvideo-modal .video-player video {
    height: 300px !important;
  }
  .nxtalproductvideo-player .video-player iframe,
  .nxtalproductvideo-player .video-player video {
    height: 180px !important;
  }
}
@media (max-width: 375px) {
  .nxtalproductvideo li {
    width: 100% !important;
  }
  #nxtalproductvideo-modal .video-player iframe,
  #nxtalproductvideo-modal .video-player video {
    height: 180px !important;
  }
  .nxtalproductvideo-player .video-player iframe,
  .nxtalproductvideo-player .video-player video {
    height: 200px !important;
  }
}
