/* Space out content a bit */
body {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Everything but the jumbotron gets side spacing for mobile first views */
.header,
.marketing,
.footer {
  padding-left: 15px;
  padding-right: 15px;
}

/* Custom page header */
.header {
  border-bottom: 1px solid #e5e5e5;
}
/* Make the masthead heading the same height as the navigation */
.header h3 {
  margin-top: 0;
  margin-bottom: 0;
  line-height: 40px;
  padding-bottom: 19px;
}

/* Custom page footer */
.footer {
  padding-top: 19px;
  color: #777;
  /border-top: 1px solid #e5e5e5;
}

/* Customize container */
@media (min-width: 768px) {
  .container {
    max-width: 730px;
  }
}
.container-narrow > hr {
  margin: 30px 0;
}

/* Main marketing message and sign up button */
.jumbotron {
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
}
.jumbotron .btn {
  font-size: 21px;
  padding: 14px 24px;
}

/* Supporting marketing content */
.marketing {
  margin: 40px 0;
}
.marketing p + h4 {
  margin-top: 28px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
  /* Remove the padding we set earlier */
  .header,
  .marketing,
  .footer {
    padding-left: 0;
    padding-right: 0;
  }
  /* Space out the masthead */
  .header {
    margin-bottom: 30px;
  }
  /* Remove the bottom border on the jumbotron for visual effect */
  .jumbotron {
    border-bottom: 0;
  }
}



.chapter {
  cursor: pointer;
  padding-top: 20px;
  padding-bottom: 20px;
  line-height: 22pt;
  display: block;
}

.chapter + .chapter {
  border-top: 1px solid #e5e5e5;
}

.chapter:hover {
  background-color: #47a447;
  color: white;
}

.chapter_no_bg:hover {
  background-color: white;
  color: black;
}

.chapter a {
  color: black;
  text-decoration: none;
}

.chapter:hover a, .chapter:hover a * {
  color: white;
  text-decoration: none;
}

.chapter_no_bg:hover a {
  color: black;
}

.chapter:hover span {
  color: white;
}

.chapter_no_bg:hover span {
  color: black;
}

.comment {
  color: #666;
}

.chapter_inline_title {
  display: inline;
  padding-right: 20px;
}

.chapter_hidden {
  max-height: 43pt;
  overflow: hidden;
}

.chapter_hidden span {
  color: #AAA;
}

.chapter a.file {
  text-decoration: underline;
  color: #669;
  padding-right: 20px;
}

.chapter a.file:hover {
  text-decoration: none;
}

.chapter:hover a {
  color: #44B;
}

.send_button_wrapper {
  text-align: right;
  padding-top: 20px;
}

.chapter-has-error, .chapter-has-error:hover, .chapter-has-error:hover span, .chapter-has-error:hover a {
  color: #c94442 !important;
}

a.chapter:hover {
  text-decoration: none;
}
