
/* HTML tags*/
#analysis
{
  display: flex;
  flex-direction: column;
  position: relative;
}

.analysis-button
{
  color: #999;
  font-size: 0.9rem;
  position: absolute;
  top: 0;
  right: 0;
  border-bottom-left-radius: 0.5rem;
  border: 1px solid rgba(255,255,255,0.05);
  padding: 0.15rem 0.4rem;
  box-sizing: border-box;
  margin: -1px;
}

.analysis-button:hover
{
  background-color: rgba(255,255,255,0.1);
  color: #fff;
}
body
{
    font-family: 'Figtree', sans-serif;
    height:100%;
    background-color: #222;
    color: #eee;
    line-height: normal;
}
.os-host-flexbox
{
    flex-direction: column;
}
#disclaimer
{
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.map-button
{
  cursor: pointer;
  border-radius: 5rem;
  min-width: 40px;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Figtree', sans-serif;
  font-size: 0.8rem;
  margin-left: 6px;
  margin-top: 6px;
  margin-bottom: 6px;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
}

.loading
{
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Figtree', sans-serif;
  font-size: 0.8rem;
  width: 255px;
  margin-left: 6px;
  margin-top: 6px;
  margin-bottom: 6px;
}

.mono
{
  font-family: 'JetBrains Mono', sans-serif;
}
.nav-pills > .nav-link.active
{
  background-color: #3f3f3f;
  box-sizing: border-box;
  border: 1px solid #555;
}
.nav-pills > .nav-link
{
  padding: 0.2rem 1rem;
  border-radius: 0rem;
  border: 1px solid transparent;
}

#navbar-clock, #navbar-status
{
  background-color: rgba(255,255,255,0.1);
  font-family: 'JetBrains Mono', monospace;
  border-radius: 2rem;
  font-size: 0.9rem;
}
.map-button:last-of-type
{
  margin-right: 6px;
}
.map-button-active
{
  background-color: #3137fd;
  color: #fff;
}
.map-button:hover
{
  background-color: #141bff;
  color: #eee;
}
.map-button:active
{
  background-color: #0008ff;
  color: #fff;
}

#controls
{
  opacity: 0.4;
}

#controls:hover
{
  opacity: 1;
}
mark
{
  padding: 0;
}

a
{
  text-decoration: none;
}

.active-area, .active-area-landscape {
  position: absolute;
  top: 100px;
  left: 20px;
  right: 20px;
  bottom: 20px;
}
/* CSS classes */
@media(min-width: 576px)
{
  .active-area {
    position: absolute;
    top: 50px;
    left: 50px;
    right: 400px;
    bottom: 50px;
  }
  .active-area-landscape {
    position: absolute;
    top: 50px;
    left: 50px;
    right: 50px;
    bottom: 250px;
  }
}
.bg-black
{
  background-color: #000;
}
.bg-transparent-black
{
  background-color: rgba(25,25,25,0.9);
}
.datablock
{
    background-color: rgba(0,0,0,0);
    color: #00d300 !important;
    border: none !important;
    font-size: 0.75rem;
    line-height: 0.75rem;
    box-shadow: none !important;
    font-family: 'JetBrains Mono', sans-serif;
}
.firlabel
{
  position: absolute;
  top: -8px;
  left: -50%;
}
.traclabel
{
  position: absolute;
  top: -16px;
  left: -50%;
  color: #40d0e0;
}
.flight:hover
{
  background-color: rgba(0,0,0,0.2);
}
#flights-airline
{
  color: rgba(0,0,0,0.4);
  font-size: 0.9rem;
}
.flights-tableitem
{
  font-size: 0.85rem;
  color: #ddd;
}
#flights-route
{
  font-size: 0.75rem;
}
.flights-link-item
{
  box-sizing: border-box;
  border: 1px solid transparent;
  padding: 2px;
  margin-left: -3px;
  cursor: pointer;
  border-radius: 0.2rem;
}s
.flights-link-item:hover
{
  background-color: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.5);
}
.flights-link-item:active
{
  background-color: rgba(0,0,0,0.25);
}
.leaflet-container
{
  background-color: #000 !important;
}
.leaflet-control-attribution
{
  background-color: rgba(0,0,0,0) !important;
  color: rgba(255,255,255,0.15);
  font-family: 'Figtree', sans-serif;
}
.leaflet-control-attribution > a
{
  color: rgba(255,255,255,0.15);
}
.leaflet-tile-container img {
  width: 256.5px !important;
  height: 256.5px !important;
}
.leaflet-tooltip
{
    font-family: 'Figtree', sans-serif;
    background-color: rgba(0,0,0,0);
    border: none;
    box-shadow: none;
}
.leaflet-tooltip::before
{
  border-right-color: rgba(0,0,0,0) !important;
}
.leaflet-tooltip-left::before
{
  border-left-color: rgba(0,0,0,0) !important;
}
#search-wrapper, #search-results
{
  color: #222;
}
.search-item:hover
{
  cursor: pointer;
  background: rgba(0,0,0,0.05);
}
.search-item:active
{
  background: rgba(0,0,0,0.08);
}
.tooltip-airport
{
  color: #ff0;
}

