/* Globals */

:root {
  --sidebar-width: 300px;
  --page-padding: 25px;
  --content-max-width: 770px;
  --menu-bar-height: 50px;

  --bg: hsl(0, 0%, 100%);
  --fg: #333333;

  --sidebar-bg: #fafafa;
  --sidebar-fg: #000000;
  --sidebar-non-existant: #aaaaaa;
  --sidebar-active: #008cff;
  /* --sidebar-active: #e66a0f; */
  --sidebar-spacer: #f4f4f4;

  --scrollbar: #f1f1f1;
  --scrollbar-thumb: #cccccc;

  --icons: #cccccc;
  --icons-hover: #333333;

  --nontext-links: #4183c4;
  --links: blue;

  --inline-code-color: #6e6b5e;

  --theme-popup-bg: #fafafa;
  --theme-popup-border: #cccccc;
  --theme-hover: #e6e6e6;

  --quote-bg: hsl(197, 37%, 96%);
  --quote-border: hsl(197, 37%, 91%);

  --table-border-color: #dddddd;
  --table-header-bg: #eeeef0;

  --searchbar-border-color: #aaa;
  --searchbar-bg: #fafafa;
  --searchbar-fg: #000;
  --searchbar-shadow-color: #aaa;
  --searchresults-header-fg: #666;
  --searchresults-border-color: #888;
  --searchresults-li-bg: #e4f2fe;
  --search-mark-bg: #a2cff5;
}


/* Base styles and content styles */
:root {
  /* Browser default font-size is 16px, this way 1 rem = 10px */
  font-size: 62.5%;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--fg);
  background-color: var(--bg);
  text-size-adjust: none;
}

body {
  margin: 0;
  font-size: 1.6rem;
  overflow-x: hidden;
}

code {
  font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;
  font-size: 0.875em; /* please adjust the ace font size accordingly in editor.js */
}

/* Don't change font size in headers. */
h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
  font-size: unset;
}

.left { float: left; }
.right { float: right; }
.boring { opacity: 0.6; }
.hide-boring .boring { display: none; }
.hidden { display: none !important; }

h2 {
  font-size: 1.75em;
  margin-top: 1.275em;
  margin-bottom: .85em;
  page-break-after: avoid;
  font-weight: normal;
  line-height: 1.7;
}

/* h2, h3 { margin-top: 2.5em; } */
h4, h5 { margin-top: 2em; }

.header + .header h3,
.header + .header h4,
.header + .header h5 {
  margin-top: 1em;
}

h1 a.header:target::before,
h2 a.header:target::before,
h3 a.header:target::before,
h4 a.header:target::before {
  display: inline-block;
  content: "»";
  margin-left: -30px;
  width: 30px;
}

h1 a.header:target,
h2 a.header:target,
h3 a.header:target,
h4 a.header:target {
  scroll-margin-top: calc(var(--menu-bar-height) + 0.5em);
}

.page {
  outline: 0;
  padding: 0 var(--page-padding);
  margin-top: calc(0px - var(--menu-bar-height)); /* Compensate for the #menu-bar-hover-placeholder */
}
.page-wrapper {
  box-sizing: border-box;
}
.js:not(.sidebar-resizing) .page-wrapper {
  transition: margin-left 0.3s ease, transform 0.3s ease; /* Animation: slide away */
}

.content {
  overflow-y: auto;
  padding: 30px 15px;
  padding-bottom: 50px;
  line-height: 2.7rem;
}

.content a.exercise, .content a.exercise:link, .content a.exercise:visited {
  background-color: #4182c4;
  color: white;
  text-decoration: none;
  padding: 0.75em 1.25em;
  border-radius: 0.5em;
  display: inline-block;
  margin: 1em 0;
  font-size: 1.25em;
}

.content a.exercise:hover {
  text-decoration: none;
  background-color: #3b74af;
}

