/* General Styles */

li.nav-item {
  padding-left: 16px;
  line-height:40px;
}

li.list-group-item:hover {
  background-color: #f3f3f3;
}

h3 {
  border-bottom: 1px solid #ccc;
  margin: 32px 10px 20px 0;
  padding-bottom: 8px;
}

/* Image Zoom Plugin */
.zoom {
  cursor: zoom-in;
  border: 2px solid #fff;
  max-width: 500px;
  transition: opacity 0.3s ease-in-out;
  -moz-transition: opacity 0.3s ease-in-out;
  -webkit-transition: opacity 0.3s ease-in-out;
  background-color: #fff;
}
.zoom:hover {
  border: 2px solid #ccc;
  transition: opacity 0.3s ease-in-out;
  -moz-transition: opacity 0.3s ease-in-out;
  -webkit-transition: opacity 0.3s ease-in-out;
}

/* Navbar background */
.bg-dark {
  background-color: #006699 !important;
}

[role="main"] {
  margin-top: 70px;
  text-align: justify;
  line-height:35px;
}

table.uploaded-table {
  text-align: left;
  line-height: 1.5;
}
table.uploaded-table td {
  vertical-align: bottom;
  max-width: 30em;
}

.table-pmcrefcount th {
  white-space: nowrap;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 1;
  display: none;
}


/* Popover */
h3.popover-header {
  margin: 0 !important;
}
.pop {
  position: relative;
  z-index: 2;
}

/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  padding: 0;
  box-shadow: 0 5px 10px rgba(0,0,0,.2);
  z-index: 1;
}

.sidebar a.nav-link:hover {
  color: #0062cc;
  font-weight: bold;
}
.sidebar-sticky {
  position: relative;
  top: 0;
  height: calc(100vh - 48px);
  padding-top: 0.5rem;
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
  .sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
  }
}

.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;
}
