/* 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. */
body {
  /*padding-top: 50px;
  padding-bottom: 20px;*/
  min-height: 100vh;
  position: relative;
  margin: 0;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
  padding-left: 15px;
  padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
  font-size: 20px;
  line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
  width: 100%;
}

/* QR code generator */
#qrCode {
  margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
  /* Hide captions */
  .carousel-caption {
    display: none;
  }
}
footer {
  position: absolute;
  bottom: 0;
}

.container-fluid.body-content {
  transform-origin: left center;
  transition: transform 0.3s ease; /* Smooth animation */
}

.center-content {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  padding-bottom: 65px;
  padding-top: 65px;
  margin-bottom: 4rem;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 60px;
  line-height: 60px; /* Vertically center the text there */
  background-color: #f5f5f5;
}

tr.clickable-row {
  cursor: pointer;
}

.table-fixed {
  height: 50vh;
  overflow: auto;
}

.table-fixed tr {
  max-height: 50px;
  overflow-y: auto;
}

dl.dl-horizontal {
  display: table;
  min-width: 400px;
}
dl.dl-horizontal dt, dl.dl-horizontal dd {
  width: auto;
  overflow: visible;
}
dl.dl-horizontal dt {
  display: table-cell;
  text-align: right;
  white-space: nowrap;
  font-weight: 500;
  padding: 2% 5%;
  background: gold;
}
dl.dl-horizontal dd {
  display: table-cell;
  padding: 2% 5%;
  background: silver;
}
dl.dl-horizontal dd.line-break {
  display: table-row;
}

a.hover-sitePrimary:hover {
  color: var(--bs-sitePrimary) !important;
}

a.hover-siteSecondary:hover {
  color: var(--bs-siteSecondary) !important;
}

a.hover-siteTertiary:hover {
  color: var(--bs-siteTertiary) !important;
}

a.hover-siteQuaternary:hover {
  color: var(--bs-siteQuaternary) !important;
}

a.hover-siteQuinary:hover {
  color: var(--bs-siteQuinary) !important;
}

a.hover-siteSenary:hover {
  color: var(--bs-siteSenary) !important;
}

.pagination .page-item .page-link {
  color: var(--bs-sitePrimary) !important;
  background-color: var(--bs-siteSecondary) !important;
  border-color: var(--bs-siteSecondary) !important;
}

.pagination .page-item .page-link:hover {
  color: var(--bs-sitePrimary) !important;
  background-color: color-mix(in srgb, var(--bs-siteSecondary) 90%, black 10%) !important;
  border-color: color-mix(in srgb, var(--bs-siteSecondary) 90%, black 10%) !important;
}

.pagination .page-item.active .page-link:hover {
  color: var(--bs-light) !important;
  background-color: color-mix(in srgb, var(--bs-sitePrimary) 90%, white 10%) !important;
  border-color: var(--bs-sitePrimary) !important;
}

.pagination .page-item.active .page-link {
  color: var(--bs-light) !important;
  background-color: var(--bs-sitePrimary) !important;
  border-color: var(--bs-sitePrimary) !important;
}
/*.tableFixHead {
    overflow-y: auto;
    height: 100px;
}*/

/* Just common table stuff. */
/*table {
    border-collapse: collapse;
    width: 100%;
}

th, td {
    padding: 8px 16px;
}

th {
    background: #eee;
}*/

.tableFixHead {
    overflow-y: auto;
    height: 100px;
}

    .tableFixHead th {
        position: sticky;
        top: 0;
    }

/* Just common table stuff. Really. */
table {
    border-collapse: collapse;
    width: 100%;
}

th, td {
    padding: 8px 16px;
}

th {
    background: #eee;
}
