/*
 * Menu on the left of the published deck (js/section-menu.js). The rules
 * apply only when the plugin adds the class "has-section-menu" to <body>.
 */
:root {
  --section-menu-width: 260px;
}

.has-section-menu .reveal {
  margin-left: var(--section-menu-width);
  width: calc(100% - var(--section-menu-width));
}

.section-menu {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--section-menu-width);
  box-sizing: border-box;
  overflow-y: auto;
  padding: 16px 12px;
  background: #111;
  border-right: 1px solid #333;
  font-family: 'Source Sans Pro', Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.3;
  z-index: 40;
}

.section-menu ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.section-menu ol ol {
  margin: 2px 0 10px;
}

.section-menu a {
  display: block;
  padding: 3px 8px;
  border-radius: 4px;
  color: #bbb;
  text-decoration: none;
}
.section-menu a:hover {
  background: #222;
  color: #fff;
}
.section-menu a[aria-current] {
  background: #2a2a2a;
  color: #fff;
}

/* Part titles: amber, as the part title slides (--part-title in custom.css). */
.section-menu .part > a {
  margin-top: 6px;
  font-weight: bold;
  color: var(--part-title);
}
.section-menu ol ol a {
  padding-left: 18px;
}
