/*
* Prefixed by:
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

:root {
  --pulse-color: rgba(0, 122, 220, 1);
  --sans-font: "Cerebri Sans Regular", sans-serif;
  --sans-medium-font: "Cerebri Sans Medium", sans-serif;
  --containerMinHeight: 300px;
  --containerMaxHeight: 70vh;
	--video_aspect_ratio: 1.77;
  --lns-unit: 0.5rem;
  --lns-space-xlarge : calc(5 * var(--lns-unit, 8px));
  --videoContainerPaddingX: var(--lns-space-xlarge);
}

/* Default styles */
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  padding: 0;
}
html {
  width: 100%;
  height: 100%;
  font-family: var(--sans-font);
  font-weight: 400;
  scroll-behavior: smooth;
}

/* Layout */
.container {
  margin: 0 auto;
  width: 100%;
  /* padding: 0 20px; */

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.player-wrap {
  /* width: 100%; */
  background-color: black;
  container-type: inline-size;
  margin: 0px auto;
  /* margin: 40px auto; */
  aspect-ratio: var(--video_aspect_ratio);

  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  /* max-width: 900px; */

  overflow: hidden;

  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  align-items: center;
  justify-content: center;
  /* -webkit-transition: all ease 0.3s;
	-o-transition: all ease 0.3s;
	transition: all ease 0.3s; */
}
.theatre-mode-wrap {
  max-width: calc(100% - 60px) !important;
  aspect-ratio: var(--video_aspect_ratio) !important;
  max-height: calc(100vh - 120px) !important;
  min-height: 300px !important;
}


.small_player #jsplayer_wrapper {
  max-width: calc(100% - 60px);
  
  /* width: 100%; */
  aspect-ratio: var(--video_aspect_ratio);
  /* aspect-ratio: 16 / 9; */
  max-height: calc(100vh - 250px);
  min-height: 300px;

}


@media (max-width: 600px) {
  .player-wrap {
    height: auto !important;
  }
  .theatre-mode-wrap {
    max-width: 100% !important;  
    max-height: 100% !important;
    min-height: auto !important;
  }
  .theatre-mode-wrap, .small_player {
    aspect-ratio: 'auto' !important;
  }
  .theatre-mode {
    display: none !important;
  }
  .small_player #jsplayer_wrapper {
    max-width: 100%;  
    min-height: auto;
  }
  .small_player #jsplayer_wrapper, .small_player {
    aspect-ratio: 'auto' !important;
  }
}

@media (max-width: 768px) {
  .controls-comments-avatar {
    width: 25px !important;
    height: 25px !important;
  }
}


/* Video */
.js-player {
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  background: black;
  object-fit: cover;
  transform: scale(1.004);
}

.js-player::-webkit-media-controls {
  display: none !important;
}
.js-player::-webkit-media-controls-panel,
.js-player::-webkit-media-controls-enclosure,
.js-player::-webkit-media-controls-overlay-play-button {
  display: none !important;
}

/* Controls */
.controls {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 11;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 50px;
  bottom: -50px;

  /* background: rgba(0, 0, 0, 0.4); */
  -webkit-transition: all ease 0.2s;
  -o-transition: all ease 0.2s;
  transition: all ease 0.2s;
}

.controls::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100px;
  background: rgb(0,0,0);
  background: url('../images/player-controls-bg.png'); 
  z-index: -1;
  background-repeat: repeat-x;
  background-position: bottom;
  pointer-events: none; 
}
.controls.active {
  bottom: 0;
}

/* Control Buttons styles  */
.controls-btn {
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  min-width: 20px;
  height: 16px;

  margin: 0;
  padding: 0;

  background: transparent;
  border: none;
}

.controls button[disabled] {
  opacity: 0.6;
  cursor: default;
}

button.theatre-mode {
  width: 23px;
}

button.captions {
  width: 25px;
}

