/* WordPress-style Tabulator Tables */
.tabulator {
  background-color: #fff;
  border: 1px solid #c3c4c7;
  border-spacing: 0;
  clear: both;
  margin: 0;
  width: 100%;
}
.tablenav.top {
  margin: 6px 0 10px;
  padding: 8px;
  border: 1px solid #c3c4c7;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-input {
  min-width: 200px;
  padding: 4px 8px;
}

.tabulator-pagination {
  display: flex;
  gap: 4px;
  align-items: center;
}

.tabulator-pagination button {
  padding: 3px 10px;
  background: #f6f7f7;
  border: 1px solid #c3c4c7;
  border-radius: 3px;
  cursor: pointer;
}

.tabulator-pagination button.active {
  background: #2271b1;
  color: #fff;
  border-color: #2271b1;
}

.tabulator-results {
  color: #50575e;
}

.tabulator-wrapper {
  margin-top: 10px;
}
.tabulator .tabulator-header {
  background: #fff;
  border-bottom: 1px solid #c3c4c7;
}

.tabulator .tabulator-header .tabulator-col {
  background: #fff;
  border-right: 1px solid #c3c4c7;
  padding: 8px 10px;
}

.tabulator .tabulator-header .tabulator-col.tabulator-sortable:hover {
  background-color: #f0f0f1;
  cursor: pointer;
}

.tabulator .tabulator-row {
  border-bottom: 1px solid #c3c4c7;
  background-color: #fff;
}

.tabulator .tabulator-row.tabulator-row-even {
  background-color: #f6f7f7;
}

.tabulator .tabulator-row .tabulator-cell {
  padding: 8px 10px;
  border-right: 1px solid #c3c4c7;
}

.tabulator .tabulator-footer {
  background-color: #fff;
  border-top: 1px solid #c3c4c7;
  padding: 8px;
}

/* Pagination styling */
.tabulator .tabulator-footer .tabulator-paginator {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.tabulator .tabulator-footer .tabulator-page {
  margin: 0 2px;
  padding: 4px 8px;
  border: 1px solid #c3c4c7;
  background: #f6f7f7;
  color: #2271b1;
  border-radius: 3px;
}

.tabulator .tabulator-footer .tabulator-page.active {
  background: #2271b1;
  color: #fff;
  border-color: #2271b1;
}

/* Column header sorting indicators */
.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort="none"] .tabulator-col-content:after {
  content: "\f156";
  font-family: dashicons;
  color: #c3c4c7;
  margin-left: 5px;
}

.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort="asc"] .tabulator-col-content:after {
  content: "\f142";
  font-family: dashicons;
  color: #2271b1;
  margin-left: 5px;
}

.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort="desc"] .tabulator-col-content:after {
  content: "\f140";
  font-family: dashicons;
  color: #2271b1;
  margin-left: 5px;
}



.cards {
  display: block;
  padding: 10px;
  clear: both;
}

.reportheader .col {
  display: flex;
  flex: 1;
}

.toc.card ul {
  list-style-type: square;
}

.reportheader {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
  gap: 20px;
}

.reportheader .reporttoc {
  flex: 1;
  padding: 10px;
  box-sizing: border-box;
  background-color: #ffffff;
  border: 1px solid #ccd0d4;

}

.reportheader .reportintro {
  flex: 2;
  padding: 10px;
  flex-direction: column;
  box-sizing: border-box;

  background-color: #ffffff;
  border: 1px solid #ccd0d4;
}

.reportheader .reportintro p {
  font-size: 1.4em;
}



.toc {
  line-height: 1.4em;
  margin-bottom: 20px;
}

.report-section .title {
  display: flex;
}

.report-section .title h2 {
  margin-right: 10px;
}

/* .report-section .title .quick-link {
  align-self: baseline;
} */

.report-section .title>* {
  display: flex;
  align-self: baseline;
}

.report-section .content {
  overflow: hidden;
  position: relative;
  transition: max-height 0.3s ease;

}

.report-section .toggle-button {
  display: none;
  margin: 10px auto;
  text-align: center;
  display: block;
}

.report-section {
  border: 1px solid #ccd0d4;
  padding: 15px;
  margin-bottom: 20px;
  background-color: #f9f9f9;
  overflow: hidden;
  transition: max-height 0.3s ease;

}


.report-section .fade-out {
  content: "";
  position: absolute;
  bottom: 40px;
  /* Adjust based on the height of the button */
  left: 0;
  right: 0;
  height: 50px;
  /* Adjust based on the desired fade height */
  background: linear-gradient(to bottom, transparent, white);
  /* Adjust the color to match the background */
  display: none;
}

.report-section.expanded {
  max-height: 1000px;
  /* adjust as needed */
}

.report-section h2 {
  position: relative;
  margin-bottom: 10px;
  cursor: pointer;
}

.report-section .quick-link,
.report-section .back-to-toc {
  color: #0073aa;
  text-decoration: none;
}

.report-section .title {
  position: relative
}

.report-section .back-to-toc {
  margin-left: auto;
}

.report-section .back-to-toc:hover,
.report-section .quick-link:hover {
  text-decoration: underline;
}

#scroll-navbar {
  display: none;
  position: fixed;
  top: 32px;
  /* Adjust for admin bar */
  background-color: #ffffff;
  z-index: 9999;
  padding: 8px 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  color: #333;
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid #ccd0d4;
}

.scroll-navbar-inner {
  max-width: 100%;
  display: flex;
  width: 100%;
  align-items: center;
}

#scroll-navbar select {
  background-color: #f1f1f1;
  color: #333;
  border: 1px solid #ccd0d4;
  padding: 5px 25px 5px 5px;
  margin-right: 10px;
}

/*
#scroll-navbar .back-to-top {
background-color: #0073aa;
color: #fff;
border: none;
padding: 5px 10px;
cursor: pointer;
}
*/

.wrap {
  position: relative;
}

#wpadminbar~#scroll-navbar {
  top: 32px;
  /* Adjust if admin bar is present */
}

.toc {
  background-color: #ffffff;
}