/* -*-css-*- */

body {
  font-family: "Dejavu Sans", "Bitstream Vera Sans", sans-serif;
  margin: 0;
  padding: 0;
  color: #222;
  background-color: white;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Dejavu Sans Condensed", "Bitstream Vera Sans", sans-serif;
}

h1 { font-size: 1.30em; margin-top: 0; margin-bottom: 0.4em; }
h2 { font-size: 1em }
h3 { font-size: 0.95em }
h4 { font-size: 1.15em }
h5 { font-size: 1.10em }
h6 { font-size: 1.00em }

a:link { color: #b75b26; background: transparent; }
a:visited { color: #774f38; background: transparent; }
a:active { color: #ff9b0f; background: transparent; }
a.hidelink:hover { background: transparent; }

img {
   border: none;
}

h2 + p, ul {
   margin-top: 0.2em;
}

h2.picture {
   margin-bottom: 0;
}

h2.series {
   margin-bottom: 0;
}

#stripe {
  padding-top: 0.7em;
  padding-left: 0.8em;
  padding-bottom: 0.5em;
  margin-bottom: 0.75em;
  border-bottom: 1px dashed #eee;
  background-color: #f8f8f8;
  font-size: 1.1em;
}

#stripe a {
  margin: 0;
}

#stripe a img {
  margin: 0;
}

#content {
  margin-left: 0.22em;
  margin-right: 5.2em;
  padding-left: 1em;
  padding-right: 1em;
  padding-bottom: 0.25em;
  color: #222;
  background-color: white;
  font-size: 0.875em;
  line-height: 1.33;
}

#nav {
  position: absolute; /* instead of 'fixed' which MSIE 6 does not understand, apparently */
  top: 0;
  right: 0;
  background-color: #eee;
  font-size: small;
  margin: 0;
  padding: 0;
}

ul.nav { 
  padding: 0;
  margin: 0;
}

ul.nav li { 
  padding: 0;
  margin: 0;
}

ul.nav li a {
  display: block;
  padding: 7px;
  width: 4.5em;
  color: #222;
  background-color: #eee;
  text-decoration: none;
  border-left: 3px dashed #eee;
}

ul.nav li a:hover {
  color: inherit;
  background: #ddd;
}

div.frontpage { 
  padding-top: 1em;
}

div.frontpage a { 
  color: #eee;
  text-decoration: none;
}

div.frontpage a:hover { 
  color: #777;
}

div.frontpage+div.picturetext a {
  color: #222;
  text-decoration: none;
}

div.frontpage+div.picturetext a:hover {
  text-decoration: underline;
}

div.current img { 
  background: #eee;
  padding: 0.5em;
  border: 1px solid #aaa;
}

.siteinfo {
   color: gray;
   background: transparent;
   font-size: small;
}

h3.records  { font-size: 0.95em; margin-bottom: 0 }

div.series {
   float: left;
   margin: 0.3em;
   padding: 0.3em;
   border: 1px solid #eaeaea;
   color: #222;
   background-color: #fcfcfc;
   text-align: center;
   width: 145px;
   min-height: 10.25em;
}

div.series p {
   margin-top: 0.1em;
   margin-bottom: 0;
   padding: 0;
   font-size: small;
}

div.series img {
   padding: 0;
   margin-top: 0.3em;
}

div.spacer {
   clear: both;
   padding-bottom: 0.1em;
}

div.series:hover {
   color: #222;
   background: #f8f8f8;
   border: 1px solid #e2e2e2;
}

div.series a {
   text-decoration: none;
   color: #222;
   background: transparent;
}

div.series a:hover {
   background-color: transparent;
}

div.seriesfrontpage { 
  width: 640px;
  margin-top: 3em;
  margin-left: auto;
  margin-right: auto;
}

div.seriesfrontpage div.series { 
  width: auto;
  padding: 0.5em;
  margin-left: 2em;
  margin-right: 1.65em;
  min-height: 0;
}

div.picturethumb {
   float: left;
   margin-top: 2px;
   margin-left: 2px;
   margin-bottom: 4px;
   margin-right: 4px;
   padding-top: 4px;
   padding-left: 5px;
   padding-right: 5px;
   border: 1px solid #eaeaea;
   background-color: #fcfcfc;
   text-align: center;
}

div.picturethumb:hover {
   background: #f8f8f8;
   border: 1px solid #f8f8f8;
}

div.picturethumb img {
   padding: 0;
}

div.picturethumb p {
   margin-top: 0;
   margin-bottom: 0.2em;
   padding-top: 0;
   font-size: small;
   width: 196px;
}

div.nav {
   text-align: center;
   color: #c8c8c8;
   background: transparent;
   line-height: 0.8;
   margin-bottom: 0.30em;
}

.inactive {
   color: #c0c0c0;
   background: transparent;
}

a.inactive {
   color: #c0c0c0;
   background: transparent;
   text-decoration: none;
}
   
div.nav a {
   text-decoration: none;
}

div.nav a:hover {
   background-color: yellow;
   color: #774f38;
}

div.picture {
   text-align: center;
}

.desc {
   font-size: small;
   color: #222;
   background: transparent;
   text-align: center;
}

p.trivia {
   font-size: small;
}

div.comment {
   font-size: small;
   margin: 1em;
   padding: 0.5em;
   border: 1px solid #d3d3d3;
}

.preview {
   color: inherit;
   background-color: #fffdea;
}

form.commentpreview {
   margin-top: -0.5em;
   margin-left: 1em;
}

div.picturetext {
   text-align: center;
   margin-bottom: 0.45em;
}

div.pictureoptions {
   margin-top: 0.25em;
   font-size: small;
   text-align: center;
}

div.pictureinfo {
   margin-top: 0.5em;
   margin-bottom: 0.5em;
}

div.pictureinfo img {
   float: left;
   padding: 8px;
   margin-right: 1em;
   margin-bottom: 1em;
   border: 1px solid #d3d3d3;
}

th {
   text-align: right;
}

table.exif {
   font-size: small;
}

table.exif tr td, table.exif tr th { 
  vertical-align: top;
}

form.comment {
   display: none;
   margin-top: 1em;
}

form.comment table {
   margin-left: auto;
   margin-right: auto;
   padding-left: 0.5em;
   padding-right: 0.5em;
   padding-bottom: 0.25em;
   border: 1px solid #d3d3d3;
}

form.comment td {
   vertical-align: top;
}

input, textarea {
   border-width: 1px;
}

.right {
   text-align: right;
}

input.submitbutton {
   margin-top: 2px;
   margin-right: 2px;
   padding: 0.125em;
}

ul {
   list-style: none;
   padding-left: 1em;
}

#adminmenu { 
  position: fixed;
  right: 0;
  bottom: 0;
  font-size: small;
  margin: 0;
  padding: 0;
}

div.edit { 
  clear: both;
  margin-top: 0.3em;
  margin-left: 0.9em;
}

div.edit input, div.edit textarea { 
  margin-bottom: 0.3em;
}

div.edit input[type=submit] { 
  margin-top: 0.6em;
}

div.elapsed:hover { 
  color: #aaa;
}

div.elapsed { 
  position: fixed;
  bottom: 1em;
  color: white;
  margin-left: 0.22em;
  padding-left: 1em;
  font-size: x-small;
}

img.selected { 
  border: 2px solid #777;
  padding: 2px;
}

img.notselected { 
  padding: 4px;
}