.controls-bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;

  padding: 0 16px;
}
.controls-bottom-left,
.controls-bottom-right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 15px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.controls-time-rail {
  cursor: pointer;
  position: relative;
  -ms-flex-negative: 0;
  flex-shrink: 0;

  height: 4px;
  width: 100%;
  z-index: 2;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Chrome/Safari/Opera */
  -khtml-user-select: none; /* Konqueror */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
}
.chapter-slider-items {
  width: 100%;
  height: 100%;
  display: flex;
}
.chapter-slider-items:empty {
  background-color: rgba(255, 255, 255, 0.3);
}
.chapter-slider-items > span {
  position: relative;
  height: 100%;
  transition: all ease 0.2s;
  text-align: left;
}

.chapter-slider-items > span:first-of-type .chapter-slider-title {
  margin-left: 6px;
}
.chapter-slider-items > span:last-of-type .chapter-slider-bg {
  width: 100%;
}
.chapter-slider-items > span:last-of-type .chapter-slider-progress {
  max-width: 100%;
}

.chapter-slider-bg {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: calc(100% - 3px);
  background-color: rgba(255, 255, 255, 0.5);
  transition: all ease 0.2s;
}

.chapter-slider-items > span:hover {
  height: 10px;
  margin-top: -2px;
}
.controls-active-chapter-title {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 0 10px;
  flex-grow: 1;
  flex-shrink: 1;
}
.controls-active-chapter-title span {
  font-size: 13px;
  color: #fff;
  height: 17px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  max-width: 250px;
}

.controls-active-chapter-title span:not(:empty)::before {
  content: "";
  height: 4px;
  width: 4px;
  border-radius: 4px;
  left: -12px;
  display: block;
  position: absolute;
  background-color: #fff;
  top: 8px;
}
@container (max-width: 600px) {
  .controls-active-chapter-title {
    display: none;
  }
}

.chapter-slider-loading {
  position: absolute;
  height: 100%;
  max-width: calc(100% - 3px);
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.4);
}

.chapter-slider-item:last-child .chapter-slider-loading {
  max-width: 100%;
}

.chapter-slider-title {
  position: absolute;
  opacity: 0;
  background: 0;
  color: #fff;
  top: -5px;
  font-size: 13px;
  transition: opacity 0.3s ease, top 0.2s ease;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
}
.chapter-slider-title::before {
  content: "";
  display: block;
  width: calc(100% + 6px);
  height: 100%;
  /* background-color: rgba(0, 0, 0, 0.8); */
  position: absolute;
  left: -3px;
  top: 0;
  z-index: -1;
  border-radius: 2px;
}

.chapter-slider-items > span:hover .chapter-slider-title {
  opacity: 1;
  top: -20px;
}

.chapter-slider-progress {
  position: absolute;
  left: 0;
  top: 0;

  width: 0;
  height: 100%;
  max-width: calc(100% - 3px);

  background-color: #2f76ff;
  z-index: 2;
  margin-right: 3px;
}

.js-slider-thumb {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(0);
  left: 0;

  cursor: pointer;
  width: 19px;
  height: 19px;
  margin-left: -3px;

  background-color: #2f76ff;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity ease 0.2s, transform ease 0.2s;
}
.controls-time-rail:hover .js-slider-thumb {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

button.playback-rate {
  color: #ffffff;
  font-size: 16px;
  line-height: 20px;
  min-width: 20px;
  width: auto;
}
.playback-rate-count {
  font-family: var(--sans-medium-font);
}
.playback-rate span:last-child {
  margin-left: 2px;
  font-size: 22px;
  margin-top: 2px;
}

.controls-time {
  font-size: 13px;
  color: #ffffff;
  flex-shrink: 0;
}

.play-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%) scale(1.2);
  -ms-transform: translate(-50%, -50%) scale(1.2);
  transform: translate(-50%, -50%) scale(1.2);
  z-index: 1;

  pointer-events: none;
  -webkit-transition: all ease 0.2s;
  -o-transition: all ease 0.2s;
  transition: all ease 0.2s;
}
.play-circle svg {
  transform-origin: center;
  transform: scale(1);
  opacity: 0;
}

