/*
Theme Name: PFP09 Ltd
Theme URI: http://www.pfp09ltd.co.nz
Description: Template for PFP09 Ltd 
Version: 141113
Author: Web Revolution
Author URI: http://www.webrevolution.co.nz
*/

/*----------------------------------------------
------------------------------------------------
	              CSS Reset
----------------------------------------------*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}

/*----------------------------------------------
------------------------------------------------
	        Universal Styles
----------------------------------------------*/
@font-face {
    font-family: 'KimberleyBlack';
    src: url('fonts/kimberley_bl-webfont.eot');
    src: url('fonts/kimberley_bl-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/kimberley_bl-webfont.woff') format('woff'),
         url('fonts/kimberley_bl-webfont.ttf') format('truetype'),
         url('fonts/kimberley_bl-webfont.svg#KimberleyBlack') format('svg');
    font-weight: normal;
    font-style: normal;
}


body {
	background: url(images/bg.png) repeat;
	font: 1em/1.4 Arial, Helvetica, sans-serif;
}

a {
	color: #02b1c4;
	outline: 0 none;
	text-decoration: none;
}

a:hover {
	color: #000;
}

.clearfix {
	*zoom: 1;
}

.clearfix:before,
.clearfix:after {
	content: "";
	display: table;
	line-height: 0;
}

.clearfix:after {
	clear: both;
}

.clear-both {
	clear: both;
}

.clear-left {
	clear: left;
}

.clear-right {
	clear: right;
}

.float-left {
	float: left;
}

.float-right {
	float: right;
}

em {
	font-style: italic;
}

strong {
	font-weight: 700;
}

sup, sub {
	position: relative;
	top: -0.4em;
	vertical-align: baseline;
}

sub {
	top: 0.4em;
}

.display-block {
	display: block;
}

.hidden-indent {
	position: absolute;
	text-indent: -9999px;
}

.display-none {
	display: none !important;
	visibility: hidden !important;
}

.full_width {
	float: left;
	width: 100%;
	position: relative;
	min-width: 320px;
}

.inner_div {
	width: 100%;
	position: relative;
}

.wrapper {
	margin: 0 auto;
	position: relative;
	min-width: 300px;
	max-width: 1000px;
	padding: 0 10px 20px;
}

/* == Wrapping text around images == */
img.alignright { 
	float: right;
	margin: 0.4em 0 0.5em 0.5em;
}

img.alignleft {
	float: left;
	margin: 0.4em 0.5em 0.5em 0;
}

img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignright { float:right; }

.alignleft { float:left; }

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* == Image Caption == */
p.wp-caption-text {
	font-size: 0.9em;
	margin-bottom: 0;
}

/*----------------------------------------------
-----------------------------------------------
	               Heading
----------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
	color: #626f75;
	line-height: 1.2;
	font-family: 'KimberleyBlack';
	margin-bottom: 0.5em;
}

h1 {
	font-size: 2em;
}

h2 {
		font-size: 1.75em;
}

h3 {
		font-size: 1.5em;
}

h4 {
		font-size: 1.25em;
}

h5 {
		font-size: 1.15em;
}

h6 {
		font-size: 1.1em;
}

.post-blurb h2 {
	font-size: 22px;
}

/*===================================================================
  ===================================================================
													  RESPONSIVE STYLE's
 ===================================================================
===================================================================*/
img,
.widget img,
.wp-caption {
	max-width: 100%;
}

/* Make sure images with WordPress-added height and width attributes are scaled correctly. */
img,
img[height],
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] {
	height: auto;
}

img.size-full,
img.size-large,
img.wp-post-image {
	height: auto;
	max-width: 100%;
}

/* ==== Hover Transition ==== */
a,
li,
.post-thumb,
#text-4 a {
	-webkit-transition: all 200ms linear;
		-moz-transition: all 200ms linear;
        -ms-transition: all 200ms linear;
        -o-transition: all 200ms linear;
		transition: all 200ms linear;
}

/*-----------------------------------------------------------------------
-------------------------------------------------------------------------
	              					Header
-----------------------------------------------------------------------*/
#header {
	background: url(images/header-bg.jpg) repeat-x;
}

#header-wrap {
	padding-top: 59px;
	padding-bottom: 0;
}

#header-logo {
	float: left;
	margin-top: 11px;
}

/* == Main Navigation Menu == */
#navbar {
	float: right;
}

#navbar .first-list-wrap > li {
	float: left;
}

#navbar a {
	color: #fff;
	display: block;
}

#navbar .first-list-wrap > li > a {
	padding: 35px 20px 36px;
}

#navbar .first-list-wrap > li:hover > a,
#navbar .first-list-wrap > li.current-menu-item > a {
	background-color: #626F75;
}

#nav_menu-2 {
	clear: both;
	padding-top: 24px;
}

#nav_menu-2 li {
	float: left;
	margin-left: 2%;
	margin-bottom: 20px;
}

#nav_menu-2 li:first-child {
	margin-left: 0;
}

