#camera-label-container{
  background-color: red;
  top: 8px;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  border-radius: 0.25rem;
}
/* Skip zones - NDP 03/06/2024 */
/* The position of an absolute element is calculated relative to its closest positioned ancestor */
/* A "positioned ancestor" is any ancestor element with position: relative, absolute, or fixed   */
.skip-zone{
  position: absolute; 
  top: 8px;
  bottom: 50px; /* Avoid overlapping with the controls */
  width: 40%;
  z-index: 1;
}
.left-skip-zone{
  left: 0;
}
.right-skip-zone{
  right: 0;
}
.skip-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  color: white;
  opacity: 0;
  z-index: 20; /* Higher than skip zones */
  transition: opacity 0.5s ease-in-out;
  pointer-events: none; /* Ignore pointer events */
}

#skip-backward {
  left: 10%;
}

#skip-forward {
  right: 10%;
}

#flash-icon-pause {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#flash-icon-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Keyframes for skip icon animation */
@keyframes flash {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}
/* Style for skip icons - NDP 03/06/2024 */

#video-loading{
  position: absolute; 
  z-index: 2; 
  top: 48%; 
  left: 50%; 
  transform: translate(-50%, -50%);
}
#video-loading-icon{
  font-size: 50px;
  color: var(--paperclip-main-color);
}

.video-duration{
  font-size: 14px;
  color: #ffffff;
  position: absolute;
  right: 0px;
  bottom: 0px;
  padding-right: 5px;
  padding-left: 5px;
  background-color: rgba(213, 0, 0, 0.7)
}

/* Video controls bar */
#video-controls {
  display: flex;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background: var(--navy-blue);
  /* margin-top: -42px; */
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}
#video-controls.fade-out {
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.video-control-more-buttons {
  display: none; /* Hide the popup by default */
  position: absolute; /* Position it based on your layout */
  background-color: var(--navy-blue);
  flex-direction: column; /* Stack children vertically */
  right: 0;
  bottom: 32px;
  z-index: 1000; 
}

.video-control-more-buttons.active {
  display: flex; 
}

.video-control-volume-more-buttons {
  display: none; /* Hide the popup by default */
  position: absolute; /* Position it based on your layout */
  background-color: var(--navy-blue);
  right: 0;
  bottom: 32px;
  z-index: 1000; 
}

.video-control-volume-more-buttons.active {
  display: flex; 
  padding: 0.5rem;
}

video:fullscreen + #video-controls,
.video-container:fullscreen #video-controls {
  position: fixed;
  bottom: 30px;  /* Slight margin from the bottom */  /* on a pc it's still off screen unless this is here */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;  
  /* z-index: 1000; */
}

.video-control-button {
  background: none;
  border: none;
  margin-right: 5px;
  cursor: pointer;
  color: white;
  padding-top: 10px;
  padding-bottom: 3px;
  padding-left: 10px;
  /* padding-right: 10px; */
}
.video-control-button:focus
{
  outline:none;
}
#video-time {
  color: white !important; /* This sets the text color to white for the entire div */
  min-width: 130px;
  padding-right: 5px;
  position: absolute;
  margin-top: -22px;
  margin-left: 92px;
  font-size: 0.8rem;  
}
.video-slider {
  cursor: pointer;
  margin-top: 8px;
  margin-right: 0px;
}

#play-pause, #play-fwd{
  padding-left: 2px;
}
#play-speed, #full-screen{
  padding-right: 0px;
  padding-top: 0px;
}
#download{
  padding-right: 0px;
}
#toggle-pip{
  padding-top: 0px;
}
#video-control-volume-more{
  padding-right: 2px;
}

.video-container{
  position: relative;
  width: 100%; /* Full width of the parent */
  margin: 0 auto; /* Center the container horizontally */
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Keep controls at the bottom */  
}

/* Fullscreen specific styles */
.video-container:fullscreen,
.video-container:-webkit-full-screen, /* Safari */
.video-container:-moz-full-screen,    /* Firefox */
.video-container:-ms-fullscreen {     /* IE/Edge */
  width: 100%;
  height: 100%;
  max-width: none; /* No restriction in fullscreen */
}

/* Ensure the video fits the screen properly */
.video-container:fullscreen video,
.video-container:-webkit-full-screen video,
.video-container:-moz-full-screen video,
.video-container:-ms-fullscreen video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Maintain aspect ratio */
}

#video-element-container {
  flex-grow: 1; /* Take up remaining space */
  position: relative;
}

/* Style the video element for non-fullscreen */
video {
  width: 100%; /* Make the video responsive to the size of the container */
  height: auto; /* Maintain the aspect ratio */
  object-fit: contain; /* Maintain the aspect ratio of the video */
}
.video-fs-landscape {
  width: 100%; 
  height: 100vh;
}

/* clip-it styles */
input[type="range"] {
  width: 100%;
}
.noUi-draggable {
  cursor: default;
}
.noUi-touch-area {
  background: #3FB8AF;
} 
.clip-it-slider {
  width: 100%;
  margin: 20px 0;
}
.slider-container {
  margin-top: 10px;
}  
.clip-it-slider-label {
  position: absolute;
  top: 0;
  font-size: 12px;
  color: #ffffff;
  margin-top: -4px;
}
.clip-it-slider-label.start {
  left: 0;
}
.clip-it-slider-label.end {
  right: 0;
}
.clip-it-slider-label.instruction{
  left: 60px;
}
.clip-it-slider-video-pos {
  position: absolute;
  width: 3px;                 /* Thickness of the bar */
  height: 180%;               /* Full height of the slider */
  background-color: darkred;       /* Color of the bar */
  top: 50%;                   /* Start from the middle of the slider */
  transform: translateY(-50%); /* Offset by 50% to vertically center */
  z-index: 2;                 /* Ensure it appears above the slider */
}


#busy-creating-reel {
  display: flex;
  align-items: center; /* Vertically centers items within the container */
  gap: 0.5em; /* Adds a small space between the icon and text */
}
.creating-reel-text {
  display: inline-block;
}