/*
Theme Name: Westport
Description: Westport theme
Version: 1.0
Author: Andy
*/

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

html, body, p, li, dd, td {
	color: #08627f;
	line-height: 140%;
	font-size: 1.06em;
	font-family: 'Bree Serif', serif;
}

.pace-running {
	background: url(images/preloader.gif) center 200px no-repeat #fff;
}

.pace-running > :not(.pace) {
  opacity: .8;
}

.pace-done > :not(.pace) {
  opacity: 1;
  transition: opacity .5s ease;
}

img a, a img {
	border: 0;
}

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

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-weight: normal;
}

h1 {
	font-size: 2.4em;
	margin-top: 0;
}

h2 {
	font-size: 2.1em;
}

h3 {
	font-size: 1.6em;
}

hr {
	height: 1px;
	border: 0;
	width: 100%;
	background: #ddddde;
	color: #dddddd;
	margin: 30px 0;
}

.wrapper {
	width: 950px;
	padding: 0 25px;
	margin: 0 auto;
	position: relative;
	clear: both;
}

a.pdf-link {
    display: inline-block;
    background: url(images/download_pdf.gif) left 4px no-repeat;
    padding: 0 0 0 55px;
    line-height: 30px;
}

/* Header                                           */
/* ------------------------------------------------ */
#header {
	padding-top: 15px;
	background: #a0c008;
	text-align: center;
}

#subpage_headerimage img {
	width: 100%;
	height: auto;
}

#subpage_headerimage .wrapper {
	padding: 0;
}

/* Homepage                                         */
/* ------------------------------------------------ */
#homepage-intro {
	background: #0c779b;
	margin-top: -2px;
	padding: 50px 0;
}

#homepage-intro h1, #homepage-intro p, #homepage-intro a {
	color:#fff;
}

#homepage-intro h1 + p {
	font-size: 1.4em;
}

#homepage-locations {
	background: #408b25;
	margin: 30px 0;
	overflow: hidden;
	clear: both;
}


.homepagebox-content {
	padding: 0 20px;
}

.homepage-location h2, .homepage-location p, .homepage-location a, .homepage-explore h2, .homepage-explore p, .homepage-explore a  {
	color: #fff;
}

.homepage-location h2 {
	font-size: 29px;
	margin: 5px 0;
}

.homepage-location-punakaiki {
	background: #977d13;
}

.homepage-location-cape-foulwind {
	background: #217f6c;
}

.homepage-location-denniston {
	background: #909d17;
}

.homepage-location-reefton {
	background: #745c22;
}

.homepage-location-punakaiki-header {
	background: rgba(209, 116, 7, .6);
}

.homepage-location-cape-foulwind-header {
	background: rgba(12, 119, 155, .6);
}

.homepage-location-denniston-header {
	background: rgba(197, 169, 13, .6);
}

.homepage-location-reefton-header {
	background: rgba(116, 92, 34, .6);
}



#homepage-explore-section {
	background: #d17407;
	margin: 30px 0;
	overflow: hidden;
}

.homepage-explore, .homepage-location {
	width: 50%;
	float: left;
	text-align: center;
	padding-bottom: 999px;
	margin-bottom: -969px;
}

.image-container {
	position: relative;
}

.image-container img {
	vertical-align: bottom;
	width: 100%;
	height: auto;
}

h2.info img {
	height: auto;
	width: auto;
	padding: 4px 0 0 4px;
}

.homepage-explore h2, .homepage-location .image-container h2, .homepage-location .image-container h2 {
	position: absolute;
	margin: 0;
	padding: 2px 0 6px 0;
	bottom: 0;
	left: 0;
	right: 0;
	text-align: center;
}

.homepage-explore-denniston-header {
	background: rgba(79, 82, 5, .6);
}

.homepage-explore-stories-header {
	background: rgba(102, 49, 20, .6);
}

.homepage-explore-denniston {
	background: #836006;
}

.homepage-explore-stories {
	background: #914c0f;
}