#nav_menu-2 li a {
	color: #fff;
	width: 235px;
	display: block;
	padding: 10px 0;
	text-align: center;
	background-color: #626f75;
	-webkit-border-radius: 8px;
    border-radius: 8px;
}

#nav_menu-2 li:hover a,
#nav_menu-2 li.current-menu-item a {
	background-color: #02b1c4;
}

#cyclone-slider-widget-2 {
	max-width: 942px;
	margin: 0 auto 20px;
}

#text-2 {
	margin-bottom: 20px;
}

#text-2 h3 {
	color: #fff;
	font-size: 21px;
	text-align: center;
	margin-bottom: 0;
}

@media screen and (max-width: 580px) {
	#navbar .first-list-wrap > li > a {
		font-size: 11px;
		padding: 20px 6px 19px;
	}
	
	#nav_menu-2 li {
		float: none !important;
		clear: both !important;
		width: 300px !important;
		margin: 0 auto 10px !important;
	}
	
	#text-2 h3 {
		font-size: 18px;
	}
}

@media screen and (max-width: 930px) {
	#header-logo {
		width: 300px;
		float: none;
		clear: both;
		margin: 15px auto;
	}
	
	#navbar {
		top: -59px;
		position: absolute;
	}
}

@media screen and (min-width: 581px) and (max-width: 930px) {
	#navbar .first-list-wrap > li > a {
		padding-top: 16px;
		padding-bottom: 16px;
	}
}

@media screen and (max-width: 1036px) {
	#nav_menu-2 li {
		width: 49%;
	}
	
	#nav_menu-2 li a {
		width: 100%;
	}
	
	#nav_menu-2 li#menu-item-48 {
		margin-left: 0;
	}
}

/*--------------------------------------------------------------------
----------------------------------------------------------------------
	      					Main Content
--------------------------------------------------------------------*/
section p {
	margin-bottom: 1em;
}

section ul,
section ol {
	margin-left: 40px;
	margin-bottom: 0.9em;
}

section li {
	margin-bottom: 0.4em;
}

section ul li {
	list-style-type: square;
}

section ol li {
	list-style-type: decimal;
}

#main-wrap {
	padding-top: 20px;
}
	
section .list-marker {
	clear: both;
	margin-left: 0;
}

section .list-marker li {
	list-style: none;
	padding-left: 40px;
	background: url(images/listmarker.png) no-repeat left center;
}

/* ==== Home Page ==== */
article#post-2 {
	background: url(images/backing.png) no-repeat center 8%;
}

/* ==== Products Listing ==== */
.post-blurb {
	padding: 20px 15px 0;
	margin-bottom: 20px;
	border: 1px dotted #02b1c4;
}

.post-blurb h2 a {
	color: #000;
}

.post-blurb h2:hover a {
	color: #02b1c4;
}

.post-thumb {
	float: left;
	margin-right: 20px;
	margin-bottom: 20px;
	border: 3px solid #626F75;
}

.post-thumb:hover {
	border: 3px solid #02B1C4;
}

.product-enquiry h3 {
	color: #fff;
	font-size: 20px;
	padding: 10px;
	text-align: center;
	background-color: #626F75;
}

/* ==== Contact Us ==== */
#google-map {
	float: right;
}


/* ==== Sidebar ==== */
aside .widget {
	margin-bottom: 20px;
}

#sidebar-left h3 {
	font-size: 1.8em;
}

#categories-2 ul {
	margin-left: 15px;
}

#categories-2 li {
	list-style: square;
	border-bottom: 1px dotted #ccc;
}

#categories-2 li a {
	display: block;
	font-size: 1.2em;
	padding: 5px 0;
}

#categories-2 li.current-cat a {
	color: #000;
}

#text-4 a {
    color: #fff;
    padding: 10px;
    display: block;
    text-align: center;
    background: #626F75;
    -webkit-border-radius: 6px;
    border-radius: 6px;
}

#text-4 a:hover {
    background: #02b1c4;
}

@media screen and (max-width: 520px) {
	#google-map {
		float: none;
		clear: both;
		width: 300px;
		margin-left: auto;
		margin-right: auto;
	}
}

@media screen and (max-width: 767px) {
	#categories-2,
	#text-3 {
		display: none;
		visibility: hidden;
	}
}

@media screen and (min-width: 768px) {
	.maincolumn-one-sidebar {
		float: right;
		width: 65.1%;
		min-width: 476px;
	}
	
	#sidebar-left {
		float: left;
		width: 235px;
	}
	
	#categories-3 {
		display: none;
	}
}

@media screen and (min-width: 800px) {
	.maincolumn-one-sidebar {
		width: 66.5%;
	}
	
	section .list-marker {
		*zoom: 1;
	}
	
	section .list-marker:before,
	section .list-marker:after {
		content: "";
		display: table;
		line-height: 0;
	}
	
	section .list-marker:after {
		clear: both;
	}
	
	section .list-marker li {
		float: left;
		width: 40%;
		margin-right: 20px;
	}
}

@media screen and (min-width: 825px) {
	.maincolumn-one-sidebar {
		width: 67.6%;
	}
}

@media screen and (min-width: 850px) {
	.maincolumn-one-sidebar {
		width: 68.6%;
	}
}

