@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 1244px;
  margin-left: auto;
  margin-right: auto;
}

.left_menu {
  width: 200px;
  float: left;
}

.right_menu {
  width: 1044px;
  float: left;
}

.left_line {
  width: 100%;
  padding: 10px 0 10px 0;
  text-align: left;
  transition: all 0.5s ease;
}

.left_line:hover {
  background-color: aliceblue;
  cursor: pointer;
}

.head_band {
  width: 100%;
  height: 66px;
  background: white;
  padding: 20px;
  -webkit-box-shadow: 0px 14px 16px -8px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 14px 16px -8px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 14px 16px -8px rgba(0, 0, 0, 0.75);
  margin-bottom: 25px;
}

.head_container {
  width: 1350px;
  margin-left: auto;
  margin-right: auto;
}

.head_logo {
  width: 125px;
  float: left;
  margin-right: 20px;
}

.head_box {
  padding: 10px;
  float: left;
  text-align: center;
  transition: all 0.5s ease;
  margin: 10px;
}

.head_box:hover {
  background-color: aliceblue;
  cursor: pointer;
}

.devicebox {
  width: 289px;
  margin: 10px;
  float: left;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  border: 1px solid rgb(247, 247, 247);
  padding: 15px;
  background-color: white;
}

.devicepicture {
  width: 70%;
  margin: auto;
  float: left;
}

.batterypicture {
  width: 25%;
  margin-left: 5%;
  float: left;
}

.texts {
  width: 100%;
  clear: both;
}

.dot {
  height: 25px;
  width: 25px;
  background-color: rgb(238, 14, 14);
  border-radius: 50%;
  display: inline-block;
  margin-left: 10px;
}

.green {
  background-color: rgb(74, 233, 0);
}

/* Set the size of the div element that contains the map */
#mapdiv {
  height: 400px;
  /* The height is 400 pixels */
  width: 100%;
  /* The width is the width of the web page */
}

.polygons-map {
  width: 70% !important;
  float: left;
}

.polygons-polygon-list {
  width: 28%;
  float: left;
  margin-left: 1%;
}

.groupbox {
  width: 100%;
  padding: 10px;
  background-color: rgb(247, 247, 247);
  margin: 10px;
  float: none;
  display: flow-root;
}

.deviceHead {
  border-bottom: 1px solid #ccc;
  width: 1014px;
  padding: 5px;
}

.fix {
  clear: both;
}

.offlineBoxImg {
  width: 100px;
  float: left;
}

.offlineText {
  width: 350px;
  float: left;
  margin-left: 20px;
}

.offlineDevicebox {
  width: 470px;
  margin: 10px;
  float: left;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  border: 1px solid rgb(247, 247, 247);
  padding: 10px;
  background-color: white;
}

.selectedDevice {
  -webkit-box-shadow: 0px 0px 13px 5px rgba(23, 226, 255, 0.8);
  box-shadow: 0px 0px 13px 5px rgba(23, 226, 255, 0.8);
}

.top_menu {
  width: 100%;
}

.menu_buton {
  padding: 15px;
  background-color: #a6fffe;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  width: 80px;
  text-align: center;
}

.chartDiv {
  width: 100%;
  height: 600px;
  float: left;
}

.dropsDiv {
  width: 30%;
  height: 600px;
  float: left;
  display: none;
}

.black_back {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index: 10;
  display: none;
}

.head_boxes {
  width: 48%;
  float: left;
  margin: 1%;
}

.dropSeperator {
  width: 96%;
  border: 1px solid #ccc;
  margin: 1%;
  padding: 1%;
}

.dropButtonGlow {
  -webkit-box-shadow: 0px 0px 9px 3px rgba(45, 255, 196, 1);
  -moz-box-shadow: 0px 0px 9px 3px rgba(45, 255, 196, 1);
  box-shadow: 0px 0px 9px 3px rgba(45, 255, 196, 1);
}

.black_back_toggle {
  display: block;
  background-color: rgb(0, 0, 0, 0.5);
}

.chartContainer_toggle {
  z-index: 999;
  position: fixed;
  width: 1200px;
  margin-top: 150px;
  background-color: white;
  padding: 10px;
}

.dropsDiv_toggle {
  display: block;
}

.chartDiv_toggle {
  width: 70%;
}

.map {
  height: 600px;
  width: 100%;
  margin-top: 5px;
  margin-bottom: 20px;
}

.mapLabel {
  width: 100%;
  font-weight: 700;
  margin-top: 20px;
}

.page {
  width: 1240px;
  height: 1754px;
  margin-top: 10px;
  margin-bottom: 10px;
  border: 1px solid #fff;
  background-image: url(images/normalbg.jpg);
  background-size: cover;
}

.full_line {
  width: 100%;
}

td,
th {
  border: 1px solid #003366;
  text-align: center;
  padding: 8px 30px 8px 30px;
}

.reporttable {
  margin-left: auto;
  margin-right: auto;
  padding: 8px 30px 8px 30px;
  text-align: center;
}

