html {
  width: 100%;
  height: 100%;
}

body {
  font-family: sans-serif;
  width: 100%;
  height: 100%;
  margin: auto;
  max-width: 1024px;
  max-height: 768px;
  min-width: 920px;
  min-height: 570px;
  background-color: #000000;
  background-image: url("/images/dark-background.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
  color: #FFFFFF;
}

a {
  color: #FFFFFF;
  text-decoration: none;
}

/* container for side margins creation and absolute contents positioning */
#whole-page-container {
  position: relative;
  width: auto;
  height: 100%;
  margin-left: 1.0em;
  margin-right: 1.0em;
}

#login-info-area {
  position: absolute;
  top: 0;
  left: 0;
  height: 1.7em;
  right: 10em;
  padding: 0.4em;
  overflow: auto;
}

#logo-area {
  position: absolute;
  right: 0;
  top: 0.4em;
  width: 9em;
  height: 2.7em;
  background-image: url("/images/logo.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
}

#tablist-area {
  position: absolute;
  top: 2.5em;
  left: 0;
  height: 1.0em;
  right: 10em;
}

#tab-content-area {
  position: absolute;
  top: 3.5em;
  bottom: 3.0em;
  left: 0;
  right: 0;
  background: radial-gradient(#808080, #202020);
  background: -moz-radial-gradient(#808080, #202020);
  background: -webkit-radial-gradient(#808080, #202020);
  background: -o-radial-gradient(#808080, #202020);
  border: 1px solid #808080;
  border-bottom-width: 0;
  box-shadow: 0.2em 0.2em 0.1em 0 #202020;
}

#device-info-area {
  position: absolute;
  bottom: 0.5em;
  height: 1.5em;
  left: 0;
  right: 0;
  padding: 0.5em;
  background-color: #101010;
  color: white;
  border: 1px solid #808080;
  border-top-width: 0;
  text-align: center;
  box-shadow: 0.2em 0.2em 0.1em 0 #202020;
}

/* contents of #tablist-area */
#tablist-table {
  position: absolute;
  bottom: -0.2em;
  width: 100%;
}

#tablist-table td {
  border: 1px solid #D0D0D0;
  border-bottom: 0;
  border-radius: 0.3em;
  text-align: center;
}

#tablist-table td.active {
  background-image: url("/images/active-tab-background.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 100% 100%;
}

#tablist-table td.active a {
  color: #6E87CD;
  font-weight: bold;
}

#tablist-table td.inactive {
  background-color: #202020;
}

/* contents of #login-info-area and #device-info-area */
span.user-name, span.device-description {
  font-weight: bold;
}

p#operation-result {
    text-align: center;
    font-size: xx-large;
    font-weight: bold;
}

/* specific for PWKEY */
#main-content > table tr.values div, #main-content > table tr.unified div {
  font-size: 250%;
}
