html,
body {
  margin: 0px;
  font-family: "Rajdhani", sans-serif;
  height: 100%;
}

table {
  border: none;
}

@font-face {
  font-family: "Technology";
  src: url("Technology.ttf") format("opentype"),
    url("Technology.ttf") format("opentype"),
    url("Technology.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}

#all {
  display: flex;
  height: 100%;
}

#menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 330px;
  position: absolute;
  right: 0;
}

.menucontainer {
  padding: 10px;
}

#viewport {
  flex-grow: 1;
}

#navDiv {
  margin-top: 10px;
}

#navTable {
  font-family: "Technology";
  width: 100%;
  text-align: center;
}

#navTable tbody tr:hover {
  background-color: #555;
}

#navTable th {
  height: 30px;
  color: #ccc;
  font-weight: bold;
}

#navTable td {
  height: 30px;
  color: #ccc;
  font-size: 12px;
  cursor: pointer;
}

#navTable td:last-child {
  color: rgb(187, 47, 28);
  font-size: 15px;
}

#navTable a {
  color: #fff;
  text-decoration: underline dotted;
}

#navTable a:hover {
  text-decoration: underline;
}

#dme_dist:after {
  position: relative;
  content: "Nm";
}

.radioTable {
  font-family: "Technology";
  margin-top: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  padding-top: 10px;
  width: 100%;
  text-align: center;
  background-color: #545a6166;
}

.radioTable thead th {
  height: 20px;
  color: #ffffff;
  font-weight: bold;
}

.radioTable tbody th {
  font-size: 12px;
  color: #ccc;
  font-weight: normal;
}

.radioTable td {
  height: 30px;
  color: #ccc;
  font-size: 12px;
}

.controlsTable {
  font-family: "Technology";
  margin-top: 10px;
  padding-bottom: 10px;
  padding-top: 10px;
  width: 100%;
  text-align: center;
}

.controlsTable thead th {
  height: 30px;
  color: #ffffff;
  font-weight: bold;
}

.controlsTable tbody th {
  font-size: 12px;
  color: #ccc;
  font-weight: normal;
}

.controlsTable td {
  height: 30px;
  color: #ccc;
  font-size: 12px;
}

.frequency {
  background-color: #4f160b00;
  width: 100px;
  height: 80%;
  margin: auto;
  color: #c5876e;
  text-align: center;
  border: 0px solid rgb(0, 0, 0);
  border-radius: 2px;
  font-family: "Technology";
  font-size: 25px;
  vertical-align: middle;
}

.transfer {
  background-color: rgb(184, 184, 184);
  width: 80%;
  border: 3px solid rgb(151, 151, 151);
  border-radius: 2px;
  margin: auto;
  color: #000;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
}

.compass {
  width: 50px;
  height: 50px;
  background-color: #000;
  border-radius: 50%;
  margin: 0 auto;
  position: relative;

  border: 2px solid #ccc;
}
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  padding-bottom: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */

  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  max-height: 70%;
  overflow-y: scroll; /* Enable scroll if needed */
}

/* The Close Button */
.modal-close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.modal-close:hover,
.modal-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-text {
  width: 100%;
}

.checkbox-wrapper-55 input[type="checkbox"] {
  visibility: hidden;
  display: none;
}

.checkbox-wrapper-55 *,
.checkbox-wrapper-55 ::after,
.checkbox-wrapper-55 ::before {
  box-sizing: border-box;
}

.checkbox-wrapper-55 .rocker {
  display: inline-block;
  position: relative;
  font-family: "Technology";
  font-size: 2em;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  color: #888;
  width: 7em;
  height: 4em;
  overflow: hidden;
  border-bottom: 0.5em solid #eee;
}

.checkbox-wrapper-55 .rocker-small {
  font-size: 0.75em;
}

.checkbox-wrapper-55 .rocker::before {
  content: "";
  position: absolute;
  top: 0.5em;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #999;
  border: 0.5em solid #eee;
  border-bottom: 0;
}

.checkbox-wrapper-55 .switch-left,
.checkbox-wrapper-55 .switch-right {
  cursor: pointer;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5em;
  width: 3em;
  transition: 0.2s;
  user-select: none;
}

.checkbox-wrapper-55 .switch-left {
  height: 2.4em;
  width: 2.75em;
  left: 0.85em;
  bottom: 0.4em;
  background-color: #ddd;
  transform: rotate(15deg) skewX(15deg);
}

.checkbox-wrapper-55 .switch-right {
  right: 0.5em;
  bottom: 0;
  background-color: #bd5757;
  color: #fff;
}

.checkbox-wrapper-55 .switch-left::before,
.checkbox-wrapper-55 .switch-right::before {
  content: "";
  position: absolute;
  width: 0.4em;
  height: 2.45em;
  bottom: -0.45em;
  background-color: #ccc;
  transform: skewY(-65deg);
}

.checkbox-wrapper-55 .switch-left::before {
  left: -0.4em;
}

