/*
Theme Name: Peter Bregg Images
Theme URI: 
Description: Default theme for Peter Bregg Images, circa 2010
Version: 1.0
Author: Shelly Cole for WPCoder
Author URI: http://wpcoder.com
*/

/*----------------------------------------------------------------------------------------
							Eric Meyer's "Reset Reloaded"
----------------------------------------------------------------------------------------*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
	text-decoration:none;
}

:focus {
	outline: 0;
}

body {
	line-height: 1;
	color: #242424;
	background: #fff;
	text-align:center;
	font:82% Arial, Helvetica, sans-serif;
}

ol, ul {
	list-style: none;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: separate;
	border-spacing: 0;
}

caption, th, td {
	text-align: left;
	font-weight: normal;
}

blockquote:before, blockquote:after, q:before, q:after {
	content: "";
}

a {
	cursor:pointer;
}

a:link {
	color:#070000;
}

a:visited {
	color:#333;
}

a:hover, a:active {
	color:#176892;
}

p {
	line-height:1.5em;
	margin-bottom:1em;
}

blockquote, q {
	quotes: "" "";
}

blockquote {
	border-top:1px solid #dedede;
	border-bottom:1px solid #dedede;
	display:block;
	margin:10px 15px;
	padding:10px 0;
	font:normal 1em "American Typewriter", "Courier New", "Lucida Console", serif;
}

ul, ol {
	margin:2em;
	line-height:1.5em;
	text-align:left;
}

li {
	margin-bottom:1.5em;
}

small {
	font-size:0.9em;
}

b, strong {
	font-weight:bold;
}

i, em, small {
	font-style:italic;
}

.left, .alignleft {
	float: left;
}

.right, .alignright {
	float: right;
}

.center, .alignnone {
	display:block;
	text-align:center;
}

img.left, img.alignleft {
	margin:5px 25px 10px 0;
}

img.right, img.alignright {
	margin:5px 0 10px 25px;
}

.clear:after, .clearRight:after, .clearLeft:after {
	content: ".";
	display: block;
	height: 0;
	visibility: hidden;
}

.clear:after {
	clear: both;
}

.clearRight:after {
	clear: right;
}

.clearLeft:after {
	clear: left;
}

/*----------------------------------------------------------------------------------------
							Outer Containing Elements
----------------------------------------------------------------------------------------*/

#wrapper {
	width:960px;
	padding:0 15px;
	margin:20px auto 30px auto;
}

#header {
	padding-bottom:20px;
}

body.archive #header, body.blog #header, body.search #header {
	margin-bottom:20px;
	border-bottom:1px solid #dedede;
}

#inner {
	margin:0 0 10px 0;
}

body.archive #inner {
	margin-top:20px;
}

body.blog #inner, body.page #inner, body.error404 #inner, body.search #inner {
	background:url("images/fauxBG.gif") repeat-y -15px 0;
}

body.home.blog #inner {
	background:none;
}

#content {
	text-align:left;
}

body.blog #content, body.page #content, body.error404 #content, body.search #content {
	float:left;
	width:590px;
	margin-right:100px;
}

body.home #content {
	float:none;
	width:100%;
}

#sidebar {
	float:left;
	width:230px;
	padding-left:38px;
}

#footer {
	clear:both;
}
	

/*----------------------------------------------------------------------------------------
							 		Headings
----------------------------------------------------------------------------------------*/

h2 {
	padding:8px 10px;
	background:#000 url("images/stripes.gif");
	font:normal 1.25em "American Typewriter", "Courier New", "Lucida Console", serif;
	color:#fff;
	margin-bottom:1px;
	letter-spacing:0.07em;
}

h3, h4, a.more-link {
	font:bold italic 1em Georgia, "Times New Roman", serif;
	color:#070000;
	line-height:1.25em;
}

h3 {
	font-size:2.75em;
}

h4 {
	font-size:1.5em;
	margin:10px 0;
	padding-top:10px;
	border-top:1px solid #dedede;
}


/*----------------------------------------------------------------------------------------
							 		Header Joy
----------------------------------------------------------------------------------------*/

img.logo {
	float:left;
}

ul.navigation, ul.navigation li {
	margin:0;
}

ul.navigation li {
	display:inline-block;
	padding:0 18px;
	text-transform:lowercase;
	letter-spacing:0.07em;
}

#header ul.navigation {
	float:right;
	margin-top:25px;
	clear:right;
}