@keyframes playAnim {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* overlay video */
.player-overlay {
  position: absolute;
  z-index: 10;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;

  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;

  -webkit-transition: all ease 0.2s;

  -o-transition: all ease 0.2s;

  transition: all ease 0.2s;
}

.show-player-timer {
  position: absolute;
  -webkit-transform: translateY(80px);
  -ms-transform: translateY(80px);
  transform: translateY(80px);
  display: none;

  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;

  border-radius: 5px;
  padding: 6px 12px;
  opacity: 0;
  pointer-events: none;

  font-size: 14.5px;
  font-weight: 400;

  -webkit-transition: all 0.2s ease-in-out;

  -o-transition: all 0.2s ease-in-out;

  transition: all 0.2s ease-in-out;
  z-index: 1;
}
.player-overlay-start:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.player-overlay-start {
  background-color: rgba(0, 0, 0, 0.01);
}

.player-overlay-start:hover .show-player-timer {
  opacity: 1;
}

.player-overlay-button {
  display: block;

  height: 80px;
  width: 80px;
  border-radius: 50%;

  -webkit-transition: all ease 0.2s;

  -o-transition: all ease 0.2s;

  transition: all ease 0.2s;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  -webkit-transform-origin: center center;
  -ms-transform-origin: center center;
  transform-origin: center center;
  position: relative;
  z-index: 1;
}

.player-overlay-button svg {
  width: 100%;
  height: 100%;

  -webkit-filter: drop-shadow(0 0 0.4rem rgba(0, 0, 0, 0.3));

  filter: drop-shadow(0 0 0.4rem rgba(0, 0, 0, 0.3));
  overflow: hidden;
}

.player-overlay-button:before {
  content: "";
  display: inline-block;

  width: 100%;
  height: 100%;

  color: #fff;
  background-color: transparent;
  border-radius: 5px;

  -webkit-animation: shadow-pulse 1.8s infinite;

  animation: shadow-pulse 1.8s infinite;
  border-radius: 100px;
  position: absolute;
}

.player-overlay-start:hover .player-overlay-button:before {
  -webkit-animation: none;
  animation: none;
  display: none;
}

.player-overlay-start:hover .player-overlay-button {
  -webkit-transform: scale(1.06);
  -ms-transform: scale(1.06);
  transform: scale(1.06);
}

.player-overlay-end {
  flex-direction: column;
  gap: 10px;
  display: none;
  cursor: default;
  background-color: rgba(0, 0, 0, 0.75);
}

.player-overlay-button-end {
  background: transparent;
  border: none;

  display: -webkit-box;

  display: -ms-flexbox;

  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 10px;

  font-size: 18.5px;
  color: #ffffff;
  cursor: pointer;
  order: 2;
}

.player-overlay-button-end svg {
  width: 18px;
}

/* .player-cta-button {
  position: absolute;
  top: 16px;
  right: 16px;
  min-width: 110px;
  max-width: 340px;
  width: max-content;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  padding: 0 18px;
  background-color: #1891ed;
  color: #fff;
  border-radius: 50px;
  box-shadow: 0 4px 7px -2px rgba(0, 0, 0, 0.19),
    inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  font-size: 16.5px;
  font-family: var(--sans-medium-font);
  z-index: 99;
  text-align: center;
  text-decoration: none;
}
.player-cta-button:hover {
  box-shadow: 0 calc(0.5 * 8px) calc(1.25 * 8px) rgba(0, 0, 0, 0.05),
    inset 0 0 0 1000px rgba(69, 69, 69, 0.2);
}
.player-cta-button.top-left {
  top: 16px;
  left: 16px;
  right: auto;
}

.player-cta-button.centered {
  position: relative;
  order: 1;
  right: 0;
  top: 0;
  left: 0;
  bottom: 0;
}
.player-cta-button.centered.hidden {
  display: flex;
} */

@-webkit-keyframes shadow-pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 var(--pulse-color);
    box-shadow: 0 0 0 0 var(--pulse-color);
  }
  100% {
    -webkit-box-shadow: 0 0 0 24px transparent;
    box-shadow: 0 0 0 24px transparent;
  }
}