.checkbox-wrapper-55 .switch-right::before {
  right: -0.375em;
  background-color: transparent;
  transform: skewY(65deg);
}

.checkbox-wrapper-55 input:checked + .switch-left {
  background-color: #0084d0;
  color: #fff;
  bottom: 0px;
  left: 0.5em;
  height: 2.5em;
  width: 3em;
  transform: rotate(0deg) skewX(0deg);
}

.checkbox-wrapper-55 input:checked + .switch-left::before {
  background-color: transparent;
  width: 3.0833em;
}

.checkbox-wrapper-55 input:checked + .switch-left + .switch-right {
  background-color: #ddd;
  color: #888;
  bottom: 0.4em;
  right: 0.8em;
  height: 2.4em;
  width: 2.75em;
  transform: rotate(-15deg) skewX(-15deg);
}

.checkbox-wrapper-55 input:checked + .switch-left + .switch-right::before {
  background-color: #ccc;
}

/* Keyboard Users */
.checkbox-wrapper-55 input:focus + .switch-left {
  color: #333;
}

.checkbox-wrapper-55 input:checked:focus + .switch-left {
  color: #fff;
}

.checkbox-wrapper-55 input:focus + .switch-left + .switch-right {
  color: #fff;
}

.checkbox-wrapper-55 input:checked:focus + .switch-left + .switch-right {
  color: #333;
}

/* CSS */
.button-30 {
  align-items: center;
  appearance: none;
  background-color: #fcfcfd;
  border-radius: 4px;
  border-width: 0;
  box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #d6d6e7 0 -3px 0 inset;
  box-sizing: border-box;
  color: #36395a;
  cursor: pointer;
  display: inline-flex;
  font-family: "Technology", monospace;
  height: 48px;
  justify-content: center;
  line-height: 1;
  list-style: none;
  overflow: hidden;
  padding-left: 16px;
  padding-right: 16px;
  position: relative;
  text-align: left;
  text-decoration: none;
  transition: box-shadow 0.15s, transform 0.15s;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  white-space: nowrap;
  will-change: box-shadow, transform;
  font-size: 18px;
}

.button-30:focus {
  box-shadow: #d6d6e7 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #d6d6e7 0 -3px 0 inset;
}

.button-30:hover {
  box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px,
    rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #d6d6e7 0 -3px 0 inset;
  transform: translateY(-2px);
}

.button-30:active {
  box-shadow: #d6d6e7 0 3px 7px inset;
  transform: translateY(2px);
}

.mapboxgl-ctrl-logo {
  display: none !important;
}

#menu__toggle {
  opacity: 0;
  display: none;
}
#menu__toggle:checked + .menu__btn > span {
  transform: rotate(45deg);
}
#menu__toggle:checked + .menu__btn > span::before {
  top: 0;
  transform: rotate(0deg);
}
#menu__toggle:checked + .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box {
  left: 0 !important;
}
.menu__btn {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  z-index: 1;
}
.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition-duration: 0.25s;
}
.menu__btn > span::before {
  content: "";
  top: -8px;
}
.menu__btn > span::after {
  content: "";
  top: 8px;
}
.menu__box {
  display: block;
  position: fixed;
  top: 0;
  left: -100%;
  width: 350px;
  height: 100%;
  margin: 0;
  padding: 30px 0;
  list-style: none;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  transition-duration: 0.25s;
}

.menu__box_right {
  display: block;
  position: fixed;
  top: 0;
  right: -100%;
  width: 350px;
  height: 100%;
  margin: 0;
  padding: 30px 0;
  list-style: none;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  transition-duration: 0.25s;
}

.menu__btn_right {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 26px;
  height: 26px;
  cursor: pointer;
  z-index: 1;
}

.menu__btn_right > span,
.menu__btn_right > span::before,
.menu__btn_right > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition-duration: 0.25s;
}
.menu__btn_right > span::before {
  content: "";
  top: -8px;
}
.menu__btn_right > span::after {
  content: "";
  top: 8px;
}

#menu__toggle_right {
  opacity: 0;
  display: none;
}
#menu__toggle_right:checked + .menu__btn_right > span {
  transform: rotate(45deg);
}
#menu__toggle_right:checked + .menu__btn_right > span::before {
  top: 0;
  transform: rotate(0deg);
}
#menu__toggle_right:checked + .menu__btn_right > span::after {
  top: 0;
  transform: rotate(90deg);
}
#menu__toggle_right:checked ~ .menu__box_right {
  right: 0 !important;
}

@supports (
    -webkit-backdrop-filter: blur(30px) saturate(160%) contrast(45%) brightness(140%)
  )
  or (backdrop-filter: blur(30px) saturate(160%) contrast(45%) brightness(140%)) {
  .frost {
    box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    transition: all 0.5s ease-in-out;

    background-color: rgba(33, 39, 28, 0.2);
    background-color: #2740;
    backdrop-filter: blur(20px) saturate(160%) contrast(45%) brightness(140%);
    -webkit-backdrop-filter: blur(20px) saturate(160%) contrast(45%)
      brightness(140%);
  }
}
