body {
  margin: 0 0;
  background-color: #060200;
}

h1,h2,h3,h4,h5,h6,fieldset legend { 
  font-family: Optima, Times, "Times New Roman", sans-serif;
}

h1 { margin: 1.2em 0 40px; }
h2 { margin-top: 0.75em; }
h3 { margin-top: 1em; }
h4 { margin-top: 1.25em; }
h5 { margin-top: 1.5em; }
h6 { margin-top: 1.5em; }

.posts h1 {
	margin: 1.2em 0 0 0;
}

.posts h2 {
	line-height: 1.2em;
	margin-bottom: 0.25em;
}

fieldset legend {
  font-size: 1.5em; 
  line-height:2;
}

a {
  text-decoration: none;
}

a:hover {
  color: #ff0000;
  text-decoration: underline;
}

h2 a {
	color: #111;
}

img {
  /* grid.css has img { margin: 0 0 1.5em 0; }, which while correct for body images, is a PITA otherwise */
  margin: 0;
}

div.notice {
  font-weight: bold;
  padding: 0.35em 0.40em 0.25em 0.40em;
  margin: 0.37em 48px	;
  border: 0.08333em solid #00cc00;
  background: #ccffcc;
}

div.error {
  font-weight: bold;
  padding: 0.35em 0.40em 0.25em 0.40em;
  margin: 0.37em 48px;
  border: 0.08333em solid #cc0000;
  background: #ffcccc;
}

div.header {
	width: 982px;
	height: 64px;
  background-color: #222222;
}

div#container {
  background-color: white;
}

div.footer {
	clear: both;
  background-color: black;
  border-top: 1px solid #666666;
  padding: 1.5em 46px;
  font-size: 80%;
  color: #999999;
}

div.footer author {
  display: block;
}

div.footer author img {
  display: block;
  float: right;
}

div.heading {
  margin: 0 48px;
}

div.photo_date {
	font-style: italic;
	color: #666;
}

div.posted_at {
	font-style: italic;
	color: #666;
}

div.posts div.posted_at {
	float: right;
	font-size: 80%;
	line-height: 180%;
	color: #888;
}

div.document div.posted_at {
	margin-bottom: 1em;
}

div.comments {
  margin: 0;
  padding-bottom: 1.5em;
  border-top: 1px solid #cccccc;
  background-color: #eeeeee;

  width: 886px;
  padding: 0 48px 24px;
}

div.comments ul {
  list-style: none;
  margin: 1.5em -22px 0;
  padding: 0;
  border: 0;
  outline: 0;
}

div.comments ul li {
  border-top: 0.08333em dotted #999999;
  padding: 1.458335em 22px;
}

div.comments ul li p {
  margin: 1.5em 0 0 0;
}

div.comments ul li.even {
  background-color: white;
}

div.comments ul li author {
  font-weight: bold;
}

div.commented_at {
	float: right;
	font-size: 80%;
	line-height: 160%;
	font-style: italic;
	color: #666;
}


form div.required,
form div.optional {
  clear: both;
}

form label {
  display: block;
  float: left;
  width: 5.8333em;
  line-height: 2em;
  height: 3em;
}

form div.required label {
  font-weight: bold;
}

form div.optional label {
  font-weight: normal;
}

form input {
  width: 256px
}

form textarea {
  width: 396px;
  height: 120px;
}

form input.submit {
  margin-top: 1em;
  width: 10em;
  height: 2em;
  border: 0.0833px solid #333333;
  background-color: #cccccc;
}

form span.note {
  font-size: 90%;
}

#errorExplanation {
  width: 466px;
  border: 2px solid red;
  margin: 1em 0;
  background-color: #f0f0f0;
}

#errorExplanation h2 {
  font-weight: bold;
  font-size: 1.2em;
  margin: 0;
  padding: 0.2em;
  background-color: #c00;
  color: #fff;
}

#errorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 0.5em;
}

#errorExplanation ul {
  margin: 0 0 0.5em 2em;
}

#errorExplanation ul li {
  list-style: square;
}

form .fieldWithErrors {
  display: inline;
}

form .fieldWithErrors input,
form .fieldWithErrors textarea {
  background-color: #ffcccc;
}

div.photo_sidebar div {
	display: inline-block;
}

.next_photo {
	margin-left: 8px;
}

div.photo_sidebar a.more_photos {
  display: block;
  font-size: 120%;
  line-height: 2em;
  margin-bottom: 1.5em;
}

div.photos {
	padding: 0 48px;
}

div.photo_actions,
div.document_actions,
div.photos_actions {
	clear: both;
	padding: 0 48px;
  line-height: 3em;
}

div.photos div.tags {
  margin-bottom: 1.5em;
}

div.tags ul {
  margin-left: 0;
  list-style-type: none;
}

div.tags li {
}

div.inbound_tags {
	float: left;
	width: 490px;
}

