body {
  padding-top: 50px;
}

@media (min-width: 1200px) {
  #text {
    width: 970px;
  }
}

#title {
  padding: 40px 15px;
}

@media print {
  #title {
    margin-top: 10px;
  }
}

#name, #title {
  text-align: center;
}

#lead {
  font-size: 20px;
  font-weight: 400;
}

h2, #table-of-contents {
  padding-top: 40px;
}

#table-of-contents {
  text-align: center;
}

p, ol, .footnote, .panel {
  font-family: "Merriweather", Georgia, "Times New Roman", Times, serif;
}

p, ol, {
  line-height: 1.5;
}

p, ol, .footnote, .panel {
  font-weight: 300;
}

p:not(.bibliography), ol:not(#note-list) {
  font-size: 18px;
}

@media (min-width: 500px) {
  #lead {
    font-size: 22px;
  }

  p {
    text-align: justify;
  }

  p.math {
    margin-left: 30px;
  }
}



/* IE 8-10 svg bug fix. */
.figure {
  width: 100%;
  max-height: 512px;
}

/* 
  Adopted from
  http://www.gregpike.net/2013/04/uncategorized/photo-captions-with-credit-for-twitter-bootstrap/
*/
.thumbnail.with-caption {
  background: #f5f5f5;
}
.thumbnail.with-caption p {
  margin: 0;
  padding-top: 0.5em;
  font-size: 14px;
  text-align: center;
}

.thumbnail.with-caption small {
  float: right;
  color: #999;
}

@media (min-width: 768px) {
  p.copyright {
    padding-top: 0em !important;
  }  
}


#footnote-container {
  display: none;
}

#close-footnote {
  margin-left: 5px;
}

.placeholder {
  opacity: 0;
}


#footer {
  margin: 0;
  margin-top: 40px;
  border-radius: 0;
}

#footer .navbar-nav {
  display: inline-block;
  float: none;
  vertical-align: top;
}

#footer .container {
    text-align: center;
}