html.dark {
  --background-color: #0f1116;
  --font-color: #bfbfbf;
  --button_fill_color: rgb(60, 63, 250);
}

html {
  --background-color: #e0e0e0;
  --font-color: #000000;
  --button_fill_color: rgb(60, 63, 250);
}

body {
  background-color: var(--background-color);
  color: var(--font-color);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 20px;
}

@keyframes slideToTop {
  from {
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
  }

  to {
    transform: translateY(-100%);
    visibility: hidden;
    opacity: 0;
  }
}

.flash_error {
  background-color: #ffe7e9;
  border: 2px solid #e66465;
}

.flash_success {
  background-color: #cefad0;
  border: 2px solid #00ab41;
  position: absolute;
  visibility: hidden;
  opacity: 0;
  animation: 3s ease-in-out 0s slideToTop;
  z-index: 1000,
}

.flash_info {
  background-color: #b3e5fc;
  border: 2px solid #03a9f4;
  position: absolute;
  visibility: hidden;
  opacity: 0;
  animation: 3s ease-in-out 0s slideToTop;
  z-index: 1000,
}

.tab_button {
  /* position: relative; */
  background-color: var(--button_fill_color);
  border: none;
  font-size: 16px;
  color: #FFFFFF;
  padding: 10px 15px;
  margin-top: 3px;
  /* width: 200px; */
  text-align: center;
  transition-duration: 0.4s;
  /* text-decoration: none; */
  /* overflow: hidden; */
  cursor: pointer;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  margin-right: 2px;
  vertical-align: bottom;
}

.tab_button:hover {
  background-color: rgb(2, 5, 177);
  color: white;
}

a .tab_button::before {
  display: block;
  content: attr(title);
  font-weight: bold;
  height: 1px;
  color: transparent;
  overflow: hidden;
  visibility: hidden;
}

a[aria-current="page"] .tab_button {
  font-weight: bold;
  /* background-color: rgb(2, 5, 177); */
  padding: 12px 15px;
  margin-top: 0px;
  /* font-size: 20px; */
}

.log_entry {
  border-radius: 15px;
  border-color: black;
  border-style: solid;
  padding: 0.5em;
}

.sdp_input {
  border-radius: 8px;
  min-width: 0;
  height: 1.75em;
  width: 1.75em;
  font-size: 2em;
  font-weight: bold;
  text-align: center;
}

.sdp_fields {
  display: flex;
}

.sdp_fields>div {
  display: inline-block;
  /* background-color: orange; */
}

.sdp_fields>label {
  color: darkgray;
  display: flex;
  flex-direction: column;
  text-align: right;
}

.sdp_fields>div.lr_opt {
  display: flex;
  flex-direction: column;
}

.date_cell {
  vertical-align: bottom;
  border-right: solid black 1px;
}

.comment_abbrvs {
  text-wrap: nowrap;
}