@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300;
  src: local('Open Sans Light'), local('OpenSans-Light'), url('fonts/OpenSans-Light.ttf') format('truetype');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans Regular'), local('OpenSans-Regular'), url('fonts/OpenSans-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'), url('fonts/OpenSans-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: local('Open Sans Bold'), local('OpenSans-Bold'), url('fonts/OpenSans-Bold.ttf') format('truetype');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.bold {
  font-weight: bold;
  font-family: "Open Sans";
  color: #d0d0d0;
}

html {
  height: 100%;
  overflow-y: visible;
}

body {
  width: 100%;
  height: 100%;
  background-color: #2e242e;
  overflow: hidden;
  font-family: "Open Sans";
}

a {
  color: white;
}

h1, h2, h3 {
  color: white;
}

h1 {
  margin-top: 30px;
  margin-bottom: 20px;
}

p {
  font-size: 12px;
  margin-bottom: 20px;
}

canvas {
  background: black;
}

input[type="checkbox"] {
  opacity: 0.8;
}

input[type="email"], select, textarea {
  width: 100%;
  padding-left: 8px;
  padding-right: 8px;
  background-color: black;
  color: #ccc;
  line-height: 30px;
  font-size: 14px;
  border-radius: 5px;
}

select {
  height: 30px;
}

table {
  border-collapse: collapse;
}

th {
  border-bottom: 2px solid #666;
  font-weight: bold;
  text-transform: uppercase;
  color: white;
}

ol, ul {
  list-style-position: inside;
}

ol ul {
  margin-left: 20px;
}

li {
  margin-top: 10px;
  margin-bottom: 10px;
}

.center-text {
  text-align: center;
}

.header {
  width: 100%;
  height: 48px;
  background-color: #d0d0d0;
  clear: both;
  border-bottom: 1px solid #888;
}

.title {
  float: left;
  color: #666666;
  font-size: 24px;
  padding-top: 6px;
  padding-left: 23px;
  line-height: 42px;
  letter-spacing: 2px;
  font-weight: 600;
}

.menu {
  padding-right: 23px;
}

.menu a, .menu div {
  float: right;
  font-size: 12px;
  color: #595959;
  padding-top: 24px;
  padding-left: 20px;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.centered {
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

#main-window {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

#window-container {
  position: absolute;
  top: 0;
  left: 0;
}

#unsupported-browser-container {
  display: none;
  width: 800px;
  margin: auto;
  font: 18px "Open Sans";
  text-align: left;
  color: #cccccc;
}

#unsupported-browser-container div {
  margin: 20px 0;
}

#splash-screen {
  display: none;
  width: 100%;
  text-align: center;
}

#splash-description {
  width: 800px;
  margin: auto;
  text-align: left;
}

#screenshot-container {
  position: relative;
  display: inline-block;
  padding-top: 40px;
}

#screenshot {
  display: block;
  width: 800px;
  filter: brightness(0.7);
}

#progress-container {
  position: absolute;
  top: 40px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 280px;
  height: 140px;
  background-color: #e6e6e6;
  opacity: 0.9;
  border-radius: 5px;
}

#progress-text {
  font: 18px "Open Sans";
}

#progress-bar {
  width: 200px;
  height: 10px;
  margin: 10px auto;
  border: 1px solid #cccccc;
  border-radius: 5px;
  overflow: hidden;
}

#progress-bar-position {
  height: 100%;
  background-color: #7497ff;
  width: 0;
}

#dialog-overlay {
  visibility: hidden;
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  text-align: center;
  z-index: 999;
}

#dialog-overlay-contents {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 350px;
  border: 0;
  border-radius: 5px;
  margin-top: -75px;
  margin-left: -175px;
  background-color: #2e242e;
  z-index: 999;
  overflow: hidden;
}

#dialog-overlay-body {
  padding: 25px;
}

#dialog-overlay-title-bar {
  width: 100%;
  height: 22px;
  background-color: #c0c0c0;
  color: #282828;
}

#dialog-overlay-title-text {
  font-size: 12px;
  line-height: 22px;
}

#dialog-overlay-close-button {
  float: right;
  width: 22px;
  margin-top: -22px;
  display: inline-block;
  font-weight: bold;
  font: 30px "Times New Roman";
  line-height: 22px;
}

#dialog-overlay-close-button:before {
  content: "\00d7";
}

#dialog-overlay-body-text {
  width: 200px;
  margin: 0 auto 25px auto;
  color: #ccc;
  font-size: 11px;
  line-height: 20px;
  text-align: left;
  font-weight: 300;
}

#dialog-overlay-buttons {
  width: 200px;
  margin: 0 auto;
}

.dialog-overlay-button {
  display: inline-block;
  height: 40px;
  margin: 0;
  border: 1px solid black;
  border-radius: 5px;
  background-color: #323232;
  color: #ccc;
  line-height: 40px;
  font-size: 11px;
  font-weight: 600;
  width: 100%;
}

#shortcuts-overlay {
  display: none;
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 998;
}

#shortcuts-overlay-contents {
  position: absolute;
  right: 0px;
  top: 48px;
  border: 1px solid black;
  padding: 10px;
  background-color: #323232;
  color: #ccc;
  font-size: 11px;
}

#shortcuts-overlay tr {
}

#shortcuts-overlay td {
  width: 150px;
  font-size: 11px;
  padding: 2px;
}

.shortcuts-section {
  margin-top: 10px;
}

.shortcuts-section-title {
  padding: 2px;
  text-transform: uppercase;
  font-weight: bold;
  color: #fff;
}

.window {
  position: absolute;
  pointer-events: none;
  z-index: 10;
  background-color: black;
  overflow: hidden;
  display: none;
  contain: content;
}

.toplevel {
  border-radius: 5px;
  z-index: 100;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.popup {
  z-index: 200;
}

.window-canvas {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.layer-canvas {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

#startup-overlay {
  visibility: hidden;
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  text-align: center;
  z-index: 999;
}

#startup-overlay-contents {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 660px;
  border: 0;
  border-radius: 5px;
  margin-top: -210px;
  margin-left: -280px;
  background-color: #2e242e;
  z-index: 999;
  overflow: hidden;
}

#startup-overlay-body {
  padding: 26px 80px;
}

#startup-overlay-title-bar {
  width: 100%;
  height: 22px;
  background-color: #c0c0c0;
  color: #282828;
}

#startup-overlay-body h1 {
  margin-top: 20px;
  margin-bottom: 20px;
}

#startup-overlay-close-button {
  float: right;
  width: 22px;
  margin-top: -22px;
  display: inline-block;
  font-weight: bold;
  font: 30px "Times New Roman";
  line-height: 22px;
}

#startup-overlay-close-button:before {
  content: "\00d7";
}

#startup-overlay-body-text {
  margin: 10px auto 10px auto;
  color: #ccc;
  font-size: 14px;
  line-height: 22px;
  text-align: left;
  font-weight: 300;
}

#startup-overlay-image {
  margin: 20px 0;
  cursor: pointer;
}

#startup-overlay-buttons {
  margin: 20px auto;
}

.startup-overlay-button {
  display: inline-block;
  height: 40px;
  margin: 0 10px;
  border: 1px solid black;
  border-radius: 5px;
  background-color: #323232;
  color: #ccc;
  line-height: 40px;
  font-size: 11px;
  font-weight: 600;
  width: 160px;
  cursor: pointer;
}

.yt-player {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 20;
}
