/*
Theme Name: town default
*/


html, body, form, fieldset { margin: 0; padding: 0; }
form label { cursor: pointer; }
fieldset { border: none; }
.searchbox { margin-bottom: 15px; }
input, select, textarea { font-size: 100%; }
input { font-family: verdana, sans-serif; font-size: 100%; }

body {
	margin: 0; 
	font: small Georgia, serif;
	line-height: 1.5em;
	color: #222;
	min-height : 100%;
	background: #fff;
	}

/* Stretches the page to fill the window vertically */	
html, body {
	min-height : 100%;
	}
html > body {
	height : 100%;
	min-height : 100%;
	}
	
p .code {
	background: #eee !important;
	border: 1px solid #ccc;
	overflow: auto;
	padding: 2px 8px;
	}

#page { 
	width: 500px;
	margin: 0 auto;
	padding: 25px 0px 12px 0px; /*top, right, bottom, left */
	background-color: #fff;
	}



/* This is set up so links appear correctly on the portfolio page */	
#page-portfolio { 
	width: 500px;
	margin: 0 auto;
	padding: 25px 40px 12px; /*top, right, bottom, left */
	background-color: #fff;
	border-left: 4px solid #000;
	border-right: 4px solid #000;
	}

#header {	}
	#header h1 { margin: 0px 0 20px; padding: 0; font-size: 250%; text-transform:uppercase; }
	#header h1 a { color: #000; }
#slogan p {
text-align: right;
margin-top:-50px;
margin-bottom: 10px;
margin-left:300px;
text-transform:uppercase;
width:200px;
font-size:12px;
padding-top: 2px;
}
	
#nav { font-size: 80%; text-transform: uppercase; letter-spacing: 0.1em; border: 1px solid #000; }
	#nav ul { list-style: none; background: #000; margin: 1px; padding: 3px 10px; }
	#nav ul li { display: inline; padding-right: 10px; }
	#nav a { color: #eee; }
	#nav a:hover { color: #bbb !important; }

#content { width: 500px; background-color: #fff; }
	#content h2 { margin: 20px 0 0; padding: 0; font-size: 140%; }
	#content h2 a { color: #222; }
	#content h3 { margin: 15px 0 0; padding: 0; }
	#content h2.center { text-align:center; }
	
	.post p { margin: 5px 0 10px; text-align: justify; }
		.mainpost { /* if is post on home or archive page */
		border-bottom: 1px dotted #333; 
		margin-bottom: 10px; 
		padding-bottom: 18px; 
		}
	.quickpost { margin: 20px 0 10px; }
	.quickpost .permalink a { color: #ddd; }
	.quickpost .permalink a:hover { color: #aaa; }

	.hr { border-top: 1px dotted #333; margin: 20px 0 10px; }
	.published { border-bottom: none; }
	.meta {			}
#footer { 
		border-top: 1px dotted #333;
		font-size: 85%;
		position: relative; 
		width: 500px;
		/*height:45px;*/
		margin: 10px 0px 0 0px;
		padding: 2px 0 2px 0;
		}
#footer2 { 
	/* border-top: 1px dotted #333; */
	font-size: 85%;
	}	

#respond textarea { width: 495px; }

h1, h2, h3, h4 { font-weight: normal; }
	
.hidden, hr { display: none; }

a { text-decoration: none; }
#page a:hover { color: #000; border-bottom: 1px solid #000; } 



/* Images in posts */
img { border: 0; }
img.alignright { float: right; padding: 0 0 5px 5px; } /* used on the about page */

img.picright {
	padding: 5px;
	background: #fff;
	border: 1px solid #999;	
	margin: 0 0 0px 10px;
}

img.picleft {
	padding: 005px;
	background: #fff;
	border: 1px solid #999;
	margin: 0 10px 0px 0;
}
li .picright { margin: 0 20px 10px 10px; }
li .picleft { margin: 0 20px 10px 10px; }

/* Portfolio page */
#portfolio a { border-bottom: none; }
a img.portleft {
	padding: 0px;
	background: #fff;
	border: 3px solid #999;
	margin: 0 0px 0px 0; /*top, right, bottom, left */
}

a img.portright {
	padding: 0px;
	background: #fff;
	border: 3px solid #999;
	margin: 0 0 0px 8px; /*top, right, bottom, left */
}

a:hover img.portleft { border: 3px solid #000; }
a:hover img.portright { border: 3px solid #000; }

	/* Next-previous links: from K2
	   http://getk2.com
	--------------------------------------- */	
	.navigation {
		padding: 0px 0px 10px 0px; /* 5 0 30 0 */
		margin: 10px 0 20px 0px; /* -5px 0 0 0px */
		/*height: 2em;
		background:#111;*/
		display: block;
		text-align: center;
		width: 500px;
		}	
	.navigation a { }
	.alignright { float: right; }
	.alignleft { float: left; }
	
/* Archives page: SRG Clean Archives */	
.postspermonth {
	margin: 5px 0 10px 0;
	list-style: none;
	padding-left: 25px; 
	}	
	.postspermonth a { text-decoration: none; }
	.postspermonth a:hover { 
		text-decoration: none;
    	border-bottom: 1px solid #000; }
	.indent { margin-left: 10px; }	
	.archivemonth {		}
	.archivemonth a { text-decoration: none; }
	.archivemonth a:hover { text-decoration: none; border-bottom: 1px solid #000; }
	
/* Lightbox JS for Portfolio */
#lightbox{
	position: absolute;
	top: 40px;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	}

#lightbox a img{ border: none; }

#outerImageContainer{
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	}
#imageContainer{ padding: 10px; }

#loading{
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
	}
#hoverNav{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
	}
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{
	width: 49%;
	height: 100%;
	background: transparent url(../images/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
	}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(../images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../images/nextlabel.gif) right 15% no-repeat; }


#imageDataContainer{
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	}
#imageData{ padding:0 10px; }
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em;	}	
		
#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	filter:alpha(opacity=60);
	-moz-opacity: 0.6;
	opacity: 0.6;
	}
	
.clearfix:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
	}
* html>body .clearfix { display: inline-block; width: 100%; }
* html .clearfix { /* Hides from IE-mac \*/ height: 1%; }	
	