@keyframes shadow-pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 var(--pulse-color);
    box-shadow: 0 0 0 0 var(--pulse-color);
  }
  100% {
    -webkit-box-shadow: 0 0 0 24px transparent;
    box-shadow: 0 0 0 24px transparent;
  }
}

/* Loading */

.loading-bg-img {
  position: absolute;
  display: none;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%) rotate(0);
  -ms-transform: translate(-50%, -50%) rotate(0);
  transform: translate(-50%, -50%) rotate(0);
  height: 80px;
  width: 80px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  display: block;
  border: 3px solid rgba(0, 0, 0, 0.4);
  border-top-color: #fff;
  -webkit-animation: spinnerRotate2 1000ms linear infinite;
  animation: spinnerRotate2 1000ms linear infinite;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 50;
}

@-webkit-keyframes spinnerRotate2 {
  to {
    -webkit-transform: translate(-50%, -50%) rotate(360deg);
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes spinnerRotate2 {
  to {
    -webkit-transform: translate(-50%, -50%) rotate(360deg);
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
/* Volume slider */

.mute-block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-transition: all ease 0.3s;
  -o-transition: all ease 0.3s;
  transition: all ease 0.3s;
  margin-left: 0;
}

.mute-block .volume-slider {
  cursor: pointer;
  margin: 0;
  max-width: 0;

  -webkit-transition: all ease 0.3s;

  -o-transition: all ease 0.3s;

  transition: all ease 0.3s;
}

.volume-slider {
  position: relative;

  height: 4px;
  width: 50px;

  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.volume-slider::after {
  content: "";
  cursor: pointer;
  z-index: 1;

  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 0;

  height: 30px;
  width: 100%;
  background-color: transparent;
}

.volume-slider-progress {
  position: absolute;
  left: 0;
  top: 0;

  height: 100%;
  width: 100%;

  background-color: #ffffff;
  border-radius: 2px;

  -webkit-transition: all ease 0.3s;

  -o-transition: all ease 0.3s;

  transition: all ease 0.3s;
}

.mute-block:hover .volume-slider {
  max-width: 50px;
  margin-left: 10px;
}
.mute-block:hover {
  padding-right: 3px;
}

/* Summary & Chapters */
/* 
.summary_chapters_container {
  position: relative;
  bottom: 0;
  width: 52%;
  min-width: 600px;
  max-width: 100%;
  left: 0;
  right: 0;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .summary_chapters_container {
    width: 100%;
    min-width: 100%;
  }
}

.summary_chapters_container .summary_chapters_div {
  padding: 15px 25px;
  text-align: left;
  background-color: #fff;
  border-radius: 10px;
  margin-bottom: 30px;
  -webkit-box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.08);
  box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.08);
  overflow-y: auto;
}

.summary_chapters_container .summary_chapters_div .video_summary_div {
  border-bottom: solid 1px #efefef;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.summary_chapters_container .summary_chapters_div h2 {
  margin-top: 0;
  font-size: 15px;
  color: #3b3d3e;
  font-family: var(--sans-medium-font);
}

.summary_chapters_container .summary_chapters_div p.video_summary {
  margin-bottom: 0;
  font-size: 14px;
  border: solid 1px #fff;
  border-radius: 5px;
  padding: 8px;
  margin: -8px;
  cursor: text;
}

.summary_chapters_container .summary_chapters_div ul {
  list-style-type: none;
  padding: 0;
  margin-bottom: 0;
  padding: 8px;
  margin: -8px;
  border: solid 1px #fff;
  border-radius: 5px;
  margin-top: 8px;
  padding-top: 4px;
  padding-bottom: 4px;
  cursor: text;
}

.summary_chapters_container .summary_chapters_div ul:empty:before {
  content: "Add Chapters...";
  color: #666;
}

.summary_chapters_container .summary_chapters_div ul li {
  font-size: 14px;
}

.summary_chapters_container .summary_chapters_div ul li a {
  color: #168eea;
  padding-right: 13px;
}

.chapter_name_controls {
  color: #fff;
  position: absolute;
  left: 192px;
  bottom: 12px;
  font-size: 13px;
  -webkit-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  transition: all 0.6s ease;
}

.chapter_name_controls:before {
  content: "";
  height: 4px;
  width: 4px;
  border-radius: 4px;
  left: -12px;
  display: block;
  position: absolute;
  background-color: #fff;
  top: 8px;
} */

/* Captions */
.custom-captions {
  width: max-content;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 4px 10px;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  display: none;
  position: absolute;
  bottom: 65px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 100;
  font-size: 23.939001px;
  line-height: 33.514603px;
  pointer-events: none;
}
.controls-comments {
  visibility: hidden;
}
.controls-comments-item {
  position: absolute;
  bottom: 55px;
  left: 1%;
  z-index: 10000;
  cursor: pointer;
}
.controls-comments-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #f52394;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  position: relative;
}
.controls-comments-avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #f52394;
  border-radius: 50%;
  overflow: hidden;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

.controls-comments-avatar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #f52394;
}
.controls-comments-item.active .controls-comments-avatar {
  opacity: 1;
}
.controls-comments-avatar::after {
  content: "";
  display: block;
  width: 100%;
  position: absolute;
  bottom: 100%;
  left: 0;
  height: 10px;
}
.controls-comments-avatar span {
  text-align: center;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
}
.controls-comments-info {
  display: flex;
  bottom: 35px;
  justify-content: space-between;
  position: absolute;
  left: 0;
  background-color: #333737;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 5px;
  padding: 8px 10px;
  cursor: pointer;
  min-width: 150px;
  max-width: 340px;
}
.controls-comments-info-text {
  flex-grow: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  -ms-flex-direction: column;
  max-height: 7.3em;
  overflow: hidden;
  text-overflow: ellipsis;
}
.controls-comments-info-text h5 {
  font-size: 13px;
  margin: 0;
  text-align: left;
  color: #fff;
  font-family: var(--sans-medium-font);
  pointer-events: none;
  white-space: nowrap;
  margin-bottom: 3px;
  visibility: hidden;
  display: none;
}
.controls-comments-info-text h5 span {
  font-size: 11.5px;
  line-height: 18px;
  display: inline-block;
  margin-left: 4px;
  color: #ccc;
}
.controls-comments-info-text span.controls-comments-info-reply {
  font-size: 11px;
  color: #ccc;
  margin-top: 3px;
  visibility: hidden;
  display: none;
}
.controls-comments-info-text p {
  margin: 0;
  font-size: 13px;
  max-width: 300px;
  width: max-content;
  font-weight: 400;
  text-align: left;
  pointer-events: none;
  line-height: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.controls-comments-info svg {
  display: none;
  flex-shrink: 0;
}
.controls-comments-info {
  visibility: hidden;
}
.controls-comments-item:hover .controls-comments-info-text p {
  white-space: normal;
}
.controls-comments-item.active .controls-comments-info {
  min-width: max-content;
  visibility: visible;
  display: flex;
}
.controls-comments-item:hover {
  z-index: 100;
}
.controls-comments-item:hover .controls-comments-info-text h5,
.controls-comments-item:hover .controls-comments-info-text p,
.controls-comments-item:hover
  .controls-comments-info-text
  span.controls-comments-info-reply,
.controls-comments-item:hover svg,
.controls-comments-item:hover .controls-comments-info {
  visibility: visible;
  display: flex;
}
.controls-comments-item:hover .controls-comments-info-text h5,
.controls-comments-item:hover .controls-comments-info-text p,
.controls-comments-item:hover
  .controls-comments-info-text
  span.controls-comments-info-reply,
.controls-comments-item:hover svg {
  visibility: visible;
  display: flex;
}

.controls-comments-item:hover .controls-comments-info.ml-18 {
  margin-left: -18px;
}
#annotation_canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 100%;
  height: 100%;
  z-index: 9999;
}
canvas#annotation_canvas.darwingMode {
  z-index: 140000000;
  cursor: crosshair;
}
#annotation_canvas.delete_mode {
  cursor: url("./assets/del_cursor.svg"), auto;
}
.annotation_panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transition: all 0.3s ease;
}
.annotation_panel.active {
  opacity: 1;
}
#darwing_colors_wrapper {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 8px;
}
.annotation_panel .annotation_color {
  height: 15px;
  width: 15px;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}
