/*
 * Handout Style
 */

@import url(https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css);
@import url(course-style.css);

body {
  position: relative; /* required for scrollspy */
}

.markdown:not(.converted) {
  opacity: 0.5;
  white-space: pre-wrap;
}

/* headers and footers */
header {
  background: #333;
  position: relative;
}
footer {
  background: #333;
  text-align: right;
  margin-top: 2em;
}
header, footer {
  color: #fff;
  padding: 1em 2em;
}
header a, header a:focus, header a:hover,
footer.footer-archived a, footer.footer-archived a:focus, footer.footer-archived a:hover {
  color: #fff;
}
footer.footer-archived a {
  text-decoration: underline;
  text-decoration-color: #fffa;
}
header > div {
  float: right;
}
footer.footer-margin {
  text-align: left;
  color: #999;
  background: #fff;
  padding: 0 1em;
}
@media(min-width:768px) {
  footer.footer-margin {
    padding: 0 1em 1em 2em;
    position: absolute;
    bottom: 4em;
  }
}
@media print {
  footer.footer-margin {
    position: static;
    width: 100%;
  }
}
footer.footer-margin > div {
  font-weight: normal;
  font-size: 85%;
  line-height: 1.33;
}
footer.footer-archived {
  text-align: left;
  position: fixed;
  bottom: 0;
  min-width: 33%;
  max-width: 67%;
}
footer.footer-archived::after {
  content: '';
  position: absolute;
  top: 0;
  right: -1.5em;
  height: 100%;
  width: 3em;
  background-color: inherit;
  transform: skew(22.5deg);
}

/* table of contents */
header.chip {
  display: none;
  background: #fff;
}
header.chip a, header.chip a:focus, header.chip a:hover {
  color: #999;
}
@media screen and (min-width:768px) {
  header.chip {
    display: block;
    position: fixed;
    top: 0;
  }
}
@media(min-width:768px) {
  nav.table-of-contents {
    position: fixed;
    padding: 0;
  }
}
@media print {
  nav.table-of-contents {
    position: absolute;
  }
}
.toc-toggle {
  display: none;
}
.toc-toggle-icon::after {
  content: '+';
}
@media(max-width:767px) {
  nav.table-of-contents.mobile-toc {
    width: auto;
    margin: 0 15px 16px;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f7f7f9;
    overflow: hidden;
  }
  .mobile-toc .toc-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 0;
    background: transparent;
    color: #333;
    font: inherit;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
  }
  .mobile-toc .toc-toggle:focus-visible {
    outline: 2px solid #659;
    outline-offset: -3px;
  }
  .mobile-toc .toc-toggle-icon {
    color: #659;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
  }
  .mobile-toc.is-open .toc-toggle-icon::after {
    content: '\2212';
  }
  .mobile-toc > ul {
    display: none;
    max-height: min(60vh, 420px);
    margin: 0;
    padding: 6px 0;
    overflow-y: auto;
    border-top: 1px solid #ddd;
  }
  .mobile-toc.is-open > ul {
    display: block;
  }
  .mobile-toc .nav > li > a {
    padding: 9px 14px;
    color: #555;
  }
  .mobile-toc .nav > li > a:hover,
  .mobile-toc .nav > li > a:focus {
    background-color: #eeeef3;
    color: #333;
  }
  .mobile-toc .nav > li.active > a {
    color: #fff;
    background-color: #659;
  }
}
.nav > li > a {
  padding: .5em .5em .5em 2em;
  color: #999;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav > li > a:hover {
  background-color: #eee;
  color: #333;
}
.nav > li.active > a {
  color: #fff;
  background-color: #333;
}

