/* official colors #006ca3, #5ca038 */

div#signed_in_user {
    color: white;
    padding-left: 1ex;
}

div#signed_in_user span {
    font-size: large;
    font-weight: bolder;
}

/* .long-cells {
    white-space: nowrap;
    text-overflow:ellipsis;
    overflow: hidden;
    max-width:1px;
    ">";
} */

.short-cells {
    white-space: nowrap;
}

.expand-cells {
    overflow: visible;
    white-space: unset;
}

/* NOTE this would expand long texts on hover using CSS only, but it was a pretty bad user experience */
/* tr > td:hover { */
/*     overflow: visible; */
/*     white-space: unset; */
/* } */

td, th {
    padding: 0.5rem;
    border: 0.1rem solid lightgray;
}

table {
    width: 100%;
}

/* The sidebar menu */
.sidenav {
  height: 100%; /* Full-height: remove this if you want "auto" height */
  width: 170px; /* Set the width of the sidebar */
  position: fixed; /* Fixed Sidebar (stay in place on scroll) */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 0;
  background-color: #006ca3;
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 20px;
}

.sidebar {
  height: 100%; /* Full-height: remove this if you want "auto" height */
  width: 5px; /* Set the width of the sidebar */
  position: fixed; /* Fixed Sidebar (stay in place on scroll) */
  z-index: 1; /* Stay on top */
  top: 0; /* Stay at the top */
  left: 170px;
  background-color: #5ca038;
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 20px;
}

h1 {
    color: #006ca3;
}

h2 {
    color: #5ca038;
}

h3 {
    color: rgba(26, 28, 30, 0.73);
}

/* The navigation menu links */
.sidenav a {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  font-size: 14px;
  color: #ffffff;
  display: block;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #d2d2d2;
}

/* Style page content */
.main {
  margin-left: 160px; /* Same as the width of the sidebar */
  padding: 0px 10px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidebar (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 10px;}
}

.tab { margin-left: 40px; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* preview: approx 40 characters, single-line with ellipsis */
.note-preview {
  display: inline-block;
  max-width: 40ch;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

/* visible full text when expanded */
.note-visible {
  display: inline-block;
  white-space: normal;
  word-break: break-word;
}

.note-toggle {
  padding: 0;
  margin-left: .5rem;
  font-size: .85rem;
  line-height: 1;
}
