body {
  margin: 10px 0px;
  padding: 0px;
  background-color: #171d22;
  text-align: center;
  color: #CCCCCC;
  font-family: Arial;
  font-size: 0.75em;
  background-image: url(img/bg.png);
  background-repeat: no-repeat;
  background-position: center 20px;
  background-attachment: fixed;
}

img.clear, div.sub img.clear {
  border: none;
}

h2 a {
  color: #FFFFFF;
  text-decoration: none;
}

h3 a, h4 a {
  color: #CCCCCC;
  text-decoration: none;
}

h2 {
  margin: 0px;
  border-bottom: 1px solid #FFFFFF;
  padding-bottom: 2px;
  margin-bottom: 5px;
  color: #FFFFFF;
}

h3 {
  margin: 0px;
  border-bottom: 1px solid #999999;
  padding-bottom: 2px;
  margin-bottom: 5px;
}

h4 {
  border-bottom: 1px dotted #999999;
  padding-bottom: 2px;
  margin-bottom: 5px;
}

a {
  color: #CCCCCC;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

#body {
  width: 790px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
  overflow: hidden;
}

#body div.l {
  float: left;
  width: 560px;
}

div.box {
  overflow: hidden;
}

#body div.r {
  float: right;
  width: 230px;
}

#body div.r div.box, #body div.l div.box, #nav, #footer {
  padding: 5px;
  border: 1px solid #566069;
  background-color: #364049;
  margin: 5px;
}

#nav {
  width: 770px;
  overflow: hidden;
}

#nav div.fl span {
  font-size: 23px;
  font-weight: bold;
}

#footer {
  clear: both;
  text-align: center;
}

#gallery {
  list-style-type: none;
  list-style-image: none;
  margin: 0px;
  padding: 0px;
}

#gallery li {
  float: left;
  width: 160px;
  height: 160px;
  text-align: center;
  float: left;
  padding: 4px;
  margin: 4px;
  border: 1px solid #566069;
}

#gallery li div {
  display: table-cell;
  height: 162px;
  width: 162px;
  vertical-align: middle;
}

#gallery li div img {
  border: none;
}

#picture img {
  width: 500px;
  border: 1px solid #666666;
}

#exif table {
  width: 100%;
}

#exif table tr th {
  font-weight: bold;
  text-align: left;
  width: 100px;
}

#exif table tr td {
  color: #666666;
  text-align: left;
}


.b {
  font-weight: bold;
}

.highlighted {
  font-weight: bold;
  text-decoration: underline;
  font-size: 1.25em;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

div.sub {
  overflow: hidden;
}

div.sub img {
  border: 1px solid #CCCCCC;
}

div.sub div.date {
  font-weight: bold;
  font-size: 0.75em;
  border-top: 1px solid #CCCCCC;
  margin-top: 2px;
  padding-top: 2px;
  margin-bottom: 10px;
  text-align: right;
}

div.sub_last div.date {
  margin-bottom: 0px;
}

/* Twitter */

div.twitter ul {
  margin: 0px;
  padding: 0px;
}

div.twitter ul li {
  list-style-type: none;
  list-style-image: none;
  padding: 5px;
  border-bottom: 1px solid #CCCCCC;
}

div.twitter ul li span {
  display: block;
}

div.twitter ul li a {
  text-align: right;
  display: block;
  color: #999999;
  font-style: italic;
}

div.twitter ul li span a {
  display: inline;
  text-align: justify;
  color: #CCCCCC; 
}
