@charset "UTF-8";

/* Import ET Book styles
   adapted from https://github.com/edwardtufte/et-book/blob/gh-pages/et-book.css */

@font-face {
  font-family: "et-book";
  src: url("/fonts/et-book-roman-line-figures/et-book-roman-line-figures.eot");
  src: url("/fonts/et-book-roman-line-figures/et-book-roman-line-figures.eot?#iefix") format("embedded-opentype"), url("/fonts/et-book-roman-line-figures/et-book-roman-line-figures.woff") format("woff"), url("/fonts/et-book-roman-line-figures/et-book-roman-line-figures.ttf") format("truetype"), url("/fonts/et-book-roman-line-figures/et-book-roman-line-figures.svg#etbookromanosf") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "et-book";
  src: url("/fonts/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.eot");
  src: url("/fonts/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.eot?#iefix") format("embedded-opentype"), url("/fonts/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.woff") format("woff"), url("/fonts/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.ttf") format("truetype"), url("/fonts/et-book-display-italic-old-style-figures/et-book-display-italic-old-style-figures.svg#etbookromanosf") format("svg");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "et-book";
  src: url("/fonts/et-book-bold-line-figures/et-book-bold-line-figures.eot");
  src: url("/fonts/et-book-bold-line-figures/et-book-bold-line-figures.eot?#iefix") format("embedded-opentype"), url("/fonts/et-book-bold-line-figures/et-book-bold-line-figures.woff") format("woff"), url("/fonts/et-book-bold-line-figures/et-book-bold-line-figures.ttf") format("truetype"), url("/fonts/et-book-bold-line-figures/et-book-bold-line-figures.svg#etbookromanosf") format("svg");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "et-book-roman-old-style";
  src: url("/fonts/et-book-roman-old-style-figures/et-book-roman-old-style-figures.eot");
  src: url("/fonts/et-book-roman-old-style-figures/et-book-roman-old-style-figures.eot?#iefix") format("embedded-opentype"), url("/fonts/et-book-roman-old-style-figures/et-book-roman-old-style-figures.woff") format("woff"), url("/fonts/et-book-roman-old-style-figures/et-book-roman-old-style-figures.ttf") format("truetype"), url("/fonts/et-book-roman-old-style-figures/et-book-roman-old-style-figures.svg#etbookromanosf") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

#eb * {
  font-family: et-book, Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif;
}

#eb .fa {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#eb .eb-dialog-modal {
  color: black;
}

#eb .eb-category-profile {
  background: black;
  padding: 10px;
}

.eb-entry-title {
  text-align: center;
  text-decoration: underline;
}

#eb .eb-entry-article .ebd-block {
  margin: 0;
}

#eb .ebd-block {
  /* color: black; */
}

#eb .eb-entry-helper .fa {
  margin: 0;
}

#eb .eb-entry-fields, #eb .eb-entry-location {
  display: none;
}

#eb .eb-post-body {
  /* color: black; */
}

#eb .fb_iframe_widget iframe {
  width: 100% !important;
}

#eb .eb-entry-meta {
  padding: 10px;
}

#eb h1 {
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 3.2rem;
  line-height: 1;
}

#eb h2 {
  font-style: italic;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 1.4rem;
  font-size: 2.2rem;
  line-height: 1;
}

#eb h3 {
  font-style: italic;
  font-weight: 400;
  font-size: 1.7rem;
  margin-top: 0;
  margin-bottom: 1.4rem;
  line-height: 1;
}

#eb hr {
  display: block;
  height: 1px;
  width: 55%;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

#eb p.subtitle {
  font-style: italic;
  font-family: et-book, Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", Georgia, serif !important;
  margin-top: 1rem;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  display: block;
  line-height: 1;
  color: #111;
}

#eb .numeral {
  font-family: et-book-roman-old-style, serif;
}

#eb .danger {
  color: red;
}

#eb article {
  position: relative;
  padding: 5rem 0;
}

#eb section {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Chapter Epigraphs */
#eb div.epigraph {
  margin: 5em 0;
}

#eb div.epigraph > blockquote {
  margin-top: 3em;
  margin-bottom: 3em;
}

#eb div.epigraph > blockquote, #eb div.epigraph > blockquote > p {
  font-style: italic;
}

#eb div.epigraph > blockquote > footer {
  font-style: normal;
}

#eb div.epigraph > blockquote > footer > cite {
  font-style: italic;
}

/* end chapter epigraphs styles */

