/*  Kindle PW7 Dimensions:
    Width: 708
    Height: 518
    Height (with Bar): 478
    Font: 20px
    Dev Font: 13.5px
*/
html {
  overflow: hidden;
  font-size: 20px;
  font-family: Arial, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  overflow: hidden;
}
body.refresh {
  background-color: black;
  width: 100%;
  height: 100%;
}
body.refresh.resume {
  background-color: white;
}

#testbackground {
  display: none;
}

.dev {
  font-size: 13.5px;
}
.dev #testbackground {
  display: block;
  z-index: -1;
  position: absolute;
  background-color: #eeeeee;
  width: 708px;
  height: 518px;
}

#time {
  text-align: center;
  font-weight: bold;
  font-size: 1.5rem;
  padding: 5px;
  margin: 0;
}

#back,
#reload {
  position: absolute;
  left: 5px;
  top: 5px;
  font-size: 1.6rem;
  font-weight: bold;
  text-decoration: none;
  color: black;
}

#reload {
  left: auto;
  right: 5px;
}

#servers,
#bottom {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  margin-left: -1px;
}
#servers .server,
#bottom .server {
  display: block;
  text-decoration: none;
  color: black;
  background-color: white;
  border: 3px solid black;
  padding: 0;
  margin: 0 1px;
  width: 100%;
  min-height: 180px;
}
#servers .server:first-child,
#bottom .server:first-child {
  margin-left: 5px;
}
#servers .server .name,
#bottom .server .name {
  color: white;
  background-color: black;
  font-weight: bold;
  padding: 3px;
  text-align: center;
}
#servers .server .infos,
#bottom .server .infos {
  padding: 0;
}
#servers .server .infos p,
#servers .server .infos div,
#bottom .server .infos p,
#bottom .server .infos div {
  margin: 0;
  padding: 0;
}
#servers .server .infos .line,
#bottom .server .infos .line {
  padding: 3px 5px;
  margin: 0;
  border-top: 2px solid black;
}
#servers .server .infos .line.fixedheight,
#bottom .server .infos .line.fixedheight {
  height: 1.2rem;
}
#servers .server .infos .line.fixedheight.headline,
#bottom .server .infos .line.fixedheight.headline {
  height: 2.4rem;
}
#servers .server .infos .column,
#bottom .server .infos .column {
  width: 33.3%;
  float: left;
  text-align: center;
}
#servers .server .infos .sub,
#bottom .server .infos .sub {
  width: 100%;
}
#servers .server .infos .error,
#bottom .server .infos .error {
  background-color: #535353;
  color: white;
}
#servers .server .infos .warning,
#bottom .server .infos .warning {
  background-color: #bdbdbd;
  color: black;
}
#servers .server.error,
#bottom .server.error {
  background-color: #535353;
}
#servers .server.error .infos,
#bottom .server.error .infos {
  padding-top: 70px;
  width: 100%;
  color: white;
  text-align: center;
  font-weight: bold;
}

#bottom {
  padding-top: 2px;
}
#bottom .server {
  min-height: auto;
  width: 66.9%;
}

#logo {
  display: block;
  padding: 0;
  margin: 0 1px;
  width: 34%;
}
#logo img {
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: top;
     object-position: top;
  margin-left: 5%;
  margin-top: 50px;
  width: 90%;
  height: 100%;
}

#htop {
  font-size: 15px !important;
}
#htop pre {
  margin: 0;
}