@media screen and (min-width: 875px) {
	.maincolumn-one-sidebar {
		width: 69.6%;
	}
}

@media screen and (min-width: 900px) {
	.maincolumn-one-sidebar {
		width: 70.5%;
	}
}

@media screen and (min-width: 925px) {
	.maincolumn-one-sidebar {
		width: 71.3%;
	}
}

@media screen and (min-width: 950px) {
	.maincolumn-one-sidebar {
		width: 72.1%;
	}
}

@media screen and (min-width: 975px) {
	.maincolumn-one-sidebar {
		width: 72.8%;
	}
}

@media screen and (min-width: 1000px) {
	.maincolumn-one-sidebar {
		width: 73.5%;
	}
}

@media screen and (min-width: 1037px) {
	.maincolumn-one-sidebar {
		width: 74.5%;
	}
}

/*------------------------------------------------------------------------
--------------------------------------------------------------------------
	          				Footer Content
------------------------------------------------------------------------*/
#footer {
	color: #fff;
	font-size: 14px;
	background: url(images/footer-bg.jpg) repeat;
}

#footer-wrap {
	padding-top: 40px;
	padding-bottom: 40px;
	background: url(images/eco-friendly.png) no-repeat center center;
}

#nav_menu-3,
#nav_menu-3 li {
	float: left;
}

#nav_menu-3 li {
	margin-left: 10px;
}

#nav_menu-3 li:first-child {
	margin-left: 0;
}

footer a:hover,
#nav_menu-3 li.current-menu-item a {
	color: #fff;
}

#copyright {
	float: right;
}

@media screen and (max-width: 767px) {
	#footer-wrap {
		background-position: 98% center;
	}
	
	#nav_menu-3 {
		margin-bottom: 20px;
	}
	
	#copyright {
		float: left;
		clear: left;
	}
}

/*------------------------------------------------------------------------
--------------------------------------------------------------------------
	                				Forms
------------------------------------------------------------------------*/
input,
select,
textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

body .gform_wrapper {
	max-width: 98%;
	margin-top: 0;
}

body .gform_wrapper .gform_body .gform_fields .gfield_error div.ginput_container {
	max-width: 100%;
}

body .gform_wrapper .gform_body .gform_fields .gfield_error,
body .gform_wrapper li.gfield.gfield_error.gfield_contains_required,
body .gform_wrapper .gform_body .gform_fields .gfield_error .validation_message {
	padding: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 5px;
}

body .gform_wrapper .gform_body .gform_fields .gfield_error .validation_message {
	display: none !important;
}

body .gform_wrapper .gform_body .gform_fields .gfield_error {
	border: none;
	background: none;
	width: inherit !important;
}

body .gform_wrapper .gform_body .gform_fields .gfield .gfield_label {
	font-weight: normal;
}

body .gform_wrapper .gform_body .gform_fields .gfield input,
body .gform_wrapper .gform_body .gform_fields .gfield select,
body .gform_wrapper .gform_body .gform_fields .gfield textarea,
input#s,
select#cat {
	font-size: inherit;
	border: 1px solid #ddd;
	-webkit-border-radius: 0px;
    border-radius: 0px;
}

input#s {
	margin-bottom: 15px;
}

input#s,
select#cat {
	width: 99%;
	padding: 5px 0;
}

body .gform_wrapper .gform_body .gform_fields .gfield input:focus,
body .gform_wrapper .gform_body .gform_fields .gfield select:focus,
body .gform_wrapper .gform_body .gform_fields .gfield textarea:focus,
select#cat:focus,
input#s:focus {
	border: 1px solid #c3eeff;
}


body .gform_wrapper .gform_body .gform_fields .gfield_error div.ginput_container input,
body .gform_wrapper .gform_body .gform_fields .gfield_error div.ginput_container textarea,
body .gform_wrapper .gform_body .gform_fields .gfield_error div.ginput_container select,
body .gform_wrapper .gform_body .gform_fields .gfield_error div.gfield_captcha_input_container input {
	width: 99.2%;
	border: 1px solid red;
}

body .gform_wrapper .gform_footer {
	padding-top: 10px;
}

input#search-btn {
	width: 100%;
	color: #fff;
	border: none;
	padding: 5px 0;
	font-size: 1.1em;
	background-color: #626F75;
	-webkit-border-radius: 2px;
    border-radius: 2px;
}

body .gform_wrapper .gform_footer input[type=submit] {
	color: #fff;
	border: none;
	font-size: 16px;
	padding: 10px;
	background-color: #626F75;
	-webkit-border-radius: 2px;
    border-radius: 2px;
}

input#search-btn:hover,
body .gform_wrapper .gform_footer input[type=submit]:hover {
	cursor: pointer;
	background-color: #02b1c4;
}

body .gform_wrapper div.validation_error {
	color: #fff;
	top: 0;
	left: 0;
	width: 100%;
	padding: 5px;
	position: fixed;
	text-align: center;
	z-index: 1000000000000000;
	background-color: rgba(255, 0, 0, 0.7);
}
