﻿* {
  box-sizing: border-box;
  margin: 0;
  overflow: hidden;
  cursor: default;
}

a {
  cursor: pointer;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="search"],
input[type="tel"],
input[type="url"] {
  cursor: text;
}

img,
.title-bar-controls {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}

#timelineScrubber {
  background: transparent;
  width: 100%;
  height: 21px;
}

#timelineScrubber:focus {
  outline: none;
}

#timelineScrubber::-webkit-slider-thumb {
  -webkit-appearance: none;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='11' height='21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0v16h2v2h2v2h1v-1H3v-2H1V1h9V0z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1 1v15h1v1h1v1h1v1h2v-1h1v-1h1v-1h1V1z' fill='%23C0C7C8'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 1h1v15H8v2H6v2H5v-1h2v-2h2z' fill='%2387888F'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0h1v16H9v2H7v2H5v1h1v-2h2v-2h2z' fill='%23000'/%3E%3C/svg%3E");
  border: none;
  box-shadow: none;
  height: 21px;
  transform: translateY(-8px);
  width: 11px;
}

#timelineScrubber::-moz-range-thumb {
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg width='11' height='21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0 0v16h2v2h2v2h1v-1H3v-2H1V1h9V0z' fill='%23fff'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1 1v15h1v1h1v1h1v1h2v-1h1v-1h1v-1h1V1z' fill='%23C0C7C8'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9 1h1v15H8v2H6v2H5v-1h2v-2h2z' fill='%2387888F'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 0h1v16H9v2H7v2H5v1h1v-2h2v-2h2z' fill='%23000'/%3E%3C/svg%3E");
  border: 0;
  border-radius: 0;
  height: 21px;
  transform: translateY(2px);
  width: 11px;
}

#timelineScrubber::-webkit-slider-runnable-track {
  background: #000;
  border-bottom: 1px solid grey;
  border-right: 1px solid grey;
  box-shadow: 1px 0 0 #fff, 1px 1px 0 #fff, 0 1px 0 #fff, -1px 0 0 #a9a9a9, -1px -1px 0 #a9a9a9, 0 -1px 0 #a9a9a9, -1px 1px 0 #fff, 1px -1px #a9a9a9;
  box-sizing: border-box;
  height: 2px;
  width: 100%;
}

#timelineScrubber::-moz-range-track {
  background: #000;
  border-bottom: 1px solid grey;
  border-right: 1px solid grey;
  box-shadow: 1px 0 0 #fff, 1px 1px 0 #fff, 0 1px 0 #fff, -1px 0 0 #a9a9a9, -1px -1px 0 #a9a9a9, 0 -1px 0 #a9a9a9, -1px 1px 0 #fff, 1px -1px #a9a9a9;
  box-sizing: border-box;
  height: 2px;
  width: 100%;
}

body {
  letter-spacing: 0.001em;
  font-size: 14px;
  width: 100vw;
  margin: 0;
  overflow-x: hidden;
  background-color: #000;
}

#main {
  z-index: 3;
}

.center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#enter {
  top: 0;
  left: 0;
  z-index: 3;
  opacity: 1;
  height: 100vh;
  width: 100vw;
  cursor: default;
  position: fixed;
  text-align: center;
  background-image: url(img/login.gif);
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  color: #fff;
  transition: opacity 0.5s;
  overflow: hidden;
  z-index: 2;
}

#bg-video, #bg-video-2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -400;
  object-fit: cover;
  margin-bottom: 15px!important;
}

#desktop {
  background-size: cover;
  background-repeat: no-repeat;
  height: 100vh;
  width: 100vw;
  z-index: 1;
  position: relative;
}

#toolbar {
  background: #c0c0c0;
  height: 35px;
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  border-top: 2px solid #fff;
}

#toolbar .toolbar-start-menu {
  float: left;
}

