#virtual-display-frame {
  position: absolute;
  width: 45%;
  top: 5%;
  left: 10%;
  height: 9%;
  padding: 2.5%;
  background-image: url("/images/virtual-display-frame.png");
  background-size: 100% 100%;
}

#virtual-display-content {
  text-align: center;
  color: #FFFFFF;
  font-weight: bold;
  font-size: large;
  max-height: 100%;
  overflow-y: auto;
}

#room-thermostat-content {
  position: absolute;
  top: 5%;
  left: 64%;
  right: 28%;
  height: 15%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}

#room-thermostat-content.active {
  background-image: url("/images/room-thermostat-active.png");
}

#room-thermostat-content.inactive {
  background-image: url("/images/room-thermostat-inactive.png");
}

#room-thermostat-description {
  position: absolute;
  top: 5%;
  left: 73%;
  right: 7%;
  height: 15%;
  font-style: italic;
}

#tab-content-area {
  min-height: 460px;
}

#main-content {
  position: absolute;
  top: 25%;
  left: 5%;
  right: 5%;
  height: 60%;
  min-width: 800px;
  min-height: 180px;
  overflow: auto;
}

#main-content > table, #footer > table {
  width: 100%;
  height: 96%;
  text-align: center;
  table-layout: fixed;
}

#main-content > table tr.descriptions, #footer > table tr.descriptions {
  height: 1em;
  font-style: italic;
}

#main-content > table tr.unified div > p {
  margin-bottom: 0.5em;
  height: 0em;
  font-style: italic;
  font-size: medium;
  font-weight: normal;
}

#main-content > table tr.descriptions {
  font-size: large;
}

#main-content > table td {
  vertical-align: top;
}

#main-content > table tr.values div, #main-content > table tr.unified div {
  width: 6em;
  padding: 0.2em;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  margin: auto;
  border: 1px solid black;
  border-radius: 0.1em;
  box-shadow: 0.2em 0.2em 0.1em 0 #202020;
  font-weight: bold;
  background-image: url("/images/fragment-background.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
}

#main-content > table tr.values div img, #main-content > table tr.unified div img {
  height: 0.9em;
  padding: 0em;
  margin-right: 0.5em;
}

#footer {
  position: absolute;
  top: 85%;
  left: 0;
  right: 0;
  bottom: 0;
}

#footer > table {
  border-collapse: collapse;
  max-height: 80px;
}

#footer tr.descriptions {
  font-size: small;
}

#footer tr.icons td {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: #101010;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
}

#footer tr.icons td a {
  font-size: xx-large;
  font-weight: bold;
  color: #000000;
}
