/*  
Theme Name: petro2
Theme URI: 
Description: markpetrowsky.com theme 2
Version: 1
Author: Mark Petrowsky
Author URI: 





/* Begin Typography & Colors */

.clear:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
.clearBoth {
	clear:both;
	
}

/* Hides from IE-mac \*/
* html .clear {height: 1%;}
/* End hide from IE-mac */



img { behavior: url(iepngfix.htc); } /* IE png fix */

form, input, ul, li {
	padding: 0;
	margin:0;
}


body {
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	background: #F4F4F4 url('images/pageBack.gif') repeat-x;
	color: #666;
	text-align: center;
	padding: 0;
	margin: 0;
	}

#page {
	background-image: none;
	text-align: left;
	}

#content {
	font-size: 1.2em
	}

.widecolumn .entry p {
	font-size: 1.05em;
	}

.narrowcolumn .entry, .widecolumn .entry {
font-size: 1.05em;
	line-height: 1.5em;
	}

.widecolumn {
	line-height: 1.6em;
	}

.narrowcolumn p.postmetadata {
	text-align: left;
	border-top: 1px solid #ddd;
	/*background: url('images/grayShadow.gif') no-repeat top left;*/
	padding-top: 10px;
	}

.alt {
	background-color: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	}


small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	}

h1, h2, h3 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
	color:#A43A08;
	}

h1 {
	font-size: 1.4em;
	text-align: left;
	}

#headerimg .description {
	font-size: 2.4em;
	text-align: left;
	color: #F0DAC9;
	font-family: Georgia, "Times New Roman", Times, serif;
	padding-top: 75px;
}
#headerimg h1 {
display: none;
}

h2 {
	font-size: 2em;
	padding: 0;
	margin-bottom: 12px;
	}

h2.pagetitle {
	font-size: 2em;
	}

#sidebar h2 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1.5em;
	}

h3 {
	font-size: 1.3em;
	}

h1, h1 a, h1 a:hover, h1 a:visited {
	text-decoration: none;
	color: white;
	}

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
	color: #A43A08;
	}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
	}

/*.entry p a:visited {
	color: #b85b5a;
	}*/
	
p {	
	margin: 0 0 12px 0;
	padding: 0;
	}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentlist li {
	font-weight: bold;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}

#sidebar {
	font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

a, h2 a:hover, h3 a:hover {
	color: #3399FF;
	text-decoration: none;
	}

a:hover {
	/*color: #3399FF;*/
	/*text-decoration: underline;*/
	background-color: #D5ECFF;
	}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */



/**************************** Begin Structure************************ */
body {
	margin: 0;
	padding: 0; 
	}
	
#outerPage {
	margin: 0;
	padding: 0;
}

#page {
	margin: 0 auto;
	padding: 0;
	width: 930px;
	position: relative;
	/*border: 1px solid transparent;*/
	}

#header {
	background: #413631 url('images/headerBack.gif') repeat-x top;
	margin: 0 0 0 0; 
	padding: 0; 
	height: 190px;
	border-bottom: 2px solid #fff;
	text-align:left;
	z-index: 0;
	}

#headerimg {
	margin: 0;
	height: 190px;
	margin: 0 auto;
	width: 930px;
	background: url('images/header.jpg') no-repeat top left;
	text-align:left;
	z-index: 0;
	}

.narrowcolumn {
	float: left;
	padding: 0 0 20px 0;
	margin: 0px 0 0;
	width: 620px;
	}

.widecolumn {
	padding: 10px 0 20px 0;
	margin: 5px 0 0 150px;
	width: 450px;
	}

.post {
	margin: 0 0 40px;
	text-align: left;
	}

.post hr {
	display: block;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.widecolumn .smallattachment {
	text-align: left;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: left;
	margin: 5px 0px;
}

.postmetadata {
	clear: left;
}

#outerFooter {
	padding: 30px 0;
	margin: 0;
	background: #2f2623 url('images/footerBack.gif') repeat-x top;
	border: none;
	clear: both;
	position: relative;
	overflow: hidden;
	display: block;
	width: 100%;
}

#footer {
	padding: 0;
	margin: 20px auto 20px auto;
	width: 930px;
	clear: both;
	position: relative;
	color: #827366;
	overflow: hidden
	}

#footer p {
	margin: 0;
	padding: 20px 0;
	text-align: left;
	}

#footer h3 {
color: #F0DAC9;
marign: 0 0 5px 0;
padding: 0;
font-size: 1.6em;
}

#footer li {
border-bottom: 1px solid #6b5b4c;
margin: 4px 0;
padding: 4px 0 6px 0;
list-style:none;
line-height: 1.1em;
}
#footer ul {
list-style:none;
}