.annotation_panel .active svg rect,
.annotation_panel .active svg circle,
.annotation_panel .active#line_shape svg path {
  stroke: #2f76ff;
}
.annotation_panel .active#line_shape svg path {
  fill: #2f76ff;
}
.annotation_panel .active svg path {
  fill: #2f76ff;
}
#delete_shape.active svg path {
  fill: transparent !important;
  stroke: #2f76ff !important;
}

.annotation_panel .annotation_color.red {
  background-color: #f73d72;
}

.annotation_panel .annotation_color.green {
  background-color: #34e33b;
}

.annotation_panel .annotation_color.yellow {
  background-color: #fdf14c;
}

.annotation_panel .annotation_color.blue {
  background-color: #3696f6;
}

.annotation_panel .annotation_color.orange {
  background-color: #fb9348;
}
.annotation_panel .annotation_color.active:before {
  content: "";
  position: absolute;
  display: block;
  background-color: inherit;
  height: 21px;
  width: 21px;
  opacity: 0.3;
  border-radius: 15px;
  top: -3px;
  left: -3px;
}

.annotation-comment-indicator {
  position: absolute;
  background-color: #f73d72;
  top: -3px;
  left: 16px;
  border-radius: 10px;
  height: 7px;
  width: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* New comment  */
/* .comment-new {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0 auto 50px;
  max-width: 900px;

  background: #fff;
  position: relative;
  box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  overflow: hidden;
}
.comment-new-textarea-wrapper {
  padding-left: 50px;
  width: 100%;
  height: 100%;
  position: relative;
}
.comment-new-timestamp {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 14px;
  color: #3b3d3e;
}
.comment-new-textarea {
  width: calc(100% - 70px);
  max-width: 100%;
  height: 100%;
  min-height: 80px;
  padding: 10px 10px 10px 5px;
  border: none;
  font-size: 14px;
  resize: none;
}
.comment-new-textarea:focus {
  outline: none;
}
.comment-new-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 10px;
}
.comment-new-nav button {
  cursor: pointer;
  border: none;
  background: transparent;
}
.comment-new-nav .comment-new-nav-button {
  font-size: 14px;
  padding: 3px 12px;
}
.comment-new-nav .comment-new-nav-button:first-of-type {
  background: #1891ed;
  color: #fff;
  border-radius: 3px;
}
.comment-new-nav .comment-new-nav-button:last-of-type {
  color: #3b3d3e;
  background-color: transparent;
}

.comment-new-nav .comment-new-nav-button:last-of-type:hover {
  text-decoration: underline;
} */
.show-annotation {
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
}
#annotation_panel {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}
#annotation_panel.active {
  max-height: 43px;
}
#darwing_shapes_wrapper {
  padding: 10px 8px;
  display: flex;
  gap: 8px;
}
#darwing_shapes_wrapper span {
  cursor: pointer;
}
.pointer-events-none {
  pointer-events: none;
  z-index: 1 !important;
}

