:root {
  --navbar-width: 2vw;
  --panel-width: 15vw;
}

@media screen and (max-width: 1600px) {
  :root {
    --navbar-width: 5vw;
    --panel-width: 25vw;
  }
}

@media screen and (min-width: 1600px) and (max-width: 2000px) {
  :root {
    --navbar-width: 3.5vw;
    --panel-width: 20vw;
  }
}

body {
  background: white;
}

a:hover, a:focus, a:active {
  text-decoration: none;
  color: inherit;
}

#iframeRedirect {
  display: none;
}

#errorPanel {
  position: absolute;
  top: 20px;
  right: 20px;
}

.panel {
  position: relative;
  z-index: 1001;
}

.error {
  display: none;
  background: rgb(223, 46, 40);
  color: white;
  font-size: 11px;
  width: 400px;
  padding: 10px;
  border: solid 1px white;
  border-radius: 10px;
  margin-bottom: 10px;
}

.success {
  display: none;
  background: rgb(0, 92, 28);
  color: white;
  font-size: 11px;
  width: 400px;
  padding: 10px;
  border: solid 1px white;
  border-radius: 10px;
  margin-bottom: 10px;
}

#navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--navbar-width);
  height: 100%;
  background: black;
  z-index: 99;
  border-right: solid 1px white;
}

#navbar .active {
  background: silver;
}

.navbar-button {
  width: 100%;
  height: 70px;
  text-align: center;
  font-size: 10px;
  color: white;
}

.navbar-button:hover {
  cursor: pointer;
}

.navbar-button img {
  width: 30px;
  text-align: center;
  color: white;
  margin-top: 10px;
}

.navbar-button small {
  font-weight: bold;
}

#navbar-footer {
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
}

#navbar-footer img {
  width: 90%;
}

.clear-button-container {
  width: 100%;
  text-align: center;
  margin-top: 15px;
}

.clear-button-container button {
  font-size: 11px;
}

.global-settings {
  width: 100%;
  text-align: center;
  margin-top: 30px;
  margin-left: 10px;
  color: white;
  font-size: 12px;
}

#aviation-panel {
  position: absolute;
  top: 0;
  left: var(--navbar-width);
  height: 100%;
  width: var(--panel-width);
}

#weather-panel {
  position: absolute;
  top: 0;
  left: var(--navbar-width);
  height: 100%;
  display: none;
  width: var(--panel-width);
}

#traj-history-panel {
  position: absolute;
  top: 0;
  left: var(--navbar-width);
  height: 100%;
  display: none;
  width: var(--panel-width);
}

#standalone {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--panel-width);
  height: 100%;
  z-index: 0;
  color: white;
  background-color: black;
  border-right: solid 1px white;
  overflow: auto;
}

#standalone-panel {
  position: absolute;
  top: 0;
  left: var(--navbar-width);
  height: 100%;
  display: none;
  width: var(--panel-width);
}

#standalone-panel-form {
  width: 100%;
  padding: 30px;
  border-bottom: solid 1px white;
  color: white;
}

#standalone-form button {
  font-size: 11px;
}

#standalone-form label {
  font-size: 11px;
}

#standaloneButtons {
  padding: 0;
  width: 160%;
  margin-bottom: 2%;
  margin-top: 2%;
  margin-left: 2%;
  margin-right: 0;
}

#standaloneButtons button {
  width: 100%;
}

#standalone-form textarea {
  background: rgba(240, 240, 240, 0.7);
}

#standalone-result {
  width: 100%;
}

#standalone-timestamp {
  color: white;
  font-size: 10px;
  margin-left: 20px;
}

#asd {
  position: absolute;
  top: 0;
  right: 0;
  width: calc(100vw - var(--navbar-width) - var(--panel-width));
  height: 100%;
  z-index: 0;
}

#aviation {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--panel-width);
  height: 100%;
  z-index: 0;
  background-color: black;
  border-right: solid 1px white;
  overflow: auto;
}

.card {
  border-radius: 0;
  background: black;
  font-size: 11px;
  border-bottom: solid 1px white;
}

.card button {
  font-size: 11px;
}

.card-header {
  background: black;
  color: white;
}

.card-header span {
  font-size: 13px;
  width: 300px;
  display: inline-block;
}

.card-content {
  background: hsla(0, 0%, 100%, .15);;
  color: white;
  margin: auto;
  width: 100%;
  text-align: center;
}

.feature {
  padding: 20px;
}

.feature input {
  width: 80px;
  height: 30px;
  font-size: 11px;
  background: rgba(240, 240, 240, 0.7);
}

.feature label {
  line-height: 25px;
}

#userArea {
  position: absolute;
  top: 100px;
  left: 0;
}