.content main {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--content-max-width);
}
.content p { line-height: 1.45em; }
.content ol { line-height: 1.45em; }
.content ul { line-height: 1.45em; }
/* .content a { text-decoration: none; } */
.content a:hover { text-decoration: underline; }
.content img { max-width: 100%; }
@media only screen and (min-width: 650px) {
  .content em img { max-width: 50%; display: block; margin: 0 auto;} 
  .content strong img { max-width: 30%; display: block; margin: 0 auto;} 
}
.content .header:link,
.content .header:visited {
  color: var(--fg);
}
.content .header:link,
.content .header:visited:hover {
  text-decoration: none;
}

table {
  border-collapse: collapse;
  margin: auto;
}
table td {
  padding: 3px 20px;
  border: 1px var(--table-border-color) solid;
}
table thead {
  background: var(--table-header-bg);
}
table thead td {
  font-weight: 700;
  border: none;
}
table thead th {
  padding: 3px 20px;
}
table thead tr {
  border: 1px var(--table-header-bg) solid;
}

blockquote {
  margin: 20px 0;
  padding: 0 20px;
  color: var(--fg);
  background-color: var(--quote-bg);
  border-top: .1em solid var(--quote-border);
  border-bottom: .1em solid var(--quote-border);
}


:not(.footnote-definition) + .footnote-definition,
.footnote-definition + :not(.footnote-definition) {
  margin-top: 2em;
  padding-top: 2em;
  border-top: 1px solid #d4d6dd;
}
.footnote-definition {
  font-size: 0.9em;
  margin: 0.5em 0;
}
.footnote-definition p {
  display: inline;
}

.tooltiptext {
  position: absolute;
  visibility: hidden;
  color: #fff;
  background-color: #333;
  transform: translateX(-50%); /* Center by moving tooltip 50% of its width left */
  left: -8px; /* Half of the width of the icon */
  top: -35px;
  font-size: 0.8em;
  text-align: center;
  border-radius: 6px;
  padding: 5px 8px;
  margin: 5px;
  z-index: 1000;
}
.tooltipped .tooltiptext {
  visibility: visible;
}

.chapter li.part-title {
  color: var(--sidebar-fg);
  margin: 5px 0px;
  font-weight: bold;
}

/* /////////////// */

p>code, li>code, dd>code, td>code, span>code, strong>code {
  color: #2f324e;
  background-color: hsl(0, 0%, 96%);
  padding: .05em .2em;
  border-radius: 4px;
  border: 1px solid rgb(221, 221, 221);
  overflow-wrap: break-word;
  word-wrap: break-word;
  margin: 0 3px 0 1px;
  position: relative;
  white-space: nowrap;
}

/* CODE BLOCKS */
pre>code, code { font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace; }
table.func code { padding: 0; }
table.func pre {
  padding: 0;
  background: none;
  border: none;
}

pre {
  padding: 0.5rem 1rem;
  border: 1px solid #e7e7e7;
  position: relative;
  background-color: hsla(0,0%,92.5%,.5);
  white-space: pre-wrap !important;
}

pre.pattern {
  border-radius: 2px;
  background: #fff;
  box-shadow:
  /* The top layer shadow */
  0 1px 1px rgba(0,0,0,0.15),
  /* The second layer */
  0 10px 0 -5px #eee,
  /* The second layer shadow */
  0 10px 1px -4px rgba(0,0,0,0.15),
  /* The third layer */
  0 20px 0 -10px #eee,
  /* The third layer shadow */
  0 20px 1px -9px rgba(0,0,0,0.15);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  font-weight: bold;
}

pre.internal-1 {
  padding: 0.5rem 1rem;
  font-family: monospace;
  font-size: 16px;
  border: none;
  position: relative;
  background-color: #E8E7F6;
  white-space: pre-wrap !important;
  padding: 1rem 1.65rem;
  min-height: 5rem;
  font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;
}

.internal-1:before {
  font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;
  content: 'INTERNAL';
  color:#a4a4a4;
  font-size: 1.25rem;
  text-align: center;
  width: 2.25rem;
  padding-right:0.25rem;
  padding-left:0.5rem;
  height: 100%;
  background-color: #fff;
  font-weight:bold;
  display: block;
  position:absolute;
  top:0;
  right:0;
  writing-mode: vertical-rl;
  border-right: 3px solid #E8E7F6;
}

