/*
Theme Name: Punakaiki responsive
Description: Punakaiki responsive theme
Version: 1.0
Author: Andy
*/


@import url('webfontkit-sansita/stylesheet.css');

/* General styles                                   */
/* ------------------------------------------------ */
body {
	margin: 0;
	background: #fff;
	min-width: 300px;
}

html, body, p, li, dd, td {
	color: #664b1c;
	line-height: 150%;
	font-size: 1.1em;
	font-family: 'sansitaregular', sans-serif;
}

img a, a img {
	border: 0;
}

td {
	vertical-align: top;
}

a {
	color: #1a6eb7;
	text-decoration: underline;
	outline: none;
}

a:hover {
	color: #ff9900;
}

ul {
	margin: 8px 0 18px 18px;
	padding: 0;
}

li {
	padding-left: 4px;
	line-height: 180%;
}

h1, h1 a, h2, h2 a, h3, h3 a {
	line-height: 120%;
	font-family: 'sansitaregular', sans-serif;
	font-weight: normal;
}

h1, h1 a {
	font-size: 1.8em;
	margin-top: 0;
}

h2, h2 a {
	font-size: 1.4em;
}

h3, h3 a {
	font-size: 1.2em;
}

hr {
	height: 3px;
	border: 0;
	width: 100%;
	background: #84ae42;
	color: #84ae42;
	margin: 5px 0 20px 0;
}

b, strong {
	font-family: 'sansitabold', sans-serif;
	font-weight: normal;
}

i, em {
	font-family: 'sansitaitalic', sans-serif;
}

#navbar, .content, .wrapper {
	width: 930px;
	margin: 0 auto;
}

b i, b em, strong i, strong em, i b, i strong, em b, em strong {
	font-family: 'sansitabolditalic', sans-serif;
}

.wrapper {
    padding: 0 25px;
}

/* Header                                           */
/* ------------------------------------------------ */
#header {
	font-size: 24px;
	line-height: 140%;
	min-height: 130px;
	padding-top: 60px;
	background: #fff;
	text-align: center;
	border-top: 14px solid #bab9b9;
}

#header a {
	font-size: 44px;
	text-decoration: none;
	color: #000;
}

#slideshow {
	max-height: 720px;
	overflow: hidden;
}

#slideshow img {
	display: block;
	width: 100% !important;
	height: auto !important;
}

#headerlogo {
	position: absolute;
	width: 100%;
	text-align: center;
	top: 20px;
	z-index: 999;
}

#searchbar {
    background: #0c82d4;
    /*border-bottom: 1px solid #fff;*/
    padding: 6px 0;
    overflow: hidden;
}
/*
form#searchbox {
    float: right;
    font-size: 0;
    padding: 0;

}
input#s {
    padding: 0 15px;
    margin: 0;
    background:#fff;
    border: 0;
    width: 150px;
    font-size: 15px;
    color: #444;
    border-radius: 15px 0 0 15px;
}
input#searchbutton {
    margin: 0;
    border: 0;;
    color:#456b21;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
}

input#s, input#searchbutton {
    height: 28px;
    line-height: 28px;
    vertical-align: top;
}

input#searchbutton:hover {
    cursor: pointer;
}
*/

#searchbar-links {
    float: right;
}

#searchbar-links ul {
    margin: 0;
}


#searchbar-links ul li {
    line-height: 30px;
    float: left;
    color: #fff;
    padding: 0;
}

#searchbar-links ul li a {
    color: #fff;
    line-height: 100%;
    padding-right: 35px;
    font-size: 18px;
}

/* Homepage                                         */
/* ------------------------------------------------ */
#homepage-intro-wrapper {
	background: #ede1ce url(images/homepage-intro.gif) right bottom no-repeat;
}

#homepage-intro-wrapper .content {
	text-align: center;
	font-size: 1.4em;
}

#homepage-intro-wrapper .content, #homepage-intro-wrapper .content p {
	color: #664b1c;
	line-height: 120%;
}

