a {
  background-color: inherit;
  color: #000099;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

img {
  border: none;
}

img.icon {
  border: none;
  vertical-align: middle;
}

.error, .required {
  color: #ff0000;
}


/* Sidebar formatting. */
#sidebar div
{
  font-family: inherit;
  font-size: small;
  background-color: white;
  color: black;
  padding: 0;
}

#sidebar span
{
  padding: 0 5px;
}

#sidebar a {
  display: block;
  border-left: 5px solid #ffffff;
  text-decoration: none;
  padding: 1px 5px 1px 0;

  font-family: inherit;
  font-size: inherit;
  background-color: white;
  color: black;

}
#sidebar a:hover
{
  background-color: #eeeeee;
  border-left: 5px solid #cccccc;
}

#sidebar form {
  padding: 2px;
  margin: 0;
}

#sidebar label {
  margin: 1px 5px;
}

#sidebar input {
  font-family: inherit;
  font-size: x-small;
  border: 1px solid #666666;
  padding: 1px;
  margin: 1px 5px;
}

#sidebar h3
{
  border: 0;
  background-color: #cccccc;
  color: black;
  font-size: small;
  margin: 1em 0 0 0;
  padding: 0 5px;
}

#sidebar em
{
  display: block;
  border: 0;
  padding: 0 10px;
  font-size: x-small;
}

/* Main content. */
#content h3
{
  background-color: #eeeeee;
  width: 85%;
  padding: 2px;
}

#content p
{
  font-size: small;
  padding: 0 0.5em 0.5em 0.5em;
  margin: 0;
}

#content table
{
  text-align: left;
  font-size: small;
}

#content dl
{
  margin: 0 1em 0.5em 1em;
  font-size: small;
}

/* Basic table styles. */
table.grid
{
  border-collapse: collapse;
  margin: 0 0.5em;
}

thead.grid
{
  text-align: center;
  border-bottom: 2px solid black;
  background-color: #eeeeee;
}

td.grid
{
  border: 1px solid #999999;
  padding: 0.6ex 1ex;
}

/* Main form related styles. */
table.form
{
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 5px;
  width: 75%;
  background-color: #eeeeee;
  clear: right;
}

.form
{
  font-family: inherit;
  font-size: small;
  margin: 0;
}

#content h3.form /* id required to make it override #content h3 */
{
  margin: 15px 0 0 0;
  background-color: #cccccc;
  width: 100%;
}

input.form, textarea.form, select.form
{
  border: 1px solid #666666;
}

span.form
{
  font-weight: bold;
}

/* List styles. */
#listItems
{
  border-spacing: 0;
}

#listItems tr
{
  color: #000000;
  background-color: #ffffff;
}

#listItems td
{
  color: #000000;
  text-decoration: none;
  font-size: small;
  margin: 0;
  padding: 0.5ex;
}
#listItems span
{
  margin: 0 1em;
}

ul, ol
{
  font-size: small;
  margin-top: 0;
  margin-bottom: 0.8em;
}

.comment
{
  font-size: small;
  padding: 0 0.5em 1em 0.5em;
  margin: 0;
}

#infobox
{
  background-color: #eeeeee;
  border: 0;
  padding: 1ex;
  margin: 1ex;
  width: 75%;
}

#ratingSet
{
  font-size: small;
  padding: 0 0.5em 1.5em 0.5em;
  margin: 0;
}
#ratingSet input
{
  font-family: inherit;
  font-size: x-small;
  background-color: #cccccc;
  color: #333399;
  border: 1px solid #666666;
  padding: 1px;
  margin: 1px;
}

#ratingSet input:hover
{
  background-color: #eeeeee;
  cursor: pointer;
}

input.button
{
  font-family: inherit;
  font-size: x-small;
  background-color: #cccccc;
  color: #333399;
  border: 1px solid #666666;
  padding: 1px;
  margin: 1px;
  width: 6em;
}

input.button:hover
{
  background-color: #eeeeee;
  cursor: pointer;
}

select
{
  border: 1px solid #cccccc;
}

#pubFeatures, #photos
{
  padding: 0.5em 0.5em;
}

#pubFeatures p
{
  font-size: small;
  padding: 0 0 0.5em 0;
  margin: 0;
}

#photos a
{
  font-size: small;
  padding: 0.2em 0 0 0;
}

.small
{
  font-size: small;
}