.loader_back {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.loader {
  background: rgba(0, 0, 0, 0.85);
  /*background: radial-gradient(#222, #000);*/
  bottom: 0;
  left: 0;
  overflow: hidden;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 99999;
  display: none;
}

.loader-inner {
  bottom: 0;
  height: 60px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 100px;
}

.loader-line-wrap {
  animation: spin 2000ms cubic-bezier(0.175, 0.885, 0.32, 1.275) infinite;
  box-sizing: border-box;
  height: 50px;
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  transform-origin: 50% 100%;
  width: 100px;
}
.loader-line {
  border: 4px solid transparent;
  border-radius: 100%;
  box-sizing: border-box;
  height: 100px;
  left: 0;
  margin: 0 auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 100px;
}
.loader-line-wrap:nth-child(1) {
  animation-delay: -50ms;
}
.loader-line-wrap:nth-child(2) {
  animation-delay: -100ms;
}
.loader-line-wrap:nth-child(3) {
  animation-delay: -150ms;
}
.loader-line-wrap:nth-child(4) {
  animation-delay: -200ms;
}
.loader-line-wrap:nth-child(5) {
  animation-delay: -250ms;
}

.loader-line-wrap:nth-child(1) .loader-line {
  border-color: hsl(0, 80%, 60%);
  height: 90px;
  width: 90px;
  top: 7px;
}
.loader-line-wrap:nth-child(2) .loader-line {
  border-color: hsl(60, 80%, 60%);
  height: 76px;
  width: 76px;
  top: 14px;
}
.loader-line-wrap:nth-child(3) .loader-line {
  border-color: hsl(120, 80%, 60%);
  height: 62px;
  width: 62px;
  top: 21px;
}
.loader-line-wrap:nth-child(4) .loader-line {
  border-color: hsl(180, 80%, 60%);
  height: 48px;
  width: 48px;
  top: 28px;
}
.loader-line-wrap:nth-child(5) .loader-line {
  border-color: hsl(240, 80%, 60%);
  height: 34px;
  width: 34px;
  top: 35px;
}

@keyframes spin {
  0%,
  15% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loader_text {
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  color: white;
  font-weight: 700;
  font-size: 20px;
  margin-top: 25%;
}

.login_back {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: black;
}

.login_wrapper {
  width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 200px;
  background-color: white;
  position: relative;
  padding: 50px;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  border-radius: 16px;
}

.form-group {
  padding: 20px;
}

.form-control {
  padding: 10px;
  border: 1px solid #ccc;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.btn-primary {
  padding: 10px 30px 10px 30px;
  text-align: center;
  background-color: aqua;
  border: none;
  cursor: pointer;
}

body {
  margin: 0;
  padding: 0;
}

.polygon-list-polygon {
  width: 100%;
  background: #eee;
  display: flex;
  padding: 4px 8px;
  border-radius: 4px;
  margin-top: 10px;
  border: 1px solid #ccc;
  justify-content: space-between;
  align-items: center;
}

.polygon-list-remove {
  background: red;
  border-radius: 5px;
  padding: 3px 5px;
  color: white;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.polygon-list-name {
  display: flex;
  align-items: center;
  justify-content: left;
  padding: 4px 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.form-container {
  width: 100%;
  margin-bottom: 20px;
}

#addPolygonBtn {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#addPolygonBtn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

#addPolygonBtn:hover:not(:disabled) {
  background-color: #0056b3;
}

#newPolygonForm {
  display: none;
  background-color: #f8f9fa;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-top: 10px;
}

#newPolygonForm h3 {
  margin-top: 0;
}

#newPolygonForm div {
  margin-bottom: 10px;
}

#newPolygonForm label {
  display: block;
  margin-bottom: 5px;
}

#newPolygonForm input {
  width: calc(100% - 22px);
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

#savePolygonBtn {
  background-color: #28a745;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#savePolygonBtn:hover {
  background-color: #218838;
}

.demos {
  float: left;
}

.demos div span:nth-child(2) {
  margin-left: 30px;
  line-height: 35px;
}
.demo-up {
  display: block;
  height: 35px;
  position: relative;
  color: #2ecc71;
}
.demo-slow {
  display: block;
  height: 35px;
  position: relative;
  color: #f1c40f;
}
.demo-down {
  display: block;
  height: 35px;
  position: relative;
  color: #e74c3c;
}

/** Server status css **/
.server-status {
  left: 10px;
  top: 50%;
  margin-left: 0px;
  margin-top: -5px;
  position: absolute;
  vertical-align: middle;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.server-status::before,
.server-status::after {
  left: 0;
  top: 50%;
  margin-left: -1px;
  margin-top: -6px;
  position: absolute;
  vertical-align: middle;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.server-status[type="up"],
.server-status[type="up"]::before,
.server-status[type="up"]::after {
  background: #2ecc71;
}
.server-status[type="down"],
.server-status[type="down"]::before,
.server-status[type="down"]::after {
  background: #e74c3c;
}
.server-status[type="slow"],
.server-status[type="slow"]::before,
.server-status[type="slow"]::after {
  background: #f1c40f;
}

.server-status::before {
  content: "";
  animation: bounce 1.5s infinite;
}
.server-status::after {
  content: "";
  animation: bounce 1.5s -0.4s infinite;
}

@keyframes bounce {
  0% {
    transform: scale(1);
    -webkit-transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    -webkit-transform: scale(2);
    opacity: 0;
  }
}

@-webkit-keyframes bounce {
  0% {
    transform: scale(1);
    -webkit-transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2);
    -webkit-transform: scale(2);
    opacity: 0;
  }
}

.processes {
  float: left;
  color: green;
  margin-left: 20px;
}

.general_health_check_box {
  float: left;
}

.red_text {
  color: red;
}

#dropTable > tbody > tr.drop-row:hover {
  background-color: #f0f8ff;
}

.inner-table tr.accordion-row:hover {
  background-color: #e6ffe6;
  cursor: pointer;
}

.right-no-drop-list {
  width: 190px;
  height: 100%;
  right: -200px;
  position: fixed;
  top: 0;
  background: #f9f9f9;
  border-left: 1px solid #ccc;
  padding: 15px;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  z-index: 1000;
  transition: right 0.3s ease;
}

.apply-no-drop {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 10px;
  background-color: #007bff;
  color: white;
  border-radius: 8px;
}
