body {
  font-size: .875rem;
  /*background-color: black;*/
}

.feather {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
}

/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100; /* Behind the navbar */
  padding: 0;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
  /*position: -webkit-sticky;*/
  position: sticky;
  top: 48px; /* Height of navbar */
  height: calc(100vh - 48px);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
  font-weight: 500;
  color: #333;
  padding-top: .2rem;
  padding-bottom: .2rem;
}

.sidebar .nav-link svg {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
  margin-right: 4px;
  color: #999;
}

.sidebar .nav-link:hover svg,
.sidebar .nav-link.active svg {
  color: inherit;
}

.sidebar .sidebar-heading {
  margin-top: .75rem !important;
  margin-bottom: 0 !important;
}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #999;
}

.sidebar .nav-link.active {
  color: #007bff;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
}

/* Accordion */
.cf-accordion-item {
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.cf-accordion-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  padding: 9px 14px;
  background: none;
  border: none;
  text-align: left;
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #444;
  cursor: pointer;
  user-select: none;
  transition: background .15s;
}

.cf-accordion-btn:hover {
  background: rgba(0,0,0,.04);
  color: #111;
}

.cf-accordion-btn[aria-expanded="true"] {
  background: #e8f0fe;
  color: #1a56db;
}

.cf-accordion-btn[aria-expanded="true"] svg {
  color: #1a56db;
}

.cf-acc-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.cf-accordion-body {
  padding-bottom: 4px;
}

.sidebar-collapse-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform .2s ease;
}

.cf-accordion-btn[aria-expanded="false"] .sidebar-collapse-icon {
  transform: rotate(-90deg);
}

/*
 * Navbar
 */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: 1rem;
  background-color: rgba(0, 0, 0, .25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .form-control {
  padding: .75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

.modal-dialog {
    max-width: 700px;
}

.col {
	padding-bottom: 4px;
}

/*
 * Utilities
 */

.border-top { border-top: 1px solid #e5e5e5; }
.border-bottom { border-bottom: 1px solid #e5e5e5; }

.result-row:hover {
  background-color: #f0f4ff;
}
.result-row:last-child {
  border-bottom: none !important;
}
