div.aso .template .key { font-weight: bold; }
div.aso .template .param { font-style: italic; }

div.option .default .value { font-family: monospace; }

div.aso dt { font-family: monospace; }
div.aso dd { margin-left: 3em; }
div.aso dl dl { margin-top: 0em; margin-bottom: 0em; }

div#main > div { margin-left: 20pt; }
div#main > div h1 { margin-left: -20pt; }

div.index_modules table.aso > tbody > tr > td:first-child { font-family: monospace; }

div#main > div { margin-top: 20px; padding-bottom: 40px; }

/* hide modules if not active */
.bs-sidebar.affix > .nav > .module:not(:first-child),
.bs-sidebar.affix-top  > .nav  > .module:not(:first-child),
.bs-sidebar.affix-bottom  > .nav  > .module:not(:first-child) {
  display: none;
}
.bs-sidebar.affix > .nav > .module.active,
.bs-sidebar.affix-top  > .nav  > .module.active,
.bs-sidebar.affix-bottom  > .nav  > .module.active {
  display: block;
}

/*
 * Side navigation
 *
 * Scrollspy and affixed enhanced navigation to highlight sections and secondary
 * sections of docs content.
 */

/* affixed scroll enhance */
.bs-sidebar.affix,.bs-sidebar.affix-top,.bs-sidebar.affix-bottom {
   position:static;
}

@media (min-width: 992px) {
  .bs-sidebar {
    width: 213px;
  }
  .bs-sidebar.affix-top {
    position: static;
    margin-top:30px;
  }
  .bs-sidebar.affix {
    position: fixed;
    top:30px;
  }
  .bs-sidebar.affix-bottom {
    position: absolute; /* Undo the static from mobile first approach */
  }
}
@media (min-width: 1200px) {
  /* Widen the fixed sidebar again */
  .bs-sidebar {
    width: 263px;
  }
}

.bs-sidebar.affix > .nav,
.bs-sidebar.affix-top > .nav,
.bs-sidebar.affix-bottom > .nav {
  margin: 0;
}

/* First level of nav */
.bs-sidebar > .nav {
  margin: 30px 0;
  padding-top:    10px;
  padding-bottom: 10px;
  text-shadow: 0 1px 0 #fff;
  background-color: #f7f5fa;
  border-radius: 5px;
}

/* All levels of nav */
.bs-sidebar .nav > li > a {
  display: block;
  color: #716b7a;
  padding: 5px 20px;
}
.bs-sidebar .nav > li > a:hover,
.bs-sidebar .nav > li > a:focus {
  text-decoration: none;
  background-color: #e5e3e9;
  border-right: 1px solid #dbd8e0;
}
.bs-sidebar .nav > .active > a,
.bs-sidebar .nav > .active:hover > a,
.bs-sidebar .nav > .active:focus > a {
  font-weight: bold;
  color: #563d7c;
  background-color: transparent;
  border-right: 1px solid #563d7c;
}

/* Nav: second level (shown on .active) */
.bs-sidebar .nav .nav {
  margin-bottom: 8px;
}
.bs-sidebar .nav .nav > li > a {
  padding-top:    3px;
  padding-bottom: 3px;
  padding-left: 30px;
  font-size: 90%;
}
.bs-sidebar .nav .nav .nav > li > a {
  padding-left: 40px;
}
/* hide second level when javascript is active (-> affix) */
.bs-sidebar.affix .nav .nav,
.bs-sidebar.affix-top .nav .nav,
.bs-sidebar.affix-bottom .nav .nav {
  display: none; /* Hide by default */
}

/* Show and affix the side nav when space allows it */
@media (min-width: 992px) {
  .bs-sidebar.affix .nav > .active > .nav,
  .bs-sidebar.affix-top .nav > .active > .nav,
  .bs-sidebar.affix-bottom .nav > .active > .nav {
    display: block;
  }
}
