/**
  * main.css
  * primary css for ashotapart
  * author nschaden
  * 
  * Contents:
  * Global
  * Header
  * Footer
  * Photo Container
  * Photo Comments
  * Archive
  * About
  */

/*=Global
 *---------------------------------------------------------------------*/

body {
	background: #222;
	color: #898989;
	font-family: helvetica,arial,sans-serif;
	font-size: 10px;
	text-transform: lowercase;
}

body a {
/*	color: #095794;*/
	color: #0a67ad;
	text-decoration: none;
}

body a:hover {
	color: #0c76c7;
}

.clear {
	clear: both;
	height: 1px;
}

h1 {
	color: #dedede;
	font-size: 30px;
	font-weight: 200;
	margin: 10px 0;
}

h2 {
	color: #dedede;	
	font-size: 24px;
	font-weight: 200;	
	margin: 10px 0;
}

p {
	font-size: 12px;
	line-height: 1.4em;
}

/*=Header
 *---------------------------------------------------------------------*/

#header {
	display: block;
	text-align: left;
	height: 30px;
	margin: 10px 20px 20px 20px;
	min-width: 900px;
	background: #393939 url(../images/nav_bg.png) repeat-x;
	background-image: -moz-linear-gradient(100% 100% 90deg, #292929, #393939);
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#393939), to(#292929));
	border-radius: 0.5em;
	-moz-border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	
}

#header h1 {
	float: left;
	margin: 0;
	padding: 0;
}
#header h1 a {
	background: #393939 url(../images/header.png) no-repeat;
	display: block;
	text-indent: -9999em;
	width: 141px;
	height: 30px;
	margin-left: 10px;
}

#header .nav {
	display: block;
	float: right;
	list-style-type: none;
}

#header .nav li {
	display: block;
	float: left;
	border-right: 1px #464646 solid;
	position: relative;
}

#header .nav li.break {
	margin-right: 30px;
	border-right: none;
}

#header .nav li.last {
	border-right: none;
}

#header .nav li a, #header .nav li.inactive {
	display: block;
	line-height: 3em;
	padding: 0 10px;
	margin: 0;
	position: relative;
	text-decoration: none;
	text-transform: uppercase;
	z-index: 10;
}

#header .nav li a {
	color: #898989;
}

#header .nav li.inactive {
	color: #464646;
}

#header .nav li a.active {
	color: #a9a9a9;
}

#header .nav li .bg {
	background: #095794;
	background-image: -moz-linear-gradient(100% 100% 90deg, #084c80, #095794);
	display: none;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	position: absolute;
	z-index: 5;
}

#header .nav li.last a, #header .nav li.last .bg {
	border-top-right-radius: 0.5em;
	border-bottom-right-radius: 0.5em;
	-moz-border-radius-topright: 0.5em;
	-moz-border-radius-bottomright: 0.5em;
	-webkit-border-top-right-radius: 0.5em;
	-webkit-border-bottom-right-radius: 0.5em;
}

/*=Footer
 *---------------------------------------------------------------------*/

#footer {
	margin: 20px auto 0 auto;
	position: relative;
	text-align: center;
}

#footer p {
	border-top: 1px solid #292929;
	display: inline;
	font-size: 1em;
	padding: 10px 40px;
}

#footer .status p {
	display: block;
	font-size: 11px;
	width: 500px;
	margin: 5px auto;
	padding: 10px 0;
	position: relative;
}

/*=Photo Container
 *---------------------------------------------------------------------*/

#container_photo {
	margin: 0 auto;
	position: relative;
	width: 900px;
}

#container_photo img.mainphoto {
	display: block;
	height: 600px;
	position: relative;
	width: 900px;
	z-index: 1;
	margin: 0 auto;
}

#container_photo img.mainphoto.customdim {
	width: auto;
	height: auto;
}

#container_photo a.navlink {
	color: #4B515D;	
	font-size: 1.1em;
	padding: 5px;
}

#container_photo a.navlink:hover {
	color: #095794;
}

a#browse_prev {
	float: left;
}

a#browse_next {
	float: right;
}

#container_photo .details {
	bottom: 10px;
	display: none;
	position: absolute;
	width: 880px;
	margin: 0 10px;
	border-radius: 0.5em;
	-moz-border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	z-index: 20;
}

