html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;  
}
body {
  --frame-padding: 30px;
  margin: 0;
  padding: 0;
  height: 100%;
  text-align: center;
  background: url(/ui/images/bg.jpg) no-repeat center center fixed;
  background-size: cover;
}
body.brand-apollo {
  background-image: url(/ui/images/bg-waves-dark.png);
}
body.brand-ares {
  background-image: url(/ui/images/bg-gradient.png);
}
body.brand-celsus,
body.brand-citadel {
  background-image: url(/ui/images/bg-waves.png);
}
body.brand-apollo h1 {
  background-image: url(/ui/images/logo-sub-apollo.png);
}
body.brand-ares h1 {
  background-image: url(/ui/images/logo-sub-ares.png);
}
body.brand-celsus h1 {
  background-image: url(/ui/images/logo-sub-celsus.png);
}
body.brand-citadel h1 {
  background-image: url(/ui/images/logo-sub-citadel.png);
}
#center {
  display: table;
  box-sizing: border-box;
  margin: var(--frame-padding);
  height: calc(100vh - calc(var(--frame-padding)*2));
  width: calc(100vw - calc(var(--frame-padding)*2));
  background: rgba(0, 0, 0, .5);
}
#container {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  padding: 20px;
}
#container h1 {
  display: inline-block;
  margin: 0;
  padding: 0;
  /*width: 390px;*/
  width: 780px;
  height: 175px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 1000em;
}
#container div.error {
  position: fixed;
  bottom: 50px;
  left: 50%;
  margin-left: -200px;
  width: 400px;
}
#container div.error h2,
#container div.error p {
  color: #fff;
  font-family: Helvetica, Arial, sans-serif;
}
