/* This file is the main reason the site is awesome, hence the name. */
body {
  background: url("https://exceljeebrus.com/images/lined-paper.png");
  font-family: "Architects Daughter", sans-serif;
  margin: 0;
  padding: 53px 0 43px;
}

p {
  margin: 0 0 15px;
}

a {
  color: #22a;
  text-decoration: none;
}

img {
  max-width: 100%;
}

/* # Header
---------------------------------------------------------------- */
header {
  background-color: #fff19a;
  background-image: url("https://exceljeebrus.com/images/logo.png"), url("https://exceljeebrus.com/images/crinklebackground.jpg");
  background-position: left center, center;
  background-repeat: no-repeat, repeat;
  background-size: contain, auto;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  padding: 10px;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 314;
}
header .site-title {
  margin: 0;
}
header .site-title a, header .site-title a:hover {
  display: block;
  color: #111;
  position: relative;
  text-decoration: none;
  z-index: 1;
}
header #search-form {
  position: absolute;
  top: 6px;
  right: 0;
  text-align: right;
  width: 100%;
}
header #search-form input[type=search] {
  background: url("https://exceljeebrus.com/images/search-icon.svg") center no-repeat;
  border: none;
  border-bottom: solid 1px rgba(0, 0, 0, 0);
  color: rgba(17, 17, 17, 0);
  cursor: pointer;
  font-family: inherit;
  font-size: 17px;
  padding: 5px 10px;
  position: relative;
  transition: all 0.4s;
  width: 40px;
  z-index: 2;
}
header #search-form input[type=search]:focus {
  background: url("https://exceljeebrus.com/images/search-icon.svg") left 10px center no-repeat #fff19a;
  border-bottom: solid 1px rgba(0, 0, 0, 0.5);
  color: rgb(17, 17, 17);
  margin-right: 3%;
  padding: 6px 0 4px 40px;
  width: 94%;
}

/* #
---------------------------------------------------------------- */
.content-wrap, .wrap {
  margin: auto;
  max-width: 1000px;
}

/* # Comics!
---------------------------------------------------------------- */
.comic {
  background: url("https://exceljeebrus.com/images/crinklebackground.jpg") #fff19a;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
  margin: 20px 10px;
  padding: 20px;
}
.comic h1 {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 10px;
  text-align: center;
}
.comic h1 A {
  color: #000;
}
.comic ul {
  margin: 0;
  padding: 0;
}
.comic ul li {
  list-style-type: none;
  padding: 8px 0;
  text-align: center;
}
.comic ul li:not(:last-child) {
  border-bottom: solid 1px rgba(0, 0, 0, 0.5);
}
.comic ul li figure {
  margin: 0;
}
.comic ul li figcaption {
  display: none;
}
.comic .narration {
  border: solid 2px #000;
  margin-bottom: 20px;
  padding: 20px;
}
.comic.profile h1 {
  font-size: 32px;
  margin-bottom: 20px;
}

.details {
  font-size: 16px;
  margin: 0;
  padding: 20px;
}
.details dt {
  float: left;
  margin-right: 10px;
}
.details dt::after {
  content: ":";
}
.details .keywords UL {
  display: inline;
  margin: 0;
  padding: 0;
}
.details .keywords UL LI {
  list-style-type: none;
  display: inline;
}
.details .keywords UL LI:not(:last-child):after {
  content: ", ";
}

.social-share {
  padding: 0 20px;
  text-align: center;
}
.social-share h3 {
  margin: 0;
}

.hide_extra .content-wrap {
  max-width: 100%;
}

.go-back, .go-full-size {
  color: #000;
  display: inline-block;
  font-size: 13pt;
  padding: 10px;
}
.go-back .forward-arrow, .go-full-size .forward-arrow {
  background-image: url("https://exceljeebrus.com/images/spritesheet-nav.png");
  background-position: 0 1px;
  background-size: 60px;
  display: block;
  float: right;
  margin-left: 10px;
  height: 32px;
  width: 30px;
}
.go-back .back-arrow, .go-full-size .back-arrow {
  background-image: url("https://exceljeebrus.com/images/spritesheet-nav.png");
  background-position: 0 -28px;
  background-size: 60px;
  display: block;
  float: left;
  margin-right: 10px;
  height: 32px;
  width: 30px;
}

