/* Navbar at the top */
.navbar-static-top {
  margin-bottom: 0px;
}
/* END OF Navbar at the top */


/* Sidebar */
#sidebar {
  max-width: 240px;
}
#sidebar-bg {
  position: fixed;
  background-color: #F1F1F1;
  width: 16%;
  top: 0px;
  bottom: 0px;
}
#sidebar {
  padding-left: 0px;
  padding-right: 0px;
}
#sidebar .nav-pills > li > a {
  border-radius: 0px;
}
/* Prevent sidebar's tabs from collapsing */
#sidebar .nav-justified > li {
}
#sidebar-tabs  > li {
  display: table-cell; 
  width: 1%
}
#sidebar-tabs  > li.dropdown {
  display: none;
}
/* Collapsed sidebar */
@media (max-width: 779px) {
  /* Hide sidebar background */
  #sidebar-bg {
    display: none;
  }
  /* Full width (only tabs are visible) */
  #sidebar {
    max-width: 100%;
  }
  /* Hide regular tabs and tab-content */
  #sidebar-tabs  > li , #sidebar-content {
    display: none;
  }
  /* Show dropdown tbas instead */
  #sidebar-tabs  > li.dropdown {
    display: table-cell;
    width: 1%
  }
  
/*   #content {
    display: inline-table;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  #content > *{
    display: inline;
  } */
}
/* END OF Sidebar */

/* Content area*/
#content {
  padding-bottom: 15px;
}
/* END OF Content area */

/* Sticky Footer */
html {
  position: relative;
  min-height: 100%
}
body {
  margin-bottom: 30px;  /* Use the height of the footer. */
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 30px;
  background-color: #f5f5f5;
}
.footer .text-muted {
  float: right;
  margin: 5px 5px;
}
/* END OF Sticky Footer */

/* Family listing */
.family-name {}
.family-name > span {
  font-size: 24px;
}
/* END OF Family listing */

/* Butterfly listing - all-butterflies.html */
.butterfly-list ol.start {
  counter-reset: mycounter;
}
.butterfly-list ol {
  list-style: none;
  padding-left: 30px;
}
.butterfly-list ol > li:before {
  counter-increment: mycounter;
  content: counter(mycounter) ". ";
  float: left;
  margin-left: -30px;
  width: 20px;
  text-align: right;
}
.butterfly-list h4{
  width: auto;
  max-width: 560px;
  display: flex;
  flex-wrap: wrap;
}
.butterfly-list ol li a{
  width: auto;
  max-width: 500px;
  display: flex;
  flex-wrap: wrap;
}
.butterfly-list h4 span,
.butterfly-list ol li a span {
  flex: 1;
  display: inline-block;
  white-space: nowrap;
}
.butterfly-list h4 span.right, 
.butterfly-list ol li a span.right {
  margin-left: 10px;
}
/* END OF Butterfly listing */