.color-primary-0 {
  color: #F5F5F5; }

/* Main Primary color */
.color-primary-1 {
  color: #050303; }

.color-primary-2 {
  color: #640000; }

.color-primary-3 {
  color: #FF0000; }

.color-primary-4 {
  color: #B30000; }

/* For AngularJS ng-cloak directive */
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
  display: none !important; }

body {
  background-color: #F5F5F5; }

#main_nav {
  height: 70px;
  background-color: #F5F5F5;
  margin-bottom: 0;
  border-bottom: 2px solid #ddd; }

#main_nav .navbar-brand {
  height: 70px;
  padding: 10px 0px; }

#main_nav .nav > li {
  height: 70px;
  line-height: 60px;
  font-size: 18px; }

#main_nav .nav > li > a {
  height: 100%;
  vertical-align: middle; }

#main_nav .nav-pills > li.active > a, #main_nav .nav-pills > li.active > a:focus, #main_nav .nav-pills > li.active > a:hover {
  background-color: #F5F5F5;
  color: #050303;
  border-bottom: 3px solid #B30000;
  border-radius: 0; }

#main_nav .nav-pills > li > a:hover, #main_nav .nav-pills > li > a:focus {
  border-bottom: 3px solid #FF0000;
  background-color: transparent;
  border-radius: 0; }

#main_nav .nav-pills > li > a {
  color: #777777; }

#main_nav .nav > li.disabled > a, #main_nav .nav > li.disabled > a:focus, #main_nav .nav > li.disabled > a:hover {
  color: #B2AFAA;
  border: 0; }

#main_nav .account {
  font-size: 1.5em;
  margin: 0;
  margin-right: 1%;
  line-height: 60px;
  padding-top: 10px; }

.logo-image {
  margin-right: 10px;
  height: 55px; }

.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-primary, .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-primary {
  background-color: #819595; }

.bootstrap-switch .bootstrap-switch-handle-on.bootstrap-switch-default, .bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-default {
  background-color: #696773;
  color: #ffffff; }

.target-info .target-details {
  font-size: 25px; }

.target-info .target-details dt {
  font-weight: normal; }

.target-info .target-details dd {
  font-weight: bold; }

.target-info {
  margin-bottom: 25px; }

.map-ok, .map-alert {
  width: 100%; }

.client-off-warning {
  font-size: 22px; }

.client-inactive img {
  opacity: 0.2; }

#threat-monitor {
  position: relative; }

#loading, #app-loading {
  width: 300px;
  height: 100%;
  margin: 15% auto; }

#loading .status, #app-loading .status {
  text-align: center;
  font-size: 2em; }

/* loading icon */
.loading-animation .glyphicon-repeat {
  animation: loading-spin 1s linear infinite; }

@keyframes loading-spin {
  100% {
    transform: rotate(360deg); } }

.connecting {
  float: right; }

.connecting .glyphicon-option-horizontal {
  padding-right: 24px;
  animation: connecting-slide 1.5s linear infinite; }

@keyframes connecting-slide {
  50% {
    background-position: 10px;
    padding-right: 0; }
  100% {
    background-position: -10px;
    padding-right: 24px; } }

#no-reports {
  font-size: 18px; }

/* ------------------------------- */
/* global bootstrap customizations */
/* ------------------------------- */
.panel {
  border-radius: 0;
  box-shadow: none;
  -webkit-box-shadow: none; }

.panel-heading {
  padding: 10px 10px; }

h3.panel-title {
  font-size: 22px; }

section {
  padding-top: 10px; }

/* Show the "X" for input clearing,
taken from https://stackoverflow.com/questions/32312348/how-to-show-x-clear-in-chrome-input-with-type-number*/
input[type="search"] {
  -webkit-appearance: searchfield; }

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: searchfield-cancel-button; }