#footer a {
color: #82C1FF;
}
#footer a:hover {
	background-color: #646060;
}

/* End Structure */



/*	Begin Headers */
h1 {
	padding-top: 70px;
	margin: 0;
	}

h2 {
	margin: 20px 0 10px 0;
	}

h2.pagetitle {
	margin-top: 30px;
	text-align: left;
}

#sidebar h2 {
	margin: 8px 0  8px 0;
	padding: 0;
	}
	

h3 {
	padding: 0;
	margin: 10px 0 10px 0;
	}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
/* End Headers */



/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}
img {
	background-color: #FFFFFF;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 5px 10px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 10px 5px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
.entry img {
border: 2px solid #ddd;
}

/* End Images */



/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	} 

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

/*.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020";
	}*/

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

#sidebar ul, #sidebar ul ol {
	margin: 0 10px 0 15px;
	padding: 0;
	}

#sidebar ul li {
	margin-bottom: 15px;
	list-style-type: none;
}
#sidebar ul li ul {
	/*list-style-position: inside;
	list-style-image: url('images/bullet.gif') 0 0;*/
	padding: 0;
	margin: 0;
}

#sidebar ul li ul li {
	/*border: 1px solid pink;*/
	/*list-style-position: inside;*/
	padding: 0 0 3px 13px;
	background: url('images/bullet.gif') 0 0 no-repeat;
}
	

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 0;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 0;
	}

ol li, #sidebar ul ol li {
	/*list-style: decimal outside;*/
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}
/* End Entry Lists */



/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px; 
	text-align: center;
	}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	background: #fff url('images/grayFade.gif') repeat-x top;
	border: 1px solid #ccc;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	background: #fff url('images/grayFade.gif') repeat-x top;
	border: 1px solid #ccc;
	}

#commentform #submit {
	margin: 0;
	float: right;
	border: 1px solid #ec9147;
	background: #de7409 url('images/buttonBack.gif') repeat-x top;
	color: #fff;
	font-weight: bold;
	font-size: 1.1em;
	cursor:pointer;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: left;
	}

.commentlist li {
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
	}

.commentlist p {
	margin: 10px 5px 10px 0;
	}

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: left;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Begin Sidebar*****************************************************************************/
#sidebarOutter
{
	padding: 0;
	text-align: left;
	width: 280px;
	position: absolute;
	left:645px;
	top:-47px;
	background: url('images/sideBarShadow.png') no-repeat top right;
	z-index: 5;
	}
#sidebar
{
	padding: 20px 0 10px 0;
	width: 260px;
	border-top: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-left: 1px solid #ddd;
	border-bottom: none;
	background: #F4F4F4 url('images/sidebarTop.gif') no-repeat top left;
	}

#sidebar form {
	margin: 0;
	}
	
	#sidebar p {
	margin-bottom: 6px;
	}
/* End Sidebar */



/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: left;
	margin-top: 18px;
	margin-bottom: 0;
	margin-right: 20px;
	clear:both;
	overflow: hidden;
	font-size: 11px;
	}
/* End Various Tags & Classes*/


/* Mark's added styles HEADER NAV **********************/


#headerNav {
	/*height: 38px;*/
	text-align: left;
	padding: 0;
	margin: 0;
	background: #1C1817 url('images/navHeaderBack.gif') repeat-x top;
	/*background: #1C1817 url('images/navHeaderBack.gif') repeat-x top;*/
	border-bottom: 1px solid #532204;
	overflow:hidden;
}

#headerNav #headerNavInner {
	text-align:left;
	margin: 0 auto;
	width: 930px;
}

#headerNav #headerNavInner a {
	color: #976A45;
	font-size: 1.3em;
	padding: 6px 10px 6px 10px;
	line-height: 2em;
	border-left: 1px solid #302926;
	float:left;
    display:block;
	cursor:pointer;
}
#headerNav #headerNavInner a:hover {
	color: #AF784B;
	text-decoration:none;
	background-color: #3A2D27;
	border-bottom: 3px solid #D76C0C;
	padding-bottom: 3px;
}

/* Active Header Section */
#headerNav #headerNavInner li.active a {
	color: #AF784B;
	text-decoration:none;
	background-color: #3A2D27;
	border-bottom: 3px solid #D76C0C;
	padding-bottom: 3px;
}


#headerNav #headerNavInner li {
	display: inline;
	list-style:none;
	padding:0;
	margin: 0 0 0 0;
	
}
#headerNav #headerNavInner ul {
	padding: 0;
	margin:0;
	
}

#headerSearch {
	width: 290px;
	float: right;
	position:relative;
}

