@charset "UTF-8";
* {
  box-sizing: border-box;
}
html {
  background: #fff;
  padding: 0;
  margin: 0;
  font-size: 20px;
  font-family: 'Source Sans Pro', sans-serif;
}
body {
  width: 100%;
  margin: 0 auto;
  padding: 40px 0 0;
  position: relative;
  font-size: 15.5px;
}
sup {
  vertical-align: unset;
  position: relative;
  top: -0.45em;
  font-size: 80%;
}
/* Navigation */
#toolbar {
  width: 100%;
  background: #222;
  position: fixed;
  z-index: 15;
  top: 0;
  height: 40px;
  padding: 0 1em;
}
#toolbar #mobile-nav {
  color: #fff;
  font-family: 'Source Sans Pro', sans-serif;
  position: absolute;
  top: 10px;
  right: 0;
}
#toolbar #mobile-nav:hover {
  cursor: pointer;
}
#toolbar .measure {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}
#toolbar .measure img {
  position: absolute;
  top: 3px;
  width: 32px;
  left: 0;
}
#toolbar .measure h1 {
  color: #fff;
  background: transparent;
  margin: 0 0 0 36px;
  padding: 9px 4px 0;
  font-weight: normal;
  font-size: 18px;
  font-family: 'Merriweather', serif;
}
#toolbar .measure h1 a {
  color: #fff;
  text-decoration: none;
}
#toolbar .measure h1 a span {
  margin-left: 0.75em;
  font-size: 0.8em;
  display: none;
}
#toolbar .measure h1:hover {
  cursor: pointer;
  color: #f8ca00;
}
#map-show {
  position: fixed;
  top: 10px;
  right: 100px;
  z-index: 20;
  display: none;
}
#map-show::before {
  content: 'Map';
  color: #fff;
}
#map-show:hover {
  cursor: pointer;
}
#map-show:hover::before {
  color: #f8ca00;
}
#map {
  position: fixed;
  top: 50%;
  left: 50%;
  transform-origin: 0 0;
  transform: scale(0) translate(-50%, -50%);
  transition: 0.35s ease-in;
  width: 96vw;
  max-width: 96vh;
  display: inline-block;
  background: #fff;
  z-index: 35;
  border: 0.75em solid #fff;
  z-index: 50;
  box-shadow: 0 0 0 30vw rgba(0, 0, 0, 0.65);
}
#map img {
  width: 100%;
}
#map p {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  width: 0;
  height: 0;
}
#map p span {
  position: absolute;
  right: 22px;
  bottom: 12px;
  background: #fff;
  padding: 2px 8px 4px;
  line-height: 100%;
  border-radius: 12px;
  font-size: 16px;
  white-space: nowrap;
}
#map p::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid #fff;
}
#map p::before {
  position: absolute;
  bottom: 7px;
  left: -17px;
  content: "";
  display: inline-block;
  width: 34px;
  height: 34px;
  background-color: #fff;
  background-size: 84%;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 2px;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.5);
}
#map p.semi::before,
#map p.semi::after {
  opacity: 0.65;
}
#map p.flip span {
  right: unset;
  left: 22px;
}
#map p.primary span {
  background: #f8ca00;
}
#map p.primary::before {
  background-color: #f8ca00;
}
#map p.primary::after {
  border-top: 8px solid #f8ca00;
}
#map p.city::before {
  background-image: url('../img/usa/ref/city.svg');
}
#map #map-close {
  position: absolute;
  top: -1.25em;
  right: -1.25em;
  width: 50px;
  height: 50px;
  content: "";
  display: inline-block;
  background-color: #f8ca00;
  background-image: url(../img/ref/cross.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 70%;
}
#map #map-close:hover {
  cursor: pointer;
  background-color: #f28a00;
}
#map.active {
  transform: scale(1) translate(-50%, -50%);
}
nav {
  position: relative;
  z-index: 10;
}
nav ul {
  padding: 0;
  margin: 0;
  list-style-type: none;
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav ul a {
  text-decoration: none;
  width: 50%;
  height: 100%;
  display: flex;
}
nav ul a li {
  width: 100%;
  max-width: 700px;
  align-self: flex-start;
  padding: 0.85em 0 0;
  padding-left: 1em;
  transition: 0.25s;
  font-family: 'Merriweather', serif;
  font-size: 0.85em;
  color: #555;
  position: relative;
  background: transparent;
}
nav ul a li span:nth-of-type(1) {
  display: none;
}
nav ul a li::before {
  content: url('../img/ref/arrow.svg');
  display: inline-block;
  width: 0.85em;
  position: relative;
  top: 0;
  transform-origin: 50%;
  transform: rotate(180deg);
  opacity: 0.65;
}
nav ul a:hover {
  cursor: pointer;
  background: linear-gradient(to right, #fff 37%, #f8ca00 91%);
}
nav ul a:hover li {
  color: #000;
}
nav ul a:hover li::before {
  opacity: 1;
}
nav ul a:first-child {
  justify-content: flex-end;
}
nav ul a:first-child:hover {
  background: linear-gradient(to right, #f8ca00 9%, #ffffff 63%);
}
nav ul a:nth-of-type(2) li {
  text-align: right;
  padding-left: 0;
  padding-right: 1em;
}
nav ul a:nth-of-type(2) li::before {
  content: none;
}
nav ul a:nth-of-type(2) li::after {
  content: url('../img/ref/arrow.svg');
  display: inline-block;
  position: relative;
  top: 0;
  width: 0.85em;
  transform: rotate(0deg);
}
/* Title */
#title {
  width: 100%;
  height: 13.5em;
  margin: 0;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
  padding: 0 0 3em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#title h1,
#title h2 {
  font-family: 'Merriweather', serif;
  color: #fff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.75);
}
#title h1 {
  font-size: 1.4em;
  padding-bottom: 0.5em;
  display: inline-block;
  border-bottom: 1px solid #fff;
  margin: 0;
  font-weight: 700;
}
#title h2 {
  font-size: 1.1em;
  margin: 0.5em 0 0;
  font-weight: normal;
}
#title.hero {
  padding: 0;
  height: 60vh;
  min-height: 325px;
  max-height: 450px;
  position: relative;
  margin: 0;
}
#title.hero img.logo {
  width: 115px;
  position: absolute;
  left: 50%;
  top: 20%;
  transform: translate(-50%, -50%);
  transition: 0.35s;
}
#title.hero h1 {
  font-family: 'Source Sans Pro', sans-serif;
  position: absolute;
  display: block;
  border-bottom: none;
  color: #fff;
  width: 100%;
  text-align: center;
  top: 40%;
  font-size: 2em;
  text-shadow: 0 0.1em 0.15em rgba(0, 0, 0, 0.85);
  z-index: 5;
}
#title.hero figure {
  display: none;
  width: 100%;
  height: 100%;
  margin: 0;
  text-align: center;
}
#title.hero figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#title.hero figure figcaption {
  position: absolute;
  bottom: 3em;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 1400px;
  display: flex;
  justify-content: flex-end;
}
#title.hero figure figcaption p {
  display: inline-block;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 5px 15px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.8em;
  margin: 0;
  text-align: right;
}
#title.hero figure figcaption p em {
  margin-left: 12px;
  display: inline-block;
}
#title.hero div.links {
  position: absolute;
  bottom: 6.5em;
  left: 5vw;
  width: 90vw;
  display: flex;
  justify-content: space-around;
}
#title.hero div.links a {
  display: inline-block;
  padding: 0.65em 1em;
  border-radius: 2em;
  background: #fff;
  color: #222;
  text-decoration: none;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
}
#title.hero.one figure:nth-of-type(1) {
  display: block;
}
#title.hero.two figure:nth-of-type(2) {
  display: block;
}
#title.hero.three figure:nth-of-type(3) {
  display: block;
}
#title.hero.four figure:nth-of-type(4) {
  display: block;
}
#title.hero.five figure:nth-of-type(5) {
  display: block;
}
/* General titles */
#title.history {
  background-image: url('../img/gen/historiography/banner-historiography-800.jpg');
  background-position: 50% 20%;
}
/* USA titles */
#title.city {
  background-image: url('../img/usa/footer-usa.jpg');
  background-position: 50% 50%;
}
#title.prologue {
  background-image: url('../img/usa/intro/prologue.jpg');
  background-position: 50% 75%;
}
#title.paradise {
  background-image: url('../img/usa/paradise/paradise-banner.jpg');
  background-position: 50% 55%;
}
#title.jerusalem {
  background-image: url('../img/usa/jerusalem/jerusalem-banner.jpg');
  background-position: 50% 58%;
}
/* England titles */
#title.engtitle {
  background-image: url('../img/england/engtitle/fighting_temeraire.jpg');
  background-position: 50% 50%;
}
#title.engprologue {
  background-image: url('../img/england/prologue/tapestry.jpg');
  background-position: 50% 50%;
}
#title.engnormans {
  background-image: url('../img/england/normans/normans-banner2.jpg');
  background-position: 50% 50%;
}
#title.engangevins {
  background-image: url('../img/england/angevins/angevins-banner.jpg');
  background-position: 50% 80%;
}
/* Content */
#content {
  margin: -3em auto 0;
  max-width: 1400px;
  padding: 1.3em 1em 1em;
  background: #fff;
  position: relative;
}
#content h1,
#content h2 {
  font-family: 'Merriweather', serif;
  color: #111;
  font-weight: normal;
}
#content h1 {
  font-size: 2.5em;
  line-height: 115%;
  margin: 0;
}
#content figure + h1 {
  margin-top: 30px;
}
#content h2 {
  font-size: 1.75em;
  line-height: 120%;
  margin: 0.25em 0 0;
}
#content > figure {
  margin: 15px -1em 0;
}
#content.chapter {
  margin-top: 0;
  padding-top: 0;
}
#content.chapter figure:first-child {
  margin-top: 0;
}
#content figure img {
  width: 100%;
}
#content figure figcaption {
  padding: 0 1em;
  font-size: 0.95em;
}
#content figure figcaption em {
  font-style: normal;
  margin-left: 0.65em;
  padding-left: 0.65em;
  position: relative;
  display: inline-block;
}
#content figure figcaption em::before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 1px;
  height: 0.75em;
  left: 0;
  top: 0.25em;
  background-color: #aaa;
}
#content figure figcaption,
.modal figure figcaption {
  font-style: normal;
  text-align: right;
  color: #111;
  font-family: 'Source Sans Pro', sans-serif;
  line-height: 120%;
  margin: 8px 0 0;
  position: relative;
}
.modal figure figcaption {
  text-align: left;
}
/* Sidebar nav */
figure + #sidebar {
  margin-top: 35px;
}
#content #sidebar {
  position: fixed;
  right: -275px;
  top: 0;
  margin-top: 0;
  padding-top: 15px;
  background: #fff;
  width: 260px;
  height: 100vh;
  z-index: 20;
  padding-left: 20px;
  box-shadow: -60px 0 75px rgba(0, 0, 0, 0);
  transition: 0.35s;
}
#content #sidebar h6 {
  margin: 0 0 20px;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: normal;
  font-size: 1em;
  text-align: right;
  padding-right: 25px;
  position: relative;
  border: 1px solid #333;
  display: inline-block;
  padding: 4px 30px 4px 12px;
  border-radius: 14px;
  float: right;
  margin-right: 20px;
}
#content #sidebar h6:hover {
  cursor: pointer;
}
#content #sidebar h6::after {
  position: absolute;
  content: url('../img/ref/cross.svg');
  width: 15px;
  right: 10px;
  top: 7px;
}
#content #sidebar img {
  width: 100%;
  margin-bottom: 8px;
}
#content #sidebar h1,
#content #sidebar a {
  position: relative;
  display: block;
  font-family: 'Source Sans Pro', sans-serif;
  color: #111;
  opacity: 0.5;
  text-decoration: none;
  line-height: 120%;
  margin-bottom: 12px;
  transition: 0.2s;
  padding-left: 20px;
}
#content #sidebar h1:hover,
#content #sidebar a:hover {
  cursor: pointer;
  opacity: 1;
}
#content #sidebar h1 {
  font-weight: bold;
  font-size: 1.1em;
  padding: 10px 0 10px 20px;
  border-top: 1px solid #aaa;
  margin: 0;
  transition: 0.2s;
}
#content #sidebar h1:first-of-type {
  border-top: none;
}
#content #sidebar h1::before {
  content: url("../img/ref/arrow.svg");
  position: absolute;
  left: 0;
  top: 13px;
  width: 14px;
  display: inline-block;
  transform-origin: 50%;
  transition: 0.2s;
}
#content #sidebar h1.active {
  opacity: 1;
}
#content #sidebar h1.active::before {
  transform: rotate(90deg);
}
#content #sidebar .subnav {
  padding-top: 6px;
  display: none;
}
#content #sidebar .subnav a.active,
#content #sidebar .subnav a.active:hover {
  font-weight: bold;
  opacity: 1;
  cursor: default;
  color: #f8ca00;
}
#content #sidebar.active {
  right: 0;
  box-shadow: -261px 0 96px 25px rgba(0, 0, 0, 0.45);
}
/* Main text */
q {
  font-style: italic;
}
q em {
  font-style: normal;
}
#main {
  margin-top: 2em;
}
#main p,
#main li {
  font-family: 'Source Sans Pro', sans-serif;
  margin: 0 0 0.65em;
  line-height: 160%;
  color: #111;
}
#main p span {
  display: inline-block;
}
#main ul {
  padding: 0;
  margin: 10px 0 0;
}
#main p:first-of-type,
#main blockquote {
  font-family: 'Merriweather', serif;
  font-size: 1.1em;
  line-height: 175%;
}
#main p:first-of-type button,
#main blockquote button {
  font-size: 0.9em;
}
#main p:first-of-type button::before,
#main blockquote button::before {
  top: -0.1em;
}
#main blockquote {
  font-family: 'Merriweather', serif;
  font-size: 1.2em;
  line-height: 175%;
  line-height: 160%;
  margin: 1em 0 0.5em;
  position: relative;
  text-indent: 2.15em;
  width: 100%;
  padding-right: 2.2em;
}
#main blockquote:first-child {
  margin-top: 0;
}
#main blockquote::before {
  position: absolute;
  content: url("../img/ref/quotes.svg");
  left: -2.15em;
  top: -0.1em;
  width: 1.75em;
}
#main blockquote::after {
  content: url("../img/ref/quotes.svg");
  display: inline-block;
  transform: rotate(180deg);
  transform-origin: center;
  margin: -0.3em -2.25em 0 0;
  width: 1.75em;
  text-indent: 0;
  position: relative;
  top: 0.5em;
}
#main figure + blockquote {
  margin-top: 0;
}
#main h6 {
  color: #f8ca00;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 0.9em;
  background: #222;
  padding: 0.25em 0.65em;
  display: inline-block;
  font-weight: normal;
  margin: 0 0 30px;
  align-self: flex-start;
}
#main figure {
  margin: 1.5em -1em 2em;
  position: relative;
  width: calc(100% + 2em);
}
#main figure:first-child {
  margin-top: 0;
}
#main h1.tableHead {
  background: #222;
  color: #fff;
  margin: 1em 0 0;
  font-size: 2em;
  padding: 0.24em 0.48em 0.24em 0.35em;
}
#main .flex {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 1em;
}
#main .flex h2 {
  background: #f8ca00;
  font-size: 1.25em;
  margin: 0;
}
#main .flex h2:first-of-type {
  padding: 0.24em 0.48em 0.24em 0.35em;
  border-right: 1px solid #fff;
}
#main .flex h2:nth-of-type(2) {
  padding: 0.3em 0.35em 0.3em 0.7em;
}
#main .flex p,
#main .flex p:first-of-type {
  font-family: 'Source Sans Pro', sans-serif;
  margin: 0;
  font-size: 1em;
  background: #fef4cc;
}
#main .flex p:first-of-type {
  padding: 0.5em 1em 0.5em 0.5em;
  border-right: 1px solid #fff;
}
#main .flex p:nth-of-type(2) {
  padding: 0.5em 0.5em 0.5em 1em;
}
#main .col2 h2,
#main .col2 p {
  width: 50% !important;
}
#main.rev blockquote {
  line-height: 1.75;
  padding: 0 0.35em;
  text-indent: 0;
}
#main.rev blockquote::before,
#main.rev blockquote::after {
  content: none;
}
#main.rev blockquote span {
  color: #fff;
  background-color: #222;
  padding: 0.15em 0;
  box-shadow: -0.35em 0 0 #222, 0.35em 0 0 #222;
}
#main.rev blockquote + h6 {
  color: #fff;
}
#main.contents {
  margin-top: 0;
}
#main.bio {
  margin-top: 0;
}
#main.bio figure {
  width: 100%;
}
/* Bibiiographies */
#main p.biblio {
  margin: 20px 0 0;
  text-indent: 0;
  color: #555;
  position: relative;
  padding-left: 1em;
  transition: 0.3s;
  align-self: flex-start;
}
#main p.biblio::before {
  content: url('../img/ref/arrow.svg');
  position: absolute;
  left: 0;
  top: 0.4em;
  transform-origin: 50% 50%;
  width: 0.85em;
  opacity: 0.6;
}
#main p.biblio:hover::before,
#main p.biblio.open::before {
  opacity: 0.85;
}
#main p.biblio.open::before {
  transform: rotate(90deg);
}
#main p.biblio:hover {
  cursor: pointer;
}
#main p.biblio:hover,
#main p.biblio.open {
  color: #222;
}
#main p.biblio + ul {
  display: none;
  list-style-type: none;
  padding: 0 0 0 1em;
  margin: 5px 0 15px 0;
}
#main p.biblio + ul li {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1em;
  color: #111;
  margin-bottom: 7px;
}
#main p.biblio + ul li::after {
  left: 0;
}
#main span.block {
  display: inline-block;
}
h3 {
  text-align: left;
  font-weight: normal;
  font-size: 1rem;
  line-height: 140%;
  border-top: 1px solid #ccc;
  padding-top: 12px;
  font-family: 'Merriweather', serif;
}
/* Extra info */
.ref {
  display: inline-block;
  border-bottom: 1px dashed #aC8a00;
}
.ref:hover {
  cursor: pointer;
  color: #000;
  border-bottom: 1px solid #f8ca00;
}
/* Modals */
button.myModal {
  color: #444;
  border: none;
  position: relative;
  top: -0.4em;
  font-size: 0.8em;
  display: inline-block;
  margin: 0 2px 0 3px;
  line-height: 1;
  z-index: 5;
  padding: 0 3px;
}
button.myModal::before {
  position: absolute;
  top: -0.2em;
  left: -0.1em;
  bottom: -0.05em;
  right: -0.1em;
  display: inline-block;
  content: "";
  background: #f8ca00;
  z-index: -1;
  border-radius: 0.6em;
}
button.myModal::after {
  content: "";
  padding: 24px;
  position: absolute;
  left: -12px;
  top: -12px;
  border-radius: 50%;
}
button.myModal:hover {
  cursor: pointer;
  color: #000;
}
button.myModal:focus {
  outline: none;
}
.modal {
  display: none;
  position: fixed;
  z-index: 21;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.65);
}
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: 15% auto;
  padding: 2em 1em 0.75em;
  border: 1px solid #888;
  width: 94%;
  max-width: 800px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
}
.modal-content div {
  display: none;
}
.modal-content div.active {
  display: block;
}
@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}
.modal-content div > figure {
  float: left;
  margin: 0 30px 15px 0;
  width: 100%;
}
.modal-content div > figure img {
  width: 100%;
}
.modal-content p,
.modal-content li,
.modal-content strong,
.modal-content a {
  font-family: 'Source Sans Pro', sans-serif;
  margin: 0 0 0.65em;
  line-height: 145%;
}
.modal-content p a,
.modal-content li a,
.modal-content strong a,
.modal-content a a {
  text-decoration: none;
  color: #00618d;
}
.modal-content p a:hover,
.modal-content li a:hover,
.modal-content strong a:hover,
.modal-content a a:hover {
  cursor: pointer;
  text-decoration: underline;
}
.modal-content > div > *:last-child {
  margin-bottom: 10px;
}
.modal-content ul {
  list-style-type: none;
  margin: 2px 0 0;
  padding: 0;
}
.modal-content ul li {
  position: relative;
  padding: 0 0 0 20px;
  margin: 2px 0 0;
}
.modal-content ul li::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  left: 0;
  top: 11px;
  display: inline-block;
  background: #f8ca00;
}
.modal-content q {
  font-style: italic;
}
.modal-content p.note {
  font-size: 1rem;
  padding: 6px 0 0 10px;
  margin-top: 6px;
  border-top: 1px solid #ddd;
  text-indent: -10px;
}
.modal-content img.float {
  width: 45%;
  margin-right: 20px;
  float: left;
}
.modal-content .close {
  background: #f8ca00;
  color: #777;
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 30px;
  font-size: 36px;
  line-height: 30px;
  text-align: center;
  font-weight: bold;
}
.modal-content .close:hover,
.modal-content .close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
a.prev:hover {
  background: url('../img/prev_wh.png') no-repeat 6px 3px #c75a24;
}
a.next:hover {
  background: url('../img/next_wh.png') no-repeat right 6px top 3px #c75a24;
}
#banner {
  width: 40%;
  margin: 50px auto 15px;
  display: block;
}
.secnum {
  margin: 20px auto 30px;
  width: 400px;
  display: block;
}
/* Title pages */
.title #content h1 {
  font-size: 5em;
  margin: 15px 0 10px;
  position: relative;
  padding-left: 90px;
}
.title #content h1 strong {
  position: absolute;
  left: 0;
}
.title #content h2 {
  padding-left: 90px;
  font-size: 3em;
  margin-bottom: 35px;
}
.title #content h2 em {
  font-style: normal;
  font-size: 0.75em;
  display: inline-block;
}
/* Contents pages */
#content .contents a {
  display: block;
  border-bottom: 1px solid #ccc;
  transition: 0.5s;
  background: #fff;
  position: relative;
  margin: 0 -1em;
  padding: 0.95em 1em 0.75em;
  text-decoration: none;
  min-height: 9.25em;
}
#content .contents a img {
  float: left;
  margin-bottom: 0.6em;
  border-radius: 50%;
  width: 5.75em;
  height: 5.75em;
}
#content .contents a h1 {
  font-size: 1.75em;
}
#content .contents a h2 {
  font-size: 1.15em;
  font-weight: normal;
  color: #666;
  margin: 0.5em 0 0.5em;
}
#content .contents a h1,
#content .contents a h2 {
  padding-left: 105px;
}
#content .contents a p {
  color: #111;
  font-family: 'Merriweather', serif;
  font-size: 1em;
  margin: 0;
  line-height: 160%;
  clear: both;
}
#content .contents a:hover,
#content .contents a:focus {
  background: linear-gradient(to right, #ffffff 37%, #f8ca00 91%);
  outline: none;
}
#content .contents a:first-of-type {
  margin-top: 15px;
}
#content .contents a:last-child {
  border-bottom: none;
}
/* Dropdowns */
h4 {
  background: #f8ca00;
  margin: 1.5em 0 0;
  padding: 0.25em 0.5em 0.25em 1.25em;
  position: relative;
  width: 100%;
}
h4::before {
  content: url('../img/ref/arrow.svg');
  position: absolute;
  left: 0.4em;
  top: 0.5em;
  display: inline-block;
  width: 0.7em;
  transform-origin: center;
  transform: rotate(0deg);
  transition: 0.3s;
}
h4:hover {
  cursor: pointer;
  background: #dfb500;
}
h4.open::before {
  transform: rotate(90deg);
}
#main div.dropdown {
  display: none;
  padding: 0.25em 0.5em;
  background: #eaeaea;
}
#main div.dropdown p:first-of-type {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: unset;
  line-height: 160%;
}
#main div.dropdown h5 {
  font-size: 1em;
  margin: 0.75em 0 0.1em;
}
/* Footer */
footer {
  width: 100%;
  height: 100px;
  transition: 0.35s;
  background-position: 50% 65%;
  background-repeat: no-repeat;
  background-size: cover;
}
footer.USA,
.usa footer {
  background-image: url('../img/usa/footer-usa.jpg');
}
footer.england {
  background-image: url('../img/england/footer_england.jpg');
}
footer.history {
  background-image: url('../img/gen/historiography/banner-historiography.jpg');
  background-position: 50% 20%;
}
/* Landing page */
#home header,
#cover header {
  background: #222;
  width: 100vw;
  position: fixed;
  top: 0;
  height: 40px;
  z-index: 10;
  box-shadow: 0 2px 15px 8px rgba(0, 0, 0, 0.25);
}
#home #tabs {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  display: flex;
}
#home #tabs div {
  font-size: 1.15em;
  display: inline-block;
  width: 30%;
  flex-grow: 1;
  text-align: center;
  margin: 0;
  padding: 0.75em 0;
  background: #eee;
  color: #333;
}
#home #tabs div:first-child {
  border-radius: 0.35em 0 0 0;
}
#home #tabs div:last-child {
  border-radius: 0 0.35em 0 0;
}
#home #tabs div:nth-child(n+2) {
  box-shadow: 0.3em 0 0.1em -0.2em rgba(0, 0, 0, 0.05) inset;
}
#home #tabs div:hover {
  cursor: pointer;
  color: #000;
}
#home #tabs div.active {
  background: #f8ca00;
  color: #000;
  font-weight: bold;
}
#home section {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: none;
}
#home section h3 {
  border-top: none;
  color: #c5a000;
}
#home section.active {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
/* Cover pages */
#cover {
  height: 100vh;
}
#cover #hero {
  position: absolute;
  top: 40px;
  right: 0;
  bottom: 0;
  left: 50vw;
}
#cover #hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#cover #text {
  width: 50%;
}
#cover #text img {
  width: 70%;
  margin: 10% 0 0 20%;
}
#cover #text p {
  width: 70%;
  margin-left: 20%;
  padding-right: 1vw;
  font-family: 'Merriweather', serif;
  font-size: 2.25vw;
  text-align: right;
}
#cover #text a {
  color: #fff;
  padding: 10px 20px;
  border-radius: 20px;
  text-decoration: none;
  margin-left: 20%;
}
/* Media queries */
@media screen and (min-width: 400px) {
  body {
    font-size: 16px;
  }
  body #title.hero {
    min-height: 375px;
    max-height: 450px;
  }
  body #title.hero h1 {
    font-size: 2.3em;
    top: 45%;
  }
  body #title.hero img.logo {
    top: 23%;
    width: 45vw;
  }
}
@media screen and (min-width: 450px) {
  body #content .contents a {
    padding-left: 9em;
  }
  body #content .contents a h1,
  body #content .contents a h2 {
    padding-left: 0;
  }
  body #content .contents a p {
    clear: none;
  }
  body #content .contents a img {
    position: absolute;
    left: 1em;
    width: 7em;
    height: 7em;
  }
  body .modal-content div > figure {
    width: 45%;
  }
}
@media screen and (min-width: 500px) {
  body {
    font-size: 16.5px;
  }
  body #title.hero {
    min-height: 425px;
    max-height: 500px;
  }
  body #title.hero h1 {
    font-size: 2.6em;
    top: 45%;
  }
  body #title.hero img.logo {
    top: 25%;
    max-width: 11em;
  }
  body #title.hero figure figcaption p {
    font-size: 0.9em;
  }
  body #title.hero .links {
    bottom: 6.75em;
  }
  body #title.hero .links a {
    padding: 0.75em 1em 0.75em 3em;
    position: relative;
  }
  body #title.hero .links a::before {
    content: "";
    position: absolute;
    width: 2.2em;
    height: 2.2em;
    border-radius: 50%;
    background: #eee;
    display: inline-block;
    left: 0.3em;
    top: 0.3em;
    background-position: center;
    background-size: cover;
  }
  body #title.hero .links a.usa::before {
    background-image: url('../img/ref/flag-usa.jpg');
  }
  body #title.hero .links a.uk::before {
    background-image: url('../img/ref/flag-england.jpg');
  }
  #main figure {
    width: 100%;
    margin: 1.5em 0 2em;
  }
  #main figure figcaption {
    padding: 0;
  }
}
@media screen and (min-width: 600px) {
  body {
    font-size: 17px;
  }
  body #title {
    height: 14.25em;
  }
  body #title h1 {
    font-size: 1.5em;
  }
  body #title.hero {
    min-height: 475px;
    max-height: 550px;
  }
  body #title.hero img.logo {
    top: 22%;
    max-width: 12em;
  }
  body #title.hero h1 {
    font-size: 3em;
    top: 45%;
  }
  body #title.hero figure figcaption p {
    font-size: 0.95em;
  }
  body #title.hero .links {
    width: 80vw;
    left: 10vw;
  }
  body #content h1 {
    font-size: 3.25em;
  }
  body #content figure {
    margin: 1.5em 0 2em;
  }
  body #content figure figcaption {
    padding: 0;
  }
  body #content #main:not(.contents) {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  body #content #main:not(.contents) button.myModal {
    font-size: 0.85em;
  }
  body #content #main:not(.contents) button.myModal::before {
    top: -0.15em;
    bottom: -0.05em;
  }
  body #content #main:not(.contents) p.biblio {
    align-self: flex-end;
  }
  body #content #main:not(.contents) p,
  body #content #main:not(.contents) p.biblio,
  body #content #main:not(.contents) p.biblio + ul {
    width: 566px;
  }
  body #content #main:not(.contents) .table {
    width: 100%;
  }
}
@media screen and (min-width: 680px) {
  body nav ul a li span:nth-of-type(1) {
    display: inline-block;
    padding-left: 0.15em;
  }
  body nav ul a li span:nth-of-type(2) {
    display: none;
  }
  body #content #main:not(.contents) p,
  body #content #main:not(.contents) p.biblio,
  body #content #main:not(.contents) p.biblio + ul {
    width: 88%;
  }
}
@media screen and (min-width: 700px) {
  body {
    font-size: 17.5px;
  }
  body #map-show {
    display: inline-block;
  }
  body nav ul a li {
    padding-top: 0.75em;
  }
  body #title.hero {
    min-height: 500px;
    max-height: 575px;
  }
  body #title.hero img.logo {
    width: 40%;
    max-width: 11em;
    top: 24%;
  }
  body #title.hero .links {
    width: 74vw;
    left: 13vw;
    bottom: 7.25em;
  }
}
@media screen and (min-width: 800px) {
  body {
    font-size: 18px;
  }
  body #toolbar .measure h1 a span {
    display: inline-block;
  }
  body nav ul a li {
    padding-top: 0.7em;
  }
  body #title.hero {
    max-height: 600px;
  }
  body #title.hero img.logo {
    top: 23%;
  }
  body #title.hero h1 {
    text-shadow: 0 0.15em 0.2em rgba(0, 0, 0, 0.9);
    top: 44%;
  }
  body #title.hero .links {
    width: 60vw;
    left: 20vw;
  }
  body #title.history {
    background-image: url('../img/gen/historiography/banner-historiography.jpg');
    background-position: 50% 30%;
  }
  body #content h1 {
    font-size: 3.5em;
  }
}
@media screen and (min-width: 860px) {
  #content,
  #title.hero figure figcaption {
    width: 860px;
  }
}
@media screen and (min-width: 900px) {
  body {
    font-size: 18.5px;
  }
  body nav ul a li {
    padding-top: 0.65em;
  }
  body #content,
  body #title.hero figure figcaption {
    width: 95.5%;
  }
  body #title.hero {
    min-height: 500px;
    max-height: 625px;
  }
}
@media screen and (min-width: 950px) {
  #toolbar #mobile-nav {
    display: none;
  }
  #map-show {
    right: 2vw;
  }
  #content .contents a {
    margin-right: 0;
  }
  #content #sidebar {
    padding-top: 0;
    width: 24%;
    float: right;
    background: none;
    position: sticky;
    top: 60px;
    overflow-y: auto;
    display: block;
    height: unset;
  }
  #content #sidebar h6 {
    display: none;
  }
  #content #sidebar.active {
    box-shadow: none;
  }
  #content #main {
    width: 76%;
    border-right: 1px solid #ddd;
    padding-right: 20px;
  }
  #content #main blockquote:first-child {
    margin-top: 0;
  }
}
@media screen and (min-width: 1000px) {
  body {
    font-size: 19px;
  }
  body nav ul a li {
    padding-top: 0.6em;
  }
  body #title.hero {
    min-height: 550px;
    max-height: 650px;
  }
}
@media screen and (min-width: 1100px) {
  body {
    font-size: 20px;
  }
  body #content h1 {
    font-size: 3.75em;
  }
}
@media screen and (min-width: 1400px) {
  #map-show {
    right: unset;
    left: calc(50% + 650px);
  }
}
@media screen and (max-width: 799px) {
  #title.flood {
    background-image: url('../img/usa/flood/flood-banner800.jpg');
    background-position: 50% 75%;
  }
}
/*# sourceMappingURL=history.css.map */