.btn {
  border: none;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  border-radius: 10px;
  margin: 16px;
  cursor: pointer;
}

.login-btn {
  width: 220px;
}

.black {
  background-color: #000;
  color: #fff;
}

.gray {
  background-color: gray;
  color: #fff;
}

.blue {
  background-color: #4285f4;
  color: #fff;
}

.red {
  background-color: red;
  color: #fff;
}

.dark-blue {
  background-color: #0e1f56;
  color: #fff;
}

.hover_login_popup {
  display: none;
  height: 100%;
  position: fixed;
  text-align: center;
  top: 0;
  width: 100%;
  z-index: 10000;
}

.hover_login_popup .helper {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.hover_login_popup > div {
  background-color: #fff;
  box-shadow: 10px 10px 60px #555;
  display: inline-block;
  height: auto;
  max-width: 551px;
  min-height: 100px;
  vertical-align: middle;
  width: 60%;
  position: relative;
  border-radius: 8px;
  padding: 15px 5%;
}

.popupCloseButton {
  background-color: #fff;
  border: 3px solid #999;
  border-radius: 50px;
  cursor: pointer;
  display: inline-block;
  font: 700 25px/30px arial;
  position: absolute;
  top: -20px;
  right: -20px;
  width: 30px;
  height: 30px;
  text-align: center;
}

.popupCloseButton:hover {
  background-color: #ccc;
}

body {
  font: 15px "Roboto";
  margin: 0;
}

.no-border {
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}

.HIMBhome {
  cursor: pointer;
}

.topheader {
  background-color: #1a73e8;
  color: #fff;
  padding-left: 2px;
  font-size: 1.5em;
  box-shadow: 0 1px 3px grey;
  border-radius: 2px;
}

.signedInEmail {
  position: absolute;
  right: 0.2em;
  font-size: 0.6em;
  line-height: 2em;
  padding: 0 0.5em;
}

.signedInEmail:hover {
  cursor: pointer;
  border-radius: 2.5em;
  background-color: #74aaf1;
  line-height: 1.5em;
  margin-top: 0.25em;
}

.panel {
  display: none;
}

button {
  font: inherit;
  background-color: #3367d6;
  color: #fff;
  border-radius: 4px;
  line-height: 32px;
  border: none;
  box-shadow: rgb(0 0 0 / 20%) 0 3px 1px -2px, rgb(0 0 0 / 14%) 0 2px 2px 0, rgb(0 0 0 / 12%) 0 1px 5px 0;
  padding: 0 12px;
  min-width: 6em;
  font-size: 13px;
}

.deviceTilesPanel {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}

.deviceTile {
  flex: 0 0 10em;
  margin: 1em;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid gray;
  border-radius: 0.5em;
  text-align: center;
  cursor: pointer;
}

.deviceTile img {
  width: 10em;
  border-radius: 0.5em;
}

.deviceTile [myloader="calc_timeSinceHeard"] {
  font-size: 0.6em;
}

.deviceTile .status {
  margin-top: 10px;
  bottom: 0;
  left: 0;
  right: 0;
}

.deviceTile svg {
  width: auto;
  height: 1.3em;
  display: inline;
}

.svg_good * {
  stroke: green;
}

.svg_bad * {
  stroke: red;
  stroke-width: 3px;
}

.svg_verybad * {
  stroke-width: 6px;
  animation: ohcrap 5s infinite;
}

@keyframes ohcrap {
  from {
    stroke: red;
  }

  50% {
    stroke: red;
  }

  70% {
    stroke: white;
  }

  80% {
    stroke: red;
  }

  to {
    stroke: white;
  }
}

.genericPanel {
  margin-left: 3em;
  margin-top: 5em;
}

.userAccountPanel img {
  position: absolute;
  left: 480px;
  top: -10px;
  height: 53px;
}

.genericPanel .sectionTitle {
  margin-bottom: 2px;
  margin-top: 18px;
}

.genericPanel .section {
  position: relative;
  font-size: 90%;
  box-shadow: 0 1px 3px rgb(0 0 0 / 12%);
  border: 1px solid #e7e7e7;
  border-radius: 2px;
  padding: 12px 12px 0;
  max-width: 440px;
}

.genericPanel .section * {
  margin-top: 0;
  color: rgba(0, 0, 0, 0.655);
}

.deviceDetailPanel img {
  width: 10em;
}

.deviceDetailPanel .buttonbar {
  background-color: #8bb8f4;
  white-space: nowrap;
  overflow: hidden;
  list-style: none;
  display: block;
  margin: 0;
  padding: 0 3px;
}

.deviceDetailPanel .deviceSettings {
  padding: 2em;
}

.deviceDetailPanel .deviceSettings img {
  position: relative;
  left: 3em;
}

.deviceDetailPanel .deviceSettings .photoloader {
  position: relative;
  left: 5em;
  top: -3em;
}

.deviceDetailPanel .tabselect {
  font-size: 1em;
  display: inline-block;
  padding: 3px 10px;
  background-color: inherit;
  cursor: pointer;
}

.deviceDetailPanel .tabselected {
  background-color: #d1e3fa;
}

.deviceDetailPanel .devicetab {
  margin-top: 1em;
}

.deviceDetailPanel .deviceHeader {
  font-size: 1.9em;
  font-style: italic;
  padding-top: 0.5em;
  text-align: center;
  font-weight: 600;
}

.sensorHistory .historyHolder > button.selected {
  background-color: rgb(12, 206, 109);
}

.sensorHistory .historyHolder > button {
  display: inline-block;
  vertical-align: middle;
  line-height: 18px;
  outline: 0;
  appearance: none;
  padding: 0px 0px;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  background-color: rgb(185, 200, 193);
  border: 1px solid rgb(137, 151, 155);
  box-shadow: rgb(6 22 33 / 30%) 0px 1px 1px;
  color: rgb(61, 79, 88);
  font-size: 11px;
  font-weight: 400;
  height: 18px;
  transition: all 150ms ease-in-out 0s;
}

.sensorHistory .historyHolder > button:hover {
  color: rgb(61, 79, 88);
  background-color: rgb(255, 255, 255);
  border: 1px solid rgb(93, 108, 116);
  box-shadow: rgb(0 0 0 / 30%) 0px 4px 4px, rgb(231 238 236) 0px 0px 0px 3px;
}

.sensorHistory .historyHolder {
  flex: 0 0 15em;
  padding: 1em;
  height: 20em;
  position: relative;
}

.sensorHistory {
  padding: 0;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  overflow: visible;
}

.sensorHistory .gpsHistory {
  width: 30em;
  font-size: 0.8em;
}

.sensorHistory .warningHistory {
  width: 30em;
  font-size: 0.8em;
}

.sensorHistory .historyTitle {
  font-weight: 500;
  font-size: 120%;
  text-align: center;
  color: gray;
  padding-bottom: 0.5em;
}

.deviceSummary .alertItems .itemholder {
  background-color: gold;
  border-color: red;
}

.deviceSummary .alertItems .itemTitle {
  background-color: red;
}

.deviceSummary .alertItems .itemContent {
  color: red;
  font-weight: bold;
}

#mapid {
  top: -0.6em;
  height: 289px;
  margin: 0;
  border-radius: 0.5em;
}

