body {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 16px;
  background-color: black;
  color: #eee;
  overflow: hidden;
}

#vis-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.overlay-container:not(#progress-indicator) {
  /* we hide the overlay containers because we don't have good control of the CSS
   * loading order. as it is currently, it's possible for a plugin to initialize
   * the overlays before the CSS has been loaded, resulting in bad styling until
   * the CSS loads. as a quick fix, we hide the overlays in orbit_vis.css, which
   * will definitely load before the plugin-specific CSS, and then we show the
   * overlays in the plugin-specific CSS files.
   *
   * we use visibility:hidden instead of display:none cuz it interferes less with
   * existing behavior around the display property.
   */
  visibility: hidden;
}

#overlay-top-center {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translate(-50%, 0%);
}

#overlay-top-left {
  position: fixed;
  top: 10px;
  left: 10px;
  max-width: 270px;
}

#overlay-top-right {
  position: fixed;
  top: 10px;
  right: 10px;
}

#overlay-middle-center {
  width: 260px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-130px, -50%);
}

#overlay-bottom-left {
  position: fixed;
  bottom: 10px;
  left: 10px;
}

#overlay-bottom-right {
  position: fixed;
  bottom: 10px;
  right: 10px;
}

#overlay-bottom-center {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translate(-50%, 0%);
  text-align: center;
}

#progress-indicator {
  display: none;
  position: fixed;
  top: 40%;
  left: 50%;
  width: 50%;
  transform: translate(-50%, -50%);
}
.lock-overlay {
  z-index: 100;
  width:100%;
  height:100%;
  position: absolute;
  top:0px;
  left:0px;
}

#progress-indicator .progress-bar-container {
  background-color: white;
  border-radius: 13px;
  padding: 3px;
}

#progress-indicator .progress-bar {
  background-color: #33b5e5;
  height: 20px;
  border-radius: 10px;
  width: 0;
}

#progress-indicator .progress-bar.indeterminate {
  animation-name: indeterminate-progress-bar;
  animation-duration: 3.5s;
  animation-iteration-count: infinite;
  animation-timing-function: ease;
  position: relative;
  width: 20%;
}

@keyframes indeterminate-progress-bar {
  0% {
    left: 0;
  }

  50% {
    left: 80%;
  }

  100% {
    left: 0;
  }
}

#progress-indicator .text {
  padding-top: 5px;
  text-align: center;
  opacity: 0.7;
}

.leolabs-logo img {
  width: 200px;
}

.termsForSharing {
  font-size: 10pt;
}

.termsForSharingLink {
  text-decoration: none;
  color: #99ccff;
}

.termsForSharingLink:hover {
  text-decoration: underline;
}

.data-view-time-bar {
  position: absolute;
  width:2px;
  background-color:#dddddd;
  opacity:0.65;
  z-index:99;
}

.unselectable {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.box,
.button {
  color: #eee;
  background-color: rgb(26, 26, 26);
  border: 1px solid rgb(44, 44, 44);
  overflow-wrap: break-word;
}

.button {
  font-size: 12px;
  cursor: pointer;
  outline: none;
}

.button:hover {
  background-color: #111;
}

.box2 {
  background:rgba(40, 40, 40, 0.75);
  padding: 10px;
  border-radius: 5px;
  border-color: #444444;
  border-style: solid;
  border-width: 2px;
  font-size: 11pt;
}

.button2 {
  font-size: 12px;
  padding: 5px;
  text-align: center;
  border-radius: 5px;
  border-width: 2px;
  background-color: #222222;
  cursor: pointer;
}

.button2:hover {
  background-color: #444444;
}

.inverted-button {
  font-size: 12px;
  cursor: pointer;
  outline: none;
  color: rgb(26, 26, 26);
  background-color: #eee;
  border: 1px solid rgb(44, 44, 44);
}

* {
  /* for firefox */
  scrollbar-color: #676767 #1a1a1a;
  scrollbar-width: thin;
}

*::-webkit-scrollbar {
  width: 5px;
  height: 5px;
  background: #1a1a1a;
}

*::-webkit-scrollbar-corner {
  height: 0;
  display: none;
}

*::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: #676767;
}

.dg.main input[type="text"]::placeholder {
  color: white;
  opacity: 0.5;
}

/* Cannot be overridden via Material-UI themes */
.MuiAutocomplete-option[data-focus="true"][role="option"] {
  background-color:#333333;
}

/* for some reason the input element for an auto complete component gets weird padding applied that
   cannot be overridden with  Material-UI themes */
input[class*="MuiAutocomplete-input"][class*="MuiInput-input"][class*="MuiInputBase-input"][type="text"] {
  padding-left: 6px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.highcharts-contextbutton,
.highcharts-reset-zoom {
  cursor: pointer;
}

.full-window.page.dimmer {
  box-sizing: border-box;
}

.full-window.page.dimmer .container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.full-window.page.dimmer .container .icon-cancel {
  position: absolute;
  font-size: 24px;
  top: 15px;
  right: 10px;
  color: #ffffff;
  cursor: pointer;
}

.full-window.page.dimmer .container > :not(.icon-cancel) {
  position: absolute;
  top: 50px;
  left: 50px;
  right: 50px;
  bottom: 50px;
  height: auto;
}

.icon-flipped-horizontal {
  transform: scaleX(-1);
  -moz-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  -ms-transform: scaleX(-1);
}

@media (max-width: 767px) {
  #overlay-top-center {
    top: 5px;
  }

  #overlay-top-left {
    top: 5px;
    left: 5px;
  }

  #overlay-top-right {
    top: 5px;
    right: 5px;
  }

  #overlay-bottom-left {
    bottom: 5px;
    left: 5px;
  }

  #overlay-bottom-right {
    bottom: 5px;
    right: 5px;
  }

  .leolabs-logo img {
    width: 100px;
  }

  #progress-indicator {
    font-size: 10px;
  }

  #credits {
    font-size: 5px;
    right: 5px;
  }
}