/* jump links */
.margin {
  position: fixed;
  height: 100%;
}
a.jump {
  opacity: 0;
  position: absolute;
  left: -7px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: normal;
  padding: 0 7px 7px 7px;
  transition: opacity .5s 0s;
}
h1 a.jump {
  padding-top: 4px;
}
h2 a.jump {
  padding-top: 2px;
}
.alert a.jump.alert-link {
  font-weight: normal;
}
.panel-body a.jump {
  padding-left: 2px;
}
a.jump::after {
  content: '#';
}
.margin:hover ~ * a.jump,
.table-of-contents:hover ~ * a.jump,
a.jump:hover {
  opacity: 1;
  transition: opacity .5s 0s;
}
[id]:target {
  background: #fcf8e3;
}
[id]:target + div[data-outline] {
  animation: highlightout 2s;
}
@keyframes highlightout {
  from { background: #fcf8e3; }
}
mark:target {
  animation: highlightzoom 1s;
}
@keyframes highlightzoom {
  from { box-shadow: 0 0 0 50vh #fcf8e380; }
}

@media print {
  a[href]:after {
    content: none;
  }
}

/* definition lists always act like dl-horizontal */
dl {
  margin-bottom: 0;
}
dl dt {
  float: left;
  width: 160px;
  overflow: hidden;
  clear: left;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}
dl dd {
  margin-left: 180px;
}
dl dd:before, dl dd:after {
  display: table;
  content: " ";
}
dl dd:after {
  clear: both;
}

/* alternate styles for ordered lists */
.list-style-lower-alpha > ol {
  list-style-type: lower-alpha;
}
.list-style-upper-alpha > ol {
  list-style-type: upper-alpha;
}
.list-style-sub-lower-alpha > ol > li > ol {
  list-style-type: lower-alpha;
}
.list-style-sub-upper-alpha > ol > li > ol {
  list-style-type: upper-alpha;
}

/* blockquotes are not large */
blockquote {
  margin-bottom: 10px;
  font-size: inherit;
  font-weight: inherit;
}

/* code is not in a different color */
code {
  color: inherit;
  background-color: #f5f5f5;
}

/* tt behaves like code but allows line wrapping */
tt {
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  padding: 2px 4px;
  font-size: 90%;
  background-color: #f5f5f5;
  border-radius: 4px;
}

/* ttfont applies code style to children */
.ttfont > * {
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 90%;
}
.ttfont > span {
  padding: 2px 4px;
  background-color: #f5f5f5;
  border-radius: 4px;
}

/* danger alerts are a little too dangerous-looking */
.alert-danger {
  background: #f7ebeb;
}

/* make links in handout-solo panels stand out in blue, because when
   they're brown they look identical to boldface */
.handout-solo a.alert-link {
  color: #5a80a0;
}
.handout-solo a.alert-link:hover {
  color: #23527c;
}

mark {
  padding: 0;
  background-color: #fcf8e380;
  box-shadow: 0 0 0 .2em #fcf8e380;
}

.highlighted {
  background: #fcf8e3;
  box-shadow: 0 0 0 4px #fcf8e3;
}

.handout-aside.panel {
  max-width: 40%;
}
.handout-aside.panel.pull-margin {
  max-width: 55%;
}
.handout-aside.panel .panel-heading {
  padding: 6px 8px;
}
.handout-aside.panel .panel-body {
  padding: 8px;
}

/* floating panels */
.panel.pull-right {
  margin: 0 0 10px 10px;
}
.panel.pull-left {
  margin: 0 10px 10px 0;
}

/* inline figures */
.inline-figure img {
  max-width: 100%;
}

/* floating figure panels */
.panel.panel-figure.pull-right {
  clear: both;
}
.panel.panel-figure.pull-left {
  clear: both;
}
@media(max-width:767px) {
  .panel.panel-figure.pull-left img, .panel.panel-figure.pull-right img {
    max-width: 100%;
  }
}
@media(min-width:768px) {
  .pull-margin,
  .panel.pull-margin,
  .panel.panel-figure.pull-right.pull-margin {
    margin-right: -25%;
  }
}

/* borderless figure tables */
.table.table-figure td { border: none; }

/* tables for two-column text */
table.side-by-side td {
  vertical-align: top;
}
table.side-by-side pre {
  padding: 4px;
}
table.side-by-side td:first-child {
  border-right: 1px solid #333;
  padding-right: 1em;
}
table.side-by-side td:last-child {
  padding-left: 1em;
}

/* hovers */
.hover-figure-select {
  cursor: default;
}

/* exercises */
iframe.exercises-status {
  width: 100%;
  height: 140px;
  border: none;
}
@media(min-width:768px) {
  iframe.exercises-status {
    position: absolute;
    right: -25%;
    width: 25%;
    height: 260px;
  }
}
.exercises {
  margin: 20px 15px;
}
.exercises .panel-heading {
  cursor: pointer;
}
.exercise-panel .panel-body {
  position: relative;
}
.exercise-part, .exercise-explain {
  position: relative;
  margin-left: 24px;
  border-left: 8px solid #f5f5f5;
  padding-left: 8px;
}
.exercise-part:before, .exercise-explain:before {
  font-family: 'Glyphicons Halflings';
  font-size: 16px;
  position: absolute;
  top: 0px;
  left: -32px;
  width: 24px;
  text-align: center;
}
.exercise-part.exercise-incomplete {
  border-left-color: #d9edf7;
}
.exercise-part.exercise-incomplete:before {
  content: '\e127';
  color: #31708f;
}
.exercise-part.exercise-answered {
  border-left-color: #f2dede;
}
.exercise-part.exercise-answered:before {
  content: '\e014';
  color: #a94442;
}
.exercise-part.exercise-answered.exercise-correct {
  border-left-color: #dff0d8;
}
.exercise-part.exercise-answered.exercise-correct:before {
  content: '\e013';
  color: #3c763d;
}
.exercise-explain {
  display: none;
  color: #31708f;
  border-left-color: #d9edf7;
}
.exercise-explain a[href] {
  text-decoration: underline;
}
.exercise-explain:before {
  content: '\e080';
  color: #31708f;
}
.exercise-answer {
  display: inline-block;
  margin-left: 0.5em;
  color: #31708f;
}
.exercise-progress {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  height: 6px;
}
.exercise-progress .progress-bar {
  width: 100%;
}
.exercise-error .alert.alert-info {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 6px 24px 6px 12px;
  margin: 15px;
  max-width: 75%;
}
.exercise-error .alert.alert-info .close {
  right: -11px;
}
.exercises .btn {
  text-transform: uppercase;
}
.exercises .btn[disabled] {
  opacity: 0.33;
}

/* special case common pairs of radio buttons */
.radio.exercise-choice:nth-child(1):nth-last-child(2)[data-outline=True],
.radio.exercise-choice:nth-child(2):nth-last-child(1)[data-outline=False],
.radio.exercise-choice:nth-child(1):nth-last-child(2)[data-outline=Yes],
.radio.exercise-choice:nth-child(2):nth-last-child(1)[data-outline=No] {
  display: inline-block;
  margin: 0 20px 0 0;
}

/* tweak form controls */
select.form-control {
  display: inline-block;
  min-width: 25%;
  width: auto;
}
input[type=text].form-control {
  display: inline-block;
  width: 50%;
}

/* videos */
.video-status {
  width: 100%;
}
@media(min-width:768px) {
  .video-status {
    position: absolute;
    right: -25%;
    width: 25%;
  }
}
.video-player {
  display: none;
  position: fixed;
  bottom: 15px;
  right: 15px;
  padding: 0;
}
.video-player .video-close {
  position: absolute;
  top: -1em;
  right: 0;
  color: #999;
  opacity: 1;
}
.video-player .video-portal {
  margin: 0;
  background: black;
}

/* FAQs */
.faq.well {
  padding: 10px;
  background: none;
  color: #444;
}
.faq > :first-child { margin-top: 0; }
.faq > :last-child > :last-child,
.faq > :last-child > :last-child > :last-child,
.faq > :last-child > :last-child > :last-child > :last-child { margin-bottom: 0; }
.faq h3 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  margin-bottom: 0;
  padding-bottom: 10px;
}
.faq h3 a.jump {
  opacity: 1;
  font-weight: bold;
}
.faq h3 + div > p { padding-left: 20px; }

/* Bootstrap/Markdown spacing */
.markdown h2 > small > p:only-child,
.markdown h3 > small > p:only-child,
.markdown h4 > small > p:only-child { display: inline-block; }
.markdown dl { margin-bottom: 10px; }
.markdown table th p { margin: 0; }
.markdown table th:empty { padding-top: 0; padding-bottom: 0; }
.markdown pre > p { margin: 0; }
.markdown .alert { margin-bottom: 10px; }
.markdown .alert > p:not(:last-child),
.markdown .alert > ul:not(:last-child) { margin-bottom: 10px; }
.markdown .alert > dl:last-child,
.markdown .alert > pre:last-child { margin-bottom: 0; }
.markdown .alert > hr { margin: 10px 0; }
.markdown .panel .panel-heading > p,
.markdown .panel .panel-footer > p { margin: 0; }
.markdown .panel .panel-body > h2:first-child,
.markdown .panel .panel-body > h3:first-child,
.markdown .panel .panel-body > h4:first-child { margin-top: 0; }
.markdown .panel .panel-body > p:last-child,
.markdown .panel .panel-body > ol:last-child,
.markdown .panel .panel-body > dl:last-child,
.markdown .panel .panel-body > table:last-child,
.markdown .panel .panel-body > .form-group:last-child { margin-bottom: 0; }
.markdown .table td > ul:last-child,
.markdown .table td > .form-group:last-child { margin-bottom: 0; }

/* visual system --------------------------------------------------------- */
:root {
  --handout-ink: #2f3440;
  --handout-muted: #697180;
  --handout-brand: #65539f;
  --handout-brand-dark: #514287;
  --handout-brand-soft: #f1effa;
  --handout-canvas: #f6f7fb;
  --handout-surface: #fff;
  --handout-line: #e3e5ed;
  --handout-code: #f7f8fc;
  --handout-shadow: 0 12px 32px rgba(38, 32, 74, .07);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--handout-ink);
  background: var(--handout-canvas);
  font-size: 15px;
  line-height: 1.7;
}