#container_photo .details .bg {
	background: #000;
	display: block;
	height: 28px;
	-moz-opacity: 0.7;
	opacity: 0.7;
	filter: alpha(opacity=70);
	position: absolute;
	width: 880px;
	z-index: 1;
	left: 0;
	top: 0;
	border-radius: 0.5em;
	-moz-border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
}

#container_photo .details .fg {
	color: #dedede;
	display: block;
	float: left;
	font-size: 1.2em;
	line-height: 1.5em;
	-moz-opacity: 1;
	opacity: 1;
	filter: alpha(opacity=100);
	padding: 5px;
	position: relative;
	text-align: left;
	z-index: 5;
}

#container_photo .details .comments {
	float: right;
	border-left: 1px #393939 solid;
}

#container_photo .hoverlink {
	background: url(../images/trans.gif) repeat;	
	display: block;
	height: 100%;
	position: absolute;
	width: 33%;
	top: 0;
	z-index: 15;
}

*:first-child+html #container_photo .hoverlink {
	background: url(../images/trans.gif) repeat;
}

* html #container_photo .hoverlink {
	background: url(../images/trans.gif) repeat;
}

#hover_prev.hoverlink {
	left: 0;
}

#hover_next.hoverlink {
	right: 0;
}

#container_photo .hoverlink .bg, #container_photo .hoverlink .fg {
	background: #000;
	display: none;
	height: 50px;
	left: 10px;
	position: absolute;
	width: 50px;
	top: 50%;
	z-index: 1;
	border-radius: 0.5em;
	-moz-border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
}

#container_photo .hoverlink .bg {
	background: #000;
	-moz-opacity: 0.7;
	opacity: 0.7;
	filter: alpha(opacity=70);
	z-index: 1;
}


#container_photo .hoverlink .fg {
	background: url(../images/arrow_prev.png) no-repeat center center;
	color: #dedede;
	text-indent: -9999em;
/*	position: relative;*/
	z-index: 5;
}

* html #container_photo .hoverlink .fg {
	background: url(../images/arrow_prevopaque.png) no-repeat center center;
}

#container_photo #hover_next.hoverlink .bg, #container_photo #hover_next.hoverlink .fg {
	right: 10px;
	left: auto;
}

#container_photo #hover_next.hoverlink .fg {
	background: url(../images/arrow_next.png) no-repeat center center;
}

* html #container_photo #hover_next.hoverlink .fg {
	background: url(../images/arrow_nextopaque.png) no-repeat center center;
}

#container_nav {
	margin: 5px auto;
	position: relative;
	width: 900px;
}

/*=Photo Comments
 *---------------------------------------------------------------------*/

#comments {
	position: absolute;
	padding: 0;
	background: #000;
	-moz-opacity: 0;
	opacity: 0;
	filter: alpha(opacity=0);
	z-index: 50;
	text-align: left;
	overflow: auto;
	line-height: 1.25em;
	top: 100%;
	left: 100%;
	width: 1px;
	height: 1px;
}

#comments.active {
/*	display: block;*/
	-moz-opacity: 0.85;
	opacity: 0.85;
	filter: alpha(opacity=85);
	width: 88%;
	height: 80%;
	top: 10%;
	left: 6%;
}

#comments ul {
	list-style-type: square;
	margin-left: 15px;
}

#comments_center {
	position: relative;
	clear: both;
	margin: 10px auto;
	text-align: left;
	width: 300px;
}

#comments_close {
	position: relative;
	float: right;
	text-align: right;
	width: 590px;
	height: 2em;
	margin: 5px 10px;
	padding: 0;
}

#comments_close .button {
	display: block;
	background: #999;
	float: right;
	padding: 2px 5px;
	border: 1px solid #999;
	margin: 5px auto;
	color: #333;
	cursor: pointer;
}

#comments_close .button a, #comments_close .button a:hover {
	color: #333;
}


#comments_form {
	width: 290px;
	padding: 0;
}

#comments_form .button {
	float: right;
	background-color: #999;
	color: #333;
	font-family: helvetica,arial,geneva,sans-serif;
	border: 1px solid #999;
	padding: 2px 5px; 
	margin: 5px auto;
}