pre.internal-2 {
  padding: 0.5rem 1rem;
  font-family: monospace;
  font-size: 16px;
  position: relative;
  white-space: pre-wrap !important;
  padding: 1rem 1rem 1rem 4rem;
  min-height: 4rem;
  font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;
  border: none;
  background: none;
  min-height: 5em;
}

.internal-2:before {
  font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;
  color:#a4a4a4;
  content: 'PROCESS';
  font-size: 1.25rem;
  text-align: center;
  width: 2.25rem;
  padding-right:0.35rem;
  padding-left:0.5rem;
  height: 100%;
  background-color: #fff;
  font-weight:bold;
  display: block;
  position:absolute;
  top:0;
  left:0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  border-right: 3px solid #0e1628;
  border-top: 3px solid #0e1628;
  border-bottom: 3px solid #0e1628;
  box-sizing: border-box;
}

pre.output {
  padding: 0.5rem 1rem;
  font-family: monospace;
  font-size: 16px;
  border: none;
  position: relative;
  color: white;
  background-color: #0E1628;
  white-space: pre-wrap !important;
  padding: 1rem;
  min-height: 5rem;
  font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;
}

.output:before {
  font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;
  content: 'OUTPUT';
  color:#a4a4a4;
  font-size: 1.25rem;
  text-align: center;
  width: 2rem;
  padding-right:0.05rem;
  padding-left:0.5rem;
  height: 100%;
  background-color: #fff;
  font-weight:bold;
  display: block;
  position:absolute;
  top:0;
  right:0;
  writing-mode: vertical-rl;
  border-right: 3px solid #0e1628;
}

p>code, li>code, dd>code, td>code, span>code, strong>code {
  color: #2f324e;
  background-color: hsl(0, 0%, 96%);
  padding: .05em .2em;
  border-radius: 4px;
  border: 1px solid rgb(221, 221, 221);
  overflow-wrap: break-word;
  word-wrap: break-word;
  margin: 0 3px 0 1px;
  position: relative;
  white-space: nowrap;
}

kbd {
  background-color: #eee;
  border-radius: 3px;
  border: 1px solid #b4b4b4;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .2), 0 2px 0 0 rgba(255, 255, 255, .7) inset;
  color: #333;
  display: inline-block;
  line-height: 1;
  padding: 2px 4px;
  white-space: nowrap;
}

div.content {counter-reset: listingCounter; }

pre[class*="language-"]:not(.no-counter):before
{
  counter-increment: listingCounter;
  content: counter(listingCounter);
  background-color: #fbfbfb;
  position: absolute;
  right: 0;
  top: 0;
  width: 30px;
  text-align: center;
  height: 30px;
  line-height: 30px;
  border-left: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  color: #999999;
}

div.content td {
  padding: 5px 10px;
}

div.content figcaption {
  font-style: italic;
  padding: 8px 0 0 0;
  text-align: center;
}

div.content figcaption:before {
  content: 'Fig.  ' counter(figureCounter) '. ';
}

div.content figure {
  counter-increment: figureCounter;
  margin: 2rem 0;
}

div.content figure img, .fr-view img {
  margin: 0;
  max-width: 100% !important;
}

/* customized html elements */
mark.ce {
  background: none;
  color: rgb(217, 45, 204);
  border-radius: 0;
  padding: inherit;
  margin: inherit;
  cursor: inherit;
}

details {
  background-color: #f0f0ff;
  padding: 5px 10px;
  border-radius: 5px;
  cursor: pointer;
}

section.footnotes {
  font-size: 0.85rem;
  line-height: 1.35rem;
}
section.footnotes a.footnote-back {
  display: none;
}

/* Footnotes animation */
.footnote-definition:target {
  animation: target-fade 3s 1;
  outline: none;
}
@keyframes target-fade {
  0% { background-color: yellow; }
  100% { background-color: white; }
}

sup { line-height: 0; }
a.footnote-ref { text-decoration: none; font-weight: bold; }

details summary {
  outline:none;
}