.deviceSummary .mapholder {
  flex: 0 0 15em;
  height: 300px;
  border: 1px solid #000;
  border-radius: 0.5em;
  background-color: linen;
}

.deviceSummary .when >span {
  margin-top: auto;
}

.deviceSummary .itemholder {
  flex: 0 0 15em;
  background-color: linen;
  height: 10em;
  margin: 1em;
  position: relative;
  border: 1px solid #000;
  border-radius: 0.5em;
}

.deviceSummary .itemholder table {
  width: 100%;
  padding-right: 4em;
}

.deviceSummary .itemholder td {
  text-align: right;
}

.deviceSummary .itemholder th {
  text-align: right;
}

.deviceSummary .itemholder td:first-child {
  text-align: left;
}

.deviceSummary .itemTitle {
  background-color: #000;
  color: #fff;
  text-align: center;
  border-radius: 0.5em 0.5em 0 0;
  position: relative;
  top: -0.5em;
  width: calc(100% + 2px);
  left: -1px;
}

.deviceSummary .itemContent {
  margin: 0 1em;
  font: 0.8em monospace;
}

.deviceSummary .itemBottom {
  margin-top: auto;
  font: 0.8em monospace;
}

.deviceSummaryFlex {
  padding: 0;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  overflow: hidden;
}

