/*
Theme Name: p10
Theme URI: http://onlineregistration.co.nz
Author: Paul Turner
Author URI: http://p10.co.nz
Description: P10 theme using static Bootstrap site into dynamic WordPress theme
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
The MIT License (MIT)
Copyright (c) 2011-2014 Twitter, Inc
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/*--------------GOOGLE FONTS------------------*/
@import url(http://fonts.googleapis.com/css?family=Roboto:400,300,700);
@import url(http://fonts.googleapis.com/css?family=Montserrat:400,700);
.fpw-page-title, .fpw-featured-image {
    margin: 0px !important;
    padding-top: 0px;
}
.fade {
    opacity: 1;
    transition: opacity 0.15s linear 0s;
}
.phone-box {
    	background: #000;
    	display: block;
    	/*height: 30px;*/
    	width: 100%;
	padding-bottom:30px;
	padding-top:20px;
	text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
	text-align:center;
	
}  
.phone-box p, h3, h1 {
	color:#FFF;
}
.phone-box h1 {
	font-size:28px;
	color: #FFF;
}
.quote-box p {
    color: #FFF;
    font-size: 18px;
    font-weight: 500;
	padding:0px;
	margin:0px;
}
.quote-box {
    	background: #ffb200;
    	display: block;
    	/*height: 30px;*/
    	width: 100%;
	padding-top:10px;
	margin-top:10px;
	padding-bottom:10px;
	text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
	drop-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
	text-align:center;
} 
.phone-box h3 {
	color: #3F9E3F;
}
body {
background-color: #EDECEA;
background-image: url("http://tannerfencing.co.nz/wp-content/uploads/2014/04/bg.gif");
background-repeat: repeat-x;
background-position: center top;
background-attachment: scroll;
	padding-bottom: 20px;
	
	font-family: 'Roboto', sans-serif;
	font-weight:300;
	font-size:15px;
	line-height: 1.6em;
}
p {
	font-family: 'Roboto', sans-serif;
	font-weight:300;
	font-size:15px;
	line-height: 1.6em;
}
ul {
font-family: 'Roboto', sans-serif;
	font-weight:300;
	font-size:15px;
	line-height: 1.6em;
	padding-left: 15px;
}
h5 {
	font-family: 'Roboto', sans-serif;
	font-weight:700;
}
h1, h2, h4  {
	font-family: 'Montserrat', sans-serif;
	margin:0px;
}
h3 {
	font-family: 'Montserrat', sans-serif;
	margin:0px;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    line-height: 1.6;
}
h1 {
	font-weight:400;
	font-size:24px;
	margin-bottom:8px;
	line-height:32px;
	color:#000;
}
h2 {
font-weight: 700;
font-size: 20px;
margin-bottom: 16px;
margin-top: 24px;
line-height: 22px;
}
h3 {
	font-weight:500;
	font-size:17px;
	/*margin-bottom:16px;
	line-height:24px;*/
}
h4 {
	font-weight:700;
	font-size:17px;
	margin-bottom:16px;
	line-height:18px;
	
}
td, th {
    padding: 5px;
}
/* BANNER  (homepage)
-------------------------------------------------------------- */

#banner {
  clear: both;
  margin: 0 auto;
  max-width: 1170px;
  padding: 0px;
	background-color:#333;
}
#banner img{
	width:33.333%;
	height:auto;
	padding:0px;
	margin:0px;
}

/* =WordPress Core
-------------------------------------------------------------- */
 .comment-content img, .widget img {     max-width: 100%; }