#toolbar .toolbar-start-menu .terminal {
  background: url(img/cmd.png) no-repeat 2px center / 24px;
  padding-left: 28px;
  padding-right: 5px;
  height: 29px;
  margin: 2px 3px;
  font-weight: bold;
  border: 2px solid #7c7c7c;
  border-top-color: #fff;
  border-left-color: #fff;
}

#toolbar .toolbar-start-menu .terminal:hover {
  background-color: #a7a7a7;
}

#toolbar .toolbar-start-menu .start-button {
  background: url(img/windows.png) no-repeat 2px center / 24px;
  padding-left: 28px;
  padding-right: 5px;
  height: 29px;
  margin: 2px 3px;
  font-weight: bold;
  border: 2px solid #7c7c7c;
  border-top-color: #fff;
  border-left-color: #fff;
}

#toolbar .toolbar-start-menu .start-button:hover {
  background-color: #a7a7a7;
}

#toolbar .toolbar-start-menu .start-menu-wrapper {
  border: 2px solid #7c7c7c;
  border-top-color: #fff;
  border-left-color: #fff;
  background: #c0c0c0;
  position: fixed;
  left: 2px;
  bottom: 33px;
  width: 190px;
  min-height: 200px;
}

#toolbar .toolbar-start-menu .start-menu-wrapper .start-menu-title {
  height: 100%;
  padding: 5px 5px;
  background: linear-gradient(90deg, #00007b 0%, #00f 5%, #00007b 100%);
  color: #fff;
  width: 40px;
  float: left;
  text-transform: uppercase;
  font-size: 20px;
  position: absolute;
}

#toolbar .toolbar-start-menu .start-menu-wrapper .start-menu-title span {
  transform: rotate(-90deg);
  transform-origin: left 0;
  position: absolute;
  left: 10px;
  bottom: -10px;
}

#toolbar .toolbar-start-menu .start-menu-wrapper .start-menu {
  margin-left: 40px;
}

#toolbar .toolbar-separator {
  width: 2px;
  height: 26px;
  margin-top: 2px;
  background: #797979;
  float: left;
  border-right: 1px solid #fff;
}

#toolbar .toolbar-left {
  float: left;
  padding: 0 5px;
  min-width: 50px;
}

#toolbar .toolbar-icon {
  background: no-repeat center / auto 20px;
  width: 25px;
  height: 25px;
  border: none;
  margin-top: 3px;
  margin: 3px 2px;
  float: left;
}

#toolbar .toolbar-icon:hover {
  background-color: #a7a7a7;
}

#toolbar .toolbar-icon.ie {
  background-image: url(img/cr.jpg);
  background-repeat: no-repeat;
  background-size: 24px 24px;
  z-index: 100;
}

#toolbar .toolbar-icon.outlook {
  background-image: url(img/yo.jpg);
  background-repeat: no-repeat;
  background-size: 24px 24px;
  z-index: 100;

}

#toolbar .toolbar-icon.correction {
  background-image: url(img/nick.jpg);
  background-repeat: no-repeat;
  background-size: 24px 24px;
  z-index: 100;
}

#toolbar .toolbar-icon.wanted {
  background-image: url(img/kit.jpg);
  background-repeat: no-repeat;
  background-size: 24px 24px;
  z-index: 100;
}

#toolbar .toolbar-right {
  float: right;
  margin: 2px 3px;
  height: 29px;
  border: 2px solid #7c7c7c;
  border-bottom-color: #fff;
  border-right-color: #fff;
}

#toolbar .toolbar-right .time {
  padding: 6px 10px;
  width: 75px;
}

.desktop-icons .desktop-icon {
  width: 115px;
  height: 100px;
  color: #fff;
  text-align: center;
  background: no-repeat center top;
  padding-top: 55px;
  margin: 10px;
}

.desktop-icons .desktop-icon.one {
  background-image: url(img/cr.jpg);
  background-repeat: no-repeat;
  background-size: 48px 48px;
  z-index: 100;
}