.camera-overlay {
  position: absolute;
  right: 1%;
  top: 1%;
  background: #f5f5f5;
  border: 1px solid #ddd;
  z-index: 999;
  border-radius: 5px; }
  .camera-overlay button.expand {
    position: absolute;
    right: 12px;
    top: 12px;
    z-index: 1000; }
  .camera-overlay .camera-content {
    display: none; }
  .camera-overlay .camera-stream {
    width: 100%; }
  .camera-overlay div.slider {
    height: 1.5em; }
  .camera-overlay input[type="range"] {
    -webkit-appearance: none;
    border-radius: 5px; }
  .camera-overlay input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    position: relative;
    top: 0px;
    z-index: 1;
    width: 11px;
    height: 11px;
    line-height: 1.5;
    cursor: pointer;
    background: #555;
    border-radius: 5px; }
  .camera-overlay .camera-image-wrapper {
    position: relative; }
  .camera-overlay .camera-tilt {
    position: absolute;
    top: 50%;
    transform: translateY(-50%); }
    .camera-overlay .camera-tilt button {
      display: block;
      margin: 5px; }
  .camera-overlay .camera-pan {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%); }
  .camera-overlay .camera-error {
    text-align: center;
    padding: 80px; }
  .camera-overlay .camera-autocuing {
    color: red; }

.camera-overlay.normal {
  padding: 5px;
  width: 33%; }
  .camera-overlay.normal .camera-content {
    display: block; }

.camera-overlay.expanded {
  padding: 5px;
  width: 80%; }
  .camera-overlay.expanded .camera-content {
    display: block; }

/*
this file should contain rules that are reused throught the codebase in UI components
and are not limited to a specific view
*/
/* below .ol-zoom */
/* .ol-zoom is positioned left: 0.5em*/
.panel-with-tabs .panel-heading {
  border: 0;
  padding-bottom: 0;
  padding-right: 0; }

.map {
  /* navbar takes 70px off the top of the page */
  /* 90px takes margin etc into account */
  height: calc(100vh - 70px) !important; }

.map-col {
  padding: 0; }

.map-style-selector {
  position: absolute;
  top: 5.5em;
  left: 0.5em;
  z-index: 1000; }
  .map-style-selector .style-options {
    color: #fff;
    left: 2.2em;
    /* on the right of the button */
    position: relative;
    margin-left: 0.2em;
    border-radius: 7px;
    min-width: 10.4em; }
    .map-style-selector .style-options ul {
      background-color: rgba(0, 60, 136, 0.5);
      list-style-type: none;
      padding: 2px 10px;
      margin: 0;
      border-radius: 7px; }
      .map-style-selector .style-options ul:hover {
        background-color: rgba(0, 60, 136, 0.7); }

.ol-control button {
  height: 1.8em;
  width: 1.8em; }

.ol-scale-line {
  background: rgba(0, 60, 136, 0.5); }

.right-col {
  /* navbar takes 70px off the top of the page */
  height: calc(100vh - 70px);
  padding-top: 20px;
  box-shadow: 0 0 15px 0 #000;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: scroll; }

.right-col > div {
  width: 100%; }

.nav a {
  cursor: pointer; }

.form-popup {
  padding-top: 1em; }

input[type=radio] {
  cursor: pointer; }

input.digit-1 {
  display: inline;
  width: 4em; }

input.digit-2 {
  display: inline;
  width: 5em; }

input.digit-3 {
  display: inline;
  width: 6em; }

#form_errors {
  margin-bottom: 10px; }

.controls {
  margin-bottom: 10px; }

.error-message .glyphicon-remove {
  color: red; }

/* below .ol-zoom */
/* .ol-zoom is positioned left: 0.5em*/
.flight-info-overlay {
  position: absolute;
  top: calc(11.3em + 0.5em);
  left: calc(.5em + 22px);
  padding: 5px;
  z-index: 999;
  font-size: 12px;
  background: #fefefe;
  border: 1px solid #eee; }
  .flight-info-overlay p {
    margin: 0; }

.flight-slider-overlay {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10%;
  background: #f5f5f5;
  border: 1px solid #999;
  padding: 10px;
  z-index: 999;
  border-radius: 5px;
  width: 50%; }
  .flight-slider-overlay div.slider {
    height: 1.5em; }
  .flight-slider-overlay input[type="range"] {
    -webkit-appearance: none;
    border-radius: 5px; }
  .flight-slider-overlay input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    position: relative;
    top: 0px;
    z-index: 1;
    width: 11px;
    height: 11px;
    line-height: 1.5;
    cursor: pointer;
    background: #555;
    border-radius: 5px; }

