/******************************************************************************
 *                   Stylesheet created by kernel-Panic.it                    *
 *                              Sitewide styles                               *
 ******************************************************************************/

/*************************  Override a few defaults  **************************/
html, body {
  /* Leave a little margin at the bottom */
  height: calc(100% - 10px);
}

body {
  background-color: #fff;
  font-family: sans-serif;
  color: #000;
}

a {
  color: #000;
}

img {
  border-width: 0px;
}

q {
  font-style: italic;
}

/********************************** Layout ************************************/
#container {
  width: 100%;
  min-height: 100%;
  border: 1px solid #28394f;
  margin: auto;
  display: table;
  background-image: url('../images/left.png');
  background-repeat: repeat-y;
  background-position: left;
}

#sub-container {
  background: transparent url('../images/top-left.png') no-repeat top left;
}

#header {
  height: 100px;
  padding-left: 50px;
  font-family: 'Kaushan Script', cursive;
  font-size: 65px;
  text-align: center;
  text-shadow: 4px 4px 3px rgba(0,0,0,0.4);
  background-image: url('../images/bomb.png'), url('../images/header-right.png'), url('../images/header_bg.png');
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: 30px, top right, center;
}

#main {
  display: table-cell;
  width: 100%;
  vertical-align: top;
  padding-top: 30px;
  padding-right: 20px;
  border-top: 1px solid #28394f;
  background-image: url('../images/top-right.png');
  background-repeat: no-repeat;
  background-position: top right;
}

#footer {
  display: table-row;
  width: 100%;
  height: 30px;
  text-align: center;
  font-size: 80%;
  font-style: italic;
  background-image: url('../images/bottom-right.png'), url('../images/bottom-left.png');
  background-repeat: no-repeat, no-repeat;
  background-position: bottom right, bottom left;
}

/********************************** Sidebar ***********************************/
#sidebar {
  display: table-cell;
  width: 95px;
  padding: 0;
  margin-right: -40px;
}

#sidebar ul {
  margin: 10px 0px 0px 0px;
  padding: 10px 0px 0px 0px;
  list-style-type: none;
  font-family: 'Kaushan Script', cursive;
  font-size: 24px;
}

#sidebar li {
  margin: 1px 0px;
}

#sidebar img {
  float: left;
  padding-left: 6px;
}

a.menu {
  height: 40px;
  width: 60px;
  display: block;
  text-decoration: none;
}

a.menu span {
  display: none;
}

/************************************ Media ***********************************/
@media (max-width: 576px) {
  #container {
      width: 100%;
  }
  #header {
    background-image: url('../images/bomb.png'), url('../images/header-right.png'), url('../images/header_bg.png');
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: left, top right, center;
  }
}

@media (min-width: 576px) {
  #container {
      width: 540px;
  }
}

@media (min-width: 768px) {
  #container {
    width: 720px;
  }

  #main {
    padding-left: 20px;
  }

  a.menu {
    width: 180px;
    background: transparent url('../images/tile.png') left center no-repeat;
    padding-top: 0px;
    padding-bottom: 1px;
  }

  a.menu:hover {
    background: transparent url('../images/tile_over.png') left center no-repeat;
    color: #000;
    padding-top: 1px;
    padding-bottom: 0px;
  }

  a.menu span {
    visibility: visible;
    padding-top: 2px;
    display: block;
  }
}

@media (min-width: 992px) {
  #container {
    width: 960px;
  }
}

@media (min-width: 1200px) {
  #container {
    width: 1140px;
  }
}

