html,
body {
  height: 100%;
  background: #333;
  background-size: cover;
}
#page404 {
  font-size: 10px;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
#page404 a {
  color: #fff;
}
#page404 .site-wrapper {
  display: table;
  width: 100%;
  height: 100%;
  /* For at least Firefox */
  min-height: 100%;
  -webkit-box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}
#page404 .site-wrapper-inner {
  display: table-cell;
  vertical-align: top;
}
#page404 .cover-container {
  margin-right: auto;
  margin-left: auto;
  padding: 20px 20px;
}
#page404 .cover-container .title {
  font-size: 600%;
  padding-bottom: 20px;
}
#page404 .cover-container .text {
  font-size: 120%;
  line-height: 2.2em;
}
#page404 .cover-container .btn a {
  display: block;
  color: #333;
  width: 180px;
  padding: 10px;
  margin: 0 auto;
  background: #fff;
  text-decoration: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  text-shadow: none;
}
#page404 .mastfoot {
  color: #999;
  /* IE8 proofing */
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 20px 0;
}
#page404 .mastfoot a {
  color: #999;
  /* IE8 proofing */
  color: rgba(255, 255, 255, 0.5);
}
@media (min-width: 768px) {
  #page404 {
    font-size: 12px;
    /* Handle the widths */
  }
  #page404 .site-wrapper-inner {
    vertical-align: middle;
  }
  #page404 .mastfoot {
    position: fixed;
    bottom: 0;
  }
  #page404 .masthead,
  #page404 .mastfoot,
  #page404 .cover-container {
    width: 100%;
    /* Must be percentage or pixels for horizontal alignment */
  }
}
