@import url('https://publictrace.blob.core.windows.net/publicreportlibs/libs/fonts/inter-tight.css');
@import url('https://publictrace.blob.core.windows.net/publicreportlibs/libs/fonts/inter.css');

:root {
  --bs-body-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

.dt-type-numeric {
  font-family: 'Inter', sans-serif !important;
  font-variant-numeric: tabular-nums !important;
}

.dt-type-numeric th {
	text-align: center !important;
}



.dataTables_wrapper {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  overflow-x: auto;
}

/* Table itself */
.custom_table {
  width: 100% !important;
  max-width: 100%;
  font-size: 0.85rem;
  table-layout: auto;
	word-wrap: break-word !important;
}

.custom_table th,
.custom_table td {
  white-space: pre;
  word-break: break-all;
	word-wrap: break-word !important;
  overflow-wrap: break-word;
  max-width: 300px;
}

/* Custom row banding  */

.custom_table tbody tr:nth-child(odd) {
  background: #f7f7f7;
} 

.custom_table tbody tr:nth-child(even) {
  background: #ffffff;
}

/* Hover effect */
tbody tr:hover {
  background-color: #caede3 !important;
}




.dt-type-date {
  font-family: 'Inter', sans-serif !important;
  font-variant-numeric: tabular-nums !important;
}

caption {
  text-align: left !important;
  color: #222222;
  font-weight: bold;
}

figure {
  padding: 2em 0 2em 0;
}

/* table.small-font {
  font-size: 0.85rem;
} */

.logo {
  text-align: right;
  margin: 0.5em 0 1.5em 0;
}

.logo img {
  max-width: 250px;
  height: auto;
}

.quarto-title-block {
  background-color: transparent;
  border-radius: 0.375rem;
	border-color: #ddd;
	border-width: 0;
	border-style: solid;
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); */
  padding: 1rem;
}

.subtitle {
  font-size: .7em !important;
	opacity: 0.8;
	text-transform: uppercase;
	margin-bottom: 0 !important;
}

.quarto-title {
	display: flex;
  flex-direction: column;

}

.quarto-title .title {
  order: 2;
	padding-bottom: 0.4rem;
	border-bottom: 1px solid rgb(221.7,222.3,222.9);
}

.quarto-title .subtitle {
  order: 1;
}

.quarto-title-meta {
	display: flex;
  flex-direction: column;
}

.quarto-title-meta-contents {
  font-weight: 300;
}

.quarto-title-meta-heading {
  font-size: .7em !important;
}


/* Show TOC on small screen */

#TOC {
  display: block !important;
	padding: 1rem;
}


/* TOC formatting */

#TOC ul {
  counter-reset: toc-counter;
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  list-style: none;
  gap: 0;
  margin: 0;
}

#TOC li {
  width: 100%;
}

#TOC a {
  counter-increment: toc-counter;
  display: flex;
  align-items: flex-start;
  gap: 0.8em;
  color: #444;
  background-color: transparent;
  font-weight: 400;
  text-decoration: none;
  padding: 0.3em 0.9em;
  border-radius: 0.375rem;
  box-sizing: border-box;
  text-align: left;
  white-space: normal;
  overflow-wrap: break-word;
  line-height: 1.4;
  position: relative;
}

#TOC a::before {
  content: counter(toc-counter);
  display: inline-block;
  width: 1.1em;
  color: #888;
  font-weight: 400;
  font-size: 0.9rem;
  flex-shrink: 0;
  line-height: 1.4;
  text-align: left;
}

#TOC a:hover {
  background-color: #caede3;
  color: #222;
}

#TOC a:visited {
  color: #555;
}

.card-body {
  background-color: rgba(255, 255, 255, 0.1);
}


/* section background */

body {
	  background-color: #f8f9fa;
}


section.level2 {
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background-color: #ffffff;
  border-radius: 0.375rem;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

h1 {
	margin-top: 0.375rem;
	font-weight: 400;
	color: rgb(43, 43, 43)
}

h2 {
	margin-top: 0.375rem;
	font-size: calc(0.9*(1.29rem + 0.48vw));
	font-weight: 300;
	color: rgb(60, 60, 60)
}

.callout {
	background-color: #ffffff !important;
	border-right: 0px solid rgb(221.7,222.3,222.9) !important;
	border-top: 0px solid rgb(221.7,222.3,222.9) !important;
	border-bottom: 0px solid rgb(221.7,222.3,222.9) !important;
}

.callout-body p {
  margin-bottom: 0.2rem; /* reduced from the default */
}

#quarto-appendix {
  background-color: transparent !important;
}

/* Cards */

.card {
	--bs-card-cap-padding-x: 0.7rem;
	--bs-card-cap-padding-y: 0.1rem;
	border-width: 0;
}
.card-header {
	font-weight: 200;
	min-height: 3.2rem !important;
	border-bottom-width: 0;
}

.card-title {
  font-weight: 300 !important;
	font-size: calc((1.7*0.925rem + 1.3vw)) !important;
);
}

.card-text {
	font-size: 0.9rem;
}


/* Less padding on small screen */

@media (max-width: 600px) {
  header,
	#title-block-header,
  #TOC,
  section.level2,
  .callout
	.quarto-appendix {
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    padding: 0.6rem;
    box-sizing: border-box;
  }
}

/* No background-color and shadow for section with id metadaten */
section#metadaten {
  background-color: transparent !important;
  box-shadow: none !important;
}



