@import url(https://fonts.googleapis.com/css?family=Raleway);
/* list of variables to edit */
body, form {
  margin: 0;
  padding: 0;
}
body {
  background: grey;
}
@media print {
  /* Don't print link hrefs */
  a[href]:after {
    content: none;
  }
}
/* Default font */
* {
  font-family: Helvetica;
}
* {
  font-family: "Raleway";
}
body {
  padding: 70px 0 2rem;
}
code {
  color: blue;
}
#float-right {
  position: fixed;
  bottom: 10%;
  right: 1rem;
  width: auto;
  height: auto;
  opacity: 0.7;
}
ticker {
  padding: 2% 0 0 0;
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  min-width: 100%;
}
ticker {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  animation: slide-left 50s linear infinite;
}
ticker p {
  font-size: 2.5em;
  font-weight: 100;
  padding-left: 0.5em;
}
@keyframes slide-left {
  from {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  to {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
  }
}
.bi-alarm-fill {
  color: red;
}
@include-when-export url(https://fonts.loli.net/css?family=Ubuntu:400,700,400italic,700italic);
@include-when-export url(https://fonts.loli.net/css?family=Raleway:600,400&subset=latin,latin-ext);

@font-face {
  font-family: "selfpublish";
  src: url("https://assets.codepen.io/769788/selfpubfont.ttf") format("truetype");
}
@font-face {
  font-family: "sf";
  src: url("https://assets.codepen.io/769788/sf-thin.ttf") format("truetype");
}
/* body includes bootstrap containers */
body {
  color: #333;
  font: 1.9em "Raleway", Palatino, Times;
  font-size: 20px;
  margin: 0;
  /* top, right, bottom, and left */
  padding: 20px 0 40px 0;
  /* background-color: #d7d8dd; */
  /*      background-color: #D6DBD2; */
  background-color: #f2f5ea;
  font-size: 1.5rem;
  /* line-height: 1.75rem; */
  line-height: 1.6;
  margin: 0 0 1.25rem;
}
html {
  /* background: #fcfcfc; */
  /* background: var(--bg-color); */
  font-family: "TeXGyreAdventor", "Century Gothic", "Yu Gothic", "Raleway", sans-serif;
  font-size: 16px;
  font-weight: 300;
}
h1, h2, h3, h4, h5, h6 {
  color: #111;
  font-family: "TeXGyreAdventor", "Century Gothic", "Yu Gothic", "Ubuntu", sans-serif;
}
h1 {
  font-weight: normal;
  line-height: 4rem;
  /*   margin: 0 0 1.75rem; */
  /*   padding: 20px 30px; */
  text-align: center;
  text-transform: uppercase;
  /*   margin-top: 1rem; */
}
h2 {
  font-weight: normal;
  line-height: 3rem;
  margin: 0 0 1.9375rem;
  padding: 0 30px;
  text-align: center;
  text-transform: uppercase;
  /*   margin-top: 3rem; */
}
h3 {
  font-weight: normal;
}
h4 {
  font-family: "sf", cursive;
  /*    text-align: right; */
}
h5 {
  font-size: 1.125rem;
  font-weight: normal;
}
h6 {
  font-size: 1rem;
  font-weight: bold;
}
p {
  color: #111;
  font-size: 1.5rem;
  /* line-height: 1.75rem; */
  line-height: 1.6;
  margin: 0 0 1.25rem;
}
li, ul, ol {
  font-size: 1.5rem;
}
blockquote {
  /* margin: 0 0 1.11111rem; */
  margin: 0 5% 2% 5%;
  padding: 0.5rem 1.11111rem 0 1.05556rem;
  border: 1px solid gray;
  background-color: #d6dbd2;
  -webkit-filter: drop-shadow(5px 5px 5px #222);
  filter: drop-shadow(5px 5px 5px #222);
}
blockquote p {
  line-height: 1.6;
  color: #01001f;
}
/* Make All Images Responsive
 =============================================================================*/
/* test 1 */
img {
  height: auto;
  margin: 0 auto;
  max-width: 100%;
}
/* test 2 */
/*  img {
 height: auto;
 max-width: 100%;
 } */
/* test 3 */
/* img {
 display: block;
 width: 60%;
 margin-left: auto;
 margin-right: auto;
 } */
/* numbered list */
::marker {
  font-size: 16pt;
}
/*  bullets */
li {
  font-size: 1.5rem !important;
}
.float-side-left {
  position: fixed;
  bottom: 10%;
  left: 0.5rem;
}
.float-side-right {
  position: fixed;
  bottom: 15%;
  right: 0.5rem;
}
.dark-mode {
  -webkit-filter: invert(1);
  filter: invert(1);
}
.dark-mode {
  background-color: white;
  -webkit-filter: invert(1);
  filter: invert(1);
}
.dark-mode .embed-responsive {
  background-color: #0a0a0a;
  -webkit-filter: invert(1);
  filter: invert(1);
}
.dark-mode img {
  -webkit-filter: invert(1);
  filter: invert(1);
}
.dark-mode #toc {
  /*  background-color: white;  */
  -webkit-filter: invert(1);
  filter: invert(1);
}
.nav {
  width: 100%;
  /*   background-color: #3674A6; */
  opacity: 1;
  height: var(--nav-height);
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}
.nav--hidden {
  transform: translateY(calc(-1 * var(--nav-height)));
  box-shadow: none;
}
.nav__link {
  color: #fff;
  text-decoration: none;
  margin: 0 1em;
  font-weight: bold;
}
.btn-info {
  background-color: #0b5589;
}
/* .btn-info:hover {
 background-color: #A4D564;
 } */
.navbar {
  /*  background-color: #cc9600; */
  /*   opacity: .8; */
  /*   margin-right: 1%; */
  /*   margin-left: 1%; */
}
/* Define Font for Site Title (Left) */
.navbar-brand a {
  font-family: 'selfpublish' !important;
  font-size: 1.5rem;
  /*   padding: 2%; */
}
.navbar-custom {
  background-color: white;
  /*   padding: 2%; */
}
.navbar-logo {
  /*   padding: 2%; */
  margin-left: 12px;
}
.nav {
  width: 100%;
  height: var(--nav-height);
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}
.nav--hidden {
  transform: translateY(calc(-1 * var(--nav-height)));
  box-shadow: none;
}
.nav__link {
  color: #fff;
  text-decoration: none;
  margin: 0 1em;
  font-weight: bold;
}
.navbar-toggler {
  color: red important !;
}
.fa-bars {
  color: grey;
}
#rotator img {
  transform-origin: 50% 50%;
  animation: 8s rotateRight infinite linear;
}
@keyframes rotateRight {
  100% {
    transform: rotate(360deg);
  }
}
.pubwriter {
  background-color: #aaa9ad;
  padding: 1rem 3rem;
  /* give the elevated page look */
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.6rem;
  box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.5);
  /* Default to centering header text */
  /* increase spacing between list items */
  /* Increase font size of bulleted and numbered lists */
  /* Make font larger and increase default spacing */
  /* Make the default line break darker */
  /* Images */
}
.pubwriter > h1, .pubwriter h2, .pubwriter h3 {
  text-align: center;
}
.pubwriter > ul {
  line-height: 2rem;
}
.pubwriter > ul > li {
  font-size: 1rem;
}
.pubwriter > p {
  font-size: 1.1rem;
  line-height: 2rem;
}
.pubwriter > hr {
  border-color: #d5d5d5;
}
.pubwriter > p > img {
  display: inline-block;
  height: auto;
  max-width: 100%;
}
.pubwriter > blockquote {
  /* relative positioning for the quote */
  position: relative;
  font-size: 1rem;
  /* standout */
  padding: 1rem 3rem;
  border: 10px solid black;
  /* add blue side borders */
  border-left: 10px solid #27a2d5;
  border-right: 10px solid #27a2d5;
  /* make it stand out with a small shadow*/
  box-shadow: 0px 10px 15px grey;
}
.pubwriter > blockquote::before {
  content: "\232C";
  /*Unicode for Left Double Quote*/
  position: absolute;
  left: 5px;
  top: 0;
  /* pick a font that has a good quote character */
  font-family: Georgia, serif;
  font-size: 3rem;
  font-weight: bold;
  color: #000;
}
.flat {
  /* removing border and shadow to flatten into page */
  border: 10;
  box-shadow: none;
}
#toc {
  color: limegreen;
  position: fixed;
  /* position: static; */
  /* position: relative; */
  /* top, right, bottom, left */
  /*  margin: 60% 0 10% 0; */
  margin-top: 0;
  margin-bottom: 0;
  margin-right: 0;
  margin-left: 60%;
  background-color: rgba(0, 0, 0, 0.8);
  padding-right: 1%;
  z-index: 3;
}
#toc a {
  color: limegreen;
}
#toc h5 {
  color: white;
  text-align: center;
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  font-weight: bold;
}
/*------- STATE -------*/
/* Mobile styles */
@media screen and (max-width: 768px) {
  /* Make font normal size on mobile */
  .pubwriter > p {
    font-size: 1rem;
  }
  .pubwriter > blockquote {
    font-size: 1rem;
  }
}