/* CSS IDs */
#flights-sidebar
{
  font-family: 'Figtree', sans-serif;
  z-index: 1000;
  width: 350px;
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
  color: #fff;
  position: absolute;
  top: 1rem;
  right: calc(50% - 175px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.5rem;
  line-height: normal;
}
@media(min-width: 576px)
{
  #flights-sidebar
  {
    right: 1rem;
  }
}

#flights-squawk
{
  font-family: 'JetBrains Mono', monospace;
}

/* CSS IDs */
#events-container
{
  bottom: 90px;
  width: 100%;
  display: flex;
  justify-content: center;
  position: absolute;
}

#events-table
{
  min-width: 600px;
  display: flex;
  flex-direction: column;
}

#events-sidebar
{
  font-family: 'Figtree', sans-serif;
  z-index: 1000;
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
  color: #fff;
  overflow: hidden;
  border-radius: 0.5rem;
}
@media(min-width: 576px)
{
  #events-sidebar
  {
    left: 1rem;
  }
}

#airport-list, #flight-list
{
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
}
.hidescroll {
  -ms-overflow-style: none;
  overflow: -moz-scrollbars-none;
}

.hidescroll::-webkit-scrollbar {
  display: none;
}
#airport-list-wrapper, #flight-list-wrapper
{
  max-height: 300px;
  overflow-y: scroll;
  backdrop-filter: blur(25px);
}
@media(min-width: 576px)
{
  #airport-list-wrapper, #flight-list-wrapper
  {
    max-height: 400px;
  }
}
.airport-list-item:hover
{
  background-color: rgba(255,255,255,0.05);
}
.airport-list-item:active
{
  background-color: rgba(255,255,255,0.08);
}
#sidebar-container
{
  min-height: 0;
  overflow: hidden;
  background-color: rgba(0,0,0,0.2);
  border-radius: 0.5rem;
}
#flights-body
{
  display: none;
  background-color: rgba(0,0,0,0.4);
}
@media(min-width: 576px)
{
  #flights-body
  {
    display: flex;
  }
}
#flights-cap, #airport-cap
{
  background-color: #edeeef;
  color: #333;
  border-top-right-radius: 0.5rem;
  border-top-left-radius: 0.5rem;
}

#events-cap
{
  color: #fff;
}

#flights-infotable
{
  color: #eee;
  table-layout:fixed;
}
#flights-livetable
{
  background-color: rgba(50,50,50,0.3);
  overflow: hidden;
  color: #eee;
  border-top: 1px solid rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(0,0,0,0.2);
  font-size: 1rem;
}
#flights-status
{
  border-bottom-left-radius: 0.5rem;
  border-top: none;
  font-size: 1rem;
}
#flights-progressbar
{
  margin-left: 1rem;
  margin-right: 1rem;
}
#flights-progressbar-elapsed
{
  height: 2px;
  width: 30px;
}
#flights-progressbar-plane
{
  margin-left: 2px;
  margin-right: 2px;
  font-size: 1rem
}
#flights-progressbar-remaining
{
  height: 2px;
  flex-grow: 1;
  min-width: 0;
  background-color: #aaa;
}
#infobar-flights-progressbar-elapsed, #streamers-flights-progressbar-elapsed, .toggle-flights-progressbar-elapsed
{
  height: 2px;
  width: 30px;
}
.streamer-bar-item
{
  background-color: #222;
}
.streamer-bar-item:hover
{
  background-color: #2e2e2e;
}
#infobar-flights-progressbar-plane, #streamers-flights-progressbar-plane, .toggle-flights-progressbar-plane
{
  margin-left: 2px;
  margin-right: 2px;
  font-size: 1rem
}
#infobar-flights-progressbar-remaining, #streamers-flights-progressbar-remaining, .toggle-flights-progressbar-remaining
{
  height: 2px;
  flex-grow: 1;
  min-width: 0;
  background-color: #aaa;
}
.blinking {
  animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
  50% { opacity: 0; }
}

@keyframes glowing-red {
  0% {
    background-color: #dc3545;
  }
  50% {
    background-color: #ad2835;
  }
  100% {
    background-color: #dc3545;
  }
}

.live
{
  animation: glowing-red 1000ms infinite;
}


#fullscreen-container
{
  min-height: 100%;
}
#main-container
{
  height: 90%;
}
#map-footer
{
  z-index: 1100;
  font-family: 'Figtree', sans-serif;
  font-size: 1rem;
}

#footer-background
{
  border-top: 1px solid rgba(255,255,255,0.05);
  position: fixed;
  z-index: 1200;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 1rem;
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
  
}

.footer-infobar-item
{
  box-sizing: border-box;
  border-radius: 5rem;
}

.footer-infobar-item:hover
{
  background-color: rgba(255,255,255,0.1);
  cursor: pointer;
}
.footer-infobar-item:active
{
  background-color: rgba(255,255,255,0.25);
}
.table-hover td
{
  color:white !important;
}
.table-hover td:hover
{
  color: white !important;
}
#footer-group
{
  width: 100%;
  font-family: 'Figtree', sans-serif;
  display: flex;
  justify-content: center;
}
@media(min-width: 960px)
{
  #footer-group
  {
    justify-content: space-between;
  }
}
#search-group
{
  width: 350px;
}
#infobar
{
  color: #fff;
  width: 600px;
  display: none;
  font-size: 0.9rem;
  height: 100%;
}
@media(min-width: 576px)
{
  #infobar
  {
    display: flex;
    align-items: center;
  }
}
#search-selector
{
  color: #eee;
}
#search-field
{
  border-color: rgba(255,255,255,0.15);
  background-color: rgba(255,255,255,0.1);
  border-radius:5rem;
}

#search-field::placeholder
{
  color: rgba(255,255,255,0.4);
}
#search-wrapper
{
  display: none;
  z-index: 1200;
  width: 350px;
  position: fixed;
  right: calc(50% - 175px);
  bottom: 80px;
  z-index: 1200;
  background-color: #fff;
  border-radius: 0.5rem;
}

#ap-wrapper
{
  display: none;
  z-index: 1200;
  min-width: 350px;
  position: fixed;
  left: 1rem;
  bottom: 80px;
  z-index: 1200;
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
}

#events-wrapper
{
  display: none;
  z-index: 1200;
  min-width: 350px;
  position: fixed;
  left: 1rem;
  bottom: 80px;
  z-index: 1200;
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
}

#streamers-wrapper
{
  display: none;
  z-index: 1200;
  min-width: 350px;
  position: fixed;
  left: 1rem;
  bottom: 80px;
  z-index: 1200;
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
  border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.rotate
{
transform: rotate(-90deg);
}

.tooltip {
  z-index: 100000000; 
}

#toggle-group
{
  font-size: 1rem;
  display: none;
}

@media(min-width: 576px)
{
  #toggle-group
  {
    display: flex;
    align-items: center;
  }
}

.toggle-item
{
  color: #999;
  font-size: 0.9rem;
}

.toggle-item:hover
{
  background-color: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 5rem;
  box-sizing: border-box;
  margin: -1px;
  color: #fff;
}

.toggle-item-active
{
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 5rem;
  box-sizing: border-box;
  margin: -1px;
  color: #fff;
}
@media(min-width: 576px)
{
  #main-container
  {
    height: 100%;
  }
  #mobile-container
  {
    display: none;
  }
  #search-group
  {
    left: 1rem;
    width: 350px;
    display: flex;
    align-items: center;
  }
  #search-wrapper
  {
    right: 1rem;
  }
}
#airport-sidebar, #user-sidebar
{
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 350px;
  z-index: 990;
  font-family: 'Figtree', sans-serif;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 0.5rem;
}

@media(max-width: 576px)
{
  #airport-sidebar
  {
    right: calc(50% - 175px);
  }
}

#airport-status
{
  font-size: 1rem;
  text-align: center;
  background-color: rgba(255,255,255,0.1);
}

.badge
{
  border-radius: 5px;
}

.bg-purple
{
  background-color: #6441a5;
}

.control-pullout
{
  position: absolute;
  display: none;
  left: -30px;
  top: 40px;
  width: 30px;
  height: 80px;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background-color: rgba(255,255,255,0.2);
  color: #fff;
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}
.control-pullout:hover
{
  background-color: rgba(255,255,255,0.1);
  cursor: pointer;
}

#controls-container
{
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 1.2rem;
  display: flex;
}
.control
{
  cursor: pointer;
  background-color: rgba(0,0,0,0.1);
  color: #555;
  height: 2rem;
  width: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.3rem;
}
.control:hover
{
  background-color: rgba(0,0,0,0.2);
}
.event-date:first {
  background-color: rgba(255, 255, 255, 0.1);
}
.hover:hover {
  color: #a9a9a9 !important;
}