body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* vertical alignment */
  align-items: center;
  /* horizontal alignment */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

.text-area:focus {
  outline: none;
  border-width: 2px;
}

.tooltip{
  opacity:1;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: auto;
  white-space: nowrap;
  min-width: 120px;
  background-color: rgba(29, 28, 52, 1);
  /* background-color: white; */
  /* box-shadow: 6px 6px 24px 0px rgba(125, 141, 180, 0.75); */
  box-shadow: 0px 0px 6px 0px rgba(29, 28, 52, 1);
  /* box-shadow: var(--regular); */
  color: white;
  text-align: center;
  border-radius: 6px;
  padding: 5px 10px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  transform: translateX(-50%);
  /* This centers the tooltip */
  outline: 1px solid rgba(29, 28, 52, 1);
  /* outline: 1px solid var(--variable-collection-themedarkpurple); */
  font-family: var(--card-14-font-family);
  font-weight: var(--card-14-font-weight);
  font-size: var(--heading-1-font-size);
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  /* triangle size */
  border-width: 6px;
  border-style: solid;
  border-color: rgba(29, 28, 52, 1) transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}


.hidden {
  display: none;
}

:root {
  /* --font-family-sans-serif-1: "Comfortaa", "Inter", Helvetica; */
  --font-family-sans-serif-1: "Lato", "Inter", Helvetica;
  --font-family-sans-serif-2: "Inter", Helvetica;
  --font-family-sans-serif-sketchbook: "Combo", "Inter", Helvetica;
  --font-family-serif-1: 'Georgia', serif;
  --font-size-48: 48px;
  --font-size-36: 36px;
  --font-size-24: 24px;
  --font-size-18: 18px;
  --font-size-14: 14px;
  --font-size-12: 12px;
  --font-size-10: 10px;
  --line-height-125: 125%;
  --line-height-150: 150%;
  --line-height-200: 200%;
  --font-weight-700: 700;
  --font-weight-500: 500;
  --font-weight-300: 300;
  --heading-1-font-family: "Comfortaa", "Inter", Helvetica;
  --heading-1-font-weight: 700;
  --heading-1-font-size: 24px;
  --heading-1-letter-spacing: 0px;
  --heading-1-line-height: 150%;
  --heading-1-font-style: normal;
  --heading-2-font-family: "Comfortaa", "Inter", Helvetica;
  --heading-2-font-weight: 300;
  --heading-2-font-size: 14px;
  --heading-2-line-height: 200%;
  --normal-20-font-family: "Inter", Helvetica;
  --normal-20-font-weight: 300;
  --normal-20-font-size: 20px;
  --normal-20-line-height: normal;
  --normal-20-font-style: normal;
  --emphasis-font-family: "Inter", Helvetica;
  --emphasis-font-weight: 900;
  --emphasis-font-size: 20px;
  --emphasis-line-height: normal;
  --emphasis-font-style: italic;
  --card-14-font-family: "Comfortaa", "Inter", Helvetica;
  --card-14-font-weight: 400;
  --card-14-font-size: 14px;
  --card-14-letter-spacing: 0px;
  --card-14-line-height: normal;
  --card-14-font-style: normal;
  --card-node-font-family: "Comfortaa", "Inter", Helvetica;
  --card-node-font-weight: 700;
  --card-node-font-size: 14px;
  --card-node-letter-spacing: 0px;
  --card-node-line-height: normal;
  --card-node-font-style: normal;
  --node: 0.5px 0.5px rgba(0, 0, 0, 0.1);
  --regular: 2px 2px 2px 0px rgba(109, 120, 148, 0.25);
  --highlight: 0px 0px 6px 0px rgba(109, 120, 148, 0.25);
  --highlight-dim: 6px 6px 24px rgba(136, 136, 136, 0.2);
  /* --highlight-icon: 9px 12px 12px 0px rgba(109, 120, 148, 0.75); */
  /* --highlight-icon: 2px 2px 12px 0px rgba(109, 120, 148, 0.75); */
  --highlight-icon: 4px 4px 12px 0px rgba(109, 120, 148, 0.75);

  --HYDRO: #0BF;
  --ECOSYSTEM: #3C4;
  --ICT: #95A;
  --ENERGY: #FC0;
  --SOLIDWASTE: #A75;
  --TRANSPORT: #F44;
  --UNKNOWN: #888;
  --color-grey: rgba(210, 210, 210, 1);
  --THEME-PURPLE: rgba(232, 237, 250, 0.75);
  --GRAY-TEXT: rgba(0, 0, 0, 0.6);
  --GRAY-BACKGROUND: rgba(0, 0, 0, 0.3);
  --BRIGHTPURPLE: #c64afd;
  --BRIGHTGREEN: #1dbf45;
  --variable-collection-darkblue: rgba(29, 28, 52, 1);
  --variable-collection-themelightpurple: rgba(232, 237, 250, 1);
  --variable-collection-themedarkpurple: rgba(161, 173, 204, 1);
  /* --font-dark: #3D4043 */
}

button {
  /* style */
  background: none;
  border-width: 0px;
}


.title-text {
  font-family: var(--font-family-sans-serif-1);
  font-weight: normal;
  font-size: var(--font-size-14);
  line-height: var(--line-height-200);
  font-style: normal;
  color: black;
}

.heading-0 {
  font-family: var(--font-family-serif-1);
  font-weight: var(--font-weight-700);
  font-size: 42px;
  line-height: var(--font-height-100);
}

