/* Table */
.familyTree_table {
  font-family: 'Roboto Condensed', Arial, sans-serif;
  font-size: 15px;
  border-collapse: collapse;
  border-color: #00E;
  table-layout: fixed;
}

/* Table cells */
.familyTree_table td {
  border-left: 1px solid #BBB;
  border-right: 1px solid #BBB;
  border-bottom: 0.5px solid #f0f0f0;
  height: 30px;
  white-space: nowrap;
  padding: 0;
  vertical-align: middle;
}



/* Inline elements inside <td> */
.familyTree_table td span,
.familyTree_table td img {
  display: inline;
  margin: 0;
  padding: 0;
  line-height: 1;
  vertical-align: middle;
}

/* Member name styles */
.member,
.spouse {
  font-family: 'Roboto Condensed', Arial, sans-serif;
  font-size: 15px;
  text-decoration: none;
  display: inline;
  color: inherit;
}

/* Specific colors */
.member {
  color: #0099FF !important;
}
.spouse {
  color: #4B3E2A !important;
}

/* Conditional link colors */
.familyTree_table .green-text .member,
.familyTree_table .green-text .spouse,
.green-text,
.green-text span:not(.weds) {
  color: #008000 !important;
}

.familyTree_table .red-text .member,
.familyTree_table .red-text .spouse,
.red-text,
.red-text span:not(.weds) {
  color: red !important;
}

/* (weds icon) */
.familyTree_table .weds {
  font-size: 20px;
  font-family: "Times New Roman", Times, serif;
  vertical-align: middle;
  color: #7d0705 !important;
  margin: 0 5px !important;
}

/* Hover effect for links — optional, safe to leave as is */
.familyTree_table td a:hover {
  color: #6384b7;
  text-decoration: none;
}

/* Header Row */
#gen_head {
  color: #000;
  font-weight: bold;
  font-size: 15px;
  border-top: 1px solid #BBB;
  border-bottom: 1px solid #BBB;
  font-family: 'Roboto Condensed', Arial, sans-serif;
  padding-left: 5px;
 
}

/* Odd rows = white */
.familyTree_table tr:nth-child(odd) {
  background-color: #ffffff;
}

/* Even rows = very light grey */
.familyTree_table tr:nth-child(even) {
  background-color: #fafafa; /* ultra-light grey */
}




/* Floating Search Box */
.floating-input {
  position: fixed;
  top: 10px;
  right: 10px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Roboto Condensed', Arial, sans-serif;
  font-size: 14px;
}

.familyTree_table thead tr {
    position: sticky;
    top: 0;
    background: #f1f1f1; /* background color so text isn’t overlapped */
    z-index: 2;
  }

/* Highlight */
.highlight {
  background-color: yellow;
}