div.inbound_tags ul {
	list-style-type: square;
}

table.photos {
  border: 0;
  margin: -1.5em 0 1.5em;
  padding: 0;
  border-collapse: collapse;
}

table.photos th {
  border: 0;
  padding: 3em 0 0 0;
  width: 264px;
  text-align: justify;
  vertical-align: bottom;
  font-size: 1.2em;
  line-height: 1.25em;
}

table.photos td {
  border: 0;
  margin: 0;
  padding: 0;
  width: 264px;
  text-align: center;
  vertical-align: top;
}

table.photos th.hidden,
table.photos td.hidden {
	background-color: #f7eeee;
}

table.photos td.hidden img {
	opacity: 0.6;
}

table.photos .middle {
  padding: 0 47px;
}

div.photos_actions {
  line-height: 3em;
  margin-bottom: 1.5em;
}

div.photos {
	margin-bottom: 1.5em;
}

div.posts, div.document, div.photo {
  float: left;
  margin: 0 0 48px 0;
  padding: 0 48px;
}

div.document {
	width: 832px;
	margin-bottom: 0;
}

div.segment_body {
	width: 538px;
}

div.posts {
	width: 610px;
	margin-bottom: 60px;
}

div.photo {
	width: 640px;
}

div.posts div.post h2 {
	clear: none;
	padding-top: 0.2em;
}

div.posts p {
	margin: 0 0 0.25em 0;
}

div.posts_sidebar {
  float: left;
  margin: 0;
  padding: 8.1em 48px 3em 48px;
	width: 180px;
}

div.posts_sidebar div.recent_photos div {
	float: left;
}

div.posts_sidebar div.recent_photos a.more_photos {
  display: block;
  font-size: 120%;
  line-height: 2em;
  margin-bottom: 1.5em;
}

div.posts_archive ul {
	list-style: square;
}

div.segment {
	float: left;
	margin-bottom: 2em;
}

div.document_sidebar,
div.segment_photos {
	clear: right;
	float: right;
	width: 300px;
	margin-right: -348px;
}

div.segment_photos div.segment_photo {
	float: left;
	width: 150px;
	height: 112px;
	overflow: hidden;
}

div.segment_photos div.segment_photo div {
	position: relative;
	top: 56px;
	left: 75px;
}

div.segment_photos img {
	position: absolute;
	top: -50%;
	left: -50%;
}

div.segment_photos .title {
	display: none;
}

div.segment_photos div.segment_photo.pop {
	overflow: visible;
}

div.segment_photos div.segment_photo.pop img {
	border: 1px solid black;
	padding: 6px;
	margin: -7px;
	background-color: white;
	z-index: 2;
}

div.segment_photos div.segment_photo.pop .title {
	display: none;
}

div.photo_sidebar {
  float: left;
  margin: 48px 48px 48px 0;
	width: 198px;
}

.widgets {
	clear: right;
	float: right;
	width: 525px;
	margin-right: -348px;
	margin-left: 48px;
}

.map_widget {
	height: 320px;
	margin-bottom: 1.5em;
	clear: both;
}

.published_from {
	margin-top: 4.5em;
	margin-right: 6em;
	margin-bottom: 3em;
}

blockquote  { font-style: normal; }

.paginator {
  margin: 0;
  list-style-type: none;
  line-height: 2em;
}

.paginator nav {
  display: inline;
}

.paginator span a {
	padding: 2px 4px;
	border: 1px solid #ccc;
	text-decoration: none;
}

.paginator span a:hover {
	background-color: #eee;
	color: #0a35ff;
}

.paginator span a.current,
.paginator span a.current:hover {
	border: 1px solid #444;
	background-color: #666;
	color: white;
}

dl dd {
	margin-left: 1em;
	margin-bottom: 0.5em;
}


pre  { background: #f7f7f7; border:0.1em solid #eee; padding:1.0em; }
code { font-size: 1.0em; }

code span.ident, code span.keyword { color: #0000ff; }
code span.constant { color: #7777ff; }
code span.method { color: #000077; }
code span.string { color: #009900; }
code span.attribute { color: #007777; }

.development {
	font-size: 120%;
	font-weight: bold;
	color: white;
	background-color: red;
	padding: 8px;
	position: fixed;
	bottom: 0;
}

#photo_popup_mask {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: black;
	filter:alpha(opacity=75);
	-moz-opacity: 0.75;
	opacity: 0.75;
}

#photo_popup_contents {
	position: absolute;
	left: 0px;
	top: 20px;
	border: 1px solid black;
	background-color: white;
	padding: 10px;
	font-size: 80%;
	font-family: Verdana, Helvetica, Arial, sans-serif;
	line-height: 1.0;
	text-align: left;
}

#photo_popup_photo {
	margin-bottom: 8px;
}

#photo_popup_actions {
	float: right;
}