.heading-1 {
  font-family: var(--heading-1-font-family);
  font-weight: var(--heading-1-font-weight);
  font-size: var(--heading-1-font-size);
  letter-spacing: var(--heading-1-letter-spacing);
  line-height: var(--heading-1-line-height);
  font-style: var(--heading-1-font-style);
}

.heading-2 {
  font-family: var(--font-family-sans-serif-1);
  font-weight: var(--font-weight-300);
  font-size: var(--font-size-24);
  line-height: var(--line-height-150);

}



.normal {
  font-family: var(--normal-20-font-family);
  font-weight: var(--normal-20-font-weight);
  font-size: var(--normal-20-font-size);
  letter-spacing: var(--normal-20-letter-spacing);
  line-height: var(--normal-20-line-height);
  font-style: var(--normal-20-font-style);
  color: var(--GRAY-TEXT);
  padding: 0px;
  margin: 0px;
}

.sketchbook-text {
  font-family: var(--font-family-sans-serif-sketchbook);
  font-weight: var(--font-weight-300);
  font-size: var(--font-size-24);
}

.footer-text {
  font-family: var(--font-family-sans-serif-1);
  font-weight: var(--font-weight-300);
  font-size: var(--font-size-10);
  line-height: var(--line-height-150);
  color: var(--GRAY-TEXT);
}

.emphasis {
  font-family: var(--emphasis-font-family);
  font-weight: var(--emphasis-font-weight);
  font-size: var(--emphasis-font-size);
  letter-spacing: var(--emphasis-letter-spacing);
  line-height: var(--emphasis-line-height);
  font-style: var(--emphasis-font-style);
}

.card-14 {
  overflow: hidden;
  color: var(--TextColor, #3D4043);
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--card-14-font-family);
  font-weight: var(--card-14-font-weight);
  font-size: var(--card-14-font-size);
  letter-spacing: var(--card-14-letter-spacing);
  line-height: var(--card-14-line-height);
  font-style: var(--card-14-font-style);
}

.card-node {
  /* overflow: hidden; */
  color: var(--TextColor, #3D4043);
  text-align: center;
  text-overflow: ellipsis;
  /* white-space: nowrap; */
  font-family: var(--card-node-font-family);
  font-weight: var(--card-node-font-weight);
  font-size: var(--card-node-font-size);
  letter-spacing: var(--card-node-letter-spacing);
  line-height: var(--card-node-line-height);
  font-style: var(--card-node-font-style);
}

.component-text {
  color: #FFF;
  text-align: left;
  font-family: var(--heading-2-font-family);
  font-size: var(--emphasis-font-size);
  font-weight: 500;
  transition: none;
}

.custom-toggle.active {
  background-color: var(--variable-collection-themedarkpurple);
}

.custom-toggle.inactive {
  background-color: var(--variable-collection-themelightpurple);
}


/* component with "hug content" width */
.component-bar-2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  position: relative;
  flex: 0 0 auto;
  background-color: var(--variable-collection-themelightpurple);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: var(--regular);
  cursor: pointer;
}

.component-bar-2:hover {
  background-color: var(--variable-collection-themedarkpurple);
}

.component-bar-2>.div-wrapper>.text-wrapper-2 {
  position: relative;
  width: fit-content;
  justify-content: center;
  /* Centers content horizontally in flexbox */
  align-items: center;
  /* Centers content vertically in flexbox */
  margin-top: -1px;
  font-family: var(--heading-2-font-family);
  font-weight: var(--heading-2-font-weight);
  font-size: var(--heading-2-font-size);
  text-align: right;
  letter-spacing: var(--heading-2-letter-spacing);
  line-height: var(--heading-2-line-height);
  white-space: nowrap;
  font-style: var(--heading-2-font-style);
}


/* unconfirmed style */
.component-bar-custom {
  /* layout */
  display: flex;
  min-width: 12.5rem;
  height: 1.375rem;
  padding: 0.0625rem 1.875rem;
  justify-content: center;
  align-items: center;
  gap: 0.3125rem;
  /* style */
  border-radius: 0.5rem;
  border: 1px solid var(--variable-collection-themedarkpurple);
  box-shadow: var(--regular);
  cursor: pointer;
  user-select: none;
}

.component-bar-custom#custom {
  cursor: text;
}

.component-bar-selected {
  /* layout */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.5rem 1rem;
  position: relative;
  flex: 0 0 auto;
  background-color: var(--variable-collection-themedarkpurple);
  /* style */
  border-radius: 0.5rem;
  border: 1px solid var(--variable-collection-themedarkpurple);
  box-shadow: var(--regular);
}

.dropdown-menu {
  position: absolute;
  left: 100%;
  top: -0.85rem;
  width: auto;
  background-color: rgba(255, 255, 255, 0.95);
  align-items: left;
  padding: .5rem;
  border-radius: .25rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .15);
  opacity: 1;
  transform: translateY(0);
  transition: opacity .15s ease-in-out, tansform .15s ease-in-out;
  text-align: left;
  font-family: var(--normal-20-font-family);
}

.dropdown-menu>.dropdown-item,
.dropdown-item-sub {
  line-height: 2;
  color: rgb(30, 30, 30);
  cursor: pointer;
  pointer-events: auto;
  font-family: var(--normal-20-font-family);
}

.dropdown-item-sub {
  white-space: wrap;
  font-size: var(--card-14-font-size);
}