/*
Theme Name: Photo New Zealand
Theme URI: http://wordpress.org/
Description: 
Version: 0.1
Author: AlexT
Author URI: http://www.fotonewzealand.co.nz/
Tags: 

*/



/* Begin Typography & Colors */
body {
	margin:0;
	padding:0;
	font-size: 12px;
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	line-height: 1.6;
	color: #000;
	background: #727272 url(images/bgpattern.gif);
	}

#layouttop, #layoutbottom{
	width: 910px; 
	margin: 0 auto;
	padding: 0 18px 0 17px;
	height: 53px;
}	

#layouttop {
	position: relative;
	background: transparent url(images/layout_top.png) 0 0 no-repeat;
	overflow: hidden;
}	

#layouttop p {
	margin: 0;
}

#layoutbottom {
	position: relative;
	background: transparent url(images/layout_bottom.png) 0 0 no-repeat;
}

#header {
	height: 120px;
	background: #fff url(/wp-content/uploads/2008/07/hdr_skyfly.jpg) 10px 0 no-repeat;
	padding: 0 10px;
}

#layouttop h1 {
	margin: 0;
	line-height: 1;
	font-size: 14px;
	padding: 20px 0 0 20px;
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	letter-spacing: 4px;
}

#layouttop h1 a {
	color: #000;
	text-decoration: none;
}

a.langlink {
	position: absolute;
	display:block;
	width: 24px;
	height: 16px;
	top: 18px;
	right: 30px;
}

a#langlinkrus {
	background: transparent url(images/flag_rus_off.gif) 0 0 no-repeat;
}

a#langlinkrus:hover {
	background: transparent url(images/flag_rus.gif) 0 0 no-repeat;
}

a#langlinkeng {
	background: transparent url(images/flag_nz_off.gif) 0 0 no-repeat;
}

a#langlinkeng:hover {
	background: transparent url(images/flag_nz.gif) 0 0 no-repeat;
}
	
#page {
	width: 910px; 
	margin: 0 auto;
	padding: 0 18px 0 17px;
	background: transparent url(images/layout_middle.png) 0 0 repeat-y;
	min-height: 500px;
}
	
#pageunderlay {
	background-color: #fff;
}
	
#content.narrowcolumn {
	width: 652px;
	padding: 0 15px 0 25px;
	float: left;
	background-color: #fff;
}	

#sidebar {
	width: 193px;
	padding: 15px 0 10px 15px;
	margin-right: 10px;
	float: left;
	min-height: 500px;
	background-color: #fff;
}


.searchfield {
	width: 140px;
	margin: 10px 10px 0 0;
	z-index: 10;
}
/* img button */
.searchbutton 
{
	width: 48px;
	height: 48px;
	margin-left: -30px;
	position:absolute; /* to align with the text field */
	z-index: 20;
}

#sidebar p {
	margin-top: 0;
}

#footer {
	padding: 10px 10px 1px 10px;
}

.clear {
	clear: both;
}


a.rsslink {
	position: absolute;
	display:block;
	width: 14px;
	height: 14px;
	top: 20px;
}

a.rsslink span {
	display: none;
}

a#rssico {
	background: transparent url(images/ico_rss_off.gif) 0 0 no-repeat;
	right: 50px;
}



a#rssicocomments {
	background: transparent url(images/ico_rss_comments_off.gif) 0 0 no-repeat;
	right: 30px;
}

a 
{
	color: #0869c4;
}

a:visited
{
	color: #5e7edc;
}

a:hover
{
	color: #0b5df4;
}

h1,h2,h3 {
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
}

h4,h5,h6 {
	margin-bottom: 0;
}
.post {
	padding: 1px 0;
	/*border-bottom: 1px dotted #ccc; 
	background: transparent url(images/bgtile.gif) left bottom repeat-x;*/
}

.post h2 {
	font-size: 22px;
	margin-bottom: 0;
	margin-left: -10px;
	padding: 26px 0 0 60px;
	background: transparent url(images/icons/posts-48x48.png) 0 10px no-repeat;
}

.post h2.contacttitle {
	background: transparent url(images/icons/Sent-Mail-48x48.png) 0 10px no-repeat;
}
.post h2.linkstitle {
	background: transparent url(images/icons/safari-48x48.png) 0 10px no-repeat;
}

.post h2 a {
	color: #333;
	text-decoration: none;
	border-bottom: 1px dashed #333;
	}
.post h2 a:hover{
	color: #0869c4;
	border-bottom: 1px dashed #0869c4;
	}
	
/* search results */
.searchresults .post h3 {
	margin-bottom: 0;
}
.searchresults .post p {
	margin-top: 0;
}
	
#layoutbottom p {
	margin:0;
	padding: 18px 0 0 10px;
	font-size: 11px;
	text-align: center;
}

#wordpressref {
	position: absolute;
	top: 18px;
	left: 30px;
}

#copyright {

}

#layoutbottom a {
	color: #ccc;
	text-decoration: none;
}

#content img {
	border-width: 0;
}

/* Begin Images  */
/*	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 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */


.navigation  .alignleft a {
	display: block;
	margin-top: 20px;
	padding: 12px 0 24px 60px;
	background: transparent url(images/icons/prev-48x48.png) 0 0 no-repeat;
}

.navigation  .alignright a {
	display: block;
	margin-top: 20px;
	padding: 12px 60px 24px 0;
	background: transparent url(images/icons/next-48x48.png) top right no-repeat;
}

/* Comments */

h3#comments {
	font-size: 18px;
	padding: 20px 0 10px 60px;
	background: transparent url(images/icons/Rich-Text-Editor-48x48.png) 0 0 no-repeat;
}

h3#respond {
	font-size: 18px;
	padding: 20px 0 10px 60px;
	background: transparent url(images/icons/Pen2-48x48.png) 0 0 no-repeat;
}

.alt {
	background-color: #f8f8f8;
	}

#commentform input {
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

#commentform #submit {
	margin: 0;
	float: right;
	}

.commentlist {
	list-style: none;
	margin:0;
	padding:0;
}
.commentlist li {
	padding: 15px 0 0 30px;
	margin-bottom: 2px;
}

.commentname {
	font-weight:bold;
	font-size: 12px;
	margin-left: -16px;
}


.commentmetadata a {
	text-decoration: none;
}

.commentauthor, .commentuser {
	border-bottom: 1px solid #fff;
	overflow: auto;
}
/* End Comments */

#nzmainnav {
	margin: 0 10px 0 10px;
	padding: 0;
	list-style: none;
	overflow: hidden;
	background: #f0f0f0 url(images/navbg.gif) top left repeat-x;
}

#nzmainnav li   {
	display: inline;
}

#nzmainnav li a {
	padding: 5px 15px;
	display: block;
	float: left;
	background: transparent url(images/navborder.gif) top right no-repeat;
	text-decoration: none;
	color: #0869c4;
}

#nzmainnav li a:hover, #nzmainnav li.navon  a{
	color: #000;
	background: transparent url(images/navborder.gif) top left repeat-x;
}

#content.searchresults {
	padding-top: 20px;
}

.textwidget {
	margin-bottom: 20px;
}


ul.simplelist {
	margin: 0;
	padding: 0;
	list-style: none;
}

ul.simplelist li {
padding: 1px 0;
}