body {
  overflow: hidden;
  background: black;
}
#wrapper {
  display: none;
  position: relative;
  width: 100vw;
  height: 100vh;
  background: black;
  margin: 0px;
  padding: 0px;
}
#warn {
  position: absolute;
  display: none;
  top: 0px;
  left: 0px;
  right: 0px;
  text-align: center;
  font-size: 40px;
  background: rgba(255, 255, 255, 0.2);
  line-height: 50px;
  font-weight: bold;
}
.ui.popup {
  width: 500px;
}
#mycanvas {
  margin-top: 30px;
}
#househp {
  position: absolute;
  top: 3px;
  left: 0px;
  right: 0px;
  height: 23px;
  background: #292929;
  border: 1px solid #111;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 0 5px #333;
}
#househp #label {
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  z-index: 10;
  font-weight: bold;
  text-align: center;
  text-shadow: -1px -1px 0px white, -1px 1px 0px white, 1px -1px 0px white, 1px 1px 0px white;
}
#househp #bar {
  top: 0px;
  left: 0px;
  z-index: 5;
  position: absolute;
  width: 100%;
  height: 100%;
  color: #fff;
  text-align: right;
  font-size: 12px;
  line-height: 22px;
  background-color: #FF9800;
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f44336), to(#ff9800));
  background: -webkit-linear-gradient(top, #f44336, #ff9800);
  background: -moz-linear-gradient(top, #f44336, #ff9800);
  background: -ms-linear-gradient(top, #f44336, #ff9800);
  background: -o-linear-gradient(top, #f44336, #ff9800);
}
#topbar {
  position: absolute;
  top: 30px;
  left: 10px;
  height: auto;
  text-align: center;
}
#topbar .resource {
  color: white;
  font-size: 20px;
  padding: 5px;
  text-align: left;
}
#topbar .resource img {
  vertical-align: middle;
}
#topbar .resource .label {
  font-weight: bold;
  display: inline-block;
  width: 70px;
}
#toolbar {
  position: absolute;
  bottom: 0px;
  height: auto;
  text-align: center;
  width: 540px;
  left: calc(50% - 270px);
}
#toolbar .slot {
  cursor: pointer;
  display: inline-block;
  position: relative;
  width: 70px;
  height: 70px;
  border: 2px solid black;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  vertical-align: middle;
  margin: 3px;
}
#toolbar .slot.selected {
  background: #ffffff;
}
#toolbar .slot .icon {
  image-rendering: pixelated;
  display: none;
  width: 64px;
  height: 64px;
  padding: 3px;
}
#toolbar .slot .qty {
  position: absolute;
  bottom: 5px;
  right: 5px;
  font-weight: bold;
  font-size: 20px;
}
#wave-info {
  color: white;
  width: 160px;
  text-align: left;
  margin-top: 20px;
}
#wave-name {
  font-size: 20px;
  margin-bottom: 5px;
}
#wave-content {
  margin-top: 10px;
}
#wave-list {
  padding-left: 20px;
}
#wave-now {
  display: none;
  color: black;
  padding: 5px;
  margin-top: 10px;
}
#wave-hp {
  margin-top: 20px;
}
#topbar-right {
  position: absolute;
  top: 30px;
  right: 5px;
  color: white;
  padding: 5px;
  width: 120px;
}
#topbar-right .requests-title {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 20px;
}
#topbar-right .resume-request {
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 5px;
  margin-bottom: 5px;
  text-align: center;
}
#topbar-right .resume-request .item {
  display: inline-block;
}
#topbar-right .resume-request .item .icon {
  vertical-align: middle;
}
#topbar-right .resume-request .item .amount {
  display: inline-block;
}
.logo {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
  background: black;
  display: none;
}
.logo .logo_img {
  height: 100%;
  background-size: cover;
  background-position: center center;
  image-rendering: pixelated;
  margin: 0px auto;
  display: block;
  cursor: pointer;
}
.logo .logo_text {
  position: absolute;
  bottom: 10vh;
  left: 0px;
  right: 0px;
  text-align: center;
  font-size: 40px;
  color: white;
  font-family: Consolas, Courier New;
}
#titlescreen .logo_img {
  background-image: url('../images/ui/logo.gif');
}
#gameover .logo_img {
  background-image: url('../images/ui/gameover.gif');
}
#gameover .logo_text {
  line-height: 50px;
  bottom: 6vh;
}