#headerSearch #searchform {
	margin: 10px 0 0 0;
	padding: 0 0 8px 0; 
	text-align: left;
	position:relative;
	}

#searchsubmit {
	border: 1px solid #333333;
	background: #666 url('images/searchSubmit.gif') repeat-x top left;
	color: #CCCCCC;
	font-size: 1.1em;
	font-weight:bold;
}
input#s {
	background: #fff url('images/searchInputBack.gif') no-repeat top left;
	border: 1px solid #ccc;
	text-indent: 17px;
	color: #333;
	width: 200px;
	margin: 0;
	padding: 0;
}
#headerSearch form {
padding: 0;
margin: 0;
}
#headerSearch form {
padding: 0;
margin: 0;
}

.col {
width: 290px;
float: left;
margin-right: 25px;
text-align:left;
}



/************** portfolio styles ****************/

.portfolio .post {
margin-bottom: 15px;
}

.portfolioEntry {
border-bottom: 1px solid #ddd;
padding: 0 0 10px 0;
margin-bottom: 15px;
clear: both;
position:relative;
overflow:hidden;
}

.portfolioEntry p {
font-size: 0.9em;
line-height: 1.3em;
}


#content .portfolioEntry a img, .portfolioEntryMainLeft a img, .portfolioEntryMainRight a img  {
border: 3px solid #dddddd;
padding: 7px;
margin: 0 0 12px 0;
background-color: #fff;
float: left;
}

#content .portfolioEntry a:hover img, .portfolioEntryMainLeft a:hover img, .portfolioEntryMainRight a:hover img { 
border: 3px solid #CDE6FF;
padding: 7px;
background-color: #E1F1FF; 
}



.portfolioEntryMainLeft {
float: left;
width: 300px;
}
.portfolioEntryMainRight {
float: right;
width: 300px;
}


/*
.portfolioEntry a:link img { border: 10px solid #EEEEEE; }
.portfolioEntry a:visited img, .portfolioEntry a:active img  { border: 10px solid #EEEEEE; }
.portfolioEntry a:hover img { border: 10px solid #CDE6FF; }
.portfolioEntry a:active img  { border: 10px solid #EEEEEE; }
*/

.portfolioEntry .projectContent {
width: 295px;
float: right;
}

.portfolioEntry h3 {
margin: 0 0 5px 0;
padding: 0;
}

a.websiteLink, .falbum-slideshowlink a {
padding-right: 14px;
background: url('images/bullet.gif') right no-repeat;
}

a:hover.websiteLink, .falbum-slideshowlink a:hover {
background-color: #E1F1FF;
}



#sidebar h2.portfolio {
margin: 0 0 8px 15px;
font-size: 1.8em;
}

#sidebar ul.portfolio {
margin-right: 15px;
}

#sidebar ul.portfolio li {
border-top: 1px solid #ddd;
background: url('images/portfolioLiBack.gif') no-repeat top left;
padding: 4px 0 4px 0;
margin-bottom: 3px;
font-size: 1.4em;
line-height: 2em;
list-style: none;
list-style-position:outside;
text-indent: 17px;
}

#sidebarHolder {
height: 1320px;
float: right;
width: 200px;
}


#footer .photos a img  {
border: 3px solid #6b5b4c;
margin: 0 10px 10px 0;
}

#footer .photos a:hover img {
border: 3px solid #85C2FF;
}


#footer .photos a:hover {
background: transparent;
}

#footer .photos ul li {
border: none;
display: inline;
}
#footer .photos {
margin-right: 0;
}


#footer .footerSignoff {
font-size: .9em;
padding: 10px 0 15px 0;
margin-top: 10px;
background: url('images/mpFooter.gif') no-repeat right;
width: 270px;
}

.date {
font-size: 1em;
color: #ff7800;
margin: 5px 0 6px 0;
}

a.linkedin {
background: url('images/linkedinIcon.gif') no-repeat 0 0;
padding: 2px 0 6px 20px;
}

a.rss {
background: url('images/rssIcon.gif') no-repeat 0 0;
padding: 2px 0 4px 20px;
}

a.flickr {
background: url('images/flickr.gif') no-repeat 0 16px;
padding: 0 0 50px 0;
}
.comment a {
background: url('images/comment.gif') no-repeat 0 2px;
padding: 0 0 0 13px;
}
.comment a:hover {
background-color: #E1F1FF;
}

.falbum-photo img, .falbum-photo-ds img {

}

.falbum-thumbnail-ds a:hover img {
background-color: #E1F1FF;
border: 1px solid #3399FF;
}

#content ul {
list-style-position:inside;
}
#content ul li {
padding: 3px 0 6px 0;
}



