* {
  margin: 0;
  padding: 0;
  border: 0;
}
html {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
caption,
th,
td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}
q,
blockquote {
  quotes: none;
}
q:before,
q:after,
blockquote:before,
blockquote:after {
  content: "";
  content: none;
}
a img {
  border: none;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary {
  display: block;
}
.hide {
  display: none;
}
body,
html {
  height: 100%;
  min-height: 100%;
}
body {
  font-family: monospace, sans;
}
img.hidpi {
  transform: scale(0.5);
}
div#container {
  min-height: 100%;
  margin: 0px auto -54px;
  background-repeat: no-repeat;
  box-sizing: border-box;
}
@media (min-width: 751px) {
  div#container {
    background-image: url("../panels/assets/background-x.jpg");
    background-size: 100%;
    width: 751px;
  }
}
@media (max-width: 750px) {
  div#container {
    width: 100%;
    background-image: url("../i/bottom-responsive-loop.jpg");
    background-repeat: repeat-y;
    background-position: center;
    background-size: 100%;
  }
}
div#header {
  height: 155px;
  margin-bottom: 31px;
  margin-top: 0px;
}
@media (max-width: 750px) {
  div#header {
    display: none;
  }
}
.gallery-header > img {
  width: 100%;
}
.responsive-header {
  background-color: #fff;
  text-align: center;
  display: none;
}
.responsive-header > img {
  width: 100%;
  max-width: 667px;
}
@media (max-width: 750px) {
  .responsive-header {
    display: block;
  }
}
div#joke {
  text-align: center;
}
@media (min-width: 751px) {
  div#joke {
    height: 465px;
    margin: 0px 204px 0px 187px;
    margin-bottom: 15px;
  }
  div#joke img {
    width: 350px;
    height: 450px;
  }
}
@media (max-width: 750px) {
  div#joke {
    padding-bottom: 13px;
    background-color: #fff;
  }
  div#joke img {
    width: 98%;
    max-width: 530px;
  }
}
div#tools {
  padding-top: 17px;
  overflow: hidden;
}
div#tools .links {
  margin-top: 13px;
  margin-bottom: 13px;
}
div#tools .links table {
  width: 80%;
  margin: 0 auto;
}
div#tools .links table td {
  text-align: center;
}
@media (min-width: 751px) {
  div#tools {
    margin-top: 20px;
    margin-left: 181px;
    margin-right: 197px;
  }
}
@media (max-width: 750px) {
  div#tools {
    background-image: url("../i/bottom-responsive.jpg");
    background-position: top center;
    background-size: 100% auto;
    width: 100%;
  }
}
div#tools > #navigation {
  text-align: center;
  margin: 0px auto;
}
div#tools a {
  display: inline-block;
}
#bottom {
  text-align: center;
  margin: 0 auto;
}
@media (min-width: 751px) {
  #bottom {
    width: 751px;
  }
}
@media (max-width: 750px) {
  #bottom {
    width: 100%;
  }
}
.footer-push {
  height: 414px;
}
#bottom {
  height: 54px;
}
a {
  text-decoration: none;
  color: #000;
}
div {
  margin: 0px;
}
.left {
  float: left;
}
.right {
  float: right;
}
#footer {
  text-align: center;
  padding-right: 21px;
  margin: 0px auto;
}
#footer * {
  font-family: "Asap", sans-serif;
  font-size: 9pt;
  color: #111;
  text-decoration: none;
}
body.gallery #container {
  background: none;
}
#gallery {
  text-align: center;
  margin: 0px auto;
  width: 563px;
  overflow: hidden;
  padding-bottom: 20px;
}
@media (max-width: 629px) {
  #gallery {
    width: 423px;
  }
}
@media (max-width: 460px) {
  #gallery {
    width: 281px;
  }
}
@media (max-width: 296px) {
  #gallery {
    width: 100%;
  }
}
div.gallery-part {
  overflow: hidden;
}
div.gallery-item {
  padding: 5px;
  border: solid 1px #808080;
  margin: 5px;
  float: left;
  background: #fff;
}
div.gallery-item img {
  width: 118px;
  height: 118px;
}
body.gallery div#header {
  height: 155px;
}
body.gallery div#container {
  min-height: 1000px;
}