#homepage-footerpics {
	max-height: 460px;
	overflow: hidden;
}

#homepage-footerpics img {
	width: 50%;
	float: left;
	margin-top: -10%;
}


/* Content                                          */
/* ------------------------------------------------ */
.content {
	padding: 30px 0;
	overflow: hidden;
	font-size: 1.1em;
	min-height: 200px;
}

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

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

body.page .content p, body.page .content a {
	font-family: 'Lato', sans-serif;
}

a.readmore {
	background: url(images/readmore-arrow.png) right 50% no-repeat;
	color: #fff !important;
	padding-right: 18px;
	text-transform: uppercase;
}



a.readmore, .homepagebox-image img, input[type="submit"] {
	-webkit-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

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

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

.locationpin {
	padding-left: 32px;
	background: url(images/pin.png) left 4px no-repeat;
}

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

.listing .wrapper {
	padding-top: 30px;
	padding-bottom: 30px;
}

.listing h2 {
	/*border-bottom: 2px solid #dadfc2;*/
	padding-bottom: 3px;
	font-size: 1.8em;
}

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

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

.listing b, .listing-single b {
	float: left;
	font-size: 17px;
	border-bottom: 1px solid #dce1c4;
	width: 100px;
	padding: 5px 8px 5px 12px;
	margin-bottom: 1px;
	font-weight: normal;
}


.listing span, .listing-single span {
	display: block;
	border-bottom: 1px solid #dce1c4;
	margin: 0 0 1px 110px;
	padding: 5px 22px;
	font-size: 17px;
	max-width: 50%;
}

.listing-gallery {
	padding: 10px 0 20px 0;
	margin: 0 -2%;
	overflow: hidden;
}

.listing-gallery div {
	width: 21%;
	padding: 0 2%;
	float: left;
}

.listing-gallery div img {
	border: 6px solid #dce1c4;
	width: 100%;
	height: auto;
}

/* Footer                                           */
/* ------------------------------------------------ */
#footer {
	padding: 60px 0 20px 0;
	font-size: 20px;
	margin-top: 30px;
	text-align: center;
	background: #b7a33f url(images/footer-bg.gif) center bottom no-repeat;
}

#footer a, #footer, #footer p {
	color: #fff;
}

#footer-logos {
	padding-top: 150px;
}

#footer-logos img {
	padding: 0 10px;
}

#copyright {
	padding-top: 30px;
	font-size: 15px;
}


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

/* Responsive elements                              */
/* ------------------------------------------------ */

@media screen and (min-width: 1280px) {
	.wrapper {
		width: 1200px;
	}
}


@media screen and (max-width: 1020px) {
	.wrapper {
		width: auto;
	}
}

@media screen and (max-width: 980px) {
	#homepage-locations .wrapper, #homepage-explore-section .wrapper {
		padding: 0;
	}


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

	.ngg-gallery-thumbnail-box {
		width: 29%;
		margin: 1% 2%;
	}

	.ngg-gallery-thumbnail {
		width: 100%;
	}

	.ngg-gallery-thumbnail img {
		width: 100%;
		height: auto;
	}

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

}


@media screen and (max-width: 800px) {
	img.alignright, img.alignleft {
		float: none !important;
		margin: 12px auto !important;
	}
}

@media screen and (max-width: 760px) {
	.homepage-explore, .homepage-location {
		width: 100%;
	}

	.listing-gallery div {
		width: 46%;
		padding: 0 2%;
		float: left;
	}

    #Webcam .camtab {
        display: none;
    }
}

@media screen and (max-width: 650px) {
	/*
	.homepage-location {
		width: 100%;
		padding-bottom: 30px;
		margin-bottom: 0;
	}
	*/
	#homepage-footerpics {
		display: none;
	}

	.ngg-gallery-thumbnail-box {
		width: 45%;
		margin: 2%;
	}

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

}

@media screen and (max-width: 560px) {
	.flex-control-nav {
		display: none;
	}
}




/* 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;
}