#rdt {
  position: absolute;
  top: 100px;
  left: 0;
}

#cat {
  position: absolute;
  top: 100px;
  left: 0;
}

#airspace {
  position: absolute;
  top: 170px;
  left: 0;
}

#waypoint {
  position: absolute;
  top: 240px;
  left: 0;
}

#airway {
  position: absolute;
  top: 310px;
  left: 0;
}

#airport {
  position: absolute;
  top: 380px;
  left: 0;
}

#trajectory {
  position: absolute;
  top: 450px;
  height: 100px;
  left: 0;
}

#trajectory input {
  width: 150px;
}

#tracks {
  position: absolute;
  top: 570px;
  height: 100px;
  left: 0;
}

#flightGufi {
  width: 90%;
  font-size: 8px;
}

#scheduleFlightGufi {
  width: 90%;
  font-size: 8px;
}

#scheduleFlightUserArea {
  width: 90%;
  font-size: 8px;
}

#measure_ctot {
  width: 50%;
  font-size: 12px;
}

.jsonDisplay {
  max-height: 220px;
  width: 95%;
  margin: auto;
  text-align: left;
  font-size: 10px;
  overflow: auto;
}

.jsonDisplay pre {
  background: silver;
}

.btn-flight {
  font-size: 9px !important;
}

#trackCallsign {
  width: 100%;
}

#trackDisplay {
  width: 95%;
  margin: auto;
  text-align: left;
  font-size: 10px;
}

#trackDisplay pre {
  background: silver;
  max-height: 220px;
  overflow: auto;
}

#correlation-asd {
  position: absolute;
  top: 0;
  left: 20%;
  width: 80%;
  height: 100%;
  z-index: 0;
}

#ata-display {
  color: rgba(240, 240, 240, 0.7);
  font-size: 12px;
}

#traj-history {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--panel-width);
  height: 100%;
  z-index: 0;
  background-color: black;
  border-right: solid 1px white;
  overflow: auto;
}

#traj-history-form {
  width: 100%;
  padding: 30px;
  border-bottom: solid 1px white;
  color: white;
}

#traj-history-form #inputGufi {
  font-size: 8px;
}

#ctraj-history-form button {
  font-size: 11px;
}

#traj-history-form label {
  font-size: 11px;
}

#traj-history-form input {
  width: 100%;
}

#traj-history-result {
  width: 100%;
}

#traj-history-timestamp {
  color: white;
  font-size: 10px;
  margin-left: 20px;
}

#correlation-result .result {
  width: 100%;
  padding: 5%;
}

#correlation-result .result h3 {
  font-size: 12px;
  color: white;
}

#correlation-result .result pre {
  width: 100%;
  height: 350px;
  background: silver;
  font-size: 10px;
}

#weather {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--panel-width);
  height: 100%;
  z-index: 0;
  background-color: black;
  border-right: solid 1px white;
  overflow: auto;
}

#winds {
  position: absolute;
  top: 170px;
  left: 0;
}

#gribPickerWinds {
  position: absolute;
  top: 240px;
  left: 0;
}

.feature #pickGribWindInfo {
  margin: auto;
  margin-top: 15px;
}

.modal {
  color: black;
}

#tfv_gufi {
  font-size: 8px;
  width: 200px;
  height: 30px;
}

#charts-container {
  position: fixed;
  bottom: 0;
  right: 0;
  height: 30vh;
  width: calc(100vw - var(--navbar-width) - var(--panel-width));
}

#timeslider-container {
  position: fixed;
  padding-left: 10px;
  padding-right: 10px;
  bottom: 0;
  right: 0;
  height: 10vh;
  width: calc(100vw - var(--navbar-width) - var(--panel-width));
  z-index: 1000;
}

.leaflet-tooltip-left:before {
  right: 0;
  margin-right: -12px;
  border-left-color: rgba(0, 0, 0, 0);
}

.leaflet-tooltip-right:before {
  left: 0;
  margin-left: -12px;
  border-right-color: rgba(0, 0, 0, 0);
}

.leaflet-tooltip {
  box-shadow: 0 0px 0px rgba(0, 0, 0, 0.0);
}

.track-tooltip {
  color: white;
  font-size: 10px;
  border: 0px solid #000;
  background: transparent;
}

.track-tooltip-green {
  color: #00A936;
}

.sigmet-tooltip {
  font-size: 11px;
  border: 0 solid #000;
  width: 400px;
  word-wrap: break-word;
  white-space: pre-wrap;
  word-break: break-word;
}

.sigmet-polygon-text {
  color: #fff;
  text-shadow: 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000, -1px 0 0 #000;
}

#status-container {
  position: absolute;
  top: 15px;
  left: 85%;
  z-index: 1000;
}
