body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

body > div.content {
  display: flex;
  flex: 1;
  margin: 1rem;
}

div.content > main {
   flex: 1;
}

div.content > nav.sidebar {
   display: block;
   box-sizing: border-box;
   flex: 0 0 16em;
   order: -1;

   padding: 0.5rem 2rem;
   margin: 1rem;
}

@media (min-width: 768px) {

}

/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}


/* Sidebar navigation */
.nav-sidebar {
  margin-right: -21px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}
.nav-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
}
.nav-sidebar > .active > a,
.nav-sidebar > .active > a:hover,
.nav-sidebar > .active > a:focus {
  color: #fff;
  background-color: #428bca;
}


/*
 * Main content
 */

.main {
  padding: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 40px;
    padding-left: 40px;
  }
}
.main .page-header {
  margin-top: 0;
}

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}


/* Collapse button */

button.collapse-button > .icon-collapse {
   display: none;
}

button.collapse-button[aria-expanded=true] > .icon-expand {
   display: none;
}

button.collapse-button[aria-expanded=true] > .icon-collapse {
   display: block;
}

/* Collapsable panel */
div.collapsable-panel div.collapsable-panel {
   margin-top: 2rem;
   margin-bottom: 0;
}

.panel-body {
    font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
}