iframe { border: none; }
.fr-view table {margin: 1rem auto;}
.fr-view table th {padding: 0.5rem 1rem;}
table code { padding: 1px 5px 1px; }
table caption {
  font-size: 1.2rem;
  font-weight: bold;
  padding: 0.25rem 0.25rem 0.5rem 0;
  text-align: left;
  font-variant: small-caps;
  text-transform: lowercase;
}

li ol {
  margin-top: 0.5em !important;
  margin-bottom: 1em !important;
}

hr {
  border: 0;
  height: 1px;
  background: #d4d6dd;
  margin: 2rem 0;
}

::-webkit-scrollbar {
  background: var(--scrollbar);
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
}
html {
  scrollbar-color: var(--scrollbar) var(--bg);
}
#searchresults a,
.content a:link,
a:visited,
a > .hljs {
  color: var(--links);
}

/* Menu Bar */

#menu-bar,
#menu-bar-hover-placeholder {
  z-index: 101;
  margin: auto calc(0px - var(--page-padding));
}
#menu-bar {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  background-color: var(--bg);
  border-bottom-color: var(--sidebar-spacer);
  border-bottom-width: 1px;
  border-bottom-style: solid;
}
#menu-bar.sticky,
.js #menu-bar-hover-placeholder:hover + #menu-bar,
.js #menu-bar:hover,
.js.sidebar-visible #menu-bar {
  position: -webkit-sticky;
  position: sticky;
  top: 0 !important;
}
#menu-bar-hover-placeholder {
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  height: var(--menu-bar-height);
}
#menu-bar.bordered {
  border-bottom-color: var(--table-border-color);
}
#menu-bar i, #menu-bar .icon-button {
  position: relative;
  padding: 0 8px;
  z-index: 10;
  line-height: var(--menu-bar-height);
  cursor: pointer;
  transition: color 0.5s;
}
@media only screen and (max-width: 420px) {
  #menu-bar i, #menu-bar .icon-button {
      padding: 0 5px;
  }
}

.icon-button {
  border: none;
  background: none;
  padding: 0;
  color: inherit;
}
.icon-button i {
  margin: 0;
}

.right-buttons {
  margin: 0 15px;
}
.right-buttons a {
  text-decoration: none;
}

.left-buttons {
  display: flex;
  margin: 0 5px;
}
.no-js .left-buttons, .no-js .theme-toggle {
  display: none;
}

.menu-title {
  display: inline-block;
  font-weight: 200;
  font-size: 2rem;
  line-height: var(--menu-bar-height);
  text-align: center;
  margin: 0;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.js .menu-title {
  cursor: pointer;
}

.menu-bar,
.menu-bar:visited,
.menu-bar .icon-button,
.menu-bar a i {
  color: var(--icons);
}

.menu-bar i:hover,
.menu-bar .icon-button:hover,
.nav-chapters:hover,
.mobile-nav-chapters i:hover {
  color: var(--icons-hover);
}

/* Nav Icons */

.nav-chapters {
  font-size: 2.5em;
  text-align: center;
  text-decoration: none;

  position: fixed;
  top: 0;
  bottom: 0;
  margin: 0;
  max-width: 150px;
  min-width: 90px;

  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;

  transition: color 0.5s, background-color 0.5s;
}

.nav-chapters:hover {
  text-decoration: none;
  background-color: var(--theme-hover);
  transition: background-color 0.15s, color 0.15s;
}

.nav-wrapper {
  margin-top: 3em;
  display: flex;
  justify-content: center;
}

.mobile-nav-chapters {
  font-size: 2.5em;
  text-align: center;
  text-decoration: none;
  width: 90px;
  border-radius: 5px;
  background-color: var(--sidebar-bg);
}

a.mobile-nav-chapters {
  color: var(--nontext-links);
}

a.mobile-nav-chapters:hover {
  text-decoration: none;
}

/* @media only screen and (max-width: 1080px) {
  .nav-wide-wrapper { display: none; }
  .nav-wrapper { display: block; }
}

@media only screen and (max-width: 1380px) {
  .sidebar-visible .nav-wide-wrapper { display: none; }
  .sidebar-visible .nav-wrapper { display: block; }
} */

/* Inline code */

:not(pre) > .hljs {
  display: inline;
  padding: 0.1em 0.3em;
  border-radius: 3px;
}

:not(pre):not(a) > .hljs {
  color: var(--inline-code-color);
  overflow-x: initial;
}

a:hover > .hljs {
  text-decoration: underline;
}

pre {
  position: relative;
}
pre > .buttons {
  position: absolute;
  z-index: 100;
  right: 5px;
  top: 5px;

  color: var(--sidebar-fg);
  cursor: pointer;
}
pre > .buttons :hover {
  color: var(--sidebar-active);
}
pre > .buttons i {
  margin-left: 8px;
}
pre > .buttons button {
  color: inherit;
  background: transparent;
  border: none;
  cursor: inherit;
}
pre > .result {
  margin-top: 10px;
}

/* Search */

#searchresults a {
  text-decoration: none;
}

