body
  .is-layout-constrained
  > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  max-width: 100%;
}

.network-funbio {
  display: block;
  width: 100%;
  margin: 0 auto;
  min-width: 1550px;
}

.node circle {
  stroke: #fff;
  stroke-width: 2px;
}
.widget_network_funbio {
  width: 100%;
  margin: 0 auto;
}

.tooltip {
  position: absolute;
  text-align: center;
  width: auto;
  padding: 5px;
  font-size: 12px;
  background-color: lightgray;
  border: 1px solid #666;
  border-radius: 5px;
  pointer-events: none;
  visibility: hidden;
}

svg {
  margin: 0 auto;
  display: block;
  transition: all 0.5s;
}
body {
  background-color: #e2e2e2;
}
body.dark-theme {
  background-color: #484f55;
}
svg text {
  font-family: "Roboto", sans-serif;
  fill: #fff;
  font-weight: bold;
  pointer-events: none;
  alignment-baseline: hanging;
}
svg text.uf-text {
  font-size: 23px;
  text-anchor: middle;
  transform: translate(0, -1.5%);
}

svg text.uf-count {
  font-size: 14px;
  text-anchor: middle;
  transform: translate(0, 1.4%);
}

svg text.biome-text {
  text-anchor: middle;
}

svg text.biome-count {
  text-anchor: middle;
  transform: translate(0, 2.2%);
  font-size: 14px;
  font-weight: normal;
}

svg text.axis-text {
  text-anchor: start;
  transform: translate(-8.8%, 0);
}

svg text.axis-count {
  text-anchor: middle;
  transform: translate(8.7%, -0.5%);
  font-size: 14px;
  font-weight: normal;
}

svg text.axis-text tspan {
  font-size: 14px;
}

svg text.donor-text {
  text-anchor: middle;
  fill: #000;
  font-size: 12px;
  transform: translate(0, -1.5%);
}

svg text.donor-count {
  font-size: 14px;
  fill: #000;
  text-anchor: middle;
  transform: translate(8.6%, -0.5%);
}

svg text.level-text {
  text-anchor: middle;
  fill: #000;
  font-size: 14px;
  transform: translate(0, -0.8%);
}

svg text.level-count {
  font-size: 14px;
  fill: #000;
  text-anchor: middle;
  transform: translate(0, 2.2%);
}

svg text.gender-text {
  text-anchor: middle;
  fill: #fff;
  font-size: 14px;
  transform: translate(0, -0.8%);
}

svg text.gender-count {
  font-size: 14px;
  fill: #000;
  text-anchor: middle;
  transform: translate(0, 2.2%);
}

svg image.no-logo {
  display: none;
}

svg text.no-text {
  display: none;
}

svg .cursor-pointer {
  cursor: pointer;
}

svg .inactive,
svg .inactive ~ text,
svg .inactive ~ image {
  opacity: 0.5;
}

svg .inactive ~ rect {
  display: none;
}

.modal {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  color: #475467;
}

.modal-title {
  font-size: 24px;
  color: #366f00;
  font-weight: bold;
  margin: 0;
}

.modal-content {
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  max-width: 900px;
  max-height: 90%;
  width: 90%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.modal-body {
  overflow: auto;
  max-height: calc(90vh - 119px);
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.section {
  margin-bottom: 20px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 30px;
  background: rgba(138, 186, 93, 0.1);
  padding: 10px;
  border-radius: 8px;
}

.section strong {
  display: block;
}
.section p {
  margin: 0;
}

.section.gallery aside {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section.gallery aside a.access-button {
  display: inline-block;
  padding: 10px 15px;
  border: none;
  background: #658f3e;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section.gallery {
  align-items: center;
}

.section p span,
.section li span {
  color: #658f3e;
}

.filter-bar {
  font-family: "Roboto", sans-serif;
  position: relative;
  display: inline-block;

  width: 1190px;
  height: 158.8px;
  margin: 0 auto;
  display: block;
}

.filter-bar .content {
  position: absolute;
  top: 0px;
  right: 10px;
  width: 930px;
  height: 80px;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: content-box;
}

.filter-bar .content select {
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-right: 10px;

  max-width: 186px;
}

.filter-bar .content select {
  color: #266097;
  font-weight: 600;
}

.filter-bar .content .count-section {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  color: #266097;
  font-weight: 200;
  font-size: 16px;
  margin-right: 30px;
}

.filter-bar .content .count-section aside {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-bar .content .count-section aside .count-value {
  font-weight: bold;
  font-size: 24px;
  line-height: 20px;
}

.filter-bar .content .count-section aside img {
  width: 20px;
}

.filter-bar .content .theme {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}
