/*
 * Copyright (c) 2002  Dustin Sallings <dustin@spy.net>
 */
body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-align: center;
	margin: 0;
	padding: 0;
}

h1,h2,h3,h4,h5,th {
	text-transform: capitalize;
	font-weight: bolder;
}

img {
	border-style: none;
}

h1 { font-size: large; }

h2 { font-size: medium; }

a:hover {
	background: #cccccc;
	color: inherit;
}

#navbar {
	color: black;
	background: white;
	position: fixed;
    width: 150px;
    float: left;
    font-size: smaller;
    border-right: solid 1px;
    border-bottom: solid 1px;
	text-align: left;
}

#navbar a {
    border: none;
    text-decoration: none;
    font-weight: bold;
}

#navbar a:visited {
    font-weight: normal;
}

#navbar a:hover {
    text-decoration: underline;
}

#navbar ul {
    padding: 0;
    margin: 2px;
    list-style: none;
}

#navbar ul ul {
    margin: 0 1em;
    font-size: smaller;
}

#navbar li {
    margin: 0 0 1em 0;
}

#navbar ul > li > ul > li {
    margin-bottom: 0;
	margin-left: 1em;
	text-indent: -1em;
}

#content {
	color: black;
	background: white;
	margin-left: 151px;
	padding: 5px;
	text-align: left;
}

.metaInfo {
	margin-top: 1em;
	font-size: x-small;
	color: #aaa;
	background: inherit;
}

#footer {
	margin-left: 151px;
	color: black;
	background: white;
    padding-top: 2px;
    font-size: small;
    border-style: solid none none none;
    border-width: 1px;
    text-align: left;
}


.footerfineprint {
	font-size: smaller;
	color: #999;
	background: inherit;
}

#sflogo {
	text-align: center;
	padding-top: 1em;
	position: relative;
}

.centered {
	text-align: center;
}

.rightAligned {
	text-align: right;
}

.leftAligned {
	text-align: left;
}

.displayBrief {
	font-weight: bold;
	font-size: x-small;
	text-align: center;
}

.commentblock {
	border-color: white;
	height: 150px;
	margin-bottom: 1px;
	padding: 0.5em;
	border-style: solid;
	border-width: 2px;
}

.comments {
	color: black;
	background: #ccf;
	margin-left: 2em;
	margin-right: 2em;
	font-size: smaller;
}

.commentimage {
	background: #ccf;
	color: black;
	text-align: center;
	padding-right: 1em;
	float: left;
	width: 220px;
	height: 146px;
}

.commentmore {
	font-size: x-small;
	font-style: italic;
}

.commentheader {
	color: black;
	background: #999;
	font-size: smaller;
}

#search_matches {
	position: absolute;
	text-align: right;
	top: 0;
	right: 0;
}

.search_result {
	color: inherit;
	background: #eee;
	margin-bottom: 4px;
	margin-left: 0;
}

.search_result_image {
	width: 220px;
	height: 150px;
	padding: 5px;
	float: left;
	text-align: right;
}

.search_result_info {
	margin-left: 240px;
}

.search_result_descr {
	clear: left;
}

.search_result_descr div {
	padding: 20px 20px 20px 20px;
}

#imgDisplay {
	text-align: center;
}

#imgDescr {
	padding: 1em;
}

.reportResults {
	border-width: 2px;
	border-style: outset;
}

.reportResults td {
	border-width: 1px;
	border-style: inset;
}

.reportForm {
	border-width: 2px;
	border-style: outset;
}

.reportForm td {
	border-width: 1px;
	border-style: inset;
}

fieldset {
	margin-bottom: 2px;
}

fieldset legend {
	color: black;
	background: #ccf;
	border: solid 1px;
	font-size: smaller;
}

/* This is the UI indicator of image regions being selected.  */
#zoomBox {
	color: black;
	background: red;
	position: absolute;
	z-index: 10;
	left: 0px;
	right: 0px;
	width: 0px;
	height: 0px;
}

#hlimage {
	text-align: center;
}

#hlimage img {
	cursor: crosshair;
}

a.annotation {
  position: absolute;
  border: 2px groove black;
  padding: 0;
  display: none;
}
a.annotation span {
  display: block;
  background: white;
  color: black;
  width: 100%;
  height: 100%;
}
a.annotation:hover {
  border-color: yellow;
}
img.annotated {
  border-width: 0;
}

input {
	background: white;
	color: black;
}

input[type="submit"], input[type="reset"], input[type="button"] {
	color: black;
	background: white;
	border-color: purple;
	border-style: outset;
	border-width: 2px;
	-moz-border-radius: 2em;
}

/* Magic error stuff */

.errors {
	background: inherit;
	color: #f00;
	font-weight: bold;
}

.errormagic a:hover .hiddenmagic {
	display: block;
}

/* Magic error stuff */
.errormagic a .hiddenmagic {
	white-space: pre;
	text-align: left;
	border: 1px solid black;
	margin-left: auto;
	margin-right: auto;
	padding: 1em;
   	position: absolute;
	top: 200px;
	left: 5px;
	width: 95%;
	text-decoration: none;
	display: none;
}

.selected {
	background-color: #ff9;
	color: inherit;
}

.kcSuggestions {
	text-align: left;
	margin: 0;
	padding: 0;
	border: 1px solid black;
	background-color: white;
	color: inherit;
	font-size: x-small;
	width: 250px;
	z-index: 10;
}

.kcSuggestions ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.kcSuggestions img {
	padding-right: 3px;
}

.cloudcontainer {
	padding: 10px 30px 10px 30px;
}

.cloud {
	margin-left: 5px;
	margin-right: 5px;
}

.cloud0 {
	background: inherit;
	color: blue;
    font-size: 200%;
}
.cloud1 {
	background: inherit;
	color: #22f;
    font-size: 150%;
}
.cloud2 {
	background: inherit;
	color: #44f;
    font-size: 100%;
}
.cloud3 {
	background: inherit;
	color: #77f;
    font-size: 70%;
}
.cloud4 {
	background: inherit;
	color: #aaf;
    font-size: 60%;
}

.readaccess {
	color: black;
	background-color: #7f7;
}
.writeaccess {
	color: black;
	background-color: #f77;
}

.message {
	margin-left: 2em;
	margin-right: 2em;
	margin-bottom: 1em;
	font-size: smaller;
	border: solid 1px black;
}

#ratings {
	margin-left: 2em;
	margin-right: 2em;
	font-size: smaller;
}

#ratings h2 {
	color: black;
	background: #ccf;
}

table.data {
	font-size: small;
	border: solid 1px;
	margin-left: 1em;
	border-collapse: collapse;
}

table.data th {
	border: solid 1px;
	background-color: #ccc;
}

table.data td {
	border: solid 1px;
}

.exc {
	color: red;
}

.excstack {
	display: none;
}

.exc:hover + .excstack {
	display: block;
	position: absolute;
	background: #cfc;
	border: solid blue 1px;
	margin-left: 20px;
	font-size: smaller;
	padding-left: 2em;
}

.searchcardinality {
  display: none;
}

a:hover + .searchcardinality {
  display: block;
  position: absolute;
  border: solid 1px black;
  background: white;
  left: 220px;
  z-index: 100;
  font-size: x-small;
}

a.deletelink:hover {
	background: white;
	color: inherit;
}

#messages {
	border: solid 1px blue;
	margin-top: 1em;
	font-size: smaller;
}

#messages p {
	padding: 0;
	padding-left: 20px;
	margin: 0;
	background: #eef;
	border-bottom: dotted 1px blue;
}

.variantlink {
	display: inline;
}

.defaultfield {
	color: #999;
}