.desktop-icons .desktop-icon.two {
  background-image: url(img/yo.jpg);
  background-repeat: no-repeat;
  background-size: 48px 48px;
}

.desktop-icons .desktop-icon.three {
  background-image: url(img/nick.jpg);
  background-repeat: no-repeat;
  background-size: 48px 48px;
}

.desktop-icons .desktop-icon.four {
  background-image: url(img/kit.jpg);
  background-repeat: no-repeat;
  background-size: 48px 48px;
  z-index: 100;
}

.desktop-icons .desktop-icon.five {
  background-image: url("img/trash.png");
  background-repeat: no-repeat;
  background-size: 48px 48px;
  z-index: 100;
}

.desktop-icons .desktop-icon.six {
  background-image: url("img/error.png");
  background-repeat: no-repeat;
  background-size: 48px 48px;
  z-index: 100;
}

h4 {
  text-transform: uppercase;
  font-size: 2px;
  font-family: "VCR OSD Mono", sans-serif;
}

.wow {
  text-transform: uppercase;
  font-size: 10px;
  font-family: "VCR OSD Mono", sans-serif;
}

.draggable {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.enter-screen {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
}

@media only screen and (max-width: 768px) {
  #enter {
    background-image: url("img/a.jpg");
    z-index: 1;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh!important;
    width: 100vw;
    z-index: 2;
    position: relative;
  }

  #desktop {
    background-image: url("img/a.jpg");
    z-index: 1;
  }

  h4 {
    position: absolute;
    text-transform: uppercase !important;
    font-size: 1em !important;
    font-family: "VCR OSD Mono", sans-serif !important;
    padding: 60px;
    width: 70%;
    text-align: center;
    top: 0;
    left: 0;
    padding-top: 20px;
    margin-left: 150px;
    z-index: 0;
  }

  .enter-screen {
    width: 300px;
  }

  body {
    margin: 0;
    overflow-x: hidden;
  }
}

@media only screen and (min-width: 600px) and (max-width: 768px) {
  .wow {
    margin-top: 0px !important;
  }
}

.volume {
  position: fixed;
  bottom: 34.5px;
  right: 0;
  z-index: -5;
}

.status-bar {
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-bar-field {
  text-align: center;
  width: 25px;
  height: 25px;
  line-height: 22px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.status-bar-field svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .wow {
    margin-top: 25px;
    font-size: 10px !important;
  }
}

#PopUpFive {
  max-height: 90vh;
}

@media (max-width: 768px) {
  #PopUpFive {
    width: 95% !important;
    max-width: 400px !important;
    max-height: 85vh;
  }

  #PopUpFive .trash-container {
    max-height: 50vh !important;
  }
}

#terminalWindow .title-bar-text {
  font-size: 11px;
}

#toolbar .toolbar-right {
  width: auto !important;
  min-width: 106px;
  max-width: 150px;
  flex-shrink: 0;
}

#toolbar .toolbar-right img[src*="sound.png"] {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#toolbar .toolbar-left {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

#toolbar .toolbar-separator {
  flex-shrink: 0;
}

#toolbar .toolbar-right img[src*="sound.png"] {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#terminalWindow {
  position: fixed !important;
  z-index: 0;
  margin: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  min-width: 300px;
  min-height: 200px;
  width: 90% !important;
  max-width: 600px !important;
  max-height: 90vh;
  border: 2px outset #c0c0c0;
  background: #c0c0c0;
}

.terminal-fullscreen-btn {
  background: #c0c0c0;
  border: 1px solid #7c7c7c;
  border-top-color: #fff;
  border-left-color: #fff;
  width: 20px;
  height: 16px;
  margin: 2px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
}

.terminal-fullscreen-btn:active {
  border: 1px inset #c0c0c0;
  background: #b8b4ac;
}

.terminal-title-controls {
  display: flex;
  align-items: center;
}

