* {
  font-family: Tahoma, Geneva, sans-serif;
  color: #000000;
}

body {
  text-align: center;
  background-image: url('/media/images/footer-6699ff.jpg');
  background-color: #6699ff;
  background-repeat: no-repeat;
  background-position: bottom;
  background-attachment: fixed;
}

pre {
  font-family: Monanco, monospace;
  font-size: small;
  overflow: hidden;
}

h1 {
  font-size: 2em;
  text-align: center;
}

.hidden {
  display: none;
  visibility: hidden;
}

.right {
  float: right;
}

.left {
  float: left;
}

.logo {
  float: right;
  margin: .5em;
  color: #ffffff;
  font-size: 4em;
  font-weight: bold;
}

#full-page {
  width: 960px;
  margin: 1em auto 1em auto;
  border: 0;
  border: 1px solid black;
  background-color: #ffffff;
  text-align: left;
}

#header {
  position: absolute;
  bottom: 0px;
  height: 800px;
  overflow: hidden;
  background-color: #6699ff;
  background-image: url('/media/images/footer-6699ff.jpg');
  background-repeat: no-repeat;
  background-position: center;
  display: none;
}

#nav {
  display: block;
  overflow: auto;
  width: 100%;
}

#nav ul {
  display: inline;
}

#nav li {
  float: left;
  display: inline;
  width: 6em;
}

#nav li a {
  display: block;
  padding: .5em;
  background-color: #ffffff;
  background-image: url('/media/images/nav-bg.png');
  background-repeat: repeat-x;
  background-position: bottom;
  text-decoration: none;
  text-align: center;
  color: #888888;
}

#nav li a:hover {
  background-image: url('/media/images/nav-bg-hover.png');
  background-position: top;
}

#nav .left li {
  border-right: 1px solid #888888;
  border-bottom: 1px solid #888888;
}

#nav .right li {
  border-left: 1px solid #888888;
  border-bottom: 1px solid #888888;
}

#login {
  display: block;
  top: -2em;
  float: right;
  position: relative;
  margin-top: -1px;
  padding: .5em;
  border-left: 1px solid #888888;
  border-bottom: 1px solid #888888;
}

#login a {
  margin: .5em;
  text-decoration: none;
  text-align: center;
  color: #888888;
}

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

#login-form {
  width: 100%;
}

#login-form table {
  margin: 0 auto;
  border: 1px solid #dddddd;
}

#login-form table tr.header {
  border-bottom: 1px solid #dddddd;
  text-align: center;
}

.login-table th,
.login-table td {
  padding: .5em;
}

#content {
  padding: 2em;
}

#user-messages {
  margin: 0 0 1em 0;
  border: 1px solid #bebe00;
  padding: 1em;
  background-color: #ffffaa;
}

#user-messages li {
  color: #808000;
}

ul.galleries,
ul.galleries li {
  display: inline;
}

fieldset {
  border: 1px solid black;
  padding: .5em;
  margin: 1em;
}

fieldset legend {
  padding-left: .5em;
  padding-right: .5em;
}

#gallery-form,
#gallery-form table,
#gallery-form table tbody {
  width: 100%;
}

#gallery-form table tr {
  height: 2em;
}

#gallery-form th {
  width: 10em;
  vertical-align: top;
}

#gallery-form td select,
#gallery-form td textarea,
#gallery-form td input {
  width: 40em;
  margin: 0;
  padding: 0;
  border: solid 0 #ffffff;
  background-color: transparent;
}

#gallery-form td select {
  background-color: #ffffff;
}

#gallery-form td textarea,
#gallery-form td input {
  background: url('/media/images/underline.png');
}

#gallery-form td textarea {
  border: solid 1px #666666;
}

#gallery-form td input {
  border-bottom: solid 1px #666666;
}

#gallery-form input#submit {
  height: 4em;
  width: 30%;
  margin-left: 35%;
  margin-right: 35%;
  margin-top: 2em;
  border: 1px solid #666666;
  background-color: #aaaaaa;
}

#gallery-form input[disabled="disabled"]#submit {
  background-color: #222222;
}

div.message_info {
  margin: .5em;
  overflow: hidden;
}

div.message_info dl dt {
  float: left;
}

div.message_info dl dd {
  float: right;
}

div.message_info dl dd.sep {
  float: left;
  width: 100%;
  border-top: 1px;
  border-style: dashed;
  height: 1px;
  margin: .5em 0;
}

table.weight-data {
  text-align: center;
  width: 100%;
}

table.weight-data th {
  width: 15em;
  border: 1px solid #8888cc;
  padding: .5em;
  background-color: #ddddff;
}

table.weight-data img,
table.weight-data tr,
table.weight-data th,
table.weight-data td {
  vertical-align: middle;
}

table.weight-data img.small {
  height: 32px;
  width: 32px;
}

table.weight-data img.large {
  display: none;
  visibility: hidden;
  position: absolute;
}

table.weight-data img.large:hover {
  height: 128px;
  width: 128px;
  display: block;
  visibility: visible;
  z-index: 50;
}

#weight-container {
  width: 100%;
  display: block;
  overflow: auto;
  padding-bottom: 1em;
  margin-bottom: 1em;
}

#weight-graph {
  width: 680px;
  height: 300px;
  float: left;
}

