/*
// Add your own theme-colors.
$theme-colors: (
    "primary": $primary,
    "secondary": $secondary,
    "light": $white-smoke-light
    //"highlight": $white,
);

$theme-colors: map-remove($theme-colors, "dark", "light");
*/
/**
 * Helper function for downsize mixin.
 */
/**
 * Downsize a CSS property using the viewport to affect calc().
 *
 * @param {string} $property: The property to be affected.
 * @param {string|list} $min: The min value / values.
 * @param {string|list} $max: The max value / values.
 * @param {string} $viewport: The biggest viewport, which the property must be calculated. NOTE: we use media-breakpoint-down here!
 * @param {boolean} $default: True if the default property must be set, regardless of the viewport size.
 * @param {list} $min-limit: A list containing the min viewport and the min value.
 */
.module-video-external {
  position: relative;
  display: block;
}
.module-video-external .thumb-btn-wrapper {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #656565;
}
.module-video-external .thumb-btn-wrapper:after {
  content: "";
  display: block;
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.module-video-external .thumb-btn-wrapper .play-button {
  margin: 0 auto 10px;
  width: auto !important;
  height: auto !important;
  font-size: 12px;
  font-weight: normal;
  color: #ddd;
  border-color: #ddd;
}
.module-video-external .thumb-btn-wrapper .play-button:active, .module-video-external .thumb-btn-wrapper .play-button:focus, .module-video-external .thumb-btn-wrapper .play-button:hover {
  color: #fff;
  border-color: #fff;
}
.module-video-external .thumb-btn-wrapper .video-thumbnail {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
  max-height: 100%;
}
.module-video-external .thumb-btn-wrapper .info-box {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  margin: 0;
  flex-direction: column;
  padding: 5px 10px 20px;
  color: #ddd;
  z-index: 1;
  height: 100%;
  justify-content: center;
  text-align: center;
}
.module-video-external .thumb-btn-wrapper .info-box ::-webkit-scrollbar {
  width: 6px;
  background: transparent;
}
.module-video-external .thumb-btn-wrapper .info-box ::-webkit-scrollbar-track {
  background-color: transparent;
  box-shadow: none;
  -webkit-box-shadow: none;
}
.module-video-external .thumb-btn-wrapper .info-box ::-webkit-scrollbar-thumb {
  background: #FFF;
  border-radius: 8px;
}
.module-video-external .thumb-btn-wrapper .info-box ::-webkit-scrollbar-thumb:hover {
  background: #EFEFEF;
}
.module-video-external .thumb-btn-wrapper .info-box.need-scroll::before, .module-video-external .thumb-btn-wrapper .info-box.need-scroll::after {
  content: "";
  display: block;
  position: absolute;
}
.module-video-external .thumb-btn-wrapper .info-box.need-scroll::before {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 40%, rgb(0, 0, 0) 100%);
}
.module-video-external .thumb-btn-wrapper .info-box.need-scroll::after {
  color: #fff;
  content: ". . .";
  left: 50%;
  bottom: 5px;
}
.module-video-external .thumb-btn-wrapper .info-box.need-scroll .text::after {
  content: "";
  display: block;
  height: 30px;
}
.module-video-external .thumb-btn-wrapper .info-box .text {
  scrollbar-color: #FFF #999999;
  scrollbar-width: thin;
  font-size: 12px;
  overflow-y: auto;
  line-height: 1.3;
  display: block;
  white-space: break-spaces;
}
.module-video-external .thumb-btn-wrapper .info-box .text a {
  text-decoration: underline;
  font-size: 12px;
  font-weight: normal;
}
.module-video-external .thumb-btn-wrapper .info-box .text a,
.module-video-external .thumb-btn-wrapper .info-box .text a:hover,
.module-video-external .thumb-btn-wrapper .info-box .text a:focus {
  color: #fff;
}
@media print {
  .module-video-external {
    display: none !important;
  }
}

.video-container.video-hero {
  position: relative;
  display: flex;
}
@media (min-width: 1400px) {
  .video-container.video-hero {
    max-width: 100%;
    margin: 0 auto;
    height: 730px;
  }
}
@media (max-width: 575.98px) {
  .video-container.video-hero {
    height: 190px;
  }
}
@media (min-width: 1400px) {
  .video-container.video-hero.position-left .video-hero-wrapper {
    right: 0;
  }
}
@media (min-width: 1400px) {
  .video-container.video-hero.position-right .video-hero-wrapper {
    left: 0;
  }
}
.video-container.video-hero .video-hero-wrapper {
  overflow: hidden;
}
@media (min-width: 1400px) {
  .video-container.video-hero .video-hero-wrapper {
    position: absolute;
    height: 100%;
    width: calc(100vw - (100vw - 100%) / 2);
    max-width: 1940px;
  }
}
@media (max-width: 575.98px) {
  .video-container.video-hero .video-hero-wrapper {
    width: 100%;
  }
}
.video-container.video-hero .video-placeholder {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (min-width: 992px) {
  .video-container.video-hero .video-placeholder {
    z-index: 1;
  }
}
.video-container.video-hero .video-btn-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  background-color: rgba(0, 0, 0, 0.3);
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: 0;
}
@media (min-width: 992px) {
  .video-container.video-hero .video-btn-container {
    z-index: 2;
  }
}
.video-container.video-hero .video-btn-container .video-btn-play {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 200ms linear;
}
@media (max-width: 575.98px) {
  .video-container.video-hero .video-btn-container .video-btn-play {
    width: 60px;
    height: 60px;
  }
}
.video-container.video-hero .video-btn-container .video-btn-play .icon {
  color: #ffffff;
  width: 34px;
  height: 34px;
}
.video-container.video-hero .video-btn-container:hover .video-btn-play {
  background-color: black;
  transform: scale(1.1);
}
.video-container.video-hero .figure {
  position: absolute;
  top: 40%;
  z-index: 0;
}
@media (max-width: 767.98px) {
  .video-container.video-hero .figure {
    display: none;
  }
}

#video-hero-modal .modal-dialog {
  top: 50%;
  transform: translateY(-50%);
}
@media (min-width: 1400px) {
  #video-hero-modal .modal-dialog {
    max-width: 70%;
  }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  #video-hero-modal .modal-dialog {
    max-width: 75%;
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  #video-hero-modal .modal-dialog {
    max-width: 75%;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  #video-hero-modal .modal-dialog {
    max-width: calc(100% - 30px);
  }
}
#video-hero-modal .modal-dialog .modal-content {
  border: 0;
  border-radius: 0;
  background-color: transparent;
}
#video-hero-modal .modal-dialog .modal-content .modal-body {
  position: relative;
  padding: 0px;
}
#video-hero-modal .modal-dialog .modal-content .modal-body .close {
  position: absolute;
  right: 0;
  top: -100px;
  color: #ffffff;
  background-color: #000000;
  border-color: #000000;
  border-radius: 50%;
  opacity: 1;
  width: 60px;
  height: 60px;
  transition: all 150ms linear;
  outline: 0;
}
#video-hero-modal .modal-dialog .modal-content .modal-body .close:hover {
  opacity: 0.8;
  transform: scale(1.1);
}
