[data-bs-theme=dark]:root {
    --header-bg:var(--blue-steel);  
    --body-bg-color: #1f2128;
    --body-text-color: #e7eef8;
    --bs-card-bg: #232730;
    --bs-card-text: var(--body-text-color);
    --bs-input-bg: #212529;
    --bs-input-text: var(--body-text-color);
    --pipeline-col: #212529;
    --bs-dropdown-menu-bg: var(--body-bg-color);
    --bs-dropdown-item-text: var(--body-text-color);
    --bs-dropdown-item-hover: var(--tertiary);
    --bs-dropdown-link-color: #fff;
    --bs-link-color: hsl(216, 98%, 52%);
    --bs-link-hover-color: hsl(216, 91%, 42%);
    --always-white:#fff;
    --bs-btn-text-color: #fff;
    --bs-primary: hsl(211, 100%, 50%);
    --bs-primary-rgb: 0, 123, 255;
    --bs-primary-border-color: hsl(216, 98%, 52%);
    --bs-primary-hover: hsl(216, 90%, 44%);
    --bs-primary-hover-border-color: hsl(216, 91%, 42%);
    --tertiary: #fff;
    --tertiary: #0f5b92;
    --tertiary-rgb:15, 91, 146;
    --tertiary-hover: #0c456e;
    --bs-card-border-width: 1;
    --bs-card-border-color: rgba(0, 0, 0, 0.03);
    --bs-body-font-family:"Segoe UI","Noto Sans","Helvetica Neue", Arial, sans-serif;
    --bs-body-font-size:1.25 rem;
    --blue-steel:#0f5b92;
    --blue-steel-hover:#0c456e;
}

:root {
    --header-bg:var(--blue-steel);  
    --body-bg-color: #e5ebee;
    --body-text-color: #323232;
    --bs-card-bg: #fff;
    --bs-card-text: var(--body-text-color);
    --bs-input-bg: #E6EBEE;
    --bs-input-text: #212529;
    --bs-input-border: #ced4da;
    --bs-input-border-focus: #80bdff;
    --pipeline-col:rgb(249, 249, 253);
    --bs-dropdown-menu-bg: var(--body-bg-color);
    --bs-dropdown-item-text: var(--body-text-color);
    --bs-dropdown-item-hover: var(--tertiary-hover);
    --bs-dropdown-link-color: #fff;
    --bs-link-color: hsl(216, 98%, 52%);
    --bs-link-hover-color: hsl(216, 91%, 42%);
    --always-white:#fff;
    --bs-btn-text-color: #fff;
    --bs-primary: hsl(211, 100%, 50%);
    --bs-primary-rgb: 0, 123, 255;
    --bs-primary-border-color: hsl(216, 98%, 52%);
    --bs-primary-hover: hsl(216, 90%, 44%);
    --bs-primary-hover-border-color: hsl(216, 91%, 42%);
    --tertiary: #0f5b92;
    --tertiary-text: #fff;
    --tertiary-rgb: 34, 139, 238;
    --tertiary-hover: #0c456e;
    --bs-card-border-width: 1;
    --bs-card-border-color: rgba(0, 0, 0, 0.03);
    --bs-body-font-family:"Segoe UI","Noto Sans","Helvetica Neue", Arial, sans-serif;
    --bs-body-font-size:1.25 rem;
   
    
    --orange: #ff7e18;
    --orange-hover: #ba631f;
    --blue-steel:#0f5b92;
    --blue-steel-hover:#0c456e;
  }

  body{
    padding-top: 1.5rem;
  }
  