#weight-graph-legend,
#latest-fold {
  float: right;
  width: 150px;
  margin-top: 6px;
  border: 1px solid black;
  padding: 1em;
}

#weight-graph-legend h2,
#latest-fold h2 {
  margin-bottom: .5em;
  border-bottom: 1px dashed black;
  padding-bottom: .5em;
  text-align: center;
}

#weight-graph-legend img,
#latest-fold img {
  display: block;
  margin: 0 auto;
}

#fold-by-name ul,
#fold-by-name li {
  padding-left: 16px;
  text-decoration: none;
}

#fold-calendar table {
  text-align: center;
}

#fold-calendar table.month {
  margin: 1em;
}

#fold-calendar th {
  padding: .25em;
}

#fold-calendar th.year {
  font-size: x-large;
  border-bottom: 1px solid #eeeeff;
}

#fold-calendar th.month {
  font-weight: normal;
  font-size: medium;
  border-bottom: 1px solid #ddddff;
}

#fold-calendar th {
  font-weight: normal;
  font-size: small;
  border-bottom: 1px solid #ccccff;
}

#fold-calendar .month td {
  font-size: small;
}

#fold-calendar td a {
  text-decoration: none;
}

#fold-calendar td a:hover {
  text-decoration: underline;
}

#fold-calendar td.no-fold {
  color: #aaaaaa;
}

#fold {
  width: 100%;
  display: block;
  overflow: hidden;
}

#fold h1 {
  margin-bottom: .5em;
  border-bottom: 1px dashed black;
  padding-bottom: .5em;
  text-align: center;
}

#fold h2 {
  text-align: center;
  margin: 1em;
}

#fold-image {
  width: 512px;
  float: left;
}

#fold-image img {
  display: block;
  margin: 0 auto;
}

#fold-other-images,
#fold-base,
#fold-derived {
  float: right;
  width: 320px;
  border: 1px solid black;
  border-top: 0;
  padding: 1em;
}

#fold-other-images h3,
#fold-base h3,
#fold-derived h3 {
  margin-bottom: .5em;
  border-bottom: 1px dashed black;
  padding-bottom: .5em;
}

#fold-other-images ul,
#fold-base ul,
#fold-derived ul,
#fold-other-images li,
#fold-base li,
#fold-derived li {
  display: inline;
}

#fold-other-images {
  border: 1px solid black;
}

#fold-other-images h2 {
  margin: 0em;
}

#fold-other-images ul {
  padding: 0;
}

#links {
  width: 100%;
  overflow: hidden;
  margin: 1em 0 0 0;
  border: 0;
  padding: 0;
}

#links ul,
#links ul li {
  display: inline;
  float: right;
}

div#fold-date-nav {
  width: 100%;
  display: block;
  overflow: hidden;
  border-bottom: 1px solid #aaaaaa;
}

#fold-date-nav {
  margin-bottom: .25em;
  border: 0;
  padding-bottom: .25em;
}

#fold-date-nav a {
  text-decoration: none;
  color: #aaaaaa;
  font-size: small;
}

#fold-date-nav .previous-day {
  float: left;
}

#fold-date-nav .next-day {
  float: right;
}

#origami-legend {
  float: right;
  background-image: url('/media/images/origami-legend-button.png');
  background-position: -32 0;
  background-repeat: no-repeat;
  position: absolute;
  right: 0;
  top: 1em;
  width: 527px;
  height: 95%;
  padding-left: 32px;
  overflow: hidden;
}

#origami-legend h2 {
  padding: 8px;
  background-color: #ffffff;
}

#origami-legend .image-holder {
  overflow: auto;
  height: 100%;
}

#album-thumbnails {
  padding: 12px;
}

#album-thumbnails ul {
  display: inline;
}

#album-thumbnails li {
  display: inline;
}

#album-thumbnails .thumbnail {
  width: 64px;
  height: 64px;
  margin: 2px 0 2px 0;
  border: 1px solid #888888;
  padding: 2px;
}

#photo {
  width: 100%;
  display: block;
  overflow: hidden;
}

#photo-image {
  float: right;
  width: 522px;
  height: 528px;
}

#photo-image img {
  display: block;
  padding: 4px;
  border: 1px solid #cccccc;
  margin: 0 auto 4px auto;
}

#photo-image div.links {
  font-size: small;
  color: #888888;
  float: right;
}

#photo-image div.links a {
  color: #888888;
  text-decoration: none;
}

#photo-image-meta {
  width: 596px;
  float: right;
  display: inline;
}

#photo-image-meta img {
  display: block;
  padding: 4px;
  border: 1px solid #cccccc;
  margin: 0 auto 4px auto;
}

div.meta-chunk {
  width: 290px;
  display: inline;
  float: left;
  margin: 4px;
}

div.meta-chunk table.meta-data {
  font-size: small;
  border: 1px solid #aaaaaa;
}

div.meta-chunk table.meta-data td,
div.meta-chunk table.meta-data th {
  width: 50%;
  padding: .5em;
  border-bottom: 1px solid #aaaaaa;
}

div.meta-chunk h2 {
  margin-bottom: .5em;
  border-bottom: 1px dashed black;
  padding-bottom: .5em;
  text-align: center;
}