h2, h3, h4, h5 { font-weight: bold; margin: 0 0 1em 0; }
h2 { font-size: 150%; }
h3 { font-size: 120%; }
h4 { font-size: 110%; }
dt { font-weight: bold; }
dd { margin-bottom: 0 0 .5em 1em; }
quote { display: block; margin: 1em 0 1em 2em; }
em { font-style: italic; }
abbr {
	border-bottom: 1px dotted;
	cursor: help;
}
th { font-weight: bold; }
table caption,
.tableCaption {
	font-style: italic;
	font-weight: bold;
	color: #444;
}

/* Fixed size classes. */

.w25 { width: 25px; }
.w50 { width: 50px; }
.w75 { width: 75px; }
.w100 { width: 100px; }
.w125 { width: 125px; }
.w135 { width: 135px; }
.w150 { width: 150px; }
.w175 { width: 175px; }
.w200 { width: 200px; }
.w300 { width: 300px; }
.w400 { width: 400px; }
.w500 { width: 500px; }

.padLeft5 { padding-left: 5px; }
.padRight25 { padding-right: 25px; }

.aRight { text-align: right; }
.fLeft { float: left; }

.clearBoth { clear: both; }


/* Random stuff. */

.wrapper { overflow: hidden; }

.hiddenStructure {
	position: absolute;
	top: -10000px;
	left: -10000px;
}

.approx:before { content: '~'; }


/* Entity type colours... */

div.objectIcon {
  width: 20px;
  float: left;
  margin-left: 20px;
  margin-right: 20px;
}

