/* HBCD HEX color codes */ 
/* green: #24AE70 */ 
/* blue: #199bd6 */ 
/* red: #be074c */ 
/* black/gray: #6b6b6b */ 

/* styling text to make more subtle, e.g. "Click to Expand"*/
.hint {
  color: #888;
  font-size: 1rem;
  font-style: italic;
  font-weight: normal;
  background-color: transparent !important;
  align-items: center;
}

/* styling for text with hyperlinks (not TOC, previous and next footer buttons, or images) */
.rst-content a:not(.rst-footer-buttons a):not(:has(img)) {
  color: #0066cc;
  font-weight: 500;
  text-decoration: underline dotted;
  text-underline-offset: 2px;
  text-decoration-thickness: thin; 
  text-decoration-thickness: 0.3px; 
  background-color: rgba(0, 102, 204, 0.031); /* Add slight color box around text with embedded links too */
  padding: 0 2px;
  border-radius: 2px;
  transition: background-color 0.2s ease;
}
.rst-content a:hover:not(.rst-footer-buttons a):not(:has(img)) {
  background-color: rgba(0, 102, 204, 0.15);
  text-decoration: underline;
}

/* Inline code styling */
/* Default inline code styling */
code {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  color: #c900cc !important;
  font-size: 0.8em !important;
  font-weight: 500;
}
/* Reset for code inside <pre> */
pre > code {
  all: unset !important; 
  font-family: 'Fira Code', 'JetBrains Mono', 'Source Code Pro', monospace;
  color: black !important;
  font-size: 0.75em !important;
}
/* Reset for code inside tooltips */
.tooltiptext code,
[role="tooltiptext"] code {
  all: unset;
  font-family: inherit;
  color: white !important;
  font-size: inherit;
  font-weight: inherit;
}

/* Custom style for helper-code blocks */
pre.helper-code {
  background-color: #f5f5f5;  /* light gray background */
  padding: 1px !important;          /* space inside */
  border-radius: 2px !important;         /* rounded corners */
  overflow-x: auto;           /* horizontal scroll if too wide */
}
pre.helper-code code {
  font-size: 0.8em !important;  /* slightly larger text */
  color: #000;                /* default black text */
  font-family: monospace;
  background: none;           /* don’t override the pre background */
}


/* Style for expand all button (measures overview page) */
#toggle-all-btn {
  background-color: #d0dff0;
  color: #474646;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.592);
  display: block;
  width: fit-content;   /* shrink to its content width */
  margin: 0 auto;       /* centers it horizontally */
}
#toggle-all-btn:hover {
  transform: scale(1.05); /* Slight zoom effect */
}

/* Style for folder tree display */
.folder-tree {
  font-family: monospace;
  background-color: #282c34; 
  color: #ffffff;
  font-size: 12px;
  padding: 10px;
  border-radius: 5px;
  white-space: pre;
  display: block;
  overflow-x: auto; /* Allows horizontal scrolling */
}
/* Style for placeholder variables in angle brackets */
.folder-tree .placeholder {
  color: #0af0e1
}
.folder-tree .hashtag {
  color: #b0d619
}
.folder-tree .label {
  color: #199bd6
}
.folder-tree .subses {
  color: #ffd000
}


.gray-text {
  color: #505050;
}
.blue-text {
  color: blue;
}

/* Change color of upper left-hand background */ 
.wy-side-nav-search {background-color: #199bd6;}

/* Centering images */ 
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* References section */ 
.references p {
    font-size: smaller;
    line-height: 1.2; /* Reduce line spacing (default is around 1.5-1.6) */
    margin: 5px 0; /* Reduce spacing between paragraphs or list items */
    padding: 2.5px;
  }

/* Styling for dropdown menu for selecting webpage version if we want to use this instead of default flyout menu */ 
  .version-dropdown {
    margin: 10px 0;
    text-align: center;
  }
  #version-selector {
    padding: 5px;
    font-size: 14px;
  }

/* Styling for NBDC Lasso quick link in Data Access section */ 
.button-link {
  display: inline-block;
  background-color: #EBDDF9;
  color: #3e3e3e !important; /* Ensures text stays black */
  font-weight: bold; 
  font-family: Lato; 
  padding: 20px 20px;
  text-decoration: none;
  border: 2px solid #9325ae;
  border-radius: 30px;
  font-size: 1.1rem;
  transition: background-color 0.2s ease;
}
/* Explicitly set link states to black */
.button-link:link,
.button-link:visited,
.button-link:hover,
.button-link:active {
  color: #3e3e3e !important;
  text-decoration: none;
}
.button-link:hover {
  background-color: #25ae70; /* background color on hover */
}


/* Instrument pages overview info (table name, construct, full name) */
.info-block {
  line-height: 1.4;
  margin: 0;
  padding: 0;
}
.info-row {
  display: grid;
  grid-template-columns: 110px 1fr; /* adjust 160px as needed */
  align-items: start;
  font-size: 90%;
  margin: 2px 0;
}
.info-label {
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 4px; /* space between icon and text */
}
.info-value {
  margin: 0;
}