#homepage-intro-wrapper .content h1, #homepage-intro-wrapper .content p {
	margin: 0;
}

.homepage-bigimage img {
	width: 100%;
	height: auto;
	display: block;
	margin: 6px 0;
}

#homepage-map {
	background: #0c82d4;
}

#homepage-map, #homepage-map p {
	color: #fff;
}

/* Navbar                                           */
/* ------------------------------------------------ */
#navbar-wrapper {
	background: #84ae42;
}

#navbar {
	height: 75px;
	padding: 10px 0;
	position: relative;
	z-index: 1000;
}

.anchor-link {
	display: none;
	float: left;
	height: 50px;
	padding: 0 25px;

}

a.anchor-link {
	color: #fff;
	text-decoration: none;
	line-height: 50px;
	font-size: 25px;
}

form#searchbox {
    float: right;
    font-size: 0;
    height: 45px;
    margin: -38px 20px 0 0;
}

input#s {
    background: #bddf88;
    border: 0;
    width: 150px;
    height: 22px;
    padding: 4px 0 4px 8px;
    -moz-border-radius: 15px 0 0 15px;
    -webkit-border-radius: 15px 0 0 15px;
    border-radius: 15px 0 0 15px;
}

input#searchbutton {
    margin: 0;
    border: 0;
    -moz-border-radius: 0 15px 15px 0;
    -webkit-border-radius: 0 15px 15px 0;
    border-radius: 0 15px 15px 0;
    padding: 0 27px 0 0;
    color:#456b21;
    background: #bddf88;
    color: transparent;
    font-size: 1px;
    background: #bddf88 url(images/search.png) 0 4px no-repeat;
    height: 30px;
    vertical-align: top;
}

input#searchbutton:hover {
    cursor: pointer;
}



/* Content                                          */
/* ------------------------------------------------ */
.content {
	overflow: hidden;
	min-height: 200px;
	clear: both;
	padding: 35px;
}

.content, .content p, .content li {
	line-height: 160%;
}

.content img {
	max-width: 100%;
	height: auto;
}


.ngg-gallery-thumbnail-box {
	float: left !important;
	width: 22%;
	margin: 2% 2%;
}

.ngg-gallery-thumbnail img {
	border: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	width: 100%;
	height: auto;
}

.searchresults h4 {
    margin-bottom: 0;
}

.searchresults h4 a {
    text-decoration: none;
}

.searchresults p {
    margin-top: 0;
}

.search-highlight {
    background:#FFFF00
}

a.searchresult-permalink {
    font-size: 0.8em;
    margin-top: -20px;
    ccolor: #999;
    display: block;
    text-decoration: none;
}



/* Listings                                         */
/* ------------------------------------------------ */
.listing {
	background: #f4ede2;
	margin-bottom: 34px;
}

.listing-thumbnail {
	display: block;
	margin-bottom: 15px;
	width: 100%;
	height: auto;
}

.listing h2 {
	font-size: 2.0em;
	margin: 0;
}

.ngg-gallery-thumbnail-box {
    float: left !important;
    width: 23%;
    margin: 2% 1%;
}

.ngg-gallery-thumbnail {
    border: 0 !important;
}

.ngg-gallery-thumbnail img {
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    height: auto;
}



/* Pan / zoom images                                */
/* ------------------------------------------------ */
#scroll {
    width: 100%;
    height: 700px;
    overflow: hidden;
    cursor: move;
    background: #eee;
}

#scroll-wrapper {
    position: relative;
}

#zoom-controls {
    position: absolute;
    right: 20px;
    bottom: 20px;
    background: #fff;
    z-index: 99;
    cursor: pointer;
    padding: 5px;
    box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.4);
}

#zoom-controls img {
    float: left;
}

#map1 {
    width: 2500px;
    height: auto;
    display: block;
}

.disabled {
    opacity: 0.30;
    filter: alpha(opacity=30);
    cursor: default;
}

.mapwrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 25px 80px 25px;
}


