body {
  font-size: 0.95rem;
  box-sizing: border-box;
}

.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, 0.1);
}

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

.sidebar .nav-link {
  font-weight: 500;
  color: #333;
}

.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: 0.75rem;
  text-transform: uppercase;
}

/*
 * Navbar
 */

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

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

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

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

.search-form form {
  height: 45px;
}

.form-control {
  height: 45px;
}

.search-form div {
  padding: 0;
}

/*
 * Utilities
 */

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

/*
 * Buttons
 */

.btn-submit {
  border-radius: 0;
  height: 45px;
  opacity: 0.7;
  transition: 0.3s;
}

.btn-submit:hover {
  opacity: 0.8;
  background: white;
}

.btn-inline {
  float: left;
  padding: 4px 8px;
  border-radius: 5px;
  border: none;
  margin: 5px 10px 5px 0;
  font-size: inherit;
}

.btn-inline:hover {
  background: #494e54;
  color: white;
}

.btn-link {
  margin: 0;
  padding: 0;
  border: none;
  color: red;
  background-color: transparent;
  text-decoration: underline;
}

.btn-link:hover {
  color: #494e54;
}

.btn-as-link {
  display: inline-block;
  border: none;
  color: #0f82ff;
  margin: 0;
  padding: 0;
  background-color: transparent;
  text-decoration: none;
  height: 32px;
  width: 32px;
}

.btn-as-link:hover {
  color: #0056b3;
}

.btn-marked {
  color: rgb(1, 158, 1);
  opacity: 0.6;
  transition: 0.3s;
}

.btn-marked:hover {
  color: rgb(1, 158, 1);
  opacity: 1;
}

.btn-unmarked {
  color: black;
  opacity: 0.6;
  transition: 0.3s;
}

.btn-unmarked:hover {
  color: black;
  opacity: 1;
}

#back-to-all {
  font-size: 11pt;
}

/*
* Case details
*/

.item {
  margin: 0px 50px 20px 0;
}

h4 {
  font-weight: bold;
}

#login,
#logout {
  position: relative;
  top: 100px;
}

form {
  margin: 0;
  padding: 0;
}

.pagination {
  margin-bottom: 20px;
}