body > header:not(.chip) {
  z-index: 10;
  min-height: 66px;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--handout-brand-dark), var(--handout-brand));
  box-shadow: 0 3px 16px rgba(39, 31, 79, .18);
}

body > header:not(.chip) > a {
  font-size: 15px;
  letter-spacing: .01em;
}

body > header:not(.chip) > div:not(.i18n-switch) {
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
}

main.container-fluid {
  min-height: calc(100vh - 66px);
  padding-top: 26px;
  padding-bottom: 92px;
}

.handout-title,
main .markdown {
  background: var(--handout-surface);
}

.handout-title {
  margin-top: 0;
  margin-bottom: 0;
  padding: 30px 36px 12px;
  border-radius: 14px 14px 0 0;
  color: #292d36;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: -.025em;
}

main .markdown {
  padding: 8px 36px 48px;
  border-radius: 0 0 14px 14px;
  box-shadow: var(--handout-shadow);
  font-size: 16px;
}

main .markdown p {
  margin-bottom: 1.1em;
}

main .markdown h2,
main .markdown h3,
main .markdown h4 {
  color: #303542;
  line-height: 1.3;
}

main .markdown h2 {
  margin-top: 2em;
  margin-bottom: .8em;
  padding-bottom: .32em;
  border-bottom: 1px solid var(--handout-line);
  font-size: 26px;
  letter-spacing: -.015em;
}

