section.pedigree_feature .root_animal {
  /* The root animal for this pedigree. */
  border: 1px solid #666666;
  padding: 10px;
}
section.pedigree_feature .root_animal:after {
  content: "";
  display: table;
  clear: both;
}
section.pedigree_feature .root_animal a.thumbnail-popup.image_0 {
  display: block;
}
section.pedigree_feature .root_animal img {
  float: left;
  margin-right: 10px;
}
section.pedigree_feature .root_animal h2 {
  font-size: 1.571em !important;
}
section.pedigree_feature .animal .name,
section.pedigree_feature .animal .notes {
  margin: 5px 0;
}
section.pedigree_feature .animal .name {
  font-size: 1.1em;
  margin-bottom: 0.25em;
}
section.pedigree_feature .animal .birthdate {
  display: block;
  color: #666666;
  font-weight: normal;
  font-size: 0.9em;
  margin-bottom: 0.25em;
}
section.pedigree_feature table.pedigree_tree {
  border-collapse: collapse;
  border-spacing: 0;
  border-width: 0;
  table-layout: fixed;
  width: 100%;
}
section.pedigree_feature table.pedigree_tree td {
  border: 1px solid #666666;
  vertical-align: middle;
  padding: 3px;
  overflow-y: hidden;
}
section.pedigree_feature table.pedigree_tree.visible_levels_1 td {
  width: 100%;
}
section.pedigree_feature table.pedigree_tree td.level_0 {
  height: 160px;
}
section.pedigree_feature table.pedigree_tree.visible_levels_2 td {
  width: 50%;
}
section.pedigree_feature table.pedigree_tree td.level_1 {
  height: 80px;
}
section.pedigree_feature table.pedigree_tree.visible_levels_3 td {
  width: 33%;
}
section.pedigree_feature table.pedigree_tree td.level_2 {
  height: 40px;
}
section.pedigree_feature table.pedigree_tree.visible_levels_4 td {
  width: 25%;
}
section.pedigree_feature table.pedigree_tree td.level_3 {
  height: 20px;
}
section.pedigree_feature table.pedigree_tree .animal {
  overflow-y: hidden;
}
section.pedigree_feature table.pedigree_tree .animal .birthdate,
section.pedigree_feature table.pedigree_tree .animal .notes {
  display: none;
}
section.pedigree_feature table.pedigree_tree .level_0 {
  text-align: center;
}
section.pedigree_feature table.pedigree_tree .level_0 .animal a.thumbnail-popup.image_0 {
  display: block;
}
section.pedigree_feature table.pedigree_tree .level_1 {
  text-align: center;
}
section.pedigree_feature table.pedigree_tree .level_1 .animal a.thumbnail-popup.image_0 {
  display: block;
}
section.pedigree_feature table.pedigree_tree .level_1 .animal img {
  width: 60px;
  height: 60px;
}
section.pedigree_feature table.pedigree_tree .level_2 .animal a.thumbnail-popup.image_0 {
  display: block;
}
section.pedigree_feature table.pedigree_tree .level_2 .animal img {
  float: left;
  margin-right: 0.5em;
  width: 30px;
  height: 30px;
}
section.pedigree_feature table.pedigree_tree .level_2 .animal .name {
  font-size: 1em !important;
}
section.pedigree_feature table.pedigree_tree .level_3 .animal .name,
section.pedigree_feature table.pedigree_tree .level_4 .animal .name {
  font-size: 1em !important;
}
section.pedigree_feature table.pedigree_tree .level_3 .animal a.thumbnail-popup img,
section.pedigree_feature table.pedigree_tree .level_4 .animal a.thumbnail-popup img {
  display: none;
}

section.pedigree_feature[feature-width~="<600"] table.pedigree_tree td {
  text-align: center !important;
}
section.pedigree_feature[feature-width~="<600"] table.pedigree_tree td img {
  display: none !important;
}
section.pedigree_feature[feature-width~="<600"] table.pedigree_tree td h2 {
  font-size: 1em !important;
}