#header ul.navigation li:last-child {
	padding-right:0;
}

div.blogheader {
	padding:20px 0 15px 0;
	margin-left:-5px;
}

body.blog div.blogheader, body.search div.blogheader {
	padding-top:0;
}

body.search div.blogheader {
	border-bottom:1px solid #dedede;
	margin:0 0 25px 1px;
}


/*----------------------------------------------------------------------------------------
							   	   Main Content
----------------------------------------------------------------------------------------*/

body.home div.post {
	width:232px;
	margin-left:10px;
	float:left;
}

#sub {
	border-top:1px solid #dedede;
	margin-top:20px;
	padding-top:20px;
}

#sub h2, #sub h2 a {
	color:#fff;
	display:block;
	width:210px;
}

#sub div:first-child {
	margin-left:0;
}

#sub div img {
	max-width:230px;
	height:auto;
}

#sub div div img {
	width:auto;
	height:auto;
}

div.premetadata {
	color:#989898;
	font-size:0.9em;
	padding-bottom:15px;
}

div.premetadata, div.premetadata a, div.premetadata a:link, div.premetadata a:visited {
	color:#989898;
}

div.premetadata a:hover, div.premetadata a:active {
	color:#176892;
}

div.premetadata span.comments a, div.premetadata span.comments a:link, div.premetadata span.comments a:visited {
	background:url("images/comment.gif") no-repeat right top;
	display:inline-block;
	padding:10px 17px 0 0;
}

div.premetadata span.comments a:hover, div.premetadata span.comments a:active {
	background:url("images/commentOn.gif") no-repeat right top;
}

div.premetadata a span {
	color:#070000;
	font-weight:bold;
}

body.blog div.post, div.page {
	padding:30px 0 20px 0;
	border-top:1px solid #dedede;
}

body.single.blog div.post, body.home.blog div.post {
	border:0;
}

body.home.blog div.post {
	padding-top:0;
}

div.entry {
	color:#242424;
}

body.home div.entry {
	padding:10px;
}

div.post img, div.post p, div.post h2 {
	float:left;
	margin-right:25px;
}

body.blog div.entry img {
	max-width:590px;
	height:auto;
}

a.more-link {
	display:block;
	padding-top:10px;
}

a.more-link:hover, a.more-link:active {
	color:#176892;
}
	


/*----------------------------------------------------------------------------------------
									Sidebar
----------------------------------------------------------------------------------------*/

#sub h2 {
	float:none;
	margin-bottom:1px;
}

#sub h4 {
	border:0;
	padding-top:0;
}

#sub .excerpt {
	margin-left:5px;
	margin-right:5px;
}

#sub img {
	max-width:230px;
	height:auto;
}

#sidebar div {
	margin-bottom:35px;
	text-align:left;
}

#sidebar div h2 {
	text-align:center;
	text-transform:lowercase;
}

#sidebar ul, #sidebar ol {
	margin:0;
	padding:0;
}

#sidebar li {
	margin:0;
	background:url("images/dotsH.gif") repeat-x bottom left;
	padding:7px 3px;
}

#sidebar li:last-child{
	background:none;
}

div.image-of-the-day img {
	float:none;
}

div.feed-follow {
	margin-top:10px;
}

div.feed-follow p {
	float:none;
}

div.feed-follow span {
	display:block;
	clear:left;
	height:22px;
	line-height:22px;
}

div.feed-follow span img {
	float:left;
	margin-right:5px;
}


/*----------------------------------------------------------------------------------------
									Footer
----------------------------------------------------------------------------------------*/

#footer {
	color: #a5a5a5;
	border-top:1px solid #dedede;
	border-bottom:1px solid #dedede;
	padding:8px 0;
}

#footer p {
	float:right;
	margin-bottom:0;
}

#footer ul.navigation li {
	padding:0 10px;
}

#footer ul.navigation li:first-child {
	padding-left:0;
}

#footer a, #footer a:link, #footer a:visited {
	color:#a5a5a5;
}

#footer a:hover, #footer a:active {
	color:#777;
}


/*----------------------------------------------------------------------------------------
								   Comments
----------------------------------------------------------------------------------------*/

#commentlist {
	text-align: left;
	padding-bottom:20px;
}

div.comment {
	padding: 15px 15px 5px 15px;
	margin:1px 0;
}

div.comment.even {
	background:#efefef;
}

div.comment.odd {
	background:#fff;
}

div.comment.bypostauthor {
	background: #ddd;
}