.borderGene { border-color: #000000; }
.borderProtein { border-color: #cc3300; }
.borderComplex { border-color: #ff9900; }
.borderDomain { border-color: #008000; }
.borderDisease { border-color: #666; }
.borderOrthogroup { border-color: #9900ff; }

.objectIconGene { background-color: #000000; }
.objectIconProtein { background-color: #cc3300; }
.objectIconComplex { background-color: #ff9900; }
.objectIconDomain { background-color: #008000; }
.objectIconDisease { background-color: #666; }
.objectIconOrthogroup { background-color: #9900ff; }


/** Arrows ? */

div.downArrow {
  font-size: 0px;
  line-height: 0%;
  width: 0px;
  border-top: 10px solid #77c;
  border-left: 5px solid #f6f6f6;
  border-right: 5px solid #f6f6f6;
}

div.rightArrow {
  font-size: 0px;
  line-height: 0%;
  width: 0px;
  border-top: 5px solid #f6f6f6;
  border-left: 10px solid #77c;
  border-bottom: 5px solid #f6f6f6;
}

div.upArrow {
  font-size: 0px;
  line-height: 0%;
  width: 0px;
  border-bottom: 10px solid #77c;
  border-left: 5px solid #f6f6f6;
  border-right: 5px solid #f6f6f6;
}


/* The 5 model organisms. */

.taxonomyHomoSapiens { background-color: #ff6; }
.taxonomyMusMusculus { background-color: #6ff; }
.taxonomyDrosophilaMelanogaster { background-color: #c9f; }
.taxonomyCaenorhabditisElegans { background-color: #fc6; }
.taxonomySaccharomycesCerevisiae { background-color: #9f6; }
.taxonomyOther { background-color: #88f; }

.taxonomyHomoSapiensFg { color: #ff6; }
.taxonomyMusMusculusFg { color: #6ff; }
.taxonomyDrosophilaMelanogasterFg { color: #c9f; }
.taxonomyCaenorhabditisElegansFg { color: #fc6; }
.taxonomySaccharomyesCerevisiaeFg { color: #9f6; }
.taxonomyOtherFg { color: #88f; }


.statsTab {
	border: 1px solid black;
	padding: 20px;
}

a.uploading {
	background: url(resource:/images/spinner.gif) 0 center no-repeat;
	padding-left: 16px;
}


.file {
	font-weight: bold;
	color: #444;
}

.waiting {
	background: url(resource:/images/spinner.gif) top left no-repeat;
	padding-left: 18px;
}


.children table td,
.children table th {
	padding: .1em .4em;
}

table .number {
	text-align: right;
}



.clearfix {
  zoom: 1;
}
.clearfix:before, .clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
.help {
  position: relative;
}
.help .icon {
  cursor: help;
}
.help .text, .help .text p {
  cursor: default;
  font-size: 12px;
  color: #333;
  font-weight: normal;
  padding: 0 0 .5em 0;
  line-height: 1.4em;
  text-align: left;
  text-shadow: none;
  white-space: normal;
}
.help .text {
  display: none;
  padding: .5em;
}
.help .text p:last-child {
  padding-bottom: 0;
}
.help:hover .text {
  z-index: 101;
  display: block;
  position: absolute;
  top: 24px;
  left: -8px;
  width: 300px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border: solid 2px #69d;
  background: #fff;
  box-shadow: 1px 1px 5px #555;
}
.help:hover .text:before {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: 5px;
  top: -20px;
  border: 10px solid;
  border-color: transparent transparent #69d transparent;
}
.help:hover .text:after {
  content: ' ';
  position: absolute;
  width: 0;
  height: 0;
  left: 5px;
  top: -17px;
  border: 10px solid;
  border-color: transparent transparent #fff transparent;
}
.help:hover .text.above {
  bottom: 24px;
  top: auto;
}
.help:hover .text.above:before {
  top: auto;
  bottom: -20px;
  border-color: #69d transparent transparent transparent;
}
.help:hover .text.above:after {
  top: auto;
  bottom: -17px;
  border-color: #fff transparent transparent transparent;
}
.help:hover .text.before {
  left: auto;
  right: 28px;
  top: -8px;
}
.help:hover .text.before:before {
  top: 5px;
  left: auto;
  right: -20px;
  border: 10px solid;
  border-color: transparent transparent transparent #69d;
}
.help:hover .text.before:after {
  top: 5px;
  left: auto;
  right: -17px;
  border: 10px solid;
  border-color: transparent transparent transparent #fff;
}
.help:hover .text.after {
  left: 28px;
  top: -8px;
}
.help:hover .text.after:before {
  top: 5px;
  left: -20px;
  border-color: transparent #69d transparent transparent;
}
.help:hover .text.after:after {
  top: 5px;
  left: -17px;
  border-color: transparent #fff transparent transparent;
}
.geneStatusConfirmed {
  color: #080;
}
.geneStatusPutative {
  color: #080;
}
a.sortable {
  padding-right: 18px;
  padding-left: 18px;
  background: url(../images/sort-none.png) no-repeat right 50%;
}
a.sortable:hover {
  background-image: url(../images/sort-none-hl-asc.png);
}
a.sortedAsc {
  background-image: url(../images/sort-asc.png);
}
a.sortedAsc:hover {
  background-image: url(../images/sort-asc-hl-desc.png);
}
a.sortedDesc {
  background-image: url(../images/sort-desc.png);
}
a.sortedDesc:hover {
  background-image: url(../images/sort-desc-hl-asc.png);
}
/* Netility button */
.netilityButton {
  border: solid 1px #999;
  background: #eee;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  padding: 3px;
  display: block;
  float: left;
  color: #000;
  letter-spacing: 2px;
}
.netilityButton:hover {
  background: #f55;
  color: #eee;
  text-decoration: none;
}
.netilityLink {
  min-height: 16px;
  line-height: 16px;
  padding-left: 18px;
  background: url(../images/netility-small.png) left center no-repeat;
}
.netilityLink.med {
  min-height: 20px;
  line-height: 20px;
  padding-left: 22px;
  background-image: url(../images/netility-med.png);
}
.dbutton {
  cursor: pointer;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -khtml-border-radius: 4px;
  border: solid 1px #888;
  background: #eee;
  background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.29, #cccccc), color-stop(0.65, #eeeeee));
  background-image: -moz-linear-gradient(center bottom, #cccccc 29%, #eeeeee 65%);
}
.dbutton:hover {
  background: #f8f8f8;
  background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.29, #dcdcdc), color-stop(0.65, #fafafa));
  background-image: -moz-linear-gradient(center bottom, #dcdcdc 29%, #fafafa 65%);
}
.dbutton:active {
  background: #f8f8f8;
  background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.29, #eeeeee), color-stop(0.65, #cccccc));
  background-image: -moz-linear-gradient(center bottom, #eeeeee 29%, #cccccc 65%);
}
.showLessLink, .showMoreLink {
  display: block;
  background: url(../images/show-more-less-sprite.png) 0 0 no-repeat;
  width: 16px;
  height: 16px;
  overflow: hidden;
}
.showLessLink span, .showMoreLink span {
  position: absolute;
  left: -10000px;
}
.showLessLink {
  background-position: 0 -16px;
}

.clearfix {
  zoom: 1;
}
.clearfix:before, .clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
.aboutScreenshots .screenshot {
  padding: 5px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -khtml-border-radius: 5px;
  box-shadow: inset 0 0 5px #555;
  margin-bottom: 2em;
}
.aboutScreenshots a {
  display: block;
  color: black;
}
.aboutScreenshots img {
  margin-top: .5em;
  border: solid 2px #55f;
}

dl.goTermList dt {
  cursor: pointer;
}
dl.goTermList dt.expanded, dl.goTermList dt.collapsed, dl.goTermList dt.pending {
  padding-left: 16px;
}
dl.goTermList dt.expanded {
  background: url(../images/expand-collapse.gif) 0px -16px no-repeat;
}
dl.goTermList dt.collapsed {
  background: url(../images/expand-collapse.gif) -16px 0px no-repeat;
}
dl.goTermList dt.pending {
  background: url(../images/spinner.gif) no-repeat;
}
dl.goTermList dt.cm {
  background-color: #fcc;
}
dl.goTermList dt a.goRemoveTerm {
  font-weight: normal;
  font-style: italic;
}
dl.goTermList dd {
  margin-left: 32px;
}
dl.goTermList dd.collapsed {
  display: none;
}
dl.goTermList dd.goTermDefinition {
  margin-bottom: .3em;
  margin-top: .3em;
  font-style: italic;
}
dl.goTermList dd.goAnnotation.last {
  margin-bottom: .4em;
}
dl.goTermList dt.hidden, dl.goTermList dd.hidden {
  display: none;
}
.goEvidenceCode.experimental {
  font-weight: bold;
}
.goEvidenceCode.obsolete {
  text-decoration: line-through;
}