#comments_form .textarea {
	background-color: #333;
	color: #999;
	font-family: helvetica,arial,geneva,sans-serif;
	font-size: 1em;
	border: 1px solid #999;
	padding: 2px;
	width: 274px;
	height: 100px;
}

#comments_form .textbox {
	background-color: #333;
	color: #999;
	font-family: helvetica,arial,geneva,sans-serif;
	font-size: 1em;
	padding: 2px;
	margin: 0;
	border: 1px solid #999;
	width: 124px;
}

#comments_form label {
	float: left;
	width: 140px;
	margin: 0 10px 0 0;
	padding: 0;
	text-align: right;
}

#comments_form ol {
	margin: 5px 5px 0 5px;
	list-style: none;
}

#comments_form ol li {
	float: left;
	clear: left;
	width: 100%;
	margin-bottom: 5px;
}

#comments_left {
	position: relative;
	clear: both;
	float: left;
	text-align: left;
	width: 290px;
	margin: 5px;
}

#comments_right {
	position: relative;
	float: right;
	text-align: left;
	width: 290px;
	margin: 5px;
}

.comment {
	clear: both;
	margin: 0.5em auto;
	position: relative;
}

.comment h2 {
	display: none;
}

.comment_byline {
	text-align: left;
	color: #666;
}

.comment_content {
	text-align: left;
	line-height: 125%;
}

.comment_header {
	color: #999;
	font-size: 1.2em;
	margin-bottom: 1em;
}


/* new comments area */

#comments .navigation {
	clear: none;
}

#comments h3 {
	margin-bottom: 0.3em;
}

#comments h3.head {
	color: #eee;
	margin: 10px 10px 0 15px;
}

#respond {
	float: right;
	width: 300px;
	margin: 15px 10px;
	line-height: 1.5em;
}

.commentlist {
	margin: 0 10px 10px 10px;
	float: left;
	width: 400px;
}

.postmetadata {
	font-size: 1.2em;
	margin: 42px 0 21px 0;
	color: #666362;
}

body#post .postmetadata a {
	color: #7D0000;
}

.commentlist li {
	margin: 5px 0;
	padding: 10px 5px;
	list-style: none;
}

.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}

.commentlist li, #commentform input, #commentform textarea {
	font-size: 1em;
}

#commentform textarea {
	width: 250px;
	height: 100px;
	font-size: 1.2em;
}

.commentlist li .avatar { 
	float: left;
	margin: 0 10px 10px 0;
}

.commentlist li .says {
	display: none;
}

.commentlist cite, .commentlist cite a {
	font-style: normal;
	display: block;
}

.commentlist p {
	clear: left;
}

.commentmetadata a {
	color: #928e8c;
}

/*=Archives/About
 *---------------------------------------------------------------------*/

#subnav_archives, #subnav_about {
	width: 887px;
	position: relative;
	height: 100px;
	overflow: hidden;
	margin: 0 auto 20px auto;
}

#subnav_about {
	background: url(../images/subnav_about.jpg) no-repeat;
}

#subnav_archives .details, #subnav_about .details {
	position: absolute;
	bottom: 0;
	display: block;
	height: 30px;
	width: 100%;
}

#subnav_archives .details .bg, #subnav_about .details .bg {
	width: 100%;
	height: 100%;
	position: absolute;
	background: #000;
	-moz-opacity: 0.5;
	opacity: 0.5;
	filter: alpha(opacity=50);
	z-index: 1;
	left: 0;
}

#subnav_archives h2, #subnav_about h2 {
	bottom: 0;
	font-size: 20px;
	float: left;
	font-weight: 200;
	line-height: 30px;
	color: #dedede;
	position: relative;
	margin: 0;
	left: 0;
	text-transform: uppercase;
	padding: 0 10px;
	z-index: 5;
}

/*=Archives
 *---------------------------------------------------------------------*/

#subnav_archives {
	background: url(../images/subnav_archives.jpg) no-repeat;
}

#subnav_archives .details .filters {
	display: block;
	float: right;
	position: relative;
	z-index: 5;
}

#subnav_archives .details .filters a {
	font-size: 12px;
	line-height: 30px;
	padding: 0 10px;
}

#subnav_archives .details .filters a.active {
	color: #898989;
}

