/* AwesomeDude styles template for responsive serial chapters */

/* Last modified May 25 2016 by John Silby (Alien Son) */


/* Reset */

* {
  margin: 0;
  padding: 0;
  border: 0;
  text-decoration: none
}


/* Basics */

body {
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  font-size: 18pt;
  line-height: 1.4;
  color: #000;
  background-color: #9f9f9f;
}

.container {
  width: 90%;
  max-width: 900px;
  margin: 0px auto;
  padding: 1.5em 0;
}

header {
  margin: 0 auto;
  height: auto;
}

.title-image {
  max-width: 600px;
  margin: 2em auto;
}

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

h1, h2, h3 {
  text-align: center;
}

h1 {
  font-family: Georgia, serif;
  font-size: 2.0em;
  font-weight: normal;
  text-shadow: .2em .2em 1em #000;
}

header h2 {
  padding-top: .5em;
  padding-bottom: 1.1em;
}

.preface h2 {
  padding-top: 2em;
}

h2 {
  font-size: 1.1em;
  font-weight: bold;
  padding-top: 4em;
  padding-bottom: 2em;
  text-shadow: 1px 1px 3px #CCCCCC;
}

h3, h4, h5 {
  font-weight: bold;
  text-align: center;
}

h3 {
  font-size: 1em;
  padding-bottom: 1.7em;
}

h4 {
  font-size: 1.1em;
  font-style: italic;
  margin-bottom: .2em;
}

h5 {
  font-size: .9em;
  margin-top: 1.9em;
}

p {
  font-size: 1em;
  margin-bottom: 1.0em;
  text-indent: 1.5em;
}


/* Links */

a:link {
  text-decoration: none;
  color: #FFFFFF;
}

a:hover, a:visited:hover {
  text-decoration: none;
  color: #FFD700;
}

a:visited {
  text-decoration: none;
  color: #1E90FF;
}


/* Special formatting */

.inscription {
  margin: 3em 0;
}

.no-indent {
  text-indent: 0;
}

.letter {
  margin: 3em;
  text-align: left;
}

.letter p {
  font-style: italic;
  text-indent: 0;
  line-height: 1.2;
  margin-bottom: 5px;
}

.sign {
  margin: 2em 0;
  text-align: center;
}

.sign p {
  font-style: italic;
  text-align: center;
  line-height: 1.5;
  margin-bottom: .2em;
}

.container ul {
  margin: 1em 3em;
}

.preface {
  background-color: #A8A8A8;
  padding: 0 .8em .8em .8em;
  font-size: .9em;
}

.indent {
  padding-left: 1.5em;
}

.quote {
  margin-top: 2em;
  margin-bottom: 2em;
}

.quote p {
  font-style: italic;
  padding-left: 1.5em;
  text-indent: 0;
  line-height: 1.2;
  margin-bottom: .2em;
}

.end {
  font-style: italic;
  text-indent: 0;
  text-align: center;
  padding-top: 2em;
}

.divider {
  font-size: 1.3em;
  font-weight: bold;
  margin: 2.3em auto;
  text-align: center;
}

.b {
  font-weight: bold;
}

.i {
  font-style: italic;
}

.n {
  font-style: normal
}

.c {
  text-align: center;
}

.note {
  font-style: italic;
  width: 90%;
  margin: 3em auto;
  padding: .8em .8em .1em .8em;
  background-color: #7F7F7F;
}

.note p {
  font-family: Georgia, serif;
  font-size: .9em;
  color: black;
  text-indent: 0;
}

.next a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12pt;
  font-weight: bold;
  text-align: center;
  color: #fff;
  background-color: rgba(0,0,0,.15);
  display: block;
  width: 150px;
  margin: 40px auto 0px auto;
  padding: 10px;
  border: 1px solid rgba(0,0,0,.30);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

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


@media screen and (max-width: 800px) {

body {
  font-size: 16pt;
  }

header {
  height: auto;
}
}


@media screen and (max-width: 650px) {

body {
  font-size: 14pt;
  }

header {
  height: auto;
}
}


@media screen and (max-width: 400px) {

body {
  font-size: 12pt;
  }

header {
  height: auto;
}
}