.test-url-container {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}
.test-url-container input {
  flex-grow: 1;
  height: 30px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 3px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  padding: 0 10px;
}
.test-url-container button {
  flex-shrink: 0;
  height: 30px;
}
.btn-primary {
  background: #1891ed;
  color: #fff;
  border-radius: 3px;
  border: none;
  padding: 3px 12px;
  cursor: pointer;
}
.btn-primary:hover {
  background: #1281d6;
}

/* Hidden */
.hidden,
.hide {
  display: none !important;
}


.media-viewer.video .video-player-wrapper {
  display: flex;
  text-align: center;
  container-type: inline-size;
  position: relative;
  height: 100%;
  width: 100%;
  /* max-width: calc(90vh * 1.33 + 30px); */
  margin: 0 auto;
  justify-content: center;
  align-items: center;
}

/* .media-viewer.video .video-player-wrapper #jsplayer_wrapper {
  aspect-ratio: 2;

} */


.editingVideoPlayer #jsplayer_wrapper {
  top: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  height: calc(100% - 205px) !important;
  width: calc(100% - 200px) !important;
  transform: none !important;
  max-width: 100% !important; 
  min-height: auto !important;
}


.editingVideoPlayer .controls-bottom-right {
  pointer-events: none;
  opacity: 0.8;
}