#container_pagenav {
	width: 887px;
	margin: 0 auto;
	height: 20px;
	position: relative;
}

#container_pagenav .page_prev {
	float: left;
}

#container_pagenav .page_next {
	float: right;
}

#container_pagenav .page_prev a, #container_pagenav .page_next a {
	font-size: 12px;
	line-height: 20px;
}


#archives_grid, #container_grid {
	display: block;
	margin: 0 auto;
	position: relative;
	width: 889px;
}

#archives_grid li {
	display: inline;
	float: left;
	width: 125px;
	height: 125px;
	margin: 2px 2px 0 0;
	position: relative;
}

#archives_grid li.clear {
	float: none;
	clear: both;
}

#archives_grid li img {
	width: 125px;
	height: 125px;
}

#archives_grid li a {
	display: block;
	width: 100%;
	height: 100%;
}

#archives_grid li .date {
	width: 125px;
	position: absolute;
	bottom: 0;
	left: 0;
	height: 20px;
	display: none;
}

#archives_grid li .date {
}

#archives_grid li .date .bg {
	width: 125px;
	height: 20px;
	left: 0;
	top: 0;
	position: absolute;
	background: #000;
	-moz-opacity: 0.50;
	opacity: 0.50;
	filter: alpha(opacity=50);
	z-index: 1;
}

#archives_grid li .date .fg {
	display: block;
	line-height: 20px;
	text-align: center;
	position: relative;
	font-size: 11px;
	z-index: 5;
	margin: 0 auto;
}


#archives_overlay {
	position: absolute;
	top: 0;
	left: 95%;
	z-index: 20;
	-moz-opacity: 0;
	opacity: 0;
	filter: alpha(opacity=0);
	width: 2px;
	height: 2px;
	overflow: hidden;	
}

#archives_overlay.active {
	left: 0;
	width: 889px;
	height: 508px;
	display: block;
	-moz-opacity: 1;
	opacity: 1;
	filter: alpha(opacity=100);	
}

#archives_overlay .bg {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	background: #000;
	-moz-opacity: 0.8;
	opacity: 0.8;
	filter: alpha(opacity=80);
	z-index: 1;
	left: 0;
	top: 0;
}

#archives_overlay .column {
	float: left;
	width: 360px;
	margin: 10px;
	position: relative;
	z-index: 5;
}

#archives_overlay .dates {
	width: 150px;
}

#archives_overlay .dates li {
	width: 150px;
}

#archives_overlay .dates a {
	font-size: 12px;
}

#archives_overlay .tagcloud {
	font-size: 12px;
}

#archives_overlay .tagcloud a {
	margin: 1px 0;
	padding: 0 5px;
}

#archives_overlay .header {
	float: left;
	font-size: 12px;
	color: #dedede;
	position: relative;
	text-transform: uppercase;
	z-index: 5;
	margin: 0 0 5px 0;
}

#archives_overlay ul {
	display: block;
	float: left;
	margin: 0;
	position: relative;
	z-index: 5;
}

#archives_overlay ul li {
	display: block;
	float: left;
	clear: left;
	margin: 1px 0;
}

#archives_overlay #close_button {
	display: block;
	background: #999;
	float: right;
	padding: 2px 5px;
	border: 1px solid #999;
	margin: 10px 20px;
	cursor: pointer;
	z-index: 5;
	position: relative;
}

#archives_overlay #close_button a {
	color: #333;
}

/*=About
 *---------------------------------------------------------------------*/

#photo_rest, #photo_bio {
	clear: both;
	margin: 0 auto;
	position: relative;
	width: 887px;
}

#content.about h3 {
	font-size: 14px;
	color: #dedede;
	font-weight: 200;
	width: 400px;
	margin: 10px 0;
	text-transform: uppercase;
}

#content.about h4 {
	font-size: 12px;
	color: #dedede;
	font-weight: 200;
	width: 400px;
	margin: 5px 0;
	text-transform: uppercase;
}


#content.about p {
	width: 400px;
	font-size: 12px;
	line-height: 1.4em;
	margin: 10px 0;
}

#photo_bio img {
	float: right;
}

#photo_rest .left {
	float: left;
}

#photo_rest .right {
	float: right;
}





