/*
 * Green = 53,206,141 #35ce8d
 * Orange = 206,153,53 #ce9935
 * Red = 206,76,53 #ce4c35
 * Blue = 29,133,242 #1d85f2
 */

body {
  font-family: arial;
}

.map {
  position: fixed;
  top: 0px;
  right: 0px;
  width: calc(100vw - 50px);
  height: 100vh;
}

.drone-video {
  height: 40px;
  position: absolute;
  top: 13px;
  left: 15px;
}

.env-video {
  height: 40px;
  position: absolute;
  top: 13px;
  left: 70px;
}

.drone-battery {
  position: absolute;
  top: 7px;
  left: 85px;
  font-size: 1.4rem;
}

.drone-altitude {
  position: absolute;
  top: 7px;
  left: 145px;
  font-size: 1.4rem;
}

.drone-distance{
  position: absolute;
  top: 50px;
  left: 85px;
  font-size: 0.75rem;
}

.device-controls {
  height: 40px;
  position: absolute;
  top: 13px;
  right: 15px;
}

.device-serial {
  position: absolute;
  top: 35px;
  left: 85px;
  font-size: 0.75rem;
}

.device-stats {
  /* position: fixed; */
  /* bottom: 0px; */
  /* left: calc(50vw - 135px); */
  background-color: rgba(30,30,30,0.75);
  /* width: 270px; */
  /* height: 70px; */
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  z-index: 1000;
  color: white;
  /* text-align: center;
  padding-top: 10px; */
}

.livestream-container {
  position: fixed;
  bottom: 10px;
  left: 60px;
  width: 480px;
  height: 360px;
  z-index: 1000;
  border: 1px rgb(0,0,0) solid;
}

.livestream-container-bottom {
  bottom: 10px;
}
.livestream-container-top {
  top: 10px;
}

.livestream-close {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 15px;
  height: 15px;
  background-image: url('../icons/close.png');
  background-size: cover;
  z-index: 1002;
}

.livestream-reload {
  position: absolute;
  top: 4px;
  left: 27px;
  width: 15px;
  height: 15px;
  background-image: url('../icons/map/videostream/reload.png');
  background-size: cover;
  z-index: 1002;
}

.livestream-image {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 480px;
  height: 360px;
  z-index: 1001;
}

.detach-video {
  height: 35px;
  position: absolute;
  bottom: 0px;
  right: 0px;
  font-size: 1.4rem;
}

.detach-background {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: black;
  border: 1px;
  top: 0px;
  left: 0px;
  padding-top: 10px;
}

/* Map/Controls */



.map-controls-tab {
  width: 235px;
  background-color: rgba(30,30,30,0.75);
  color: white;
  border: 1px rgb(230,230,230) solid;
  border-radius: 3px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  position: relative;
}

.map-controls-heading {
  width: 233px;
  height: 30px;
  font-size: 1rem;
  border-bottom: 1px rgb(230,230,230) solid;
  text-transform: uppercase;
  color: rgb(230,230,230);
  text-align: center;
  padding: 3px;
}

.map-controls-content {
  padding: 10px;
}

.map-controls-loading {
  text-align: center;
  margin: 10px;
}

.connection-state {
  position: fixed;
  bottom: 30px;
  right: calc(80% - 50px);
  z-index: 1000;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.6rem;
  color: rgba(240,240,240,0.3);
}

.center-drone {
  position: fixed;
  bottom: 10px;
  right: calc(50% - 345px);
  z-index: 1000;
  text-align: center;
}

.connection-state img {
  width: 20px;
}

/* Camera Control

.camera-control {
  position: fixed;
  top: 10px;
  right: 10px;
  width: 220px;
  height: 115px;
  background-color: rgba(0,0,0,0.5);
  color: white;
  border: 1px rgb(230,230,230) solid;
  border-radius: 3px;
  padding-bottom: 10px;
}

.camera-control-loading {
  text-align: center;
  margin: 10px;
}

.camera-control-heading {
  width: 218px;
  height: 30px;
  font-size: 1rem;
  border-bottom: 1px rgb(230,230,230) solid;
  text-transform: uppercase;
  color: rgb(230,230,230);
  text-align: center;
  padding: 3px;
}*/

/* Camera Display Mode */

/* .camera-control-m,
.camera-control-dm {
  margin: 10px 10px 0px 16px;
  width: 200px;
  border: 1px rgb(230,230,230) solid;
  border-radius: 5px;
  display: flex;
  flex-direction: row;
}

.camera-control-m-option,
.camera-control-dm-option {
  flex: auto;
  flex-basis: 50%;
  text-align: center;
  font-size: 0.8rem;
  border-radius: 5px;
  margin: 3px;
}

.camera-control-m-option.selected,
.camera-control-dm-option.selected {
  background-color: rgba(53,206,141,0.6);
} */

/* Heading Picker

.heading-tab {
  height: 170px;
}

.heading-auto {
  position: absolute;
  bottom: -10px;
  left: 35px;
  font-size: 12px;
  text-decoration: underline;
  text-transform: uppercase;
}

.heading-container {
  position: absolute;
  top: 40px;
  left: 10px;
  width: 100px;
  height: 118px;
}

.heading-full-range {
  border: 2px rgb(245,245,245) solid !important;
}

.heading-offset-segment-remove {
  background: none !important;
}

.heading-offset-angle-handler {
  background-color: rgba(255,255,255,0) !important;
}

.heading-center-angle-handler {
  background-color: rgb(0,0,0) !important;
}

.heading-drone-icon {
  background-image: url('/icons/drone.png');
  width: 48px;
  height: 52px;
  position: absolute;
  top: 24px;
  left: 30px;
  opacity: 1.0;
  background-size: cover;
}*/

.timeline-group {
  margin: 20px 0px;
}

.timeline-title-group {
  border: 1px solid rgba(100, 100, 100, 0.3);
  border-radius: 20px 20px 0px 0px;
  padding: 10px 30px;
  background-color: rgb(200 255 160 / 50%);
}

.timeline-title {
  font-size: 20px;
  font-weight: bold;
}

.timeline-list {
  padding: 10px 20px;
  border: 1px solid rgba(100, 100, 100, 0.3);
  border-radius: 0px 0px 20px 20px;
}

.list-content {
  padding-left: 20px;
}

.timeline-block {
  padding: 4px !important;
}

.timeline-card-body {
  text-align: left !important;
  background-color: rgb(80, 80, 80);
  padding: 6px;
  font-size: 12px;
  color: white;
}

.timeline-file-size {
  font-size: 10px;
  float: right;
  font-weight: bold;
}

.card.card-admin.timeline-card-admin {
  margin-bottom: 6px;
}

.timeline-total {
  font-weight: bold;
}

.timeline-more {
  font-weight: bold;
  text-align: center;
  background-color: rgb(68 68 255 / 80%);
  width: 100px;
  float: right;
  border-radius: 20px;
  color: rgb(255 255 255 / 80%);
}

.timeline-title-icon {
  float: right;
  padding-top: 6px;
}

.timeline-icon-hidden {
  display: none !important;
  cursor: pointer;
}

.timeline-photo-checkbox {
  position: absolute !important;
  left: -6px;
  top: -6px;
  background-color: rgb(255 255 255 / 80%) !important;
  margin: 0px !important;
  padding: 1px !important;
  border-radius: 2px !important;
}

.timeline-total-selected {
  font-weight: bold;
  text-align: right;
  width: 100%;
}