@import url("https://fonts.googleapis.com/css?family=Open+Sans&display=swap");

html {
  box-sizing: border-box;
  /* font-size: 16px; */
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  background-color: #fff;
  color: #222;
  font-family: "Open Sans", sans-serif;
  font-size: 1em;
  line-height: 1.7em;
}

header {
  margin-bottom: 2em;
}

header>h1 {
  background-color: #aa0000;
  color: #fff;
  padding: 0.4em 0.4em 0.4em 0.4em;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0.25em;
}

header>p {
  padding: 0 0.25em 0 0.25em;
}


.info {
  background-color: rgb(245, 245, 245);
  border-left: 8px solid #333;
  margin-bottom: 0.25em;
  padding: 0.1em 0.6em;
}

.info>p {
  font-size: 1.25em;
}

.date {
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
  color: #333;
  display: inline-block;
  font-size: 0.7em;
  margin-bottom: 1em;
  padding: 4px 12px;
}

.archived {
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25);
  color: #333;
  display: inline-block;
  font-size: 0.7em;
  margin: 1em;
  padding: 16px;
  max-width: 65ch;
}

.eyebrow {
  color: #aa0000;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 0;
}

.skip-link {
  background-color: #000 !important;
  border: none;
  color: #fff;
  padding: 0 0.25em;
  position: absolute;
  left: 0.25em;
}

.skip-link:not(:focus) {
  position: absolute;
  padding: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

h2>.header-link,
h3>.header-link {
  border: none;
  outline: none;
  text-decoration: none;
}

h2>.header-link:hover,
h3>.header-link:hover {
  background: none;
  color: inherit;
}

.header-link::after {
  content: " #";
  color: #222;
  font-size: 0.65em;
  position: relative;
  bottom: 0.2em;
  opacity: 0;
  transition: opacity 200ms;
}

.header-link:hover::after {
  opacity: 1;
}

a.header-link:focus {
  color: inherit !important;
  background: none !important;
}

.section-border:nth-of-type(even) a.header-link {
  background: none;
  border-bottom: none;
  outline: none;
  text-decoration: none;
}

.section-border:nth-of-type(even) a.header-link:hover {
  background: none;
  color: inherit;
}

blockquote {
  background-color: #fff;
  border: 1px solid #333;
  border-left: 8px solid #333;
  margin: 0.6em 0 0.6em 0.5em;
}

blockquote>p {
  margin: 0.5em 0;
  padding: 0 0.6em;
}

.blockquote-title {
  color: #333;
  font-size: 1.2em;
  font-weight: bold;
  margin: 0.25em;
  text-transform: uppercase;
}

blockquote p:nth-of-type(2) {
  margin: 0.25em;
}

.big-letter {
  font-weight: bold;
  font-size: 1.2em;
}

#topButton {
  display: none;
  position: fixed;
  bottom: 15px;
  right: 15px;

  border: 2px solid #aa0000;
  border-radius: 3px;

  background: #fff;
  color: #222;
  line-height: 1.4;
  width: 80px;
  height: 80px;
  background-image: url("data:image/svg+xml,%3Csvg%20version=%221.1%22%20xmlns=%22http://www.w3.org/2000/svg%22%20xmlns:xlink=%22http://www.w3.org/1999/xlink%22%20x=%220px%22%20y=%220px%22%20width=%2218px%22%20height=%2214px%22%20viewBox=%220%200%2012%208%22%20enable-background=%22new%200%200%2012%208%22%20xml:space=%22preserve%22%3E%3Cpolygon%20fill=%22black%22%20points=%225.999,3.376%201.6,8%200,6.303%205.999,0%2012,6.303%2010.4,8%20%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center 20%;

  font-size: 15px;
  padding: 30px 0 10px 0;

  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  transition: all 0.3s;
  text-align: center;
}

#topButton:hover {
  background-color: rgba(255, 255, 255, 1);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
  color: #aa0000;
}

@media (min-width: 1200px) {
  #toggleAnim {
    transform: scale(1.5);
  }
}

@media (min-width: 1800px) {
  #toggleAnim {
    transform: scale(2);
  }
}

hr {
  border-top: none;
  border-bottom: 1px solid #999;
}

ul {
  padding-left: 0;
}

li {
  list-style: none;
  padding: 0.4em 0;
  margin: 4px 0;
}

p.indent {
  margin-left: 2em;
}

a {
  border-bottom: 2px dotted #aa0000;
  color: #aa0000;
  text-decoration: none;
  transition: all 0.1s;
  padding: 2px 2px 3px 2px;
}

a:hover,
a:focus {
  background-color: #aa0000;
  color: #fff;
}

.section-border:nth-of-type(even) a {
  border-bottom: 2px dotted #2a557f;
  color: #2a557f;
  text-decoration: none;
  transition: all 0.1s;
}

.section-border:nth-of-type(even) a:hover,
.section-border:nth-of-type(even) a:focus {
  background-color: #2a557f;
  color: #fff;
}