/* Footer                                           */
/* ------------------------------------------------ */
#footer {
	font-size: 0.9em;
	padding: 30px 0 15px 0;
	text-align: center;
}

#footer a, #footer, #footer p {
	color: #5c7e2b;
}

#footer img {
	padding: 0 15px 25px 15px;
}

body.single #footer, body.page #footer {
	background: #f4ede2;
}

a.scrollup {
	width: 53px;
	height: 53px;
	position: fixed;
	bottom: 50px;
	right: 20px;
	display: none;
	text-indent: -9999px;
	background: url('images/top.gif') no-repeat;
	opacity: 0.7;
}


/* Responsive elements                              */
/* ------------------------------------------------ */
@media screen and (max-width: 1025px) {
	#navbar, .content, .wrapper {
		width: auto;
	}


}

@media screen and (max-width: 970px) {
	form#searchbox {
        margin: 10px 25px 0 0;
    }

    .ngg-galleryoverview {
		width: auto !important;
	}



	#lightbox-container-image-box img {
		max-width: 100% !important;
		height: auto !important;
	}
}

@media screen and (max-width: 760px) {
    .mapwrapper {
        display: none;
    }
}

@media screen and (max-width: 680px) {
	.ngg-gallery-thumbnail-box {
		width: 45%;
		margin: 2%;
	}

	#headerlogo img {
		max-width: 95%;
		height: auto;
	}

	img#nzmap {
		width: 50%;
		height: auto;
		border: 2ps solid red;
		float: none;
		margin: 0 auto;
	}


}




/* WP Common Styles */

ol.commentlist {
	margin:0;
	padding:0;
	}

.commentlist li {
	list-style:none;
	margin-bottom:14px;
	}

.commentlist cite {
	padding: 7px;
	display:block;
	font-style:normal;
	background:url(http://www.yoursite.com/images/bg_comments2_cite.gif);
	border-top:1px solid #d6e4c1;
	border-bottom:1px solid #779d42;
	color:#596e3b;
	}

.commentlist a:link, .commentlist a:visited {
	color:#596e3b;
	}

.commentlist a:hover, .commentlist a:active {
	color:#8ec343;
	}

.commentlist cite img {
	padding:1px;
	border:1px solid #aab59a;
	float:left;
	margin-right:9px;
	}

.commentlist .author {
	font: small-caps bold 1.2em Georgia, "Times New Roman", Times, serif;
	text-decoration:underline;
	}

.commentlist .time {
	background: url(http://www.yoursite.com/images/bg_clock.gif) no-repeat 1px;
	padding-left:13px;
	}

.commenttext {
	background: #9bc561 url(http://www.yoursite.com/images/bg_comments2_text.jpg) repeat-x bottom;
	border-top:1px solid #c5f386;
	padding: 0 20px 10px 20px;
	color:#fafcf6;
	}

.editLink {
   margin-top: 30px;
   text-align: center;
   padding: 5px 0 15px 0;
}
.editLink a, a.editLink {
   background: #777;
   color: #fff;
   font-size: 18px;
   text-decoration: none;
   padding: 8px 15px;
   -moz-border-radius: 5px;
   -webkit-border-radius: 5px;
   border-radius: 5px;
}
.editLink a:hover, a.editLink:hover {
   background: #444;
   text-decoration: none !important;
}
.postmetadata {
   color: #999;
   font-size: 10px;
   margin: 2px 0;
}

img.aligncenter {
   display: block;
   text-align: center;
   margin: 0 auto;
}
img.alignright {
   text-align: right;
   display: block;
   float: right;
   margin: 10px 0px 5px 15px;
}
img.alignleft {
   text-align: left;
   display: block;
   float: left;
   margin: 10px 20px 5px 0px;
}
.wp-caption-text,.wp-caption-dd {
   margin: 0;
   font-weight: bold;
   font-size: smaller;
   text-align: center;
}
.wp-caption {
   margin-right: 5px;
}
.more-link {
   display:block;
}
.linklove {
   display:none;
}
.aligncenter,
dl.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	float: left;
}
.alignright {
	float: right;
}