#chatbar {
    position: fixed;
    display: flex;
    overflow: visible;
    align-items: flex-end;
    flex-direction: row-reverse;
    bottom: 0px;
    width: 100%;
    max-width:100%;
    height: 30px;
    z-index: 1000;
  }
  
  /* POPCHAT */
  .w-70 {
    width: 70% !important;
  }
  .w-30 {
    width: 30% !important;
  }

  .popchat {
    color: rgb(28, 30, 33);
    font-size: 12px;
    width: 300px;
    bottom: 0;
    overflow: hidden;
    line-height: 16.08px;
    z-index: 1;
    -webkit-font-smoothing: antialiased;
    border-top-left-radius: 5px;
  }
  
  .popchat .name {
    background: var(--tertiary);
    color: var(--tertiary-text);
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    border: 1px solid var(--body-text-color);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    height: 60px;
    min-height: 38px;
  }
  
  .btn-popchat {
    color: var(--tertiary-text);
    background-color: var(--tertiary);
    border-color: var(--tertiary);
    font-size: 14px;
    min-width: 38px;
  }
  
  .btn-popchat:hover {
    color: var(--body-text-color);
    background-color: var(--tertiary-hover);
    border-color: var(--tertiary);
    font-size: 14px;
    min-width: 38px;
  }
  
  .btn-popchat:focus {
    outline: none !important;
    box-shadow: none !important;
  }
  
  .popchat .msgs {
    background: var(--body-bg-color);
    border-left: 1px solid var(--body-text-color);
    border-right: 1px solid var(--body-text-color);
    display: flex;
    flex-direction: column;
    height: 56vh;
    font-size: 12px;
    padding: 15px;
    overflow-y: auto;
    overflow-x: hidden;
  }
  
  .popchat .msgs::-webkit-scrollbar-track {
    background-color: var(--body-bg-color);
    opacity: 0%;
    border-radius: 10px;
  }
  
  .popchat .msgs::-webkit-scrollbar {
    width: 10px;
    background-color: var(--body-bg-color);
    border-radius: 10px;
  }
  
  .popchat .msgs::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: var(--tertiary);
  }

  
  .popchat .input {
    width: 100%;
    height: fit-content;
    background-color: #000;
    color: white;
    font-size: 16px;
  }
  
  .popchat .input .popbtn {
    color: var(--tertiary);
    border-radius: 100%;
    padding: 8px;
    font-size: 16px;
  }
  
  .popchat .input .popbtn:hover {
    background-color: var(--tertiary);
    color: var(--tertiary-text);
  }
  
  .popchat-input {
    border-radius: 20px;
    min-width: 115px;
    display: inline-block;
    width: 50%;
    max-width: 288px;
    min-height: calc(1.5em + 0.75rem + 2px);
    max-height: 25vh;
    flex-grow: 1;
    margin-right:5px;
    bottom:3px;
    overflow-x: auto;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--body-text-color);
    background-color: var(--bs-input-bg);
    background-clip: padding-box;
    border: 1px solid #ced4da;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, width 0.3s;
  }
  
  .popchat-sendbtn{
    font-size: 16px;
    margin-right:0.25rem;
    margin-bottom: 0.25rem;
    align-self: end;
    display: inline-block;
    right:15px;
    bottom:3px;
    color:var(--tertiary);
  }
  
  .popchat-input:focus {
    width: 233px;
  }
  
  .popchat .msgs .chat-blob-me {
    margin-bottom: 1em;
  }
  
  .popchat .msgs .chat-blob {
    margin-bottom: 1em;
  }
  
.chat-blob {
    position: relative;
    display: flex;
    align-self: flex-start;
    background-color: #37373a;
    padding: 10px 15px 10px 15px;
    border-radius: 30px 30px 30px 30px;
    font: 400 14px/20px Roboto, Helvetica Neue, sans-serif, NotoColorEmoji,
      apple color emoji, windows emoji, windows symbol;
    color: white;
    max-width: 90%;
  
    word-break: break-word;
    word-wrap: break-word;
  }
  
  .chat-blob-me {
    position: relative;
    display: flex;
    align-self: flex-end;
    background-color: #8ab4f8;
    color: #000000;
    padding: 10px 15px 10px 15px;
    border-radius: 30px 30px 30px 30px;
    font: 400 14px/20px Roboto, Helvetica Neue, sans-serif, NotoColorEmoji,
      apple color emoji, windows emoji, windows symbol;
    max-width: 90%;
  
    word-break: break-word;
    word-wrap: break-word;
    right: 0;
  }
  
  .popchat .attachment-panel {
    width: 95%;
    background-color: var(--body-bg-color);
  }
  
  .popchat .template-panel {
    background-color: var(--body-bg-color);
  }
  
  .border-steel {
    border-color: var(--tertiary);
  }


  /* Header */

#nav-notifications {
  overflow: auto;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  min-width: 75vh;
  max-height: 85vh;
}

.dropdown-menu {
  margin-top: 0;
  background-color: var(--bs-dropdown-menu-bg);
  color:var(--bs-dropdown-item-text);
}

#site-header .dropdown:hover > .dropdown-menu{ 
  display: block;
}

#site-header .dropright:hover > .dropdown-menu{ 
  display: block;
}

#site-header .dropleft:hover > .dropdown-menu{ 
  display: block;
}

.dropdown-item{
  color:var(--bs-dropdown-item-text);
  cursor: pointer;
}

.dropdown-item.active{
  color: var(--bs-dropdown-link-color);
  background: var(--bs-dropdown-item-hover);
}

.dropdown-item.active:hover{
  color: var(--bs-dropdown-link-color);
  background: rgba(var(--tertiary-rgb),0.246);
}

.dropdown-item:hover{
  color: var(--bs-dropdown-link-color);
  background: var(--bs-dropdown-item-hover);
}

