﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */

.border-top {
  border-top: 1px solid #e5e5e5;
}

.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

.popover-big {
  max-width: initial;
}

.popover-thin .popover-body {
  --bs-popover-body-padding-x: 0rem;
  --bs-popover-body-padding-y: 0.3rem;
}

*>.hover-visible {
  visibility: hidden;
}

*:hover>.hover-visible {
  visibility: visible;
}

table.stats thead tr th {
  position: sticky;
  top: 56px;
  z-index: 2;
  box-shadow: inset 0px calc(var(--bs-border-width) * -2) var(--bs-body-color);
}

table.stats thead tr th:first-child {
  z-index: 3;
}

table.stats tr th:first-child,
table.stats tr th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  --bs-table-bg: var(--bs-body-bg);
}

table.stats tbody tr th:first-child,
table.stats tfoot tr th:first-child {
  box-shadow: inset calc(var(--bs-border-width) * -1) 0px var(--bs-border-color);
}

input[type=date] {
  color-scheme: dark;
}

table.stats {
  --bs-table-striped-bg: rgba(0, 0, 0, 0.1);
}

.tooltip-warning {
  --bs-tooltip-color: var(--bs-warning-text);
  --bs-tooltip-bg: var(--bs-warning-bg-subtle);
}

table.table-flush {
  margin-bottom: 0;
}

table.table-flush tr:last-child td {
  border-bottom: 0;
}

.modal-card-slim .card {
  --bs-card-spacer-y: 0rem;
  --bs-card-spacer-x: 0.5rem;
}

.smaller {
  font-size: 0.7em;
}