/*
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
*/
/*--------------GOOGLE FONTS------------------*/

@import url(http://fonts.googleapis.com/css?family=Raleway:400,300,500,700);
@import url(http://fonts.googleapis.com/css?family=Montserrat:400,700);
@import url('https://fonts.googleapis.com/css?family=Kameron:400,700');

/* ------- Insert custom styles below this line ------- */
body {
	padding-bottom: 0px;
	background-color:#FFFFFF;
	font-family: 'Raleway', sans-serif;
	font-size: 15px;
}
p, ul, .copyright-text, h4, h6 {
	font-family: 'Raleway', sans-serif;
}
h1, h2, h3, h5, .widget-title, .title {
	font-family: 'Kameron', serif;
}
hr {
border-top: 4px solid #333;
}
.row {
  padding-right: 0px;
  margin-right: 0px;
  margin-left: 0px;
}
label {
    display: block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: bold;
}
p {
	font-weight: 300;
	font-size: 17px;
	line-height: 1.6em;
	color:#666666;
}
table p {
	font-size: 14px;
	line-height: 1.5em;
}
ul {
	font-weight:300;
	font-size:15px;
	line-height: 1.6em;
	color:#666666;
}
h1 {
	text-transform: uppercase;
	font-weight:700;
	font-size:36px;
	margin-bottom:18px;
	margin-top:18px;
	line-height:36px;
}
h2 {
	font-weight: 700;
font-size: 22px;
margin-bottom: 16px;
margin-top: 20px;
line-height: 24px;
}

h3 {
	font-weight: 500;
	font-size: 24px;
	margin-bottom: 16px;
 	margin-top: 20px;
    	line-height: 26px;
}
h4 {
	font-weight:400;
	font-size:17px;
	margin-bottom:16px;
	line-height:18px;
}
h5 {
	font-weight:700;
}
h6 {
	font-weight:300;
	font-size:14px;
	line-height: 1.4em;
	color:#666666;
}
img {
	max-width: 100%;
	height: auto;
}

/* =WordPress Core
-------------------------------------------------------------- */
.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;
}

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
-------------------------------------------------------------- */
.gallery {
  margin: 0 auto 18px;
}

.gallery .gallery-item {
  float: left;
  margin-top: 0;
  text-align: center;
}
.gallery img {
  border: 2px solid #4CB849;
margin-left:15px;
}
.gallery .gallery-caption {
  font-size: 12px;
  margin: 0 0 12px;
display:none;
}

.gallery dl {
  margin: 0;
}

.gallery br+br {
  display: none;
}

.attachment-gallery img {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  display: block;
  height: auto;
  margin: 15px auto;
  max-width: 96%;
  padding: 5px;
  width: auto;
}

.gallery-meta .iso,
.gallery-meta .camera,
.gallery-meta .shutter,
.gallery-meta .aperture,
.gallery-meta .full-size,
.gallery-meta .focal-length {
  display: block;
}
/*------------------FORM------------------------*/

input.wpcf7-form-control.wpcf7-text, input.wpcf7-form-control.wpcf7-number, input.wpcf7-form-control.wpcf7-date, textarea.wpcf7-form-control.wpcf7-textarea, select.wpcf7-form-control.wpcf7-select {
    width: 100%;
}
/*------------------PORTFOLIO ITEMS----------------------------- */
.portfolio-piece {
	margin-bottom:0px;
	padding:15px;

}
.featured-image img, .portfolio-piece img, .portfolio-image img {
	width: 100%;
	height: auto;
}
.portfolio-piece img, .portfolio-image img {
	padding:10px;
	/*-webkit-box-shadow: 3px 3px 7px 0px rgba(0,0,0,0.1);
	-moz-box-shadow: 3px 3px 7px 0px rgba(0,0,0,0.1);
	box-shadow: 3px 3px 7px 0px rgba(0,0,0,0.1);*/
	transition: all 0.7s ease;
}
.portfolio-piece img:hover,
.portfolio-image img:hover {
padding:10px;
	-webkit-box-shadow: 3px 3px 7px 0px rgba(0,0,0,0.6);
	-moz-box-shadow: 3px 3px 7px 0px rgba(0,0,0,0.6);
	box-shadow: 3px 3px 7px 0px rgba(0,0,0,0.6);
 opacity: 0.7;
    filter: alpha(opacity=70);
transition: all 0.3s ease;
}


.glyphicon .glyphicon-th {
	color:#000;
}
.glyphicon .glyphicon-th a {
	color:#BCA706;

}
/*-----------------*/

.center-block {
	text-align:center;
	padding-bottom: 50px;
}
.center-block img {
	max-width:80%;
	height:auto;
}
.top-header {
	background-color: #000;
	padding: 5px;
	color: #FFF;
	font-size: 15px;
	font-weight: 400;
	
}
.top-header a {
	color:#FFFFFF;
}
.top-header a:hover {
	color:#000;
}
.hero-unit-container h2 a {
	color:#000000;
}
.hero-unit-container h2 a:hover {
	color:#0678b4;
}

/*
.admin-bar .navbar-fixed-top {
	margin-top:30px;
}*/
/*-------------- BANNER ---------------*/

.jumbotron h2 {
	font-size: 20px;
	margin-bottom: 7px;
	margin-top: 12px;
	margin-left: 0px;
	line-height: 22px;
	color: #FFF;
	padding: 0px;
}
.jumbotron {
    padding:50px 0 0 0;
	margin-bottom:20px;
}
.jumbotron {
	background: url(/wp-content/uploads/2017/03/home_bg.jpg) no-repeat top center fixed; 
 /* -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;*/

}
/*PAGE*/
.jumbotron_page h2 {
	
	font-weight:500;
	font-size:28px;
	margin-bottom:16px;
	margin-top:16px;
	margin-left:40px;
	line-height:32px;
	color:#000;
}

/*----FOOTER---*/

.jumbotron_footer {
	text-align:center;
    padding:60px 10px 60px 10px;
}
.jumbotron_footer {
	background: url(/wp-content/uploads/2017/03/banner-book.jpg) no-repeat top center; 
 /* -webkit-background-size: 100%;
  -moz-background-size: 100%;
  -o-background-size: 100%;
  background-size: 100%;*/

}
.jumbotron_footer h2 {
	
	font-weight:700;
	font-size:28px;
	margin-bottom:16px;
	margin-top:16px;
	margin-left:40px;
	line-height:32px;
	color:#fff;
}
/*-------------- CONTAINERS ---------------*/
.container {
    padding-right: 0px;
    padding-left: 0px;
    margin-right: auto;
    margin-left: auto;
}
.page-header {
	margin: 40px 0px 20px;
	border-bottom: 2px solid #ddd;
	padding-bottom: 0px;
}
.hero-unit-container {
	padding: 30px 80px 20px 80px;
    margin-bottom: 30px;
    color: inherit;
    background-color: #FFF;
}
.hero-unit-container a{
	
	text-decoration:underline;
}

.hero-unit-container > ul > li {
	margin-bottom:10px;
}
.hero-unit {
	margin-bottom: 30px;
	padding-top:30px;
	color:#FFFFFF;
	text-align:center;
}
/*-----------SCROLLTOTOP---------------*/

.scrollToTop{
width: 60px;
height: 50px;
padding: 10px;
text-align: center;
font-weight: bold;
color: #444;
text-decoration: none;
position: fixed;
bottom: 0px;
right: 20px;
display: none;
background-color: #000;
	
}
.scrollToTop:hover{
	text-decoration:none;
}
/*---FOOTER---*/
.hero-unit-footer {
	padding: 10px 15px 10px 10px;
	margin-bottom: 0px;
	color: #000;
	background-color: transparent;
}
.hero-unit-footer ul li a {
	color: #FFF;
	font-weight: 300;
	font-size: 16px;
	line-height: 1.8em;
}
.hero-unit-footer ul{
	font-size:12px;
	list-style-type: none;	
	margin-top:10px;
}
.hero-unit-footer ul a{
	
	text-decoration:none;
}
.hero-unit-footer h3 {
    font-weight: 400;
    font-size: 15px;
    margin-bottom: 16px;
    line-height: 24px;
	color:#FFFFFF;
}
.hero-case-grid {
	height:150px;
	width: 100%;
	overflow: hidden;
	float: left;
	display: block;
	margin-bottom:7px;
}

a:hover, a:focus {
	
	text-decoration:none;
}
a {
    	color: #0954c4;
	
}
a img:hover {
    opacity: 0.8;
    box-shadow: 0px 0px 0px #000;
}

/*----------FRONT FEATURE BLOCKS-----*/
.fpw-page-title {
	color: #FADE00 !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: #FADE00 !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: #FADE00 !important;
} 

/*---------------SIDEBAR---------------*/
.sidebar {
	margin-top: 0px;
	color:#444;
}
.sidebar img{
	max-width:100%;
}
.sidebar h3 {
	color: #FFFFFF;
padding: 9px 5px 9px 20px;
background-color: #000;
font-size: 18px;
font-weight: 700;
	
}
.sidebar p {
	padding-left: 9px;
}
.sidebar ul li a {
	/*color: #000;*/
	font-weight: 300;
	font-size: 14px;
	line-height: 1.4em;
}
.sidebar ul li {
	/*color: #000;*/
	border-bottom:1px solid #EEE;
	padding-bottom:10px;
	padding-top:10px;
}

/*----------------BLOG-----------------*/
.portfolio-image img, .portfolio-piece img {
	max-width:100%;
}
.prev-next {
	font-size: 20px;
	margin-top: 20px;
	text-align: right;
}

/*P10 updates*/

/* ----MAIN MENU ---- */

.navbar-brand img {
	width: 100%;
	height:auto;
}

.navbar-toggle {
    position: relative;
    float: left;
    padding: 3px;
    margin-top: 8px;
    margin-right: 0;
    margin-bottom: 0;
    background-color: #000;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 0px;
    width: 100%;
}
.sr-only {
    position: relative;
    padding: 0;
    margin: 0px;
}
.navbar {
    border-radius: 0px;
}
.navbar .navbar-nav > .active > a {
    	color: #000;
    	background-color: #fff;
}
.navbar-inverse .navbar-nav > .active > a:hover, .navbar .navbar-nav > .active > a:focus {
    	color: #fff;
    	background-color: #000;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	-o-transition: all .5s;
	-ms-transition: all .5s;
	transition: all .5s;
}
.navbar .navbar-nav > li > a {
	color:#000;
	text-align:center;
}
.navbar .navbar-nav > li > a:hover {
	color:#fff;
	background-color: #000;
-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-o-transition: all .3s;
	-ms-transition: all .3s;
	transition: all .3s;
}

.navbar .navbar-collapse, .navbar .navbar-form {
	border:0px solid;
}
.navbar-nav {
    margin: 0px;
    font-size: 18px;
}
.navbar-nav > li > a {
	text-transform: uppercase;
	font-family: 'Kameron', serif;
	color:#000;
	padding: 20px 25px;
	margin: 0px 0px;
	font-weight: 700;
}
  .navbar-nav {
    width: 100%;
    text-align: center;
}
   .navbar-nav > li {
      float: none;
      display: inline-block;
}


/*---------MENU-----------*/
.navbar-toggle {

    margin-top: 0px;

}
.navbar-collapse {
    max-height: 940px;
    padding-right: 0px;
    padding-left: 0px;
    overflow-x: visible;
    border-top: 0px solid transparent;
    box-shadow: 0px 0px 0px rgba(255, 255, 255, 0.1) inset;
}
.navbar-fixed-top, .navbar-fixed-bottom, .navbar-inverse  {
	position: relative;
	background-color:#333;
}
.navbar-header {
	margin-top:0px;
	margin-bottom:0px;	
	width: 100%;
}
.navbar-header-icon {
	margin-top:30px;
	margin-bottom:20px;	
	max-width: 100%;
	width: auto;
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border:#FFFFFF;
}

.navbar-header-icon img{
max-width: 24%;
height: auto;
}
.navbar {
    position: relative;
    min-height: 50px;
    margin-bottom: 0px;
    border: 0px solid transparent;
}
/*---MENU END---*/
/*---TOP HEADER---*/
.right-header {
	margin-top:0px;
	margin-bottom:0px;
	text-align:right;
	float:right;	
	padding-right:20px;
}
.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: #FADE00 !important;
	padding: 9px !important;
	background-color: #000;
	font-size: 14px ;
	margin-top:0px;

}
.casestudies-piece h4 a {
	color: #FADE00 !important;
	
}
.casestudies-piece p {
	margin:0px;
	
}
.casestudies-piece h4:hover {
	color: #000 !important;
	padding: 9px !important;
	background-color: #FADE00 !important;
}
.casestudies-piece h4 a:hover {
	color: #000 !important;
	
}