.editingVideoPlayer canvas,.frame_thumb_active canvas {
  display: none !important;
}
.editingVideoPlayer .controls-comments, .frame_thumb_active .controls-comments {
  display: none !important;
}
.editingVideoPlayer .chapter-slider-items {
  display: none !important;
}

.hasNotPlayed .loading-bg-img {
  display: none !important; 
}


.lead-gen-form-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.78);
  z-index: 10000000000;
  display: flex;
  justify-content: center;
  align-items: center;
}
.lead-gen-form-container:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  filter: blur(15px);
}
.lead-gen-form-container #lead-gen-form {
  width: 100%;
  min-width: 100%;
  max-width: 400px;
  min-width: 400px;
  padding: 0 15px;
  margin: 0 auto;
}
.lead-gen-form-wrapper {
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
}
.lead-gen-form-wrapper h2 {
  font-size: 36px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0;
  margin-top: 0;
  line-height: 1.2;
}
.lead-gen-form-wrapper p {
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 10px;
  margin-top: 10px;
}
.lead-gen-form-wrapper .lead_gen_name_container {
  display: flex;
  gap: 10px;
}
.lead-gen-form-wrapper .lead_gen_name_container .lead_form-group {
  width: 100%;
  flex: 1;
}
.lead-gen-form-wrapper input {
  width: 100%;
  height: 40px;
  border-radius: 0px;
  border: 1px solid #ccc;
  padding: 0 10px;
  display: block;
  margin-top: 10px;
}
.lead-gen-form-wrapper input:focus {
  outline: none;
}
.lead-gen-form-wrapper .form-group label {
  margin-bottom: 0px !important;
}
.lead-gen-form-wrapper button {
  width: 100%;
  height: 40px;
  border-radius: 0px;
  outline: none;
  border: none;
  background-color:#168EEA;
  color: #fff;
  padding: 0 10px;
  display: block;
  margin-bottom: 10px;
  margin-top: 10px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.2s ease;
}
.lead-gen-form-wrapper button:hover {
  filter: brightness(110%);
}

.lead-gen-form-wrapper .allow_skip_link {
  color: #fff;
  background-color: #4C4C4C;
  border-radius: 5px;
  text-decoration: underline;
  font-size: 14px;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  margin-left: auto;
  margin-right: auto;
  position: absolute;
  bottom: 16px;
  right: 16px;
  text-decoration: none;
  transition: filter 0.2s ease;
}
.lead-gen-form-wrapper .allow_skip_link:hover {
  filter: brightness(110%);
}

.lead-gen-form-wrapper h2, .lead-gen-form-wrapper p {
  text-align: center;
}
.lead-gen-form-wrapper .field-error-message {
  color: #f00;
  font-size: 12px;
  margin-top: 3px;
  margin-bottom: 0;
  text-align: left;
  font-weight: 500;
}
.lead-gen-form-wrapper .border-red {
  border: 1px solid #f00 !important;
}

.min-height-400 {
  min-height: 400px !important;
  height: 100% !important;
}

@media (max-width: 768px) {
  .lead-gen-form-wrapper h2 {
    font-size: 24px;
  }
  .lead-gen-form-wrapper p {
    font-size: 14px;
  }
  .lead-gen-form-wrapper input, .lead-gen-form-wrapper button, .lead-gen-form-wrapper .allow_skip_link {
    height: 36px;
  }
  .lead-gen-form-wrapper .allow_skip_link {
    padding: 4px 16px;
    font-size: 13px;
  }
  .lead-gen-form-container #lead-gen-form {
    min-width: 100%;
  }
}