@charset "utf-8";

#species_tree
{
  margin: 12px auto 12px auto;
  width: 824px;
  line-height: 16px;
  text-align: left;
  font-size: 10pt;
  white-space: nowrap;
  overflow: visible;
}

#species_tree table,
#species_tree tr,
#species_tree td,
#species_tree ul,
#species_tree li
{
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}

#species_tree table
{
    width: auto !important;
    border-collapse: collapse;
}

#species_tree .node ul
{
    display: inline-table;
    border-collapse: collapse;
    float: right;
    list-style-type: none;
}

.root-element
{
  /* must be explicitely specified for some browsers */
  width: 800px;
}

#species_tree .root-element > ul
{
    float: none;
}

#species_tree .node li
{
    display: table-row;
}

#species_tree .node ul li .node,
#species_tree .node ul li .leaf
{
    display: table-cell;
    margin: 0;
    padding: 0;
    text-align: right;
}

#species_tree  .node
{
  vertical-align: middle;
}

#species_tree .leaf
{
    text-align: left;
}

#species_tree .label,
.branch-label .label
{
  display: block;
  padding: 2px 8px;
}

#species_tree div.node > .label
{
    margin: 0 8px 0 12px;
    border: 1px solid #808080;
    background-color: #ffffff;
    font-size: 0.7em;
    font-style: normal;

    float: left;

    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -khtml-border-radius: 8px;
    border-radius: 8px;
    /*behavior: url('css/border-radius.htc');*/
}

/* almost a duplicate of above because IE won't process the style if one of the
   CSS selecotrs contains '>'. */
.branch-label .label,
.ie-node-label
{
    margin: 0 8px 0 8px;
    margin: 0 4px 0 4px;
    border: 1px solid #808080;
    background-color: #ffffff;
    font-size: 0.7em;
    font-style: normal;

    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -khtml-border-radius: 8px;
    border-radius: 8px;
    /*behavior: url('css/border-radius.htc');*/
}

#species_tree .leaf .label
{
  width: 160px;
  float: right;
  font-size: 0.9em;
  font-weight: bold;
  font-style: italic;
}

#species_tree div.leaf > .label
{
    margin-left: 32px;
    padding-left: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
    border: none;
    font-size: 0.9em;
    font-style: italic;
    font-weight: bold;

    display: block;
    float: right;
    width: 160px;
    text-align: left;
}

/*
#species_tree .root-element > .label
{
  margin-top: 2em;
}
*/

#species_tree .branch
{
    display: block;
    position: absolute;
    border: 3px solid #808080;
}

#species_tree .branch.first-element
{
    -webkit-border-top-left-radius: 12px;
    -moz-border-radius-topleft: 12px;
    -khtml-border-top-left-radius: 12px;
    border-top-left-radius: 12px;
}

#species_tree .branch.last-element
{
    -webkit-border-bottom-left-radius: 12px;
    -moz-border-radius-bottomleft: 12px;
    -khtml-border-bottom-left-radius: 12px;
    border-bottom-left-radius: 12px;
}


#tree_cache
{
  display: none;
}

#species_popup
{
  margin: 0;
  padding: 12px;
  padding-top: 40px;
  border: 6px double #484040;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -khtml-border-radius: 12px;
  border-radius: 12px;
  /*behavior: url('css/border-radius.htc');*/
  color: #202020;
  background-color: #f0fff0;
  overflow: hidden;
  
  -moz-box-shadow: 3px 3px 3px #808080;
  -webkit-box-shadow: 3px 3px 3px #808080;
  box-shadow: 3px 3px 3px #808080;
}

#species_popup ul,
#species_popup ol
{
  margin: 4px;
  padding: 0 8px;
}

#species_popup dl
{
  margin: 0;
  padding: 0;
}

#species_popup dl dt
{
  display: block;
  float: left;
  clear: left;
  width: auto;
  margin: 0;
  padding: 0 1ex 0 0;
  font-weight: normal;
}

#species_popup dl dt:after
{
  content: "";
}

#species_popup dl dd
{
  display: block;
  float: left;
  clear: right;
  margin: 0;
  padding: 0 0 0.5em 0;
  width: auto;
}

#species_popup .species-name
{
  display: block;
  width: auto;
  padding-bottom: 0.5em;
  text-align: center;
  font-size: 1.2em;
}

#species_popup  .species-taxonomy ul,
#species_popup  .species-taxonomy ol,
#species_popup  .species-taxonomy dl
{
  margin-left: 16px;
}

#species_popup  .value
{
  font-weight: bold;
}

.species-picture
{
  width: 128px;
  height: 128px;
  margin: 0;
  padding: 0;
  display: none;
}

.species-name-highlight
{
  color: #ff8000;
}


/* Compatibility if jQuery is disabled */
#species_tree div
{
  border-top: 1px solid #808080;
  border-right: 0;
  border-bottom: 1px solid #808080;
  border-left: 1px solid #808080;
}

#species_tree div.root-element
{
  border: 0;
}

#species_tree div.root-element >ul >li >div.first-element
{
  border-top: 1px solid #808080;
}

#species_tree div.root-element >ul >li >div.last-element
{
  border-bottom: 1px solid #808080;
}

#species_tree div.last-element
{
  border-bottom: 0;
}

#species_tree div.first-element
{
  border-top: 0;
}

#species_tree div.leaf .label
{
  border-right: 1px solid #808080;
}