/*--------BUTTON-----------*/
a.btn.btn-success {
	color:#fff;
	text-decoration:none;
}
.btn-success {
    color: #fff;
    background-color: #7dc242;;
    border-color: #7dc242;;
}

.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-success.active, .open .dropdown-toggle.btn-success {
    color: #fff;
    background-color: #268736;
    border-color: #268736;
}

.btn-info:hover, .btn-info:focus, .btn-info:active, .btn-info.active, .open .dropdown-toggle.btn-info {
    color: #FFF;
    background-color: #0b5f9e;
    border-color: #c8b206;
}
.btn-info {
    color: #FFF;
    background-color: #000;
    border-color: #333;
}
.btn {
	border-radius: 1px;
}
.btn-primary {
    	color: #FFF !important;
	background-color: #B9254C;
	border-color: #9f1f40;
	font-weight:500;
	text-decoration:none !important;
}
.btn-primary a {
	text-decoration: none !important;
}
.btn-primary:hover {
    background-color: #9f1f40;
    border-color: #9f1f40;
}

/*--------FOOTER---------*/

footer {
	padding:10px;
}
.footer_container {
	padding-top:10px;
	width:100%;
	background-color: #fff;
}
.footer_container p {
		color:#000;
}
.footer_icons_container {
	width:100%;
	background-color: #fff;
	padding:0px;
}
.footer_icons_container h2 {
    font-weight: 300;
    font-size: 22px;
    margin-bottom: 16px;
    margin-top: 6px;
    margin-left: 0px;
    line-height: 28px;
    color: #FFF;
}
footer p {
	color:#FFF;
	text-align:center;
}
/*----------------NAVMENU------------------*/
@media (min-width:768px) {
	.sub-menu {
		display: none;
		position: absolute;
		background-color:#FFF;
		padding: 0px;
		width: 200px;	
		text-align:left;	

	}

	li:hover .sub-menu {
		display: block;
	}

}
/*---------------------------------------------*/
/*==================================================
=            Bootstrap 3 Media Queries             =
==================================================*/

	/*==========  Mobile First Method  ==========*/
 
	/* Custom, iPhone Retina */
	@media only screen and (min-width : 320px){
 
	}
 
	/* Extra Small Devices, Phones */
	@media only screen and (min-width : 480px){
 
	}
 
	/* Small Devices, Tablets */
	@media only screen and (min-width : 768px){
	}
 
	/* Medium Devices, Desktops */
	@media only screen and (min-width : 992px){

	}
 
	/* Large Devices, Wide Screens */
	@media only screen and (min-width : 1200px){
 
	}
 
 
	/*==========  Non-Mobile First Method  ==========*/
 
	/* Large Devices, Wide Screens */
	@media only screen and (max-width : 1200px){
 
	}
 
	/* Medium Devices, Desktops */
	@media only screen and (max-width : 992px){
		.navbar-brand img, .logo-byline img {
			width:70%;
			height:auto;
		}
		.navbar-nav {
    			font-size: 14px;
 		}
		.navbar-brand {

    			/*height: 90px;*/
		}
 	}
	/* Small Devices, Tablets */
	@media only screen and (max-width : 768px){
		.navbar-nav {
			font-size: 14px;
			margin:0px;
    			float: none;
		}
		.nav > li {
			border-bottom: 1px solid #000;
		}
		.nav > li > a {
	    		padding: 15px 12px;
	    		margin: 0px 0px;
		}
	}
 
/*-- RESTRICT MINIMUM WIDTH --*/
@media (max-width: 992px) {
		.navbar-nav > li > a {
		padding: 20px 18px;
	}
	.hero-unit-container {
	    padding: 10px 30px 20px 30px;
	}
}

@media (max-width: 768px) {
	.jumbotron {
	    padding: 50px 0 0 0;
	}
	.navbar-nav > li {
 	   display: block;
	}
	.navbar {
    		background-color: #fff;
	}
	.hero-unit-container {
	    padding: 10px 20px 20px 20px;
	}
	.center-block img {
    max-width: 90%;
    height: auto;
}
}

@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 970px;
  }

}
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}
@media (min-width: 768px) {
  .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
    float: left;
  }

  /* more... */
}
@media (min-width: 992px) {
  .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
    float: left;
  }
  /* more... */
}
@media (min-width: 1200px) {
  .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 {
    float: left;
  }
  /* more... */
}