.go-back + .comic,
.go-full-size + .comic {
  margin-top: 0;
}

/* # Le Navigazione
---------------------------------------------------------------- */
.navigation {
  background: url("https://exceljeebrus.com/images/crinklebackground.jpg") #fff19a;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}
.navigation ul {
  list-style: none;
  margin: 0;
  padding: 8px;
}
.navigation ul li {
  float: left;
  text-indent: -10000px;
  width: 33.33%;
}
.navigation ul li.previous a {
  background-image: url("https://exceljeebrus.com/images/spritesheet-nav.png");
  background-position: 0 -41px;
}
.navigation ul li.random a {
  background-image: url("https://exceljeebrus.com/images/spritesheet-nav.png");
  background-position: -41px 0;
  margin: 0 auto;
}
.navigation ul li.next a {
  background-image: url("https://exceljeebrus.com/images/spritesheet-nav.png");
  background-position: 0 0;
  float: right;
}
.navigation ul li a {
  background-position: center top;
  background-repeat: no-repeat;
  width: 40px;
  height: 40px;
  display: block;
}
.navigation ul li a.disabled {
  opacity: 0.25;
}
.navigation ul::after {
  clear: both;
  content: "";
  display: block;
}

/* # Ad Container
---------------------------------------------------------------- */
.ad-container {
  background: url("https://exceljeebrus.com/images/crinklebackground.jpg") #fff19a;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
  margin: 20px 10px;
}

/* # Footer
---------------------------------------------------------------- */
.site-footer {
  clear: both;
  padding: 10px;
}
.site-footer p {
  font-size: 14px;
  margin: 0;
  text-align: center;
}

@media (max-width: 767px) {
  .hide_extra {
    padding-top: 0;
  }
  .hide_extra > header {
    display: none;
  }
  .hide_extra .comic {
    margin: 0 0 20px;
    overflow: scroll;
  }
  .hide_extra .comic img {
    max-width: 1000px;
  }
}
@media (min-width: 768px) {
  .comic-pane {
    float: left;
    position: relative;
    width: 66.667%;
    z-index: 2;
  }
  .navigation-pane {
    box-sizing: border-box;
    padding: 20px 2% 0 0;
    position: fixed;
    width: 100%;
    left: 0;
  }
  .navigation-pane .ad-container, .navigation-pane .navigation {
    clear: right;
    float: right;
    width: 30%;
  }
  .navigation-pane .ad-container {
    box-sizing: border-box;
    margin: 0 0 20px;
  }
  .navigation-pane .navigation {
    position: static;
  }
  /* # Ad Container - 768 and up
  ---------------------------------------------------------------- */
  .ad-container.mobile-only {
    display: none;
  }
}
#add-comic .group {
  width: 300px;
}
#add-comic .group INPUT[type=text] {
  padding: 7px;
  font-size: 12pt;
  margin-right: 0;
  width: 175px;
  float: left;
  box-sizing: border-box;
  border: 1px #c0c0c0 solid;
  border-right: 0;
}
#add-comic .group BUTTON {
  font-size: 12pt;
  border: 1px #c0c0c0 solid;
  background: #fff;
  padding: 7px;
  margin-left: 0;
  color: #404040;
  border-radius: 15px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  float: left;
  width: 50px;
  box-sizing: border-box;
}
#add-comic .group BUTTON .fa-plus-circle {
  color: #008800;
}

.pagination {
  display: block;
  clear: both;
  margin: 0;
  padding: 0;
  text-align: center;
  width: 66.667%;
}
.pagination LI {
  padding: 10px;
  font-size: 16pt;
  margin: 0;
  margin-right: 10px;
  list-style: none;
  display: inline-block;
}
.pagination LI:last-child {
  margin-right: 0;
}
.pagination LI.disabled {
  color: #d0d0d0;
  cursor: not-allowed;
}

@media (speech) {
  FIGCAPTION {
    display: block;
  }
}
.btn {
  padding: 5px 15px;
  color: #000;
  background: #fff19a;
  font-family: "Architects Daughter", sans-serif;
  border-radius: 5px;
  font-size: 12pt;
}
.btn.alt {
  background: RGBA(255, 255, 255, 0.7);
  border: 1px #fff solid;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
}