.alignnone {
  margin: 5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 20px auto;
}
.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}
.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}
.aligncenter {
  display: block;
  margin: 5px auto;
}
img.size-full {
max-width:100%;
height:auto;
}
img {
    height: auto;
    vertical-align: top;
    margin-bottom: 0px;
    max-width: 100%;
}
a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}
a img.alignnone {
  margin: 5px 20px 20px 0;
}
a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}
a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption {
  background: #f9f9f9;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 13px 10px 10px 10px;
  text-align: center;
}
.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}
.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}
.wp-caption p.wp-caption-text {
  font-size: 12px;
  line-height: 1.5em;
  margin: 0;
  padding: 10px;
}
img.wp-smiley {
  vertical-align: middle;
}
/* =WORDPRESS GALLERY SUPPORT
----------------------------------------------- */
.gallery { 
	margin: 0 auto 2em; 
}
.gallery .gallery-item { 
	float: left; 
	display: block; 
	background: #fff; 
	margin: 10px 1.5% 20px; 
	text-align: center;
}
.gallery .gallery-item:hover { }
.gallery .gallery-icon { 
	text-align: center; 
	padding: 0; 
	margin: 0; 
	overflow: hidden; 
	line-height: 0; 
}
.gallery-columns-1 .gallery-item { float: none; text-align: center; width:100%; margin: 10px 0 20px; }
.gallery-columns-2 .gallery-item { width:47%; }
.gallery-columns-3 .gallery-item { width:30%; }
.gallery-columns-4 .gallery-item { width:22%; }
.gallery-columns-5 .gallery-item { width:17%; }
.gallery-columns-6 .gallery-item { width:13.6%; }
.gallery-columns-7 .gallery-item { width:12.25%; margin:10px 1% 10px; }
.gallery-columns-8 .gallery-item { width:10.5%; margin:10px 1% 10px; }
.gallery-columns-9 .gallery-item { width:9.11%; margin:10px 1% 10px; }
.gallery dl a { 
	display: block; 
}
.gallery dl a img { 
	height: auto; 
	margin: 0 auto;
}
.gallery .gallery-caption { 	
	font-size: 14px; 
	line-height: 1.2em; 
	margin: 10px 0 0; 
	display:none; 
}
.gallery br+br { display:none; }
/*----------------------------------------------- */
.glyphicon .glyphicon-th {
	color:#000;
}
.glyphicon .glyphicon-th a {
	color:#BCA706;
}
.header {
	margin-bottom:0px;
	/*height:180px;*/
}
.top-header {
	background-color:#000;
	padding:5px;
	
}
.hero-unit-container h2 a {
	color:#000000 !important;
}
.hero-unit-container h2 a:hover {
	color:#bca706;
}
.label-above label { 
	font-family: 'Roboto', sans-serif;
}
/*
.admin-bar .navbar-fixed-top {
	margin-top:30px;
}*/
/*-------------- CONTAINERS ---------------*/
.container {
    padding-right: 0px;
    padding-left: 0px;
    margin-right: auto;
    margin-left: auto;
}
.page-header {
    margin: 20px 0px 20px;
    border-bottom: 1px solid #EEE;
}
.hero-unit-container {
    /*padding: 30px 35px 30px 40px;*/
    padding: 30px 45px 60px 50px;
    margin-bottom: 30px;
    color: inherit;
    background-color: #FFF;
		-moz-box-shadow:    0px 2px 6px 1px rgba(50,50,50,0.1);
		-webkit-box-shadow: 0px 2px 6px 1px rgba(50,50,50,0.1);
		 box-shadow:         0px 2px 6px 1px rgba(50,50,50,0.1);
}
.metaslider a, .metaslider a:visited {
	
	text-decoration: none !important;
	
}
.hero-unit-container a, .hero-unit-container a:visited {
	
	
	color:#555;
}
.hero-unit-container a:hover{
	color:#2012b9;
	text-decoration: none;
	
}
.hero-unit {
	margin-bottom: 30px;
	color: inherit;
	background-color: #FFF;
	border: 4px solid #f9f9f9;
		-moz-box-shadow:    0px 2px 6px 1px rgba(50,50,50,0.1);
		-webkit-box-shadow: 0px 2px 6px 1px rgba(50,50,50,0.1);
		 box-shadow:         0px 2px 6px 1px rgba(50,50,50,0.1);
}
.hero-unit-box {
margin-bottom: 30px;
color: inherit;
background-color: #FFF;
border:1px solid #ddd;
padding: 10px;
padding-top: 20px;
text-align: center;
		-moz-box-shadow:    0px 2px 6px 1px rgba(50,50,50,0.1);
		-webkit-box-shadow: 0px 2px 6px 1px rgba(50,50,50,0.1);
		 box-shadow:         0px 2px 6px 1px rgba(50,50,50,0.1);
}
.hero-unit-box img {
	max-width:100%;
	height:auto;
}
.hero-unit-footer {
	padding: 20px;
	margin-bottom: 0px;
	color: #000;
	background-color: #fff;
		-moz-box-shadow:    0px 2px 6px 1px rgba(50,50,50,0.1);
		-webkit-box-shadow: 0px 2px 6px 1px rgba(50,50,50,0.1);
		 box-shadow:         0px 2px 6px 1px rgba(50,50,50,0.1);
}
.hero-unit-footer ul li a {
	color: #000;
	font-family: "Roboto",sans-serif;
	font-weight: 300;
	font-size: 14px;
	line-height: 1.2em;
}
.hero-unit-footer ul{
	font-size:12px;
	list-style-type: none;	
	margin-top:10px;
}
.hero-unit-footer ul a{
	
	text-decoration:none;
}
.client_logos img {
    padding: 9px;
    width: 16%;
}