div.comment.even img {
	background:#fff;
}

div.comment.odd img {
	background:#efefef;
}

div.comment img {
	border: 1px solid #777;
	padding: 5px;
	float: left;
	margin: 0 20px 10px 0;
}

div.comment div.comment-author {
	display:block;
	clear:both;
	padding-bottom:10px;
	border-top:1px solid #070000;
	font-size:0.9em;
}

div.comment cite {
	display: inline-block;
	padding-top: 10px;
}

div.comment a {
	font-weight:bold;
}

div.comment a.comment-reply-link {
	display: block;
	float: right;
	padding:0.8em 0 0 0;
}

/* replies */
div.comment.odd.depth-1 {
	padding: 15px 15px 5px 15px;
	border-left:1px solid #efefef;	
	border-right:1px solid #efefef;
}

/* form */
#commentform {
	text-align:center;
}

#commentpost a {
	font-weight:bold;
}

#commentpost p.loggedin {
	display:inline-block; 
	float:right;
	padding-top:15px;	
}

#commentform div.userinfo {
	width:250px;
	float:right;
	margin-left:20px;
}

small.cancel-comment-reply {
	display:block;
	clear:right;
	text-align:center;
	padding-bottom:20px;	
}

#commentform span.req {

}

#commentform input[type="text"], #commentform textarea {
	font:1em Arial, Helvetica, sans-serif;
	padding:3px;
	border:1px solid #dedede;
	color:#6c6c6c;
}

#commentform textarea {	
	float:left;
	width:300px;
}

#commentform textarea.wide {	
	float:none;
	width:570px;
}

#commentform input[type="text"] {
	margin-left:3px;
	width:170px;
}

#commentform label {
	display:inline-block;
	width:65px;
	font-size:0.9em;
	text-align:right;
}

#commentform div.submit {
	display:block;
	clear:both;
	padding-top:20px;
}



/*----------------------------------------------------------------------------------------
									Forms
----------------------------------------------------------------------------------------*/

form.searchform {
	border:1px solid #dedede;
	height:28px;
	float:right;
	width:160px;
	padding-top:2px;
}

form.searchform input.searchField {
	width:116px;
	height:16px;
	padding:4px;
	border:1px solid #fff;
	color:#9e9e9e;
	font-size:0.95em;
	vertical-align:top;
}


/* ---------------------------- Feed & Follow Widget ---------------------------- */

div.feed-follow form {
	text-align:center;
	padding:15px 0;
}

div.feed-follow input.email {
	width:200px;
	border:1px solid #dedede;
	padding:3px;
	margin:0;
	color:#8e8e8e;
}

div.feed-follow input.submit {
	margin:5px auto 0 auto;
}

/* ---------------------------- Contact Form ---------------------------- */

.wpcf7-form {
	width:395px;
	clear:both;
	margin:0 auto;
	padding-top:30px;
	text-align:center;
}

 .wpcf7-form p {
	width:100%;
	margin-top:5px;
        margin-bottom: 2px;
}

.wpcf7-form input, .wpcf7-form textarea {
	border:1px solid #ccc;
	margin-top:0;
	padding:4px 3px 3px 3px;
	width:300px;
}

.wpcf7-form textarea {
	vertical-align:top;
}

.wpcf7-form input.submit {
	float:right;
	padding:5px;
	background:url("images/stripes.gif") repeat scroll 0 0 #000000;	
	font:normal 1.25em "American Typewriter", "Courier New", "Lucida Console", serif;
	color:#fff;
	border:0;
	margin-right:45px;
	width:auto;
}

div.widget .wpcf7-form {
	padding-top:5px;
	width:220px;
	clear:none;
	text-align:left;
	margin-left:1px;
}

div.widget .wpcf7-form input, div.widget .wpcf7-form textarea {
	width:220px;
}

div.widget .wpcf7-form input.submit {
	margin-right:-3px;
width:75px;
}

div.wpcf7-response-output {
	clear:both;
	color:#176892;
	font-weight:bold;
	border:0;
	text-align:center;
	font-size:1.1em;
}

div.wpcf7 {
	margin: 0;
	padding: 0;
}

div.wpcf7-response-output {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
}

div.wpcf7-mail-sent-ok {
	
}

div.wpcf7-mail-sent-ng {
	
}

div.wpcf7-spam-blocked {
	
}

div.wpcf7-validation-errors {
	
}

span.wpcf7-form-control-wrap {
	position: relative;
}