.list-group-item{
  background-color: var(--bs-dropdown-menu-bg);
  color:var(--bs-dropdown-item-text);
}
.list-group-item:hover{
  color: var(--bs-dropdown-link-color);
  background: var(--bs-dropdown-item-hover);
}

.nav-pills .nav-link{
  color: var(--bs-btn-text-color);
  background: var(--bs-primary);
  border-radius: 35px;
}
.nav-pills .nav-link.active{
  color: var(--tertiary-text);
  background: var(--tertiary);
}
.nav-pills .nav-link:hover{
  color: var(--tertiary-text);
  background: var(--tertiary-hover);
}

#site-header{
  background: var(--header-bg);
}

.site-header .navbar-nav .nav-link {
  color: #cbd5db;
}

.site-header .navbar-nav .nav-link:hover {
  color: var(--tertiary);
}

[theme=light] .site-header .navbar-nav .nav-link:hover {
  color: var(--tertiary-text);
}

.site-header .navbar-nav .nav-link.active {
  font-weight: 500;
}

.navbar-collapse.show {
  max-height: 100vh;
  overflow-y: auto;
}

.resulthover {
  z-index: 1028;
  position: absolute;
  top: 150px;
  background-color: var(--body-bg-color);
  color: var(--body-text-color);
}

#nav-bar-search-results {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  z-index: 5000; 
  position: fixed; 
  top: 65px; 
  overflow: auto; 
  max-height: 80vh;
  
}

.wide-dropdown{
  max-width: 500px;
  min-width: 300px;
  min-height: 300px;

}

@media (min-width: 768px) {
  #nav-bar-search-results {
    min-width: 720px;
    max-width: 720px;
  }
  .wide-dropdown{
    width: 475px;
    height: 300px;
    
  }
}

@media (min-width: 992px) {
  #nav-bar-search-results {
    min-width: 960px;
    max-width: 960px;
  }
  .wide-dropdown{
    width: 475px;
    height: 300px;
    
  }
}

@media (min-width: 1200px) {
  #nav-bar-search-results {
    min-width: 1140px;
    max-width: 1140px;
  }
  .wide-dropdown{
    width: 475px;
    height: 300px;
    
  }
}


.no-wrap {
  white-space: nowrap !important;
}


#resizeable{
  display: flex;
  flex-direction: column; /* Ensures children are stacked vertically */
  width: 100%; /* Full width */
}

video {
  flex: 1; /* Allows the video to grow and fill the container */
  width: 100%; /* Full width of the flex container */
  object-fit: cover; /* Ensures video covers the area without distortion */
}

.fullview{
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: auto;
}

#dragHandle {
  width: 100%;
  height: 3vh;
  background-color: rgba(0, 0, 0, 0.15);
  cursor: pointer;
  z-index: 10;
}

/* #playlist {
  /* display:flex;
  flex-direction: column; 
  flex-grow: 1; 
  padding: 1rem;
  max-width: 100%;
}

.playlist-item  {
  cursor: pointer;
  padding: 10px;
  background-color: #131313;
  margin-bottom: 5px;
}

.playlist-item:hover {
  background-color: #333131;
}
.playing {
  background-color: #000000;
} */

#monitorsContainer{width:100%}

.rotate {
  animation: rotation 2s infinite linear;
}

@keyframes rotation {
  from {transform: rotate(0deg);}
  to {transform: rotate(359deg);}
}

#monitorRefreshBtn{
  cursor: pointer;
}
#monitorRefreshBtn:hover{
  cursor: pointer;
  color: rgba(var(--tertiary-rgb),0.246);
}

#footer {
  min-height: 10vh;
}


.seek-container {
  position: relative;
}

#seeker {
  accent-color: var(--blue-steel)
}

.chapter-mark {
  position: absolute;
  font-size: .5rem;
  background-color: #f0f0f0;
  top: 15px;
  width: .25rem;
  border-radius: 4px;
  white-space: nowrap;
  text-align: left;
  transform: translateX(-50%);
}


.playback-btn:hover{
  color: var(--bs-primary-hover);
  cursor: pointer;
}

.img-vert {
  -moz-transform: scaleY(-1);
  -o-transform: scaleY(-1);
  -webkit-transform: scaleY(-1);
  transform: scaleY(-1);
  filter: FlipV;
  -ms-filter: "FlipV";
}

.img-hor {
  -moz-transform: scaleX(-1);
  -o-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
  filter: FlipH;
  -ms-filter: "FlipH";
}

.movie-poster {
  width: 100%;          
  aspect-ratio: 2 / 3;  
  object-fit: cover;
  object-position: center;
  display: block;       
}

#seek-indicator {
  position: fixed;
  bottom: 40px;
  right: 40px;
  font-size: 3rem;
  color: white;
  display: none;
  z-index: 9999;
}