.hero-case-grid {
	height:150px;
	width: 100%;
	overflow: hidden;
	float: left;
	display: block;
	margin-bottom:7px;
}
/*----------------SLIDER--------------------*/
#player_uid_579707980_1:before {
  content: "Joe's Task:";
}
a:hover, a:focus {
	color: #bca706;
	text-decoration:none;
}
a {
    color: #000;
}
a img:hover {
    opacity: 0.8;
    box-shadow: 0px 0px 0px #000;
}
.nav li a {
	font-family: 'Montserrat', sans-serif;
	font-weight:500;
	font-size:15px;
	color:white;
	transition: background-color .3s ease-out;
	-moz-transition: background-color .3s ease-out;
	-webkit-transition: background-color .3s ease-out;
	-o-transition: background-color .3s ease-out;
	padding:13px 10px;
}
.nav li li a {
	color:#000;
	font-size:14px;
	text-align:center;
	padding: 9px;
}
.nav li li a:hover {
    color: #999;
}
.nav li {
	border-right:1px #555555 solid;
}
/*--------HOME BUTTON----------------*/
#menu-item-8 {
	border-left:1px #555555 solid;
}
.nav li li {
	border-right:0px;
}
.nav li a:hover {
	color:#f9f9f9;
}
.nav > li > a:hover {
    text-decoration: none;
    background-color: #3F9E3F;
}
.nav > li > a:focus {
    background-color: #3F9E3F;
	 text-shadow: 0px 2px 2px rgba(255, 255, 255, 0.4);
}
.sub-menu li {
    margin-bottom: 20px;
    list-style: none outside none;
    border-bottom: 1px solid #EEE;
    padding: 5px;
}
.sub-menu li:last-child {
	margin-bottom: 0;
}
.sub-menu a  {
	color: #999;
	text-decoration: none;
	
}
.sub-menu a:hover  {
	color: #fff;	
}	
.current-menu-item > a, .current-menu-parent > a {
	font-weight: 500;
	/*background-color: #3F9E3F;*/
	opacity:1;
	background-color: #3F9E3F;
	
}
.current-menu-parent li a {
	background: inherit;
}
.current-menu-parent .current-menu-item a {
	color: #fff;
	
}
/*----------FRONT FEATURE BLOCKS-----*/
.fpw-page-title {
	color: #3F9E3F !important;
	padding: 9px !important;
	background-color: #000 !important;
	font-size: 15px !important;
	margin-top:0px !important;
}
.fpw-page-title:hover {
	color: #000 !important;
	padding: 9px !important;
	/*background-color: #3F9E3F !important;*/
	font-size: 15px !important;
	margin-top:0px !important;
background-image: -webkit-gradient(
	linear,
	left bottom,
	left top,
	color-stop(0, #d3bc07),
	color-stop(1, #FBDE06)
);
background-image: -o-linear-gradient(top, #d3bc07 0%, #FBDE06 100%);
background-image: -moz-linear-gradient(top, #d3bc07 0%, #FBDE06 100%);
background-image: -webkit-linear-gradient(top, #d3bc07 0%, #FBDE06 100%);
background-image: -ms-linear-gradient(top, #d3bc07 0%, #FBDE06 100%);
background-image: linear-gradient(to top, #d3bc07 0%, #FBDE06 100%);
}
.fpw-widget-page .fpw-page-title {
	margin-top:0px !important;
}
.fpw-excerpt p {
	margin: 0px !important;
	color: #000 !important;
	padding: 13px !important;
	font-size: 14px;
	line-height: 1.5em;
	background-color: #3F9E3F !important;
} 
/*---------------SIDEBAR---------------*/
.sidebar {
	margin-top: 40px;
	color:#444;
}
.sidebar h3 {
	color: #fff;
	padding: 9px;
	padding-left: 15px;
	background-color: #000;
	font-size: 16px;
	
}
.sidebar ul li a {
	
	font-family: "Roboto",sans-serif;
	font-weight: 500;
	font-size: 15px;
	display:block;
	padding-bottom:8px;
	padding-top:8px;
	padding-left:15px;
	padding-right:15px;
	
}
.sidebar ul li a:hover {
	
	font-family: "Roboto",sans-serif;
	font-weight: 500;
	font-size: 15px;
	color:#fff;
	background-color:#3F9E3F;
		transition: background-color .3s ease-out;
	-moz-transition: background-color .3s ease-out;
	-webkit-transition: background-color .3s ease-out;
	-o-transition: background-color .3s ease-out;
}
.sidebar ul li {
	/*color: #000;*/
	border-bottom:1px solid #EEE;


}

.widget h3 {
	margin-top:20px;
	margin-bottom:10px;
}
/*------------WIDGETS-----------------*/
.widget {
	10px 0 30px;
}
.widget ul {
	list-style-type: none;
	margin-left:0px;
	padding-left:0px;
}
.widget ul li a {
	/*color: #000;*/
	font-family: "Roboto",sans-serif;
	font-weight: 300;
}
/*----------------BLOG-----------------*/
article.post {
	margin:20px 0 40px;
}
	
.portfolio-image img, .portfolio-piece img {
	max-width:100%;
}
.prev-next {
	font-size: 20px;
	margin-top: 20px;
	text-align: right;
}
/*P10 updates*/
.navbar-collapse {
    max-height: 940px;
}
.navbar-fixed-top, .navbar-fixed-bottom {
    position: relative;
	background-color:transparent;
}
.navbar-header {
	margin-top:30px;
	margin-bottom:10px;	
	max-width: 100%;
	width: auto;
	text-align:center;
}
.navbar-header-icon {
	margin-top:30px;
	margin-bottom:20px;	
	max-width: 100%;
	width: auto;
}
.navbar-header-icon img{
max-width: 24%;
height: auto;
}
.navbar {
    position: relative;
    min-height: 50px;
    margin-bottom: 0px;
    border: 0px solid transparent;
	background-color: #50b648;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0px;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 100%;
    padding: 5px 0px;
    margin: 2px 0px 0px;
    font-size: 14px;
    list-style: outside none none;
    background-color: #FFF;
    background-clip: padding-box;
    border: 0px solid rgba(0, 0, 0, 0.15);
    border-radius: 0px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.176);
}
.nav .open > a, .nav .open > a:hover, .nav .open > a:focus {
    background-color: #000;
    border-color: #428BCA;
}
.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
    color: #FFF;
    text-decoration: none;
    background-color: #3F9E3F;
    outline: 0px none;
.right-header {
	margin-top:0px;
	margin-bottom:0px;
	text-align:right;
	float:right;	
}
.right-header h3 {
	font-size:18px;
	color:#000;
	font-weight:700;
}
.left-header {
	
	margin-top:0px;
	margin-bottom:0px;
	margin-right:20px;
	text-align:right;
	float:right;	
}
.left-header h3 {
	font-size:16px;
	color:#000;
	font-weight:700;
	margin:0px;
}
/*--------------------IMAGES CASE STUDIES/OUR TEAM ETC------------------*/
.casestudies-image img, .casestudies-piece img, .ourteam-piece img  {
	max-width: 100%;
	min-width: 100%;
}
.casestudies-piece h4 {
	color: #3F9E3F !important;
	padding: 9px !important;
	background-color: #000;
	font-size: 14px ;
	margin-top:0px;
	min-height: 210px;
	display: block;
}
.casestudies-piece h4 a:link, .casestudies-piece h4 a:visited  {
	color: inherit;
	text-decoration:none;
	
}
.casestudies-piece p {
	margin:0px;
	
}
.casestudies-piece h4:hover {
	color: #000 !important;
	padding: 9px !important;
	background-color: #3F9E3F !important;
}
.casestudies-piece h4 a:hover {
	color: #000 !important;
	
}
/*-------------GOOGLE MAPS-----------------*/
 .google-maps {
position: relative;
padding-bottom: 75%; // This is the aspect ratio
height: 0;
overflow: hidden;
}
.google-maps iframe {
position: absolute;
top: 0;
left: 0;
width: 100% !important;
height: 100% !important;
}
/*----------------------------------------------*/
/* =SEARCH WIDGET 
----------------------------------------------- */
#search-submit {
	display: none;
}
input#s {
	background-color: #666;
	opacity: 0.7;
	width: 170px;
	margin-left: 0px;
	color: #ffffff;
	border-radius: 12px;
	border: 1px solid #333;
	padding: 0px;
	padding-left:12px;
	padding-bottom:4px;
	/*width:100px;*/
}
input#s:focus {
    	background: #fbdf06;
	color:#000;
	width:170px;
}
textarea {
    width: 90%;
}
/*
.search-icon:before {
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font: normal 18px/1 'Genericons';
	content: '\f400';
}*/
#go-button {
font-family: "Montserrat",sans-serif;
background-color: #222;
color: #F9F9F9;
border-radius: 14px;
border: 2px solid #555;
padding: 2px;
font-size: 11px;
}
#masthead .search-wrap span {
	right: 1px;
}
/*--------BUTTON-----------*/
.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .open .dropdown-toggle.btn-info {
    color: #FFF;
    background-color: #bca706;
    border-color: #c8b206;
}
.btn-info {
    color: #FFF;
    background-color: #000;
    border-color: #333;
}
.btn {
	border-radius: 1px;
}
 
/*--------FOOTER---------*/
footer {
	padding:10px;
}
/*---------------------*/
@media (min-width:992px) {
.navbar-header img {
	max-width: 100%;
	height: auto;
}
}
/*----------------NAVMENU------------------*/
@media (min-width:768px) {
	.sub-menu {
		display: none;
		position: absolute;
		background-color:#FFF;
		padding: 13px 15px;
		width: 300px;	
		text-align:left;	
		-moz-box-shadow:    0px 0px 4px 1px rgba(0,0,0,0.1);
		-webkit-box-shadow: 0px 0px 4px 1px rgba(0,0,0,0.1);
		 box-shadow:         0px 0px 4px 1px rgba(0,0,0,0.1);
	}
	li:hover .sub-menu {
		display: block;
	}
}
/*---------------------------------------------*/
@media (max-width: 767px) {
	/*TOP HEADER*/
	input#s {
    		width: 70px;
	}
	.left-header {
		margin-right: 5px;
	}
	
	.hero-unit-container {
		padding: 10px 10px 20px 10px;
		margin-bottom: 10px;
	}
	/*MENU*/
	.navbar-header-icon {
	display:none;
	}
	.nav li li a {
    		color: #fff;
    		font-size: 14px;
		text-align:center !important;
	}
	.nav > li > a {
		padding: 7px;
		border-right: 1px solid #13870B;
		border-top: 1px solid #55C04D;
	}
	.sub-menu li {
    		margin-bottom: 0px;
		list-style: outside none none;
		border-bottom: 1px solid #666;
		padding-bottom: 5px;
		text-align: center;
		background-color: #333;
}
}
@media (max-width:540px) {
		.metaslider {
			display: none;
		}
			.portfolio-piece h4 {
			font-size: .8em;
		}
		.prev-next {
			margin-top: 15px;
			font-size: 18px;
		}
		h3 {
    			font-size: 15px;
		}
		.navbar-header {
			margin-top:10px;
		}
		#banner {
			display:none;
		}
	
}
@media (max-width:340px) {
	.portfolio-piece h4 {
		font-size: .8em;
	}
	.prev-next {
		margin-top: 15px;
		font-size: 18px;
	}
	.navbar-header img{
	width:100%;
	height:auto;
	}

}
@media only screen and (max-width: 800px) {
    .client_logos img {
    	padding: 9px;
    	width: 30%;
	}
    /* Force table to not be like tables anymore */
	#no-more-tables table, 
	#no-more-tables thead, 
	#no-more-tables tbody, 
	#no-more-tables th, 
	#no-more-tables td, 
	#no-more-tables tr { 
		display: block; 
	}
 
	/* Hide table headers (but not display: none;, for accessibility) */
	#no-more-tables thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
 
	#no-more-tables tr { border: 1px solid #ccc; }
 
	#no-more-tables td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
		white-space: normal;
		text-align:left;
	}
 
	#no-more-tables td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
		text-align:left;
		font-weight: bold;
	}
 
	/*
	Label the data
	*/
	#no-more-tables td:before { content: attr(data-title); }
}