.vc-floating-promo-video {
    position: fixed;
    width: 140px;
    height: 240px;
    border-radius: 18px;
    overflow: hidden;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
    opacity: 0;
    transform: scale(0.2);
    transform-origin: bottom right;
    transition: transform 650ms cubic-bezier(.2, .9, .2, 1), opacity 650ms ease;
    will-change: transform, opacity;
}

.vc-floating-promo-video--bottom_right { right: 18px; bottom: 75px; transform-origin: bottom right; }
.vc-floating-promo-video--bottom_left  { left: 18px;  bottom: 75px; transform-origin: bottom left; }

.vc-floating-promo-video--top_right    { right: 18px; top: 90px; transform-origin: top right; }
.vc-floating-promo-video--top_left     { left: 18px;  top: 90px; transform-origin: top left; }

.vc-floating-promo-video.is-hidden {
    pointer-events: none;
}

.vc-floating-promo-video.is-visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.vc-floating-promo-video-inner {
    width: 100%;
    height: 100%;
    cursor: pointer;
    position: relative;
}

.vc-floating-promo-video-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vc-floating-promo-video .vc-floating-promo-video-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 999px;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 20px;
    line-height: 30px;
    cursor: pointer;
    z-index: 2;
}

.vc-floating-promo-video-play-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(0,0,0,.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    pointer-events: none;
}

.vc-promo-video-popup {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  display: none;
  background: rgba(0, 0, 0, 0.75);
}

.vc-promo-video-popup.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vc-promo-video-popup .vc-promo-video-popup-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 22px;
  line-height: 36px;
  cursor: pointer;
  z-index: 50;
}

.vc-promo-video-popup-container {
    position: relative;
    width: auto;
    max-height: calc(100vh - 120px);
    aspect-ratio: 9 / 16;
    border-radius: 18px;
    overflow: hidden;
}

.vc-promo-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.vc-promo-video-popup-container .vc-promo-video-actions {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vc-promo-video-popup-container .vc-promo-video-mute-button {
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vc-promo-video-mute-button i {
  background-color: rgba(0, 0, 0, 0.55);
  border-radius: 50%;
  padding: 10px;
  font-size: 20px;
  color: #fff;
}

.vc-promo-video-popup-container .vc-promo-video-play-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  z-index: 35;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.vc-promo-video-popup-container .vc-promo-video-actions:hover,
.vc-promo-video-popup-container .vc-promo-video-mute-button:hover,
.vc-promo-video-popup-container .vc-promo-video-play-overlay:hover {
    background: transparent;
    border: none;
}

.vc-promo-video-play-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.vc-promo-video-play-overlay i {
  background: transparent;
  border-radius: 0;
  padding: 0;
  font-size: 22px;
  color: #fff;
}

.vc-promo-video-bottom-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 30;
    box-sizing: border-box;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.72) 0%,
        rgba(0,0,0,0.45) 45%,
        rgba(0,0,0,0.22) 70%,
        rgba(0,0,0,0) 100%
      );
}

.vc-promo-video-progress-bar {
    position: relative;
    display: block;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    touch-action: none;
    transition: height 0.15s ease;
    flex: 0 0 auto;
}

.vc-promo-video-progress {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 100%;
    background: #f5f5f5;
    transition: height 0.15s ease, width 0.1s linear;
}

.vc-promo-video-progress-bar.is-scrubbing {
    height: 6px;
}

.vc-promo-video-progress-bar.is-scrubbing .vc-promo-video-progress {
    height: 6px;
}

@media (max-width: 768px) {
    
    .vc-promo-video-popup-container {
        height: 100%;
        width: 100%;
        max-height: 100%;
        border-radius: 0;
    }
}