/* Section sidebar
 *
 * Second sidebar holding section navigation.
 */

.section-sidebar {
  text-align: center;
  padding: 2rem 1rem;
  color: rgba(0,0,0,.5);
  background-color: #EFEFEF;
}

@media (min-width: 48em) {
  .section-sidebar {
    position: fixed;
    top: 0;
    left: 16rem;
    bottom: 0;
    width: 12rem;
    text-align: left;
  }
}

.section-sidebar-nav > ul {
  list-style: none;
  padding-left: 0;
  text-align: left;
}

.section-sidebar-nav > ul ul {
  list-style: none;
  padding-left: 1rem;
}

/* Sidebar links */
.section-sidebar-nav a {
  /* color: #000; */
}

/* Sidebar nav */
.section-sidebar-nav {
  font-size: smaller;
  margin-bottom: 1rem;
}
.section-sidebar-nav-item {
  display: block;
  line-height: 1.75;
}
a.section-sidebar-nav-item:hover,
a.section-sidebar-nav-item:focus {
  text-decoration: underline;
}
.section-sidebar-nav-item.active {
  font-weight: bold;
}

/* Sticky section sidebar
 */

@media (min-width: 48em) {
  .section-sidebar-sticky {
    position: absolute;
    right:  1rem;
    bottom: 5.8rem; /* line up with bottom of main nav */
    left:   1rem;
  }
}


/* Container
 *
 * Align the contents of the site above the proper threshold with some margin-fu
 * with a 25%-wide `.section-sidebar`.
 */

.section-content {
  padding-top:    4rem;
  padding-bottom: 4rem;
}

@media (min-width: 48em) {
  .section-content {
    margin-left: 30rem;
    margin-right: 2rem;
  }
}

@media (min-width: 64em) {
  .section-content {
    margin-left: 32rem;
    margin-right: 4rem;
  }
}
