.centered_wrapper {
  display: flex;
  justify-content: center;
  align-items: start;
  overflow-x: auto;
}
#funding_sankey {
  font-family: Arial;
  font-size: 0.8em;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#funding_sankey .sankey_header {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  margin-bottom: 7px;
  padding-bottom: 20px;
  position: relative;
}
#sankey_title {
  color: rgb(51, 51, 51);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
#funding_sankey fieldset.year-selector {
  border: 0;
  background: 0;
  display: flex;
  gap: 0.125rem;
  padding: 0.125rem;
  margin-left: 0.25rem;
  border-radius: 0.5rem;
  background-color: rgb(241 245 249);
}
#funding_sankey fieldset.year-selector input {
  appearance: none;
  padding: 0;
  margin: 0;
}
#funding_sankey fieldset.year-selector label {
  cursor: pointer;
  display: flex;
  padding: 0.25rem 0.75rem;
  align-items: center;
  border-radius: 0.375rem;
  font-size: 1rem;
  line-height: 1.25rem;
  font-weight: bold;
  font-family: Arial, Arial, Helvetica, sans-serif;
  color: rgb(71, 85, 105);
  border: 0;
  background-color: transparent;
}
#funding_sankey fieldset.year-selector input:checked + label {
  background-color: #ffffff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  color: rgb(15, 23, 42);
}
#funding_sankey svg .link {
  transition: stroke-opacity 0.15s ease-in;
}
#funding_sankey svg .link:hover {
  stroke-opacity: 0.9;
  transition: none;
}
#funding_sankey svg .link.unrelated {
  stroke-opacity: 0.1;
  transition: stroke-opacity 0.05s ease-out;
}
#funding_sankey svg .link title {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
#funding_sankey svg .nodes rect:hover {
  stroke: #000 !important;
  stroke-width: 2;
}

.sankey-tooltip {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 3;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
  border-radius: 3px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.9);
  border: 1px solid #000;
  color: #fff;
  max-width: 310px;
  line-height: 1.67;
  font-size: 12px;
  padding: 5px 10px;
  font-family: Helvetica, Arial, sans-serif;
}
.sankey-tooltip .tooltip-title {
  font-weight: bold;
  font-size: 0.875rem;
}
.sankey-tooltip hr {
  border: 0;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.3);
  padding: 0;
  margin: 10px 0;
}

.sankey-tooltip mark {
  color: #000;
  background-color: rgba(255, 255, 62, 0.88);
  padding: 0 3px;
}

#funding_sankey svg text {
  pointer-events: none;
  cursor: default;
}