#eb blockquote.eb-quote {
    color: #111 !important;
    padding: 0 0 0 5px !important;
    margin: 0 !important;
    border-left: 5px solid #eee !important;
    vertical-align: unset !important;
    border-radius: 0 !important;
}

#eb blockquote.eb-quote p {
  font-style: italic;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    margin: 0 !important;
}

#eb blockquote footer {
  color: #111;
  width: 55%;
  font-size: 1.1rem;
  text-align: right;
}

#eb section > p, section > footer, section > table {
  color: #111;
  width: 55%;
}

/* 50 + 5 == 55, to be the same width as paragraph */
#eb section > ol, section > ul {
  width: 50%;
  -webkit-padding-start: 5%;
}

#eb li:not(:first-child) {
  margin-top: 0.25rem;
}

#eb figure {
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  max-width: 55%;
  -webkit-margin-start: 0;
  -webkit-margin-end: 0;
  margin: 0 0 3em 0;
}

#eb figcaption {
  float: right;
  clear: right;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  vertical-align: baseline;
  position: relative;
  max-width: 40%;
}

#eb figure.fullwidth figcaption {
  margin-right: 24%;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  #eb a:link {
    background-position-y: 87%;
  }
}

#eb a:link::selection {
  text-shadow: 0.03em 0 #b4d5fe, -0.03em 0 #b4d5fe, 0 0.03em #b4d5fe, 0 -0.03em #b4d5fe, 0.06em 0 #b4d5fe, -0.06em 0 #b4d5fe, 0.09em 0 #b4d5fe, -0.09em 0 #b4d5fe, 0.12em 0 #b4d5fe, -0.12em 0 #b4d5fe, 0.15em 0 #b4d5fe, -0.15em 0 #b4d5fe;
  background: #b4d5fe;
}

#eb a:link::-moz-selection {
  text-shadow: 0.03em 0 #b4d5fe, -0.03em 0 #b4d5fe, 0 0.03em #b4d5fe, 0 -0.03em #b4d5fe, 0.06em 0 #b4d5fe, -0.06em 0 #b4d5fe, 0.09em 0 #b4d5fe, -0.09em 0 #b4d5fe, 0.12em 0 #b4d5fe, -0.12em 0 #b4d5fe, 0.15em 0 #b4d5fe, -0.15em 0 #b4d5fe;
  background: #b4d5fe;
}

/* Sidenotes, margin notes, figures, captions */
#eb img {
  max-width: 100%;
}

#eb .sidenote, #eb .marginnote {
  float: right;
  clear: right;
  margin-right: -60%;
  width: 50%;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.1rem;
  line-height: 1.3;
  vertical-align: baseline;
  position: relative;
}

#eb .sidenote-number {
  counter-increment: sidenote-counter;
}

#eb .sidenote-number:after, #eb .sidenote:before {
  font-family: et-book-roman-old-style, serif;
  position: relative;
  vertical-align: baseline;
}

#eb .sidenote-number:after {
  content: counter(sidenote-counter);
  font-size: 1rem;
  top: -0.5rem;
  left: 0.1rem;
}

#eb .sidenote:before {
  content: counter(sidenote-counter) " ";
  font-size: 1rem;
  top: -0.5rem;
}

#eb blockquote .sidenote, #eb blockquote .marginnote {
  margin-right: -82%;
  min-width: 59%;
  text-align: left;
}

#eb div.fullwidth, #eb table.fullwidth {
  width: 100%;
}

#eb div.table-wrapper {
  overflow-x: auto;
  font-family: "Trebuchet MS", "Gill Sans", "Gill Sans MT", sans-serif;
}

#eb .sans {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
  letter-spacing: .03em;
}

#eb code {
  font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
  font-size: 1.0rem;
  line-height: 1.42;
}

#eb .sans > code {
  font-size: 1.2rem;
}

#eb h1 > code, #eb h2 > code, #eb h3 > code {
  font-size: 0.80em;
}

#eb .marginnote > code, #eb .sidenote > code {
  font-size: 1rem;
}

#eb pre.code {
  font-size: 0.9rem;
  width: 52.5%;
  margin-left: 2.5%;
  overflow-x: auto;
}

#eb pre.code.fullwidth {
  width: 90%;
}

#eb .fullwidth {
  max-width: 90%;
  clear: both;
}

#eb span.newthought {
  font-variant: small-caps;
  font-size: 1.2em;
}

#eb input.margin-toggle {
  display: none;
}

#eb label.sidenote-number {
  display: inline;
}

#eb label.margin-toggle:not(.sidenote-number) {
  display: none;
}

#eb .iframe-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  padding-top: 25px;
  height: 0;
}

#eb .iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
