.jadoc-sidebar {
  float: right;
  margin-bottom: 40px;  
}

@media screen and (max-width: 768px) {
  .jadoc-sidebar {
    width: 100%;  
  }
}

@media screen and (min-width: 992px) {
  .jadoc-sidebar {
    position: sticky;
    top: 100px;
    overflow-y: auto;
    margin-bottom: 0;
  }
}

.jadoc-sidebar a:focus {
    text-decoration: none;
}

.jadoc-children {
    display: none;
}

.jadoc-children.current {
    display: block;
}

.jadoc-child.level-2 {
    padding-left: 30px;
}

.jadoc-link, .jadoc-child-link {
    display: block;
}

.jadoc-sidebar .current > a {
    font-weight: bold;
}

.jadoc-children .active {
    color: red;
}