.light-theme  {
  --bg-title-color: #f7d069;
  --bg-color-1: #D9D9D9;
  --bg-color-2: #FEFEFE;
  --bg-color-3: #E9E9E9;
  --bg-color-4: #F8F8F8;
  --border-color: #B9B9B9;
  --border-bottom-color: #B9B9B9;
  --border-color-hover: #0c8cee;
  --title-hover-color: #D9D9D9;
  --hover-filter: brightness(0.85);
  --input-bg-color: #fff;
  --text-color: black;
  --card-meta-color: #000000;
  --card-header-color: rgba(0, 0, 0, 0.8);
  --thead-bg: #e9ecef;
  --thead-color: #495057;
  --scrollbar-track: #f8f8f8;
  --scrollbar-thumb: #D9D9D9;
  --scrollbar-thumb-hover: #B9B9B9;
  --ag-header-bg: #e9ecef;
  --ag-header-fg: #495057;
  --tree-hover-bg: #bee0f5;
  --tree-toggler-bg: #009fda;
  --fabric-colour-background: rgba(50, 50, 50, 0.8);
}
.dark-theme  {
  --bg-title-color: #f7d069;
  --bg-color-1: #141414;
  --bg-color-2: #262626;
  --bg-color-3: #202020;
  --bg-color-4: #282828;
  --border-color: #464646;
  --border-bottom-color: #464646;
  --border-color-hover: #4DA6FF;
  --title-hover-color: #141414;
  --hover-filter: brightness(0.85);
  --input-bg-color: #0f0f22;
  --text-color: #DDDDDD;
  --card-meta-color: #ffffff;
  --card-header-color: rgba(255, 255, 255, 0.8);
  --thead-bg: #1e1e2f;
  --thead-color: #ffffff;
  --scrollbar-track: #242424;
  --scrollbar-thumb: #141414;
  --scrollbar-thumb-hover: #050505;
  --ag-header-bg: #333;
  --ag-header-fg: #fff;
  --tree-hover-bg: #444;
  --tree-toggler-bg: #333;
  --fabric-colour-background: rgba(20, 20, 20, 0.8);
}
a {
  color: var(--border-color-hover);
  text-decoration: none;
}
::-webkit-scrollbar {
  width: thin;
  -webkit-appearance: none;
}
::-webkit-scrollbar:vertical {
  width: 10px;
}
::-webkit-scrollbar:horizontal {
  height: 10px;
}
/* Track */
::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  border: 2px solid var(--scrollbar-track);
  background-color: var(--scrollbar-thumb);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}
.overlay-shadow {
  box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 8px;
}
.overlay-text-shadow {
  text-shadow: rgba(0, 0, 0, 0.3) 0px 4px 8px;
}
.transition {
  transition: 100ms ease-in-out;
}
.search-bar {
  display: inline-block;
  max-width: 400px;
  height: 35px;
}
.search-bar .ui.input {
  box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 8px;
  width: 100%;
  height: 100%;
  font-size: 1rem;
  padding: 0;
}
.search-bar .ui.input input {
  transition: 100ms ease-in-out;
  min-width: 300px;
}
.search-bar .button {
  transition: 100ms ease-in-out;
  width: 40px;
  font-size: 1.2rem;
}
.search-bar .button .icon {
  margin-top: -1px !important;
  margin-left: 1px !important;
}
.search-bar.collapsed .ui.input {
  box-shadow: none;
}
.search-bar.collapsed .ui.input input {
  width: 0px;
  min-width: initial;
  padding: 0;
  visibility: hidden;
}
.search-bar.collapsed .button {
  border-radius: 0.2857rem !important;
  background: none;
}
.search-bar.collapsed .button .icon {
  text-shadow: rgba(0, 0, 0, 0.3) 0px 4px 8px;
  font-size: 1.4rem;
  margin-top: -1px !important;
}
.search-bar .results {
  display: none;
  background: white;
  position: absolute;
  width: 360px;
  top: 40px;
  font-size: 1.2rem;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 4px 8px;
}
.search-bar .results .inner {
  overflow: auto;
  max-height: 400px;
}
.search-bar .results .inner table {
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
}
.search-bar .results .inner table tr {
  cursor: pointer;
}
.search-bar .results .inner table tr:hover {
  background: #cdeffc;
}
.search-bar .results .inner table tr td {
  padding: 5px 10px;
}
.search-bar .results .inner table tr .value {
  color: #999;
  text-align: right;
}
.search-bar .results .message {
  text-align: center;
  padding: 10px;
  color: #999;
}
.search-bar .results .title {
  width: 100%;
  background: #ddd;
}
.search-bar .results .title td {
  padding: 8px 10px;
}
.search-bar .results .title .count {
  float: right;
}
.search-bar .results .title .units {
  float: none;
  color: #777;
}