main .markdown h3 {
  margin-top: 1.7em;
  margin-bottom: .65em;
  font-size: 21px;
}

main .markdown h4 {
  margin-top: 1.45em;
  margin-bottom: .55em;
  font-size: 17px;
}

main .markdown a:not(.jump) {
  color: var(--handout-brand-dark);
}

main .markdown a:not(.jump):hover,
main .markdown a:not(.jump):focus {
  color: var(--handout-brand);
}

main .markdown pre {
  margin: 1.4em 0;
  padding: 1.1em 1.2em;
  overflow-x: auto;
  border: 1px solid #e1e3ec;
  border-left: 3px solid #8876c1;
  border-radius: 10px;
  background: var(--handout-code);
  line-height: 1.55;
}

main .markdown .panel.handout-spec > pre {
  margin: 0;
  padding: 9.5px;
  border: 0;
  border-radius: 0;
  background: none;
}

main .markdown :not(pre) > code {
  padding: .15em .4em;
  border: 1px solid #e6e4f0;
  border-radius: 4px;
  color: #514278;
  background: #f5f3fb;
}

main .markdown .handout-spec.panel {
  overflow: hidden;
  border: 1px solid #ddd9ee;
  border-radius: 10px;
  background: #fcfbff;
  box-shadow: 0 5px 18px rgba(54, 43, 102, .05);
}

