/* Base styles */
@font-face {
  font-family: 'Big Shoulders';
  font-style: normal;
  font-display: swap;
  src: url(fonts/BigShoulders/BigShouldersText-VariableFont_wght.ttf) format('truetype');
}

/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on September 20, 2020 */
@font-face {
  font-family: 'EmptyEpsilon Icons';
  font-style: normal;
  font-weight: normal;
  src: url('fonts/icons-font/icons-font.woff2') format('woff2'),
       url('fonts/icons-font/icons-font.woff') format('woff');
}

body,
html {
  height: 100%;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
  padding: 0;
  width: 100%;
}

body {
  background-color: #000;
  font-family: 'Big Shoulders', 'Bebas Neue Regular', 'Impact', 'Arial Narrow', sans-serif;
  font-weight: 400;
  user-select: none;
}

canvas {
  cursor: move;
  display: block;
  left: 0;
  margin: 0;
  position: absolute;
  top: 0;
}

/* Common styles */

.ee-button {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 34px;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: 'Big Shoulders', 'Bebas Neue Bold', 'Impact', 'Arial Narrow', sans-serif;
  font-size: 24px;
  font-weight: 700;
  height: 44px;
  padding: 0 20px;
  position: relative;
  transition: all 0.2s;
  user-select: none;
  z-index: 1;
}

.ee-button-active {
  background: #000;
  color: #000;
}

.ee-button-active::after {
  background: #fff;
  border-color: #fff;
  border-radius: 20px;
  bottom: 2px;
  color: #000;
  content: "";
  display: block;
  height: auto;
  left: 2px;
  padding-top: 2px;
  position: absolute;
  right: 2px;
  text-align: center;
  top: 2px;
  width: auto;
  z-index: -1;
}

.ee-button:focus {
  outline: none;
}

.ee-box {
  background-color: #808098;
  border: 2px solid #fff;
  border-radius: 34px;
  box-sizing: border-box;
  color: #fff;
  cursor: default;
}

.ee-box-highlight {
  background-color: #fff;
  color: #000;
  border-color: #fff;
  border-radius: 34px;
 }

/* Faction colors */

/* neutral:setGMColor(128, 128, 128) */
.ee-faction-Independent {
  color: rgb(128, 128, 128);
}

/* human:setGMColor(255, 255, 255) */
.ee-faction-Human_Navy {
  color: rgb(255, 255, 255);
}

/* kraylor:setGMColor(255, 0, 0) */
.ee-faction-Kraylor {
  color: rgb(255, 0, 0);
}

/* arlenians:setGMColor(255, 128, 0) */
.ee-faction-Arlenians {
  color: rgb(255, 128, 0);
}

/* exuari:setGMColor(255, 0, 128) */
.ee-faction-Exuari {
  color: rgb(255, 0, 128);
}

/* GITM:setGMColor(0, 255, 0) */
.ee-faction-Ghosts {
  color: rgb(0, 255, 0);
}

/* Hive:setGMColor(128, 255, 0) */
.ee-faction-Ktlitans {
  color: rgb(128, 255, 0);
}

/* TSN:setGMColor(255, 255, 128) */
.ee-faction-TSN {
  color: rgb(255, 255, 128);
}

/* USN:setGMColor(255, 128, 255) */
.ee-faction-USN {
  color: rgb(255, 128, 255);
}

/* CUF:setGMColor(128, 255, 255) */
.ee-faction-CUF {
  color: rgb(128, 255, 255);
}

/* Input/slider styles */

input[type=range] {
  -moz-appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  box-sizing: border-box;
  display: inline-block;
  height: 40px;
  margin: 0;
  padding: 0;
  position: relative;
  top: 11px;
  width: 400px;
}

input[type=range]:focus {
  border-color: #fff;
  outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid #fff;
  border-radius: 34px;
  cursor: pointer;
  height: 40px;
  width: 100%;
}

input[type=range]::-webkit-slider-thumb {
  -moz-appearance: none;
  -webkit-appearance: none;
  background: #fff;
  border: 3px solid #000;
  border-radius: 34px;
  cursor: pointer;
  height: 34px;
  margin-top: 1px;
  width: 34px;
}

input[type=range]:focus::-webkit-slider-runnable-track {
  background: rgba(28, 28, 28, 0.8);
}

