body {
  font-family: "Fira Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  padding: 0;
  margin: 0;
}

body * {
  font-weight: 400;
}

/* Headings */

h1 {
  color: #273D44;
  font-size: 2.2em;
  margin: 20px 0 35px 0;
  position: relative;
  line-height: 120%;
}

h2 {
  color: #ab5ba4;
  font-size: 2em;
  font-style: italic;
  margin: 20px 0 20px 0;
}

h3 {
  font-size: 1.4em;
  font-weight: 500;
  margin: 20px 0;
  color: rgba(0,0,0,.5);
}

h4 {
  margin: 0 0 5px 0;
  font-size: 1.125em;
  font-weight: 500;
  color: rgba(0,0,0,.5);
}

h5 {
  color: rgba(0,0,0,.5);
  font-weight: 500;
  font-size: 1em;
}

h3 + h5 {
  position: relative;
  top: -20px;
  margin-bottom: 10px;
}

p, li {
  color: rgba(0, 0, 0, 0.45);
  line-height: 160%;
}

p span {
  font-weight: 500;
  padding: 2px 8px;
  margin-left: 2px;
  color: rgba(0, 0, 0, 0.45);
  background-color: rgba(0, 0, 0, 0.05);
  font-style: italic;
}

strong {
  font-weight: 500;
  color: #273D44;
}

p {
  margin: 0 0 30px 0;
}

/* Lists */

ol {
  margin: 0 0 30px 0;
}

ul {
  margin: 10px 0 30px 0;
}


li {
  margin-bottom: 6px;
}


ul li {
  list-style-type: none;
  position: relative;
}

ul li:before {
  content: ".";
  position: absolute;
  left: -15px;
  font-weight: 700;
  color: inherit;
  font-size: 25px;
  top: -6px;
}

/* Callout - used primarily for quotes */

.callout {
  margin: 35px 0 40px 0;
  padding: 0 25px;
  border-left: solid 4px #c68ec1;
}

.callout * {
  color: #ab5ba4;
}

.callout p {
  margin: 0 0 20px 0;
}

.callout p:last-of-type {
  margin: 0 0 10px 0;
}

.callout .author {
  font-style: italic;
  font-size: 14px;
}

.callout .author:before {
  content: "\2014"
}

/* Fellow Bio */

.fellow {
  padding-left: 250px;
  position: relative;
  margin-bottom: 60px;
}

.fellow h2 {
  color: rgba(0,0,0,.6);
  font-style: normal;
  padding: 0;
  margin: 0 0 5px 0;
  font-size: 1.25em;
}

.fellow img {
  width: 200px;
  position: absolute;
  left: 0;
  top: 4px;
  border: none;
}

/* Host Organization Bio */

.host {
  margin-bottom: 60px;
}

.host h2 {
  color: rgba(0,0,0,.6);
  font-style: normal;
  padding: 0;
  margin: 0 0 5px 0;
  font-size: 1.25em;
  overflow: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: left;
}

.host img {
  width: 225px;
  left: 0;
  top: 4px;
  float: left;
  margin-right: 20px;
  margin-bottom: 0;
  display: block;
}

.host .callout {
  clear: both;
  margin-top: 20px;
}

/* Left-side Navigation */

nav {
  padding: 20px 0 25px 0;
  list-style-type: none;
  position: relative;
  z-index: 2;
}

nav a {
  display: block;
  position: relative;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 18px 34px;
  transition: background 0.05s ease-out;
}

nav a.selected,
nav a.selected:hover {
  color: white;
  background: #8d4587;
}

nav a:hover {
  color: #ffffff;
}

nav a:after {
  display: none;
  content: "";
  background-image: url(../images/nav-selected-indicator.svg);
  background-position: left;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  position: absolute;
  top: 0;
  opacity: 1;
  width: 20px;
  right: -20px;
}

nav a.selected {
  color: #ffffff;
}

nav a.selected:after {
  display: block;
}

nav a:hover {
  background: #9c5095;
  color: #ffffff;
}

/* Article Content */

article {
  max-width: 750px;
  position: relative;
  padding: 0 0 40px 295px;
  margin-right: 55px;
  z-index: 1;
}

article img.hero {
  margin-bottom: 30px;
}

article section {
  padding: 20px 0;
}

article > ul,
article ol {
  padding-left: 22px;
  margin-bottom: 40px;
}

article > ul li,
article ol li {
  margin-bottom: 8px;
  line-height: 150%;
}

article img {
  max-width: 100%;
  margin-bottom: 30px;
}

article img.has-border {
  border: solid 1px #DDD;
}

article a {
  color: #00aee8;
  text-decoration: none;
}

article a:hover {
  text-decoration: underline;
  color: #009ac4;
}



.example {
  color: #e78412;
  display: block;
  font-weight: 300;
  padding: 17px 20px;
  margin-top: 10px;
}

.example * {
  color: inherit;
}


/* Aside -  left bar along side that contains navigation */

aside {
  z-index: 2;
  width: 230px;
  position: fixed;
  top: 0;
}

aside .image {
  height: 70px;
  width: 150px;
  margin: 22px 0 0 30px;
  z-index: 2;
  background-image: url(../images/mozilla-advocacy.svg);
  background-position: left;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
}

aside:after {
  content: "";
  position: fixed;
  top: 0;
  height: 100vh;
  width: 230px;
  z-index: 1;
  background: #ab5ba4;
}

/* Next section navigation */

.next-section {
  padding: 20px;
  background: #f1f1f1;
  text-align: right;
}

.next-section a {
  text-decoration: none;
  color: #00aee8;
  background-image: url(../images/angle-right.svg);
  background-size: 7px;
  background-position: right 6px;
  background-repeat: no-repeat;
  padding-right: 13px;
}

.next-section a:hover {
  color: #009ac4;
}
