body {
  font-family: sans-serif;
  margin: 0;
  background-color: #CCCCCC;
}

#form {
  display: flex;
  margin-top: 10px;
}

#input {
  flex: 1;
  padding: 10px;
  font-size: 16px;
}

.grid-stack {
  background: #fafad200;
}
.grid-stack-item-content {
  background-color: rgb(255, 255, 255);
  border-radius: 15px;
}

.grid-stack-item {
  margin: 0;
  padding: 0;
}

.tile-title {
  /* font-size: 18px; */
  position: absolute;
  bottom: 10px;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
}

.tile-off {
  background-color: rgb(255, 255, 255);
}

.tile-on {
  background-color: #9deb9d;
}

.tile-changing {
  background-color: #fcba03;
}

.tile-disconnected {
  position: absolute;
  top: 3px;
  right: 5px;
  width: 20px;
  height: 20px;
  content: url(./disconnected.png);
}

.tile-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* or contain, fill, etc. */
}

.tile-snap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* or contain, fill, etc. */
}

.tile-brightness-slider {
  width: 100px;
  margin-top: 20px;
  margin-left: 5px;
}

.tile-speed-slider {
  width: 100px;
  margin-top: 20px;
  margin-left: 5px;
}

.tile-temp-hum {
  position: absolute;
  top: 3px;
  left: 5px;
  font-size: 32px;
  /* width: 20px;
  height: 20px; */
}

.tile-pm {
  position: absolute;
  top: 37px;
  left: 5px;
}

.tile-voc {
  position: absolute;
  top: 52px;
  left: 5px;
}

.tile-pm1 {
  position: absolute;
  top: 18px;
  left: 5px;
}

.tile-pm25 {
  position: absolute;
  top: 33px;
  left: 5px;
}

.tile-pm4 {
  position: absolute;
  top: 48px;
  left: 5px;
}

.tile-pm10 {
  position: absolute;
  top: 63px;
  left: 5px;
}

/* .tile-voc {
  position: absolute;
  top: 78px;
  left: 5px;
} */

.tile-nox {
  position: absolute;
  top: 93px;
  left: 5px;
}

/* .account-delete-button {
  background-color: red;
  color: white;
} */
/* .device-delete-button {
  background-color: red;
  color: white;
} */

input[type=range] {
  -webkit-appearance: none;
  margin: 18px 0;
  width: 100%;
}
input[type=range]:focus {
  outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  box-shadow: 0.4px 0.4px 0.4px #000000, 0px 0px 0.4px #0d0d0d;
  /* background: #3071a9; */
  background-image: linear-gradient(to right, rgb(51, 51, 51) , white);
  border-radius: 1.3px;
  border: 0.1px solid #010101;
}
input[type=range]::-webkit-slider-thumb {
  box-shadow: 0.4px 0.4px 0.4px #000000, 0px 0px 0.4px #0d0d0d;
  border: 0.1px solid #000000;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  background: #9bc762;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -14px;
}
/* input[type=range]:focus::-webkit-slider-runnable-track {
  background: #367ebd;
} */

input[type=range]::-moz-range-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  /* background: #3071a9; */
  background-image: linear-gradient(to right, rgb(51, 51, 51) , white);
  border-radius: 1.3px;
  border: 0.2px solid #010101;
}
input[type=range]::-moz-range-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  background: #9bc762;
  cursor: pointer;
}

input[type=range]::-ms-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  border-width: 16px 0;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
  /* background: #2a6495; */
  background-image: linear-gradient(to right, rgb(51, 51, 51) , white);
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
input[type=range]::-ms-fill-upper {
  /* background: #3071a9; */
  background-image: linear-gradient(to right, rgb(51, 51, 51) , white);
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
input[type=range]::-ms-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  background: #9bc762;
  cursor: pointer;
}