mark {
  border-radius: 2px;
  padding: 0 3px 1px 3px;
  margin: 0 -3px -1px -3px;
  background-color: var(--search-mark-bg);
  transition: background-color 300ms linear;
  cursor: pointer;
}

mark.fade-out {
  background-color: rgba(0,0,0,0) !important;
  cursor: auto;
}

.searchbar-outer {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--content-max-width);
}

#searchbar {
  width: 100%;
  margin: 5px auto 0px auto;
  padding: 10px 16px;
  transition: box-shadow 300ms ease-in-out;
  border: 1px solid var(--searchbar-border-color);
  border-radius: 3px;
  background-color: var(--searchbar-bg);
  color: var(--searchbar-fg);
}
#searchbar:focus,
#searchbar.active {
  box-shadow: 0 0 3px var(--searchbar-shadow-color);
}

.searchresults-header {
  font-weight: bold;
  font-size: 1em;
  padding: 18px 0 0 5px;
  color: var(--searchresults-header-fg);
}

.searchresults-outer {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--content-max-width);
  border-bottom: 1px dashed var(--searchresults-border-color);
}

ul#searchresults {
  list-style: none;
  padding-left: 20px;
}
ul#searchresults li {
  margin: 10px 0px;
  padding: 2px;
  border-radius: 2px;
}
ul#searchresults li.focus {
  background-color: var(--searchresults-li-bg);
}
ul#searchresults span.teaser {
  display: block;
  clear: both;
  margin: 5px 0 0 20px;
  font-size: 0.8em;
}
ul#searchresults span.teaser em {
  font-weight: bold;
  font-style: normal;
}

