/* === Basileus Comic Site Theme === */

html, body {
  padding: 0;
  margin: 0;
}

html {
  background: #fff;
  color: #222;
  font-family: serif;
}

body {
  background: none;
  text-align: center;
}

h1, h2, h3, h4, h5, h6, a, #nav {
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
  color: #000;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  margin: 0.5em 0;
  text-transform: capitalize;
}

p {
  text-align: left;
}

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

a:hover {
  color: #000;
}

img {
  max-width: 100%;
  height: auto;
}

/* Navigation */
#nav {
  list-style: none;
  text-align: center;
  font-size: 0;
  margin-top: 70px;
  padding: 0;
  padding-bottom: 10px;
}

ul#nav li {
  display: inline-block;
  line-height: 60px;
  font-size: 32px;
  padding: 0 10px;
}

ul#nav li a {
  text-decoration: none;
  color: inherit;
}

ul#nav li a:hover {
  color: #e32;
}

/* Comic page display */
.page-skirt {
  padding: 15px;
  background: #fff;
  margin: 0 auto;
  display: inline-block;
}

.page-skirt img {
  display: block;
  max-width: 900px;
}

/* Navigation buttons */
.btn {
  color: #e32;
  font-size: 26px;
  text-decoration: none;
}

.btn a {
  color: #e32;
}

.btn a:hover {
  color: #000;
}

/* Notes section */
.notes-holder {
  border-top: 3px double #ccc;
  text-align: center;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
}

.note-block {
  border-left: 1px dotted #ccc;
  width: 50%;
  min-width: 300px;
  padding: 25px;
  text-align: left;
  box-sizing: border-box;
  flex: 1;
}

.note-block:first-child {
  border-left: none;
}

.note-block .label {
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
}

.note-block.noborder {
  border: none;
}

/* Roughs thumbnails */
.thumbnail {
  width: 80px;
  height: 120px;
  display: inline-block;
  margin: 5px;
  border: 1px solid #ccc;
  object-fit: cover;
}

.thumbnail:hover {
  margin: 4px;
  border-width: 2px;
  border-color: #e32;
}

/* Comments button */
#loadcomments {
  padding: 5px 15px;
  border: 1px solid #ccc;
  display: inline-block;
  cursor: pointer;
  margin-top: 15px;
}

#loadcomments a {
  color: #e32;
  font-size: 26px;
}

/* Chapter listing */
.chapter-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.chapter-grid a {
  display: block;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-size: 11px;
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
}

.chapter-grid a img {
  display: block;
  width: 80px;
  height: 120px;
  border: 1px solid #ccc;
  margin-bottom: 4px;
}

.chapter-grid a:hover {
  color: #e32;
}

.chapter-grid a:hover img {
  border-color: #e32;
}

/* Content page (About, Support) */
.content-page {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
  padding: 20px;
}

.content-page h1 {
  text-align: center;
  margin-top: 0;
}

.content-page p {
  font-size: 16px;
  line-height: 1.6;
}

.content-page a {
  color: #e32;
}

/* Clear floats */
.clear {
  height: 15px;
}

.clear.tall {
  height: 80px;
}

/* Hidden preload image */
img.preload {
  display: none;
}

/* Cover / splash */
.cover-page .page-skirt {
  padding: 30px;
}

/* Disqus thread */
#disqus_thread {
  max-width: 900px;
  width: 100%;
  display: inline-block;
}