@import url('../fonts/cloudsplitter/font.css');
@import url('../fonts/vera/font.css');
/**
* Fonts
*/
html,
body,
body * {
  -webkit-font-smoothing: antialiased;
}
@media screen and (min-device-width: 320px) and (max-device-width: 1024px) {
  html {
    -webkit-text-size-adjust: none;
  }
}
/**
* Basics
*/
body {
  margin: 0;
  padding: 0;
  background-color: #E9E9E1;
  background-image: url('../images/body.jpg');
  background-position: top center;
  background-repeat: repeat-x;
  font-size: 14px;
  line-height: 140%;
  font-family: 'Vera', 'Helvetica', sans-serif;
  color: #222222;
}
@media only screen and (-webkit-device-pixel-ratio: 2) {
  body {
    -webkit-background-size: 234.5px 127px;
    background-size: 234.5px 127px;
  }
}
/**
* Header
*/
@-webkit-keyframes logo-bounce {
  0% {
    -webkit-transform: scale(1.05);
    transform: scale(1.05);
  }
  60% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }
}
@keyframes logo-bounce {
  0% {
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
  }
  60% {
    -webkit-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
  }
}
#header {
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 100px;
  margin: 0 auto;
  padding: 0;
}
#header h1 {
  position: absolute;
  top: 20px;
  left: 12px;
  display: block;
  width: 250px;
  height: 65px;
  margin: 0;
  padding: 0;
}
#header h1 a {
  display: block;
  width: inherit;
  height: inherit;
  background-image: url('../images/logo.svg');
  background-repeat: no-repeat;
  text-indent: -1000000px;
  -webkit-transition: -webkit-transform 60ms ease-out;
  transition: transform 60ms ease-out;
}
#header h1 a:active,
#header h1 a:focus,
#header h1 a:hover {
  -webkit-animation: logo-bounce 100ms ease-out;
  animation: logo-bounce 100ms ease-out;
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}
#header nav {
  position: absolute;
  top: 48px;
  right: 0;
  display: table;
}
#header nav ul {
  float: right;
  margin: 0;
  padding: 0;
  list-style: none;
}
#header nav ul li {
  float: left;
  margin: 0;
  margin-left: 8px;
  padding: 0;
  list-style: none;
}
#header nav ul li a {
  display: block;
  padding: 6px 12px;
  color: #000;
  text-decoration: none;
}
#header nav ul li a:active,
#header nav ul li a:focus,
#header nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.3);
}
#header nav ul li.selected a {
  background-color: rgba(177, 202, 73, 0.6);
}
@media screen and (max-width: 499px) {
  #header {
    height: auto;
    padding-bottom: 15px;
  }
  #header h1 {
    left: 50%;
    margin-left: -125px;
  }
  #header nav {
    position: static;
    margin: 0 auto;
    padding-top: 95px;
  }
  #header nav ul li {
    margin: 0 4px;
  }
}
/**
* Comic Panel
*/
#content {
  position: relative;
  display: block;
  max-width: 700px;
  margin: 0 auto;
  padding: 0;
  z-index: 100;
}
#content:after {
  content: '.';
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}
#content [data-template].exception {
  text-align: center;
}
#content [data-template].exception .code {
  margin: 100px 0 0;
  padding: 0;
  font-family: 'Cloudsplitter', 'Vera', 'Helvetica', sans-serif;
  font-size: 140px;
  line-height: 140px;
  letter-spacing: 5px;
  color: rgba(0, 0, 0, 0.6);
}
#content [data-template].exception .message {
  margin: 0;
  font-family: 'Cloudsplitter', 'Vera', 'Helvetica', sans-serif;
  font-size: 18px;
  line-height: 18px;
  font-weight: 200;
  color: rgba(0, 0, 0, 0.8);
}
#activity-indicator {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 60px;
  margin: -30px -40px;
  background-color: rgba(20, 20, 20, 0.9);
  background-image: url('../images/indicator.gif');
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: 32px 32px;
  background-size: 32px 32px;
  border-radius: 5px;
  -webkit-box-shadow: 0px 1px 20px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 1px 20px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}
@media screen and (max-width: 719px) {
  #content {
    margin-left: 10px;
    margin-right: 10px;
  }
}
/**
* Comic Panel
*/
#comic-display {
  clear: both;
  padding: 0;
  background: none;
  background-color: #000;
  -webkit-box-shadow: 0px 1px 20px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 1px 20px rgba(0, 0, 0, 0.2);
  color: #666;
}
#comic-display .strip {
  margin: 0;
  padding: 0;
}
#comic-display .strip img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
}
#comic-display nav {
  display: table;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: #B9D44C;
  background-image: url('../images/nav.jpg');
  background-position: center center;
}
#comic-display nav ul {
  display: table;
  margin: 0;
  padding: 0 10px;
  list-style: none;
}
#comic-display nav ul li {
  float: left;
  width: auto;
  margin: 0;
  padding: 0;
}
#comic-display nav ul.backward {
  float: left;
  padding-right: 0 !important;
}
#comic-display nav ul.backward li {
  margin-right: 10px;
}
#comic-display nav ul.forward {
  float: right;
  padding-left: 0 !important;
}
#comic-display nav ul.forward li {
  margin-left: 10px;
}
#comic-display nav ul a {
  display: block;
  padding: 5px 10px;
  font-size: 14px;
  color: #000;
  text-decoration: none;
  text-shadow: #DCEAA6 0 0 10px;
}
#comic-display nav ul a:active,
#comic-display nav ul a:focus,
#comic-display nav ul a:hover {
  color: #fff;
  background-color: #000;
}
@media screen and (max-width: 499px) {
  #comic-display nav ul li a {
    font-size: 12px;
  }
}
/* */
div.comicTranscript {
  display: none;
  font-size: 12px;
  color: #FFA8A8;
}
div.comicTranscript.transcriptEmpty,
div.comicTranscript.transcriptUnmoderated {
  display: block;
}
div.comicTranscript p {
  margin: 0px;
  padding: 0px;
  text-align: center;
}
div.comicTranscript p a {
  position: absolute;
  bottom: 10px;
  left: -10px;
  width: 100px;
  background: none;
  background-color: #C00;
  padding: 7px 10px;
  line-height: 140%;
  letter-spacing: 1px;
  color: #FFF;
  font: 14px "Cloudsplitter", "Felt Marker";
  box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.4);
  -ms-transform: rotate(-3deg);
  transform: rotate(-3deg);
  -moz-transform: rotate(-3deg);
  -webkit-transform: rotate(-3deg);
  display: block;
}
div.comicTranscript p a:hover {
  background-color: #DB4D4D;
}
div.comicTranscript p.details {
  margin: 0px;
  padding: 4px 0px;
}
/**
* Footer
*/
#footer {
  position: relative;
  width: 100%;
  margin-top: -2.5%;
  background-image: url('../images/footer.jpg');
  background-position: bottom center;
  background-repeat: repeat-x;
}
#footer .graphic {
  display: block;
  width: 906px;
  height: 400px;
  margin: 0 auto;
}
#footer .copyright {
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  text-align: center;
  color: #FFF;
}
#footer .copyright p {
  margin: 0;
  padding: 0;
  font-size: 12px;
}
@media screen and (max-width: 905px) {
  #footer {
    background: none;
  }
  #footer .graphic {
    width: 100%;
    height: auto;
  }
}