span.wpcf7-not-valid-tip {
	position: absolute;
	top: 20%;
	left: 20%;
	z-index: 100;
	background: #fff;
	font-size: 10pt;
	width: 280px;
	padding: 2px;
}

span.wpcf7-not-valid-tip-no-ajax {
	color: #f00;
	font-size: 10pt;
	display: block;
}

span.wpcf7-list-item {
	margin-left: 0.5em;
}

.wpcf7-display-none {
	display: none;
}

img.ajax-loader {
	border: none;
	vertical-align: middle;
}

#content div.contact {
        padding-bottom:0;
}

/*----------------------------------------------------------------------------------------
								  Galleries
----------------------------------------------------------------------------------------*/

#gallery a {
	position:relative;
	float:left;
	display:table;
	padding:0;
	width:230px;
margin-bottom:-9px;
text-align:center;
}

#gallery .brick {	
	width:230px;
	height:auto;
margin-bottom:10px;
overflow:hidden;
}

#gallery .brick img {	
	height:auto;
	width:230px;
	padding:0;
	margin:0 10px 6px 0;
}

#gallery h2 {
	text-transform:lowercase;
	padding:40px 0;
	text-align:center;
	margin-bottom:10px;
}

#gallery span.title {
	display:none;
}

#gallery a:hover span.title {
display:block;
position:absolute;
	width:230px;
	height:100%;
z-index:999;
	background:url("http://peterbreggphotography.com/wp-content/themes/photo/images/fadeHover.png") repeat left top;
	text-align:center;
}

#gallery a:hover span.title span {
	z-index:1000;
	color:#fff;
	font-weight:bold;
position:absolute;
top:48%;
left:0;
width:230px;
text-align:center;
}

div.post.gallery {
	margin-top:20px;
}

body.single div.postimages {
	float:left;
	margin-right:20px;
}

body.single div.gallery_entry {
	text-align:left;
}

body.single div.gallery_entry.clearit {
	clear:left;
	padding-top:20px;
}


/*----------------------------------------------------------------------------------------
								Miscellaneous
----------------------------------------------------------------------------------------*/

div.pagination {
	text-transform:lowercase;
	margin-bottom:-2px;
	border-top:1px solid #dedede;
	padding-top:10px;
}

div.pagination.upper {
	border-bottom:1px solid #dedede;
	padding-top:0;
}

body.single.blog div.pagination.upper {
	border-top:1px solid #dedede;
	padding-top:0;
}

div.pagination a.page, div.pagination a.page:link, div.pagination a.page:visited {
	padding:0 10px;
	color:#888;
}

div.pagination a.page:hover, div.pagination a.page:active, div.pagination a.page span.current {
	font-weight:bold;
	color:#000;
}

div.pagination a.smaller.page {
	padding-right:0;
}

div.pagination a.larger.page {
	padding-left:0;
}

div.pagination img {
	vertical-align:middle;
	margin-bottom:3px;
}

div.pagination div.buttons {
	display:block;
	float:right;
}

div.pagination.upper {
	padding:0;
	margin-bottom:0;
	height:35px;
	line-height:35px;
}

div.pagination.upper a {
	font-weight:bold;
}	

div.pagination.upper div.buttons div {
	display:inline;
}

a.previouspostslink, a.nextpostslink, div.previouspostslink a, div.nextpostslink a {
	height:25px;
	width:25px;
	display:inline-block;
}

a.previouspostslink, div.previouspostslink a {
	background:url("images/prevOn.gif") no-repeat center center;
}

a.nextpostslink, div.nextpostslink a {
	background:url("images/nextOn.gif") no-repeat center center;
}

div.previouspostslink a, div.nextpostslink a {
  	background-position:0 5px;
  	padding-bottom:5px;
}

a.previouspostslink:hover img, a.nextpostslink:hover img, div.previouspostslink a:hover img, div.nextpostslink a:hover img {
	visibility:hidden;
}

body.search #content img {
	width:230px;
	height:auto;
	float:left;
	margin:20px 25px 20px 0;
}

body.search h4 {
	font-size:1.8em;
	border:0;
}

body.search div.entry {
	clear:left;
	border:0;
}

body.search div.gallery_entry {
	border-top:1px solid #dedede;
	padding-bottom:20px;
}

body.search div.gallery_entry.searchimage {
	padding-left:255px;
}

body.search div.blogheader form.searchform {
	margin-top:-11px;
}