/* Sidebar */

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar-width);
  font-size: 0.925em;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  background-color: var(--sidebar-bg);
  color: var(--sidebar-fg);
}
.sidebar-resizing {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.js:not(.sidebar-resizing) .sidebar {
  transition: transform 0.3s; /* Animation: slide away */
}
.sidebar h1 {
  font-size: 1.17em;
  margin-top: 0.8em;
}
.sidebar h1 a {
  color: inherit;
  text-decoration: none;
}
.sidebar code {
  line-height: 2em;
}
.sidebar .sidebar-scrollbox {
  overflow-y: auto;
  overflow-x: hidden;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  padding-left: 1.25em;
  padding-right: 0.8em;
}
.sidebar .sidebar-resize-handle {
  position: absolute;
  cursor: col-resize;
  width: 0;
  right: -15px;
  top: 0;
  bottom: 0;
}
.js .sidebar .sidebar-resize-handle {
  cursor: col-resize;
  width: 15px;
}
.sidebar-hidden .sidebar {
  transform: translateX(calc(0px - var(--sidebar-width)));
}

.sidebar-visible .page-wrapper {
  transform: translateX(var(--sidebar-width));
}
@media only screen and (min-width: 620px) {
  .sidebar-visible .page-wrapper {
      transform: none;
      margin-left: var(--sidebar-width);
  }
}

.chapter {
  list-style: none outside none;
  padding-left: 0;
  line-height: 2.2em;
}

.chapter ol {
  width: 100%;
}

.chapter li {
  display: flex;
}
.chapter li a {
  display: block;
  padding: 0.8rem;
  text-decoration: none;
  color: var(--sidebar-fg);
  width: 100%;
}

.chapter li a:hover {
  background-color: #d8d8d873;
}

/* first level chapters */
ol.chapter > li.chapter-item {
  font-weight: bold;
  padding: 0.8em 0 0 0;
}
ol.chapter > li.chapter-item strong {
  font-weight: bold;
}
/* deeper level chapters */
ol.chapter > li > ol {
  font-weight: normal;
}

.chapter li a.active {
  background-color: #d8d8d8;
}

ol.chapter li strong {
  font-weight: normal;
}

.chapter li > a.toggle {
  cursor: pointer;
  display: block;
  margin-left: auto;
  padding: 0 10px;
  user-select: none;
  opacity: 0.68;
}

.chapter li > a.toggle div {
  transition: transform 0.5s;
}

/* collapse the section */
.chapter li:not(.expanded) + li > ol {
  display: none;
}

.chapter li.chapter-item {
  line-height: 1.5em;
  display: block;
  /* padding: 0.8rem; */
  text-decoration: none;
  color: var(--sidebar-fg);
  width: 100%;
}

.chapter li.expanded > a.toggle div {
  transform: rotate(90deg);
}

.spacer {
  width: 100%;
  height: 3px;
  margin: 5px 0px;
}
.chapter .spacer {
  background-color: var(--sidebar-spacer);
}

@media (-moz-touch-enabled: 1), (pointer: coarse) {
  .chapter li a { padding: 5px 0; }
  .spacer { margin: 10px 0; }
}

.section {
  list-style: none outside none;
  padding-left: 1em;
  line-height: 1.9em;
}

/* Theme Menu Popup */

.theme-popup {
  position: absolute;
  left: 10px;
  top: var(--menu-bar-height);
  z-index: 1000;
  border-radius: 4px;
  font-size: 0.7em;
  color: var(--fg);
  background: var(--theme-popup-bg);
  border: 1px solid var(--theme-popup-border);
  margin: 0;
  padding: 0;
  list-style: none;
  display: none;
}
.theme-popup .default {
  color: var(--icons);
}
.theme-popup .theme {
  width: 100%;
  border: 0;
  margin: 0;
  padding: 2px 10px;
  line-height: 25px;
  white-space: nowrap;
  text-align: left;
  cursor: pointer;
  color: inherit;
  background: inherit;
  font-size: inherit;
}
.theme-popup .theme:hover {
  background-color: var(--theme-hover);
}
.theme-popup .theme:hover:first-child,
.theme-popup .theme:hover:last-child {
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

/* PRISM */

/* PRISM CSS
 * prism.js MODIFIED default theme
 * Based on dabblet (http://dabblet.com)
 * @author Lea Verou
 * Modifications marked by "M"
 */

 code[class*="language-"],
 pre[class*="language-"] {
   color: black;
   background: none;
   text-shadow: 0 1px white;
   font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace !important; /*M*/
   font-size: 1em;
   text-align: left;
   white-space: pre;
   word-spacing: normal;
   word-break: normal;
   word-wrap: normal;
   line-height: 1.5;
 
   -moz-tab-size: 4;
   -o-tab-size: 4;
   tab-size: 4;
 
   -webkit-hyphens: none;
   -moz-hyphens: none;
   -ms-hyphens: none;
   hyphens: none;
 }
 
 pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
 code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
   text-shadow: none;
   background: #b3d4fc;
 }
 
 pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
 code[class*="language-"]::selection, code[class*="language-"] ::selection {
   text-shadow: none;
   background: #b3d4fc;
 }
 
 @media print {
   code[class*="language-"],
   pre[class*="language-"] {
     text-shadow: none;
   }
 }
 
 section.student-dashboard__banner { display: none; }
 
 /* Code blocks */
 pre[class*="language-"] {
   padding: 1em;
   margin: .5em 0;
   overflow: auto;
 }
 
 :not(pre) > code[class*="language-"],
 pre[class*="language-"] {
   background-color: hsla(0,0%,92.5%,.5);
 }
 
 /* Inline code */
 :not(pre) > code[class*="language-"] {
   padding: .1em;
   border-radius: .3em;
   white-space: normal;
 }
 
 .token.comment,
 .token.prolog,
 .token.doctype,
 .token.cdata {
   color: slategray;
 }
 
 .token.punctuation {
   color: #999;
 }
 
 .namespace {
   opacity: .7;
 }
 
 .token.property,
 .token.tag,
 .token.boolean,
 .token.number,
 .token.constant,
 .token.symbol,
 .token.deleted {
   color: #905;
 }
 
 .token.selector,
 .token.attr-name,
 .token.string,
 .token.char,
 .token.builtin,
 .token.inserted {
   color: #507703;
 }
 
 .token.operator,
 .token.entity,
 .token.url,
 .language-css .token.string,
 .style .token.string {
   color: #9a6e3a; /*M*/
   background-color: hsla(0, 0%, 100%, .5);
 }
 
 .token.atrule,
 .token.attr-value,
 .token.keyword {
   color: #07a;
 }
 
 .token.function,
 .token.class-name {
   color: #DD4A68;
 }
 
 .token.regex,
 .token.important,
 .token.variable {
   color: #e90;
 }
 
 .token.important,
 .token.bold {
   font-weight: bold;
 }
 .token.italic {
   font-style: italic;
 }
 
 .token.entity {
   cursor: help;
 }
 
 pre[class*="language-"].line-numbers {
   position: relative;
   padding-left: 3.8em;
   counter-reset: linenumber; /*M*/
   border-radius: 2px; /*M*/
 }
 
 pre[class*="language-"].line-numbers > code {
   position: relative;
   white-space: inherit;
 }
 
 .line-numbers .line-numbers-rows {
   position: absolute;
   pointer-events: none;
   top: 0;
   font-size: 100%;
   left: -3.8em;
   width: 3em; /* works for line-numbers below 1000 lines */
   letter-spacing: -1px;
   border-right: 1px solid #999;
 
   -webkit-user-select: none;
   -moz-user-select: none;
   -ms-user-select: none;
   user-select: none;
 
 }
 
 .line-numbers-rows > span {
   pointer-events: none;
   display: block;
   counter-increment: linenumber;
 }
 
 .line-numbers-rows > span:before {
   content: counter(linenumber);
   color: #999;
   display: block;
   padding-right: 0.8em;
   text-align: right;
 }
 
 div.code-toolbar {
   position: relative;
 }
 
 div.code-toolbar > .toolbar {
   position: absolute;
   top: .3em;
   right: .2em;
   transition: opacity 0.3s ease-in-out;
   opacity: 0;
 }
 
 div.code-toolbar:hover > .toolbar {
   opacity: 1;
 }
 
 /* Separate line b/c rules are thrown out if selector is invalid.
     IE11 and old Edge versions don't support :focus-within. */
 div.code-toolbar:focus-within > .toolbar {
   opacity: 1;
 }
 
 div.code-toolbar > .toolbar .toolbar-item {
   display: inline-block;
 }
 
 div.code-toolbar > .toolbar a {
   cursor: pointer;
 }
 
 div.code-toolbar > .toolbar button {
   background: none;
   border: 0;
   color: inherit;
   font: inherit;
   line-height: normal;
   overflow: visible;
   padding: 0;
   -webkit-user-select: none; /* for button */
   -moz-user-select: none;
   -ms-user-select: none;
 }
 
 div.code-toolbar > .toolbar a,
 div.code-toolbar > .toolbar button,
 div.code-toolbar > .toolbar span {
   color: #bbb;
   font-size: .8em;
   padding: 0 .5em;
   background-color: hsla(0,0%,92.5%,.5);
   box-shadow: 0 2px 0 0 rgba(0,0,0,0.2);
   border-radius: .5em;
 }
 
 div.code-toolbar > .toolbar a:hover,
 div.code-toolbar > .toolbar a:focus,
 div.code-toolbar > .toolbar button:hover,
 div.code-toolbar > .toolbar button:focus,
 div.code-toolbar > .toolbar span:hover,
 div.code-toolbar > .toolbar span:focus {
   color: inherit;
   text-decoration: none;
 }
 /* END OF PRISM CSS */

.medium-zoom-overlay { z-index: 998; }
.medium-zoom-image--opened { z-index: 999; }