@font-face {
  font-family: 'Fira Sans';
  src: url(../fonts/FiraSans-Regular.woff); }

@font-face {
  font-family: 'Fira Sans Medium';
  src: url(../fonts/FiraSans-Medium.woff); }

body {
  margin: 0;
  padding: 0;
  padding-top: 0px; }

img.front-cover {
  display: block;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 50px;
  margin-bottom: 50px;
  max-width: 450px;
  max-height: 600px; }

a.writewise-button,
a.writewise-button:visited {
  box-shadow: 2px 2px 0px black;
  text-decoration: none;
  color: black;
  font-family: sans-serif;
  font-size: 16pt;
  width: 250px;
  text-align: center;
  display: inline-block;
  padding: 15px;
  background-color: lightgray; }

a.writewise-button:hover {
  background-color: gray; }

nav.min-stick {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  width: 100%;
  padding: 0;
  color: black; }
  nav.min-stick div.nav-bar {
    padding: 10px; }
  nav.min-stick div.dropdown {
    display: inline-block; }
  nav.min-stick #menu {
    cursor: pointer;
    margin-right: 30px;
    display: inline-block;
    font-size: 22pt; }

nav.stick {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  width: 100%;
  padding: 0;
  color: white; }
  nav.stick div.nav-bar {
    padding: 10px;
    background-color: #336666; }
  nav.stick h1 {
    display: inline-block;
    margin: 0;
    font-size: 25pt;
    font-weight: bold;
    text-shadow: 2px 2px 0px black;
    font-family: sans-serif;
    color: white; }
  nav.stick div.dropdown {
    display: inline-block; }
  nav.stick #menu2 {
    cursor: pointer;
    margin-right: 30px;
    display: inline-block;
    text-shadow: 2px 2px 0px black;
    font-size: 22pt; }

div.popup {
  max-width: 600px;
  width: 70%;
  max-height: 600px;
  height: 60%;
  top: 50%;
  left: 50%;
  position: fixed; }
  div.popup div.popup-box {
    background-color: white;
    position: relative;
    width: 90%;
    max-width: 900px;
    height: 80%;
    max-height: 800px;
    padding: 0;
    margin-left: -45%;
    margin-top: -50%;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    border: 1px solid rgba(0, 0, 0, 0.15); }
    div.popup div.popup-box ul {
      overflow: hidden; }
    div.popup div.popup-box h1 {
      overflow: hidden;
      margin: 0;
      padding: 10px;
      font-size: 16pt;
      background-color: #336666;
      color: white;
      text-shadow: 2px 2px 0px black; }
      div.popup div.popup-box h1 span {
        margin-right: 30px;
        cursor: pointer; }
    div.popup div.popup-box li {
      list-style: none;
      font-family: sans-serif;
      font-size: 14pt;
      padding: 10px; }
    div.popup div.popup-box div.content {
      height: 75%;
      margin-top: 30px;
      margin-bottom: 30px;
      overflow: auto;
      width: 95%;
      margin-left: auto;
      margin-right: auto; }

article {
  margin: 0; }
  article div.chapter-content {
    padding: 20px; }
    article div.chapter-content h1 {
      font-family: 'Fira Sans Medium', sans-serif;
      margin-left: auto;
      margin-right: auto;
      padding-bottom: 30px;
      margin-bottom: 30px;
      max-width: 740px;
      font-size: 5em;
      border-bottom: 1px solid lightgrey; }
    article div.chapter-content #end-chapter-nav {
      margin-top: 40px;
      margin-bottom: 40px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
      text-align: right; }
  article div.serif {
    margin-left: auto;
    margin-right: auto;
    max-width: 700px; }
    article div.serif p {
      font-family: Georgia, serif;
      text-align: justify;
      margin-top: 0;
      margin-bottom: 0;
      font-size: 14pt;
      hyphens: auto;
      text-indent: 2em;
      line-height: 1.9em; }
    article div.serif p:first-child {
      text-indent: 0; }
    article div.serif .block-quote {
      margin-top: 35px;
      margin-bottom: 35px; }
      article div.serif .block-quote p {
        margin-left: auto;
        margin-right: auto;
        width: 90%;
        font-size: 13pt; }
  article div.non-serif {
    margin-left: auto;
    margin-right: auto;
    max-width: 700px; }
    article div.non-serif p {
      font-family: 'Fira Sans', sans-serif;
      text-align: justify;
      margin-top: 20px;
      margin-bottom: 20px;
      line-height: 1.7;
      font-size: 14pt;
      hyphens: auto; }
    article div.non-serif .block-quote {
      margin-top: 35px;
      margin-bottom: 35px; }
      article div.non-serif .block-quote p {
        margin-left: auto;
        margin-right: auto;
        width: 80%;
        font-size: 13pt; }

ul.dropdown-menu {
  border-radius: 0;
  margin-top: 18px; }
  ul.dropdown-menu li {
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: sans-serif;
    font-size: 18pt; }
  ul.dropdown-menu a {
    color: gray; }
  ul.dropdown-menu a:hover {
    color: black; }
  ul.dropdown-menu span {
    cursor: pointer;
    padding: 20px;
    color: gray; }
  ul.dropdown-menu span:hover {
    color: black; }

.section-break {
  font-size: 22pt;
  text-align: center;
  font-family: arial;
  padding-bottom: 26px;
  padding-top: 20px; }