input[type=range]::-moz-range-track {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 34px;
  cursor: pointer;
  height: 40px;
  width: 100%;
}

input[type=range]::-moz-range-thumb {
  background: #fff;
  border: 3px solid #000;
  border-radius: 34px;
  cursor: pointer;
  height: 34px;
  width: 34px;
}

input[type=range]::-ms-track {
  background: transparent;
  border-color: transparent;
  color: transparent;
  cursor: pointer;
  height: 30px;
  width: 100%;
}

input[type=range]::-ms-fill-lower {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 34px;
}

input[type=range]::-ms-fill-upper {
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 34px;
}

input[type=range]::-ms-thumb {
  background: #fff;
  border: 3px solid #000;
  border-radius: 34px;
  cursor: pointer;
  height: 34px;
  width: 34px;
}

input[type=range]:focus::-ms-fill-lower {
  background: rgba(0, 0, 0, 0.8);
}

input[type=range]:focus::-ms-fill-upper {
  background: rgba(28, 28, 28, 0.8);
}

/* ID-specific styles */

#controls {
  bottom: 30px;
  display: inline-block;
  height: 40px;
  margin: 0;
  position: absolute;
  right: 20px;
  text-align: center;
}

#dropzone {
  bottom: 0;
  font-size: 40px;
  height: 160px;
  left: 0;
  line-height: 4;
  margin: auto;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  user-select: none;
  vertical-align: middle;
  width: 400px;
}

#infobox {
  box-sizing: border-box;
  color: #fff;
  display: none;
  font-size: 14px;
  overflow-y: scroll;
  padding: 0 0 0 20px;
  top: 60px;
  position: relative;
  width: 330px;
  max-height: calc(100% - 80px);
}

@media screen and (max-width: 1050px) {
  #infobox {
    max-height: calc(100% - 140px);
  }
}

#infobox-scroll-container {
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
  overflow-y: auto;
  scrollbar-color: rgba(255, 255, 255, 0.5) rgba(255, 255, 255, 0.25);
  scrollbar-width: auto;
}

#infobox-scroll-container::-webkit-scrollbar {
  background-color: transparent;
  width: 8px;
}

#infobox-scroll-container::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 34px;
}

#infobox-content {
  border-spacing: 0 6px;
  width: 100%;
}

#infobox-content td {
  background-color: rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
  padding: 5px 0;
}

#droptarget {
  margin: 0;
}

#canvas-hit {
  image-rendering: pixelated;
  -ms-interpolation-mode: nearest-neighbor;
}

#zoom_selector {
  position: absolute;
  right: -35px;
  top: 116px;
  transform: rotate(270deg);
  width: 150px;
}

#zoom_in,
#zoom_out,
#lock_view {
  height: 38px;
  padding: 0;
  position: absolute;
  right: 20px;
  width: 40px;
}

#zoom_in {
  top: 20px;
}

#zoom_out {
  top: 215px;
}

#lock_view {
  font-family: 'EmptyEpsilon Icons';
  line-height: 0.8;
  top: 255px;
}

#autoplay_speed {
  width: 75px;
}

.ee-infobox-header {
  text-align: center;
  text-transform: uppercase;
  padding: 5px 0 4px;
}

.ee-infobox-title {
  background-color: #6060C0;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase
  padding: 5px 0 4px;
}

.ee-infobox-header-h1 {
  background-color: #6060C0;
  font-family: 'Big Shoulders', 'Bebas Neue Bold', 'Impact', 'Arial Narrow', sans-serif;
  font-weight: 700;
  text-transform: uppercase
  padding: 5px 0;
}

.ee-infobox-header-h2 {
  background-color: #404070;
  font-family: 'Big Shoulders', 'Bebas Neue Regular', 'Impact', 'Arial Narrow', sans-serif;
  font-weight: 700;
  text-transform: uppercase
  padding: 5px 0;
}

.ee-infobox-header-h3 {
  font-family: 'Big Shoulders', 'Bebas Neue Book', 'Impact', 'Arial Narrow', sans-serif;
  font-weight: 700;
  text-transform: uppercase
  padding: 5px 0;
}

#infobox-content .ee-table-key {
  font-family: 'Big Shoulders', 'Bebas Neue Book', 'Impact', 'Arial Narrow', sans-serif;
  font-weight: 700;
  padding-right: 10px;
  text-align: right;
  width: 50%;
}