a[href*="twitter.com"] {
  /* background-color: rgb(75, 75, 75); */
  /* border-bottom: none !important; */
  /* border-radius: 3px; */
  /* color: #fff !important; */
  color: #222 !important;
  margin: 0 2px;
  padding: 2px 2px 3px 2px;
  white-space: nowrap;
}

a[href*="twitter.com"]:hover,
a[href*="twitter.com"]:focus {
  background-color: #1da1f2 !important;
  border-bottom: none;
  color: #fff !important;
  transition: all 0.1s;
}

a[href*="twitter.com"]:hover,
a[href*="twitter.com"]:focus {
  background-color: transparent;
  border-bottom: 1px dotted #55acee;
  color: #55acee;
}

h1,
h2,
h3,
h4 {
  letter-spacing: 1px;
}

h2::before {
  content: "» ";
  position: relative;
  top: -3px;
}

h2 {
  text-transform: uppercase;
  margin-top: 1.5em;
  padding-left: 0.5em;
  padding-top: 0.75em;
}

h2:first-of-type {
  margin-top: 0;
}

h2:nth-of-type(odd) {
  color: #aa0000;
  border-top: 14px solid #aa0000;
  border-right: 14px solid #aa0000;
}

h2:nth-of-type(even) {
  color: #2a557f;
  border-top: 14px solid #2a557f;
  border-right: 14px solid #2a557f;
}

h2:nth-of-type(even)>a {
  color: #2a557f;
}

h3,
h4,
ul {
  padding-left: 0px;
  margin-bottom: 0;
}

ul {
  margin-top: 0;
}

hr {
  border: 7px solid #aa0000;
}

.intro-note {
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0;
}

#total-links {
  font-weight: bold;
}

.pricing {
  color: #fff;
  cursor: default;
  background-color: green;
  border-radius: 4px;
  font-size: 0.8em;
  display: inline-block;
  margin: 0 2px;
  padding: 0 6px;
  line-height: 1.5em;
  height: 1.5em;
  white-space: nowrap;
}

.section-border:nth-of-type(odd) {
  background-color: #fcf2f2;
}

.section-border:nth-of-type(even) {
  background-color: #f1f4f8;
}

.section-border:nth-of-type(odd) {
  border-left: 14px solid #aa0000;
  border-bottom: 14px solid #aa0000;
}

.section-border:nth-of-type(odd) h3 {
  color: #aa0000;
  text-transform: uppercase;
}

.section-border:nth-of-type(even) {
  border-left: 14px solid #2a557f;
  border-bottom: 14px solid #2a557f;
}

.section-border:nth-of-type(even) h3 {
  color: #2a557f;
  text-transform: uppercase;
}

@media (min-width: 700px) {
  body {
    font-size: 1.25em;
  }

  p,
  h3,
  h4,
  ul {
    padding-left: 10px;
  }
}

@media (min-width: 1200px) {
  body {
    font-size: 1.25em;
  }
}

@media (min-width: 1800px) {
  body {
    font-size: 1.7em;
  }
}

/* Screen reader specific */
.screen-reader-only {
  position: absolute;
  padding: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Nav ****************************************************/
.navbar ul {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.navbar li {
  flex-grow: 1;
  list-style: none;
  margin: 3px 0;
  padding: 0;
}

.navbar a {
  background-color: #aa0000;
  border: none;
  border-radius: 4px;
  display: block;
  color: #fff;
  margin: 0 6px 0 0;
  padding: 4px 10px 4px 10px;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s;
}

.navbar a:hover,
.navbar a:focus {
  outline: none;
  background-color: #222;
  box-shadow: 0 0 0 0.2em #aa0000;
}

/* .navbar li:nth-of-type(even) a {
  background-color: #2a557f;
} */

/* 
.navbar li:nth-of-type(even) a:hover {
  background-color: #222;
} */

.navbar .badge {
  background-color: #fff;
  border-radius: 4px;
  color: #222;
  font-size: 0.8em;
  margin-left: 4px;
  padding: 3px 6px 2px 6px;
  pointer-events: none;
}

.right {
  text-align: right;
}

/* A classic float-based grid (No, as you can see, it is not Flexbox or Grid) ***************************************************/
.grid-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* clearfix */
.row:before,
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* columns */
[class*="col-"] {
  float: left;
  min-height: 1px;
  width: 100%;
  padding: 0px 16px;
  /* gutter */
  margin: 0;
}

@media (min-width: 1000px) {
  .col-1 {
    width: 16.66%;
  }

  .col-2 {
    width: 33.33%;
  }

  .col-3 {
    width: 48%;
  }

  .col-4 {
    width: 66.664%;
  }

  .col-5 {
    width: 83.33%;
  }

  .col-6 {
    width: 100%;
  }
}

@media (min-width: 1800px) {

  header>h1,
  header>p {
    font-size: 1.25em;
  }

  p {
    line-height: 1.3;
  }

  .navbar a {
    padding: 16px;
    margin: 4px 8px;
  }

  .navbar .badge {
    border-radius: 8px;
    padding: 5px 8px 4px 8px;
  }

  .grid-container {
    max-width: 1600px;
  }
}