main .markdown .handout-spec.panel > pre:first-child {
  border-left: 3px solid #8876c1;
  background: var(--handout-brand-soft);
}

main .markdown table.table {
  overflow: hidden;
  border: 1px solid var(--handout-line);
  border-radius: 10px;
  background: var(--handout-surface);
}

main .markdown table.table > tbody > tr > th,
main .markdown table.table > tbody > tr > td {
  padding: 11px 13px;
  border-color: var(--handout-line);
}

main .markdown table.table-striped > tbody > tr:nth-child(odd) > td,
main .markdown table.table-striped > tbody > tr:nth-child(odd) > th {
  background: #fafaff;
}

main .markdown .alert {
  border-radius: 10px;
  box-shadow: 0 5px 18px rgba(39, 45, 63, .04);
}

main .markdown .reading-exercises.panel-group {
  margin: 2.1em 0;
  padding: 13px;
  border: 1px solid #e2def2;
  border-radius: 14px;
  background: #faf9fe;
}

main .markdown .reading-exercises > h4 {
  margin: 2px 4px 11px;
  color: var(--handout-brand-dark);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

main .markdown .reading-exercises .panel.panel-danger {
  overflow: hidden;
  border-color: #ded9ef;
  border-radius: 9px;
}

main .markdown .reading-exercises .panel-danger > .panel-heading {
  border-color: #ded9ef;
  background: #f1effa;
  color: #514278;
}

main .markdown .reading-exercises .panel-danger > .panel-heading:hover,
main .markdown .reading-exercises .panel-danger > .panel-heading:focus {
  background: #e9e5f6;
}

main .markdown img {
  border-radius: 9px;
}

footer.footer-archived {
  z-index: 20;
  box-shadow: 0 -4px 18px rgba(38, 38, 48, .12);
}

/* desktop navigation */
@media screen and (min-width:768px) {
  nav.table-of-contents {
    top: 82px;
    bottom: 68px;
    z-index: 5;
    padding: 10px 13px 18px 16px;
    overflow-y: auto;
    border-right: 1px solid var(--handout-line);
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(250, 250, 253, .96));
  }

  nav.table-of-contents .nav > li > a {
    margin: 2px 0;
    padding: 8px 11px 8px 13px;
    border-radius: 8px;
    color: var(--handout-muted);
    font-size: 13px;
    line-height: 1.35;
    transition: background-color .16s ease, color .16s ease, box-shadow .16s ease;
  }

  nav.table-of-contents .nav > li > a:hover,
  nav.table-of-contents .nav > li > a:focus {
    background: var(--handout-brand-soft);
    color: var(--handout-brand-dark);
  }

  nav.table-of-contents .nav > li.active > a {
    background: var(--handout-brand-soft);
    color: var(--handout-brand-dark);
    box-shadow: inset 3px 0 0 var(--handout-brand);
  }
}

@media screen and (max-width:767px) {
  body {
    background: #fff;
    font-size: 15px;
  }

  main.container-fluid {
    min-height: 0;
    padding: 18px 15px 24px;
  }

  .handout-title,
  main .markdown {
    float: none;
    width: auto;
    margin-right: 0;
    margin-left: 0;
  }

  .handout-title {
    padding: 26px 16px 10px;
    border-radius: 12px 12px 0 0;
    font-size: clamp(1.85rem, 8vw, 2.35rem);
  }

  main .markdown {
    padding: 4px 16px 34px;
    border-radius: 0 0 12px 12px;
    box-shadow: none;
    font-size: 16px;
  }

  main .markdown h2 {
    margin-top: 1.8em;
    font-size: 23px;
  }

  main .markdown h3 {
    font-size: 20px;
  }

  iframe.exercises-status {
    position: static;
    display: block;
    width: 100%;
    height: 68px;
    margin: 0 0 16px;
    border: 0;
  }

  dl dt {
    float: none;
    width: auto;
    margin-top: .9em;
    text-align: left;
    white-space: normal;
  }

  dl dd {
    margin-left: 0;
  }

  .panel.pull-right,
  .panel.pull-left,
  .pull-margin,
  .panel.pull-margin {
    float: none !important;
    max-width: 100%;
    margin: 1em 0;
  }

  .tutorProgress {
    display: flex;
    flex-direction: column;
    gap: 12px;
    white-space: normal;
  }

  .tutorProgress .ideWindow {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .tutorProgress .callout,
  .tutorProgress .callout-right {
    position: static;
    left: auto;
    top: auto;
    display: block;
    max-width: 100%;
    margin: 0;
    border-width: 1px;
  }

  .tutorProgress .conceptGroup {
    width: 100%;
  }

  table.side-by-side {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }

  footer.footer-archived {
    position: static;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 12px 16px;
    font-size: 12px;
    line-height: 1.55;
  }

  footer.footer-archived::after {
    display: none;
  }
}

@media print {
  body {
    background: #fff;
  }

  main.container-fluid {
    padding-bottom: 0;
  }

  .handout-title,
  main .markdown {
    box-shadow: none;
  }
}
.markdown .well > p:last-child { margin-bottom: 0; }
.markdown label + .form-group > .checkbox:first-child { margin-top: 0; }

/* terminal style using the Panic palette */
.terminal-dark {
  background: rgb(17, 28, 42);
  color: rgb(246, 247, 238);
}
.terminal-dark .bold { font-weight: bold; }
.terminal-dark .black { color: rgb(17, 28, 42); }
.terminal-dark .red { color: rgb(248, 41, 57); }
.terminal-dark .green { color: rgb(59, 235, 42); }
.terminal-dark .yellow { color: rgb(252, 193, 70); }
.terminal-dark .blue { color: rgb(45, 69, 98); }
.terminal-dark .purple { color: rgb(111, 78, 188); }
.terminal-dark .cyan { color: rgb(99, 204, 227); }
.terminal-dark .white { color: rgb(131, 140, 149); }

/* staff notes: postmortems */
.postmortem-incomplete:before {
  content: 'incomplete';
  margin-top: 1.5em;
}
.postmortem-no-time:before {
  content: 'no time';
  margin-top: 0.5em;
}
.postmortem-todo:before {
  content: 'todo';
  margin-top: 0.1em;
}
.postmortem-incomplete:before,
.postmortem-no-time:before,
.postmortem-todo:before {
  color: rgb(238, 95, 91);
  text-transform: uppercase;
  font-size: 150%;
  position: absolute;
  top: 50%;
  left: 0;
  -webkit-transform: rotate(-90deg);
  -webkit-transform-origin: 0 100%;
}
.postmortem-note,
.postmortem-incomplete,
.postmortem-no-time,
.postmortem-todo {
  position: relative;
  background-color: rgba(238, 95, 91, 0.25);
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.5) 25%,
                                           transparent 25%,
                                           transparent 50%,
                                           rgba(255, 255, 255, 0.5) 50%,
                                           rgba(255, 255, 255, 0.5) 75%,
                                           transparent 75%,
                                           transparent);
  background-repeat: repeat;
  background-size: 40px 40px;
  padding: 0 10px;
  margin: 0 -10px;
  border-radius: 10px;
}

/* make it possible to click on SVG diagrams in radiobutton/checkbox labels,
   by making the click events fall through the object elt to the label elt */
label object {
  pointer-events: none;
}


.sidenote {
    font-style: italic;
    font-size: 75%;
    position: absolute;
    right: -25%;
    width: 25%;
}


/* links to example code */
.code-container {
  position: relative;
  padding-top: 6px;
}
.code-container .handout-solo {
  position: absolute;
  top: -10px;
  right: 4px;
  padding: 4px;
}



/* staff notes: embedded slides */
.slide {
  width: 384px;
  height: 216px;
  display: block;
  border: 1px solid lightgray;
}
.slides-right {
  float:right
}

a mark {
  color: #337ab7;
}