#terminalWindow .window-body {
  overflow: hidden;
  height: 400px;
  padding: 0;
}

#terminalOutput {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: black;
  color: #fff;
  font-family: 'Courier New', monospace;
  padding: 10px;
  font-size: 12px;
  line-height: 1.4;
  outline: none;
  border: none;
  box-sizing: border-box;
  margin: 0;
  display: block;
}

/* Ensure terminal output stays within bounds in fullscreen */
#terminalWindow.fullscreen #terminalOutput {
  max-height: calc(100vh - 35px - 30px);
  overflow-y: auto;
}

#terminalWindow.fullscreen {
  border: none;
  pointer-events: auto;
}

/* Force terminal fullscreen dimensions */
#terminalWindow.fullscreen {
  width: 100vw !important;
  height: calc(100vh - 35px) !important;
  max-width: none !important;
  max-height: none !important;
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
  position: fixed !important;
}

#terminalWindow.fullscreen .window-body {
  height: 100%;
}

.terminal:hover {
  background: #d4d0c8;
}

.terminal:active {
  border: 2px inset #c0c0c0;
  background: #b8b4ac;
}

#terminalOutput::-webkit-scrollbar {
  width: 12px;
}

#terminalOutput::-webkit-scrollbar-track {
  background: #000;
}

#terminalOutput::-webkit-scrollbar-thumb {
  background: #333;
  border: 1px solid #666;
}

#terminalOutput::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Removed - using inline input now */

@media (max-width: 607px) {
  #toolbar .toolbar-left {
    display: none !important;
  }

  #toolbar .toolbar-separator {
    display: none !important;
  }

  #toolbar .toolbar-right {
    float: right !important;
    margin: 2px 3px !important;
    width: auto !important;
    min-width: 106px;
    max-width: 150px;
  }
}

@media (min-width: 608px) {
  #toolbar .toolbar-left {
    display: block !important;
  }

  #toolbar .toolbar-separator {
    display: block !important;
  }

  #toolbar .toolbar-right {
    float: right !important;
    margin: 2px 3px !important;
  }
}

.context-menu {
  position: fixed;
  background: #c0c0c0;
  border: 2px outset #c0c0c0;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  min-width: 180px;
  font-family: "MS Sans Serif", sans-serif;
  font-size: 11px;
  padding: 2px;
}

.context-menu-item {
  display: flex;
  align-items: center;
  padding: 4px 8px;
  cursor: default;
  color: #000;
  white-space: nowrap;
  border: 1px solid transparent;
}

.context-menu-item:hover {
  background: #000080;
  color: #fff;
  border: 1px solid #000080;
}

.context-menu-item:active {
  background: #000080;
  color: #fff;
  border: 1px inset #c0c0c0;
}

.context-menu-separator {
  height: 1px;
  background: #808080;
  margin: 2px 4px;
  border-top: 1px solid #fff;
}

.custom-alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#customAlertMessage {
  text-align: center !important;
}

#customAlert {
  max-width: 90% !important;
}

.trash-item img,
#customAlertImage img {
  pointer-events: none;
}

.window-body h4 {
  color: #000 !important;
  font-size: 18px !important;
  margin: 12px 0 6px 0 !important;
  padding: 0 !important;
  position: static !important;
  text-align: left !important;
  width: auto !important;
  margin-left: 0 !important;
  text-transform: none !important;
}

@media (max-width: 600px) {
  #termsWindow .window-body h4 {
    font-size: 14px !important;
    margin: 12px 0 6px 0 !important;
    padding: 0 !important;
    position: static !important;
    text-align: left !important;
    width: auto !important;
    margin-left: 0 !important;
    text-transform: none !important;
    font-family: inherit !important;
  }
}

select option:disabled {
  color: #999 !important;
  background-color: #f5f5f5 !important;
  opacity: 0.6 !important;
  font-style: italic !important;
}