html,
body {
  overflow-x: hidden; /* Prevent scroll on narrow devices */
}

body {
  padding-top: 3.8rem;
}

.navbar .navbar-brand,
.navbar .navbar-brand:hover {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 991.98px) {
  body {
    padding-top: 3.1rem;
  }
  .offcanvas-collapse {
    position: fixed;
    top: 56px; /* Height of navbar */
    bottom: 0;
    left: 100%;
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
    overflow-y: auto;
    visibility: hidden;
    background-color: #343a40;
    transition-timing-function: ease-in-out;
    transition-duration: .3s;
    transition-property: left, visibility;
  }
  .offcanvas-collapse.open {
    left: 0;
    visibility: visible;
  }
  .nav-tabs .nav-link {
    text-align: center;
    padding: 0.5rem;
  }
  .nav-tabs .nav-link .d-lg-inline {
    font-size: 70%;
  }
  .col-form-label {
    padding-top: 0;
    padding-bottom: 0;
    font-size: 80%;
  }
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.form-signin {
  width: 100%;
  max-width: 330px;
  margin: auto;
}

.hide-expanded[aria-expanded="true"] {
  display: none;
}

.collapsed .oi-caret-right {
  display: inline-block!important;
}
.collapsed .oi-caret-bottom {
  display: none;
}

.table-calendar th {
  font-size: 70%;
  font-weight: normal;
  text-align: center;
}

.table-calendar button {
  display: block;
  width: 100%;
  text-align: center;
  border: 2px solid lightgray;
  background: none;
}
.table-calendar .dimmed {
  border: none;
  color: darkgray;
}
.table-calendar .today {
  border-color: darkgray;
}
.table-calendar .selected {
  background: #28a745;
  color: white;
}

#statistics-view {
  overflow: auto;
}

/* Tasks */

.task-list .top-links {
  margin-top: -1rem;
  margin-bottom: -1rem;
}

.task-list h6 a {
  color: inherit;
}

.task-list .show-all-tasks[aria-expanded="true"] {
  color: #6c757d;
}

.task-list [aria-expanded="false"]::before {
  content: "▶ ";
}
.task-list [aria-expanded="true"]::before {
  content: "▼ ";
}

.state-next,
.state-queue {
  border:1px solid grey;
}

.state-past,
.state-tomorrow {
  border:1px dashed grey;
}

.state-queue .edit-form,
.state-past .btn-jump,
.state-next .btn-jump {
  display: none;
}

ul.customer-select-list li {
  list-style: none;
}
ul.customer-select-list li::before {
  content: "✘ ";
}
ul.customer-select-list li.selected::before {
  content: "✔ ";
}