.modal-background {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(85, 85, 85, 0.8);
  width: 100vw;
  height: 100vh; }

.modal-content {
  background: #fff;
  border: 1px solid #999;
  border-radius: 10px;
  margin: 0 5%;
  margin-top: 90px;
  padding: 20px;
  /* nav bar is 70px */
  height: calc(90vh - 70px); }
  .modal-content .map {
    height: 100% !important; }
  .modal-content .map-style-selector {
    top: calc(5.5em + 20px);
    left: calc(0.5em + 20px); }

.modal-close {
  display: block;
  position: absolute;
  top: -15px;
  right: -10px;
  width: 35px;
  text-align: center;
  color: #eee;
  line-height: 35px;
  font-size: 40px;
  background: #ef7676;
  border-radius: 20px;
  cursor: pointer;
  font-family: "Arial"; }

.modal-close:hover, .modal-close:active {
  color: #fff;
  text-decoration: none;
  background: #999;
  background: #f74343; }

.threat-single {
  border: 1px solid #ebccd1;
  margin-bottom: 10px; }

.threat-body {
  padding: 10px; }

.threat-single .title {
  background: #f2dede;
  color: #555;
  font-weight: bold;
  padding: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer; }

.busy-view .threat-body {
  padding: 3px; }

.busy-view .threat-single button {
  font-size: 13px; }

.threat-selected {
  border: 1px solid #ebccd1;
  padding: 5px;
  margin-bottom: 10px; }

.threat-selected button:not(:last-child) {
  margin-bottom: 5px; }

.threat-selected .title {
  float: left;
  padding: 10px; }

.threat-single {
  background: white; }

.threat-single button {
  margin-left: 7.5%;
  margin-bottom: 15px;
  width: 85%; }

.threat-single .name .whitelist {
  color: #aaa;
  cursor: pointer; }

.threat-single .name .whitelist:hover {
  color: #333; }

.threat-single .allowed {
  color: #1d9300; }

.denied {
  color: #f43918; }

.modal-error {
  width: 100%;
  height: 100%;
  text-align: center;
  z-index: 999;
  position: fixed;
  top: 0px;
  padding-top: 30vh;
  background: rgba(255, 255, 255, 0.8);
  font-size: 2em; }

/* error icon */
.modal-error .glyphicon-remove {
  color: red; }

.modal-error .support {
  text-align: left;
  margin: 2em auto;
  width: 35em; }

@media (max-height: 900px) {
  .monitor .right-col h3 {
    font-size: 18px !important; } }

@media (min-width: 1500px) and (min-height: 900px) {
  .monitor .right-col {
    font-size: 20px; }
  .monitor .threat-selected button {
    font-size: 18px; }
  .monitor .threat-single button {
    font-size: 20px; } }

.busy-view .threat-selected {
  background: white; }

.busy-view .threat-single {
  font-size: 13px;
  width: calc(33% - 3.3px);
  float: left;
  margin-left: 5px; }

.busy-view .threat-single:first-child {
  margin-left: 0px; }

.busy-view .threat-single:nth-child(4n) {
  margin-left: 0px; }

.busy-view .threat-single .title {
  padding: 3px;
  cursor: pointer; }

.busy-view .threat-single .title:hover {
  background: #ffd8d6; }

.threat-single.selected {
  border: 1px solid #aaa; }

.threat-single .title.selected {
  background: rgba(0, 127, 255, 0.8);
  color: white; }

.busy-view .threat-single .title.selected {
  background: #f2382b;
  color: white; }

.busy-view .threat-single:nth-child(4n) {
  margin-right: 0; }

.threat-selected .actions {
  float: left;
  padding: 10px; }

.threat-selected button {
  width: 100%;
  display: block; }

.threat-selected .column {
  float: left;
  padding: 10px;
  width: 33%; }

.threat-panel {
  width: 100%; }

.threat-panel .reset {
  margin-bottom: 20px;
  text-align: left; }

.scanning:after {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  -webkit-animation: ellipsis steps(4, end) 900ms infinite;
  animation: ellipsis steps(4, end) 900ms infinite;
  content: "\2026";
  /* ascii code for the ellipsis character */
  width: 0px; }

@keyframes ellipsis {
  to {
    width: 1.25em; } }

@-webkit-keyframes ellipsis {
  to {
    width: 1.25em; } }

.threat-history {
  align-self: flex-end; }

.energy-history td, .energy-history th {
  text-align: center; }

.jammers {
  background: white;
  margin-bottom: 10px; }

.jammers .panel-body {
  padding: 0px 0px 15px 0px; }

.jammers table {
  margin-bottom: 0;
  margin-right: auto;
  margin-left: auto;
  border-collapse: separate;
  border-spacing: 10px 5px; }

.jammers thead {
  font-size: 16px; }

.jammers tbody {
  font-size: 15px; }

.jammers td, .jammers th {
  text-align: center;
  padding: 5px !important; }

.jammers .jamming-status {
  padding: 8px 25px;
  font-size: inherit; }

.jammers .jammer-warning {
  font-size: 80%; }

.jammers .label-default.jamming-status {
  background-color: #BBB; }

.jammers .jamming-status.jamming-on {
  animation: jamming-label-animation 0.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  animation-direction: alternate; }

@keyframes jamming-label-animation {
  from {
    opacity: 0.9; }
  to {
    opacity: 1; } }

.simulation-alert, .location-alert {
  position: absolute;
  top: 10px;
  z-index: 100;
  left: 50%;
  background: #fff475;
  font-weight: bold;
  color: #222;
  padding: 10px;
  border-radius: 20px;
  transform: translate(-50%);
  box-shadow: 0px 0px 10px #333; }

.device-marker {
  width: 50px;
  height: 50px;
  border-radius: calc(50%);
  background-color: #94fb1f;
  box-shadow: 1px 1px 5px 0 #777;
  animation: device-animation 0.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  animation-direction: alternate;
  z-index: 60;
  /* position is important for z-index to work, see https://cssreset.com/z-indexnotworking */
  position: relative; }

.device-marker-off {
  background-color: rgba(200, 200, 200, 0.9);
  box-shadow: 1px 1px 5px 0 #777;
  animation: none;
  z-index: 49; }

.device-marker-edited {
  background-color: blue;
  animation: none; }

.device-marker::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-size: 70%;
  background-position: center;
  background-repeat: no-repeat; }

.device-marker::after {
  background-image: url(/rfsensor.png); }

.device-marker.radar::after {
  background-image: url(/radar.png); }

.device-marker.camera {
  z-index: 55; }

.device-marker.camera::after {
  background-image: url(/camera.png); }

.threat-marker {
  width: 50px;
  height: 50px;
  border-radius: calc(50%);
  background-color: rgba(255, 50, 50, 0.8);
  box-shadow: 1px 1px 5px 0 #777;
  border: 1px solid #fff;
  cursor: pointer;
  /* position is important for z-index to work, see https://cssreset.com/z-indexnotworking */
  position: relative; }

.threat-marker-drone {
  z-index: 99; }

.threat-marker::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-size: 70%;
  background-position: center;
  background-repeat: no-repeat;
  filter: invert(100%); }

.threat-marker-drone::before {
  background-image: url(/drone.png); }

.threat-marker-pilot::before {
  background-image: url(/pilot.png); }

.threat-marker-pilot {
  /* below threat-marker-drone but above threat-marker-home */
  z-index: 89; }

.threat-marker-home::before {
  background-image: url(/home.png); }

.threat-marker-home {
  /* below threat-marker-drone and threat-marker-pilot */
  z-index: 79; }

.threat-marker-radar::before {
  background-image: url(/drone.png); }

.threat-marker-radar {
  z-index: 99; }

.threat-marker-radar::after {
  content: '';
  display: block;
  width: 25px;
  height: 25px;
  border-radius: calc(50%);
  box-shadow: 1px 1px 2px 0 #777;
  text-align: center;
  vertical-align: center;
  font-size: 12px;
  position: absolute;
  background-color: #353535;
  background-image: url(/radargreen.png);
  color: #555;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background-size: 25px 25px; }

.threat-marker-drone-classic, .threat-marker-pilot-classic {
  background-color: #f4f4f4;
  border-color: #777; }

.threat-marker-drone-classic::before {
  background-image: url(/drone.png);
  filter: none; }

.threat-marker-pilot-classic::before {
  background-image: url(/pilot.png);
  filter: none; }

.threat-marker-clicked {
  background-color: rgba(0, 127, 255, 0.8); }

.threat-marker-label {
  width: 18px;
  height: 18px;
  border-radius: calc(50%);
  box-shadow: 1px 1px 2px 0 #777;
  text-align: center;
  vertical-align: center;
  font-size: 12px;
  position: absolute;
  background-color: #fff;
  border: 1px solid #000;
  color: #555;
  z-index: 100;
  top: 0; }

.threat-marker-drone-classic .threat-marker-label,
.threat-marker-pilot-classic .threat-marker-label {
  background-color: #ff3232;
  border: 1px solid #fff;
  color: #fff; }

.threat-marker-label:nth-of-type(2) {
  right: 0; }

.threat-marker-label:nth-of-type(3) {
  right: 0;
  bottom: 0;
  top: auto; }

.threat-marker-label:nth-of-type(4) {
  left: 0;
  bottom: 0;
  top: auto; }

.threat-arrow::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 60px solid rgba(255, 50, 50, 0.8);
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  animation: arrow-animation 0.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  animation-direction: alternate; }

.threat-arrow-clicked::after {
  border-left-color: rgba(0, 127, 255, 0.8); }

@keyframes arrow-animation {
  from {
    transform: translateX(-5px); }
  to {
    transform: translateX(5px); } }

.threat-list .threat-icons {
  float: right; }

.threat-list .threat-icon {
  width: 30px;
  height: 30px;
  background-size: contain;
  float: right;
  opacity: 0.7; }

.threat-list .threat-icon:hover {
  opacity: 1; }

.threat-icon-drone {
  background: url(/drone.png); }

.threat-icon-home {
  background: url(/home.png);
  background-size: 40px !important;
  background-position: -5px -3px; }

.threat-icon-pilot {
  background: url(/pilot.png); }

.location-search-overlay {
  position: absolute;
  right: 1%;
  top: 1%;
  background: #f5f5f5;
  border: 1px solid #ddd;
  padding: 10px;
  z-index: 999;
  border-radius: 5px;
  max-width: 33%; }
  .location-search-overlay input {
    display: inline;
    width: auto;
    height: 30px; }
  .location-search-overlay table {
    margin: 0; }

#simulation-profile {
  font-family: monospace; }

#planning .right-col .panel-heading {
  font-size: 1.5em; }

.account-settings .setting {
  padding: 10px 0; }

.settings-home-devices table tr {
  cursor: pointer; }

table.search-results tr {
  cursor: pointer; }

#antenna-table {
  overflow-x: auto; }
  #antenna-table .port-col, #antenna-table .angle-col, #antenna-table .width-col, #antenna-table .range-col {
    width: 15%; }
  #antenna-table .delete-col {
    width: 5%; }

#antenna-table .device-simplified .range-col {
  width: 25%; }

#antenna-table .device-simplified .angle-col, #antenna-table .device-simplified .width-col {
  width: 18%; }

#antenna-table .port-input {
  padding-right: 6px;
  padding-left: 6px; }

#antenna-table .type-input {
  padding-right: 0px;
  padding-left: 0px; }

#settings {
  /* let users click through device overlays on the map */ }
  #settings .right-col .panel-heading {
    font-size: 1.5em; }
  #settings .ol-overlay-container {
    pointer-events: none; }

#health {
  padding: 10px; }

.health-modules {
  list-style: none; }
  .health-modules .glyphicon-ok {
    color: green; }
  .health-modules .glyphicon-remove {
    color: red; }
  .health-modules .glyphicon-exclamation-sign {
    color: #f0ad4e; }
  .health-modules li .status {
    text-transform: capitalize; }

.device-license-status {
  font-weight: bold; }
