html {
  font-size: 16px;
}

body,
button,
input,
select,
textarea {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.site-body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background-color: #DDE3ED;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  flex: 0 0 auto;
}

.site-header-inner {
  min-height: 88px;
  padding: 0.5rem 1.5rem;
  background-color: #83A3C9;
}

.site-header-logo {
  display: block;
  width: auto;
  height: 72px;
  max-width: 100%;
  object-fit: contain;
}

.site-header-debug {
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.site-footer {
  min-height: 64px;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  background-color: #83A3C9;
}

.site-footer-logo {
  display: block;
  width: auto;
  height: 40px;
}

.content-panel {
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.5rem;
  box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.06);
}

.content-panel-accent {
  background-color: #83A3C9;
}

.content-panel-compact {
  padding: 1rem 1.25rem;
}

.content-panel-wide {
  padding: 1.25rem 1.5rem;
}

.content-panel-title {
  margin: 0 0 1rem;
}

.page-summary {
  margin-top: 0.75rem;
  text-align: center;
}

.page-summary hr {
  width: 100%;
  margin: 1rem 0;
  border-color: rgba(0, 0, 0, 0.12);
}

.page-actions {
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.page-content-wide {
  padding-right: 8%;
  padding-left: 8%;
}

.card {
  border-color: rgba(0, 0, 0, 0.12);
  border-radius: 0.5rem;
  box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.05);
}

.running-form-panel {
  padding: 1.5rem 2rem;
}

.running-form-panel .form-group:last-child {
  margin-bottom: 0;
}

.running-table-panel {
  padding: 1rem;
}

#runsTable {
  width: 100% !important;
  font-size: 0.875rem;
}

#runsTable thead > tr:first-child th {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  vertical-align: middle;
  white-space: nowrap;
}

#runsTable .filters th {
  min-width: 7.5rem;
  padding: 0.5rem 0.375rem;
  vertical-align: top;
  background-color: #f8f9fa;
}

#runsTable .filters .form-control {
  min-width: 6.75rem;
  font-size: 0.75rem;
}

#runsTable tbody td {
  vertical-align: middle;
  white-space: nowrap;
}

.running-table-panel .dataTables_wrapper .bottom {
  display: flex;
  justify-content: flex-end;
  padding-top: 1rem;
}

.running-table-panel .pagination {
  margin-bottom: 0;
}

@media (max-width: 575.98px) {
  .site-header-inner {
    min-height: 72px;
    padding: 0.5rem 1rem;
  }

  .site-header-logo {
    height: 56px;
  }

  .site-header-debug {
    font-size: 0.6875rem;
  }

  .content-panel,
  .content-panel-wide {
    padding: 1rem;
    border-radius: 0.375rem;
  }

  .page-content-wide {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .running-form-panel,
  .running-table-panel {
    padding: 1rem;
  }
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.075rem;
}

h6 {
  font-size: 0.9375rem;
}

table {
  font-variant-numeric: tabular-nums;
}

th {
  font-weight: 600;
  letter-spacing: 0.01em;
}

.btn,
.dropdown-item,
label {
  font-weight: 500;
}

.btn {
  letter-spacing: 0.005em;
}

.sidebar {
  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 0;
  left: 0;
  background-color: #0275d8; /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 60px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidebar */
}

/* The sidebar links */
.sidebar a {
  padding: 8px 8px 8px 20px;
  text-decoration: none;
  font-size: 20px;
  color: whitesmoke;
  display: block;
  transition: 0.5s;
  font-weight: bold;
  border: none;
}

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

/* Position and style the close button (top right corner) */
.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.border-3{
  border-style: solid;
  border-width: 3px;
}

.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  right: auto;
  margin-top: -1px;
}

.dropdown-submenu .dropdown-menu.dropdown-menu-left {
  right: 100%;
  left: auto;
}

.border-top-bottom {
  border-bottom: 2px solid black;
  border-top: 2px solid black;
}
  
.border-bottom-only {
  border-bottom: 2px solid black;
}

.border-top-only {
  border-top: 2px solid black;
}
