body, input, button, select {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
  color: #111;
  background-image: url("/css/background.jpg");
  background-repeat: repeat;
  
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}

h1 {
  font-size: 26px;
  font-weight: bold;
  margin-top: 0px;
  margin-bottom: 0px;
}

h2 {
  font-size: 22px;
  font-weight: bold;
  margin-top: 4px;
  margin-bottom: 2px;
}

h3 {
  font-size: 18px;
  font-weight: normal;
  margin-top: 6px;
  margin-bottom: 0px;
}

h4 {
  font-size: 14px;
  font-weight: normal;
  margin-top: 2px;
  margin-bottom: 2px;
}

h5 {
    font-size: 14px;
    font-weight: bold;
    margin-top: 6px;
    margin-bottom: 0px;    
    text-align: center;
}

ul {
  margin-top: -3px;
}

li {
  margin-left: -15px;
  margin-bottom: -3px;
}

table {
  border-collapse: collapse;
  width: 100%;
}

table td,
table th {
  //border: 1px solid #ddd;
  padding-left: 4px;
  padding-right: 4px;
}

table tr:nth-child(even) {
  background-color: #f2f2f2;
}

table tr:hover {
  background-color: #ddd;
}

table th {
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: left;
  background-color: #04AA6D;
  color: #fff;
}

fieldset {
  background-color: #eee;
  margin-top: 8px;
}

legend {
  border-radius: 4px;
  background-color: #04AA6D;
  background-color: #04AA6D;
  color: #fff;
  padding: 5px 10px;
}

input[type="text"] {
  width: 98%;
}

input[type="checkbox"] {
  accent-color: #04AA6D;
  margin-bottom: 8px;
}

input[type="number"] {
  width: 40px;
  margin-bottom: 4px;
}

select {
  width: 99%;
}

.header {
  border-bottom: 1px solid gray;
  padding-top: 0px;
  padding-bottom: 5px;
  text-align: center;
  color: #111;
}

.footer {
  border-top: 1px solid gray;
  padding: 10px;
  text-align: center;
  color: #111;
  font-size: 14px;
  font-style: italic;
}

.alert {
  padding: 5px;
  background-color: #eb3443;
  color: #fff;
  margin-top: 3px;
  margin-bottom: 3px;
  border-radius: 12px;
  width: 300px;
}

.center {
  margin-left: auto;
  margin-right: auto;
  width: 8em
}

.btn svg {
  width: 22px;
  height: 22px;
  float: left;
  margin-right: 2px;
}

.btn {
  line-height: 22px;
  background-color: #04AA6D;
  border: none;
  color: #fff;
  padding: 4px 8px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 17px;
  border-radius: 4px;
  margin-top: 2px;  
  margin-bottom: 2px;
  cursor: pointer;
  float: left;
  margin-right: 2px;
}

.btn:hover {
  background-color: #04906D;
}

table .btn {
  padding: 4px 4px;
  margin-bottom: -2px;
}

.group {
  padding-top: 3px;
  padding-bottom: 3px;
}

.menu {
  padding-top: 2px;
  padding-bottom: 4px;
}

.sensorbox ul {
  font-size: 11px;
  color: #fff;
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 0px;
  padding-bottom: 4px;
  margin: 0px;
  list-style-type: none;
  display: flex;
}

.sensorbox li {
  background-color: #27a7e3;
  padding: 4px;
  margin: 2px;
  border-radius: 4px;
}

.sensorbox h2 {
  font-size: 12px;
  font-weight: bold;
  margin-top: 0px;
  margin-bottom: 0px;
}

.newVersion {
  font-size: 14px;
  color: #f00;
}

.pagination {
  display: inline-block;
}

.pagination a {
  margin-top: 5px;
  color: black;
  float: left;
  padding: 8px 16px;
  text-decoration: none;
  border: 1px solid #ddd; /* Gray */
}

.pagination a.active {
  background-color: #04AA6D;
  color: white;
}

.pagination a:hover:not(.active) {background-color: #ddd;}