body {
  background: #E9E6D8;
  color: #37332d;
  font-family: "Helvetica", "Geneva", "Arial", sans-serif;
  font-size: 0.9em;
  line-height: 1.3em;
  margin: 0;
  padding: 0;
}

img {
  border: 0;
}

hr {
  border-width: 0;
  height: 0;
  border-top-width: 1px;
  border-style: solid;
  border-color: #92887c;
  margin: 0;
}

.clear {
  clear: both;
}

a {
  color: #5c554b;
}

a:visited {
	color: #8D8372;
}

a:hover {
	color: #b6a994;
}

a:active {
	color: #454038;
}

#content_left {
  float: left;
}

#content_right {
  float: left;
}

.wrapper {
  width: 925px;
  margin: 0 auto 0 auto;
}

#header {
  background: url("../images/header.png") repeat-x;
  width: 1010px; 
  height: 60px;
  position: relative;
}

#header img {
  margin: 9px 0 0 -7px;
  position: absolute;
}

#header ul {
  width: 490px;
  padding: 0;
  list-style-type: none;
  margin: 38px 0 0 0;
  float: right;
}

#header ul li {
  font-family: "Georgia", "Times New Roman", "Times", serif;
  font-size: 0.9em;
  float: left;
  text-align: center;
  width: 98px;
}

#header ul li a, #header ul li a:visited {
  color: #8D8372;
  text-decoration: none;
  background: url("../images/tabs.gif") 0 22px;
  display: block;
  padding: 2px 0 0 0;
  height: 20px;
}

#header ul li a:hover {
  background: url("../images/tabs.gif");
}

#footer {
  font-size: 0.9em;
  background: url("../images/header.png") repeat-x;
  border-top: 1px solid #92887c;
  width: 960px;
  margin: 0;
  padding: 15px 25px 15px 25px;
}

#footer a {
  color: #4e483f;
}

#footer a:hover {
  color: #686156;
}

#main {
  font-size: 1.3em;
  line-height: 1.3em;
  background: url("../images/main.png") repeat-x bottom #d22028;
  color: #fff;
  width: 915px;  
  padding: 50px 25px 25px 70px;
}

#main h1, #main p {
  margin: 0;
  color: #fff;
}

#main h1 {
  font-size: 1.5em;
  font-weight: normal;
  margin: 0 0 10px 0;
}

#main a {
  color: #fff;
}

#body h1 {
  font-family: "Georgia", "Times New Roman", "Times", serif;
  font-size: 1.5em;
  font-weight: normal;
  color: #5c554b;
  padding-top: 25px;
}

#body h2 {
  font-family: "Georgia", "Times New Roman", "Times", serif;
  font-size: 1.5em;
  font-weight: normal;
  color: #5c554b;
  margin: 15px 0 5px 0;
}

#body h3 {
  font-family: "Georgia", "Times New Roman", "Times", serif;
  font-size: 1.2em;
  font-weight: normal;
  color: #5c554b;
}

#body {
  background: url("../images/background01.png") repeat-x bottom #fffffe;
  padding: 40px 25px 25px 70px;
  width: 915px; 
  min-height: 600px;
}

#sorter {
  width: 1010px;
}

#sort {
  margin: 15px 40px 15px 0;
  float: right;
}

#sort_gallery {
  float: right;
  margin: 15px 175px 15px 0;
}

.photo, .photo_alternate {
  background: url("../images/background01.png") repeat-x bottom #fffffe;
  padding: 25px 25px 25px 75px;
  width: 910px;
}

.photo_alternate {
  background: url("../images/background02.png") repeat-x bottom #fffffe;
}

.photo_container {
  float: left;
  width: 645px;
}

.photo_meta {
  color: #82807c;
  float: left;
  width: 250px;
  margin: 0 0 0 25px;
  position: relative;
}

.photo_meta h1 {
  font-family: "Georgia", "Times New Roman", "Times", serif;
  font-size: 1.8em;
  line-height: 1.3em;
  font-weight: normal;
  color: #000;
  border-top: 2px solid #000;
  margin: 0;
  padding: 5px 0 0 0;
}

.photo_rating {
  border-top: 1px solid #b1afa7;
  border-bottom: 1px solid #b1afa7;
  padding: 10px 0 5px 0;
}

.photo_rating_left {
  float: left;
}

.photo_rating_right {
  float: right;
  font-weight: bold;
}

.vote_number {
  font-size: 1.5em;
}

.photo_meta_body {
  position: absolute;
  bottom: 0;
}

.navigation {
  float: right;
  font-size: 0.9em;
  margin: 5px 0 0 0;
}

ul.gallery {
  margin: 10px 0 0 0;
  padding: 0;
  list-style-type: none;
}

ul.gallery li {
  width: 120px;
  float: left;
  margin: 0 10px 20px 0;
}

.photo_details {
  font-size: 0.8em;
  color: #82807c;
  display: block;
}

#error {
  color: #fff;
  background: #d22028;
  display: block;
  padding: 10px;
  margin: 10px 0 10px 0;
}

#notice {
  color: #fff;
  background: #6cd227;
  display: block;
  padding: 10px;
  margin: 10px 0 10px 0;
}

ul.gallery li a {
  text-decoration: none;
}

a#gallery_link {
  font-size: 1.2em;
  margin: 10px 0 10px 0;
  display: block;
  float: right;
}

.photo_details:hover {
  color: #5C554B;
}

#ads_left {
  position: absolute; 
  margin: 20px 0 0 20px;
}

#search {
  display: inline;
}

#search_header {
  font-family: "Georgia", "Times New Roman", "Times", serif;
  font-weight: normal;
  font-size: 2em;
  margin: 0 0 30px 0;
}