.break {
  flex-basis: 100%;
  height: 0;
}

.sensorConfig {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}

.sensorConfig p {
  padding-left: 1em;
}

.sensorConfig .configBlock {
  flex: 0 0 20em;
  margin: 1em;
  position: relative;
  border: 1px solid #000;
}

.sensorConfig .configBlock input {
  margin-left: 1em;
  width: 3em;
}

.sensorConfig .configBlock input.sensorName {
  width: 10em;
  font: inherit;
  padding-left: 0;
  margin-left: 0;
}

.sensorConfig .configBlockHead {
  width: 100%;
  padding-top: 1px;
  padding-left: 2px;
  background-color: #000;
  color: #ff0;
}

.sensorConfig .enableDisable {
  margin-left: 1em;
  border: 1px solid grey;
  border-radius: 3px;
  display: inline-block;
  text-align: center;
  width: 6em;
  background-color: #ffb6c1;
}

.sensorConfig .enableDisable .autoText::before {
  content: "disabled";
}

.sensorConfig .enabled {
  background-color: green;
  color: #fff;
}

.sensorConfig .enabled .autoText::before {
  content: "enabled";
}

.Modal {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.5);
}

.ErrorWindow {
  min-width: 20em;
  width: 50vw;
  border: 4px solid #000;
  padding: 2em;
  color: #fff;
  background-color: red;
  margin-left: 25vw;
  margin-top: 25vh;
}

.SuccessWindow {
  min-width: 20em;
  width: 50vw;
  border: 4px solid #000;
  padding: 2em;
  color: #fff;
  background-color: green;
  margin-left: 25vw;
  margin-top: 25vh;
}

.InfoWindow {
  min-width: 20em;
  width: 50vw;
  border: 4px solid #000;
  padding: 2em;
  color: #fff;
  background-color: blue;
  margin-left: 25vw;
  margin-top: 25vh;
}

.subsystem {
  display: none;
}

.adminToolbar {
  padding: 8px 2px;
  border-bottom: 1px solid #d3d3d3;
}

.userList {
  margin-top: 2em;
  font-size: 0.8em;
}

.userList td {
  padding-right: 2em;
}

.userList th {
  text-align: left;
}

.userList button {
  border: none;
  margin-left: 2em;
  border-radius: 4px;
  padding: 0 7px;
}

.userList tbody tr:nth-child(odd) {
  background: #90ee90;
}

.userDeets {
  margin: 2em 0 0 2em;
}

.userDeets img {
  float: right;
  margin-right: 2em;
}

.userAdd {
  margin: 4em 2em;
}

.deviceList {
  margin-top: 2em;
  font-size: 0.8em;
}

.deviceList td {
  padding-right: 2em;
  cursor: pointer;
}

.deviceList th {
  text-align: left;
}

.deviceList tbody tr:nth-child(odd) {
  background: #90ee90;
}

.groupList {
  margin-top: 2em;
  font-size: 0.8em;
}

.groupList td {
  padding-right: 2em;
  padding-bottom: 8px;
}

.groupList tbody tr:nth-child(odd) {
  background: #90ee90;
}

.groupList th {
  background-color: #000;
  color: #fff;
  font-weight: 400;
  text-align: left;
}

.groupList thead tr:first-child th {
  background-color: #fff;
}

.groupList thead tr:first-child th:nth-child(3) {
  background-color: #000;
  text-align: center;
}

.deviceReports {
  font: 10px "Courier New", monospace;
}

.deviceReports label {
  margin-left: 3em;
  font-weight: bold;
}

.deviceReports thead {
  background: coral;
}

.deviceReports tbody tr:nth-child(odd) {
  background: #90ee90;
}

.deviceReports tbody tr td:nth-child(odd) {
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 153, 0.5),
    rgba(255, 255, 153, 0.5)
  );
}
