html {
    position: relative;
    min-height: 100%;
  }

body { 
    padding-top: 65px; 
    margin-bottom: 50px; /* Margin bottom by footer height */
}

#sidebar #toc {
    padding-top: 130px;
}

.newTOC {
    margin-top: 65px;
}

.sidebar {
    overflow-y: scroll;
    height: 90%;
}

.navbar {
    -webkit-box-shadow: 0 8px 6px -6px #999;
    -moz-box-shadow: 0 8px 6px -6px #999;
    box-shadow: 0 8px 6px -6px #999;

    /* the rest of your styling */
}

.active {
    color:#000;
 }
 
 a.anchor {
    display: block;
    position: relative;
    top: -80px;
    visibility: hidden;
}

#frink {
    max-width: 200px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px; /* Set the fixed height of the footer here */
    line-height: 50px; /* Vertically center the text there */
    background-color: #f5f5f5;
  }

@media screen and (min-width: 0px) and (max-width: 575px) {
    #sidebar { display: none; }  /* hide TOC on small screens */
    #mobile_sidebar {display: block; }
  }
  
  @media screen and (min-width: 576px) and (max-width: 10000px) {
    #sidebar { display: block; }   /* show it elsewhere */
    #mobile_sidebar { display: none; }
  }

