body {
  background-color: #f2f2f2;
}

.bi {
  display: inline-block;
  width: 1rem;
  height: 1rem;
}

/*
 * Sidebar
 */

@media (min-width: 768px) {
  .sidebar .offcanvas-lg {
    position: -webkit-sticky;
    position: sticky;
    top: 48px;
  }
  .navbar-search {
    display: block;
  }
}

.sidebar .nav-link {
  font-size: 0.875rem;
  font-weight: 500;
}

.sidebar .nav-link.active {
  color: #2470dc;
}

.sidebar-heading {
  font-size: 0.75rem;
}

/*
 * Navbar
 */

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

.navbar .form-control {
  padding: 0.75rem 1rem;
}

/* Status td's */
.status {
  width: 3rem;
}

.chosen {
  filter: saturate(3.5);
  color: #000 !important;
}

/* Reports */
.form.reportheader .field label {
  width: 16rem !important;
}

.draggable {
  padding: unset !important;
}

.draghandle {
  cursor: move;
  padding: 1rem;
  display: unset !important;
  line-height: 2rem !important;
}

.closehandle {
  float: right;
  padding: 0.4rem;
  cursor: pointer;
}

/* Unpoly */
.up-current.item {
  color: #fff !important;
  background-color: rgba(0, 0, 0, 0.1) !important;
}

up-modal-box {
  border-radius: 0.28571429rem;
}

/* Small tables */
.small.header {
  float: left;
  margin: 0;
  margin-top: 0.35rem;
}

table.measurements {
  margin-top: 0px !important;
  font-size: 4px !important;
}

.ms-overflow {
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 24rem;
  white-space: nowrap;
}

.measurements td.blue {
  background-color: rgb(47, 110, 187) !important;
}

.measurements td.green {
  background-color: rgb(159, 207, 99) !important;
}

.measurements td.grey {
  background-color: rgb(166, 166, 166) !important;
}

.measurements td.red {
  background-color: rgb(234, 51, 35) !important;
}

.measurements td.yellow {
  background-color: rgb(255, 254, 89) !important;
}
