/*
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=Raleway:400,300,500,700);
@import url(http://fonts.googleapis.com/css?family=Montserrat:400,700);

body {
	padding-bottom: 0px;
	background-color:#FFFFFF;
	font-family: 'Raleway', sans-serif;

	font-size: 13px;
	color: #222;
	line-height: 2em;
	margin: 0px;
	padding: 0px;
	border: 0px none;
	word-wrap: break-word;


}
p {
	font-family: "Raleway",sans-serif;
	font-weight: 400;
	font-size: 15px;
	line-height: 1.6em;
	color:#000;
}
table p {
	font-size: 14px;
	line-height: 1.5em;
}
ul {
	font-family: 'Montserrat', sans-serif;
	font-weight:300;
	font-size:15px;
	line-height: 1.6em;
	color:#666666;
}
h5 {
	font-family: 'Raleway', sans-serif;
	font-weight:700;
}
h6 {
	font-family: 'Raleway', sans-serif;
	font-weight:400;
	color:#333;
	font-size:13px;
	padding:0px;
}
.jumbotron h6 {
    font-family: "Raleway",sans-serif;
    font-weight: 400;
    color: #FFF;
    font-size: 13px;
}
h1, h2, h3, h4  {
	font-family: 'Montserrat', sans-serif;
	margin:0px;
	-webkit-text-stroke: 1px rgba(0,0,0,0.1)
}

h1 {
	font-weight:400;
	font-size:24px;
	margin-bottom:18px;
	line-height:26px;
	
}
h2 {
	font-weight:700;
	/*font-size:20px;
	margin-bottom:16px;
	margin-top:0px;
	line-height:22px;*/
	border-bottom: 2px solid #C9C9C9;
	border-bottom-width: medium;
	font-size: 24px;
	padding: 20px 10px;
	margin: 0px;

	text-transform: uppercase;
	color: #010101;/*
	border-bottom-width: 4px medium medium;
	border-bottom-style: double none none;
	border-bottom-color: #C9C9C9 -moz-use-text-color -moz-use-text-color;*/
}
.text-box-black {
color: #FFF;
background-color: #67686a;
padding: 5px 15px;
text-transform: uppercase;
font-size: 15px;
}
.text-box-black h3 {
	color:#fff !important;
	
}
img { 
	max-width: 100%;
	height:auto;
}
hr {

    border-color: #d1d1d1 -moz-use-text-color -moz-use-text-color;
	margin:0px;
}

/* =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;
}

/*----------------------------------------------- */

.glyphicon .glyphicon-th {
	color:#000;
}
.glyphicon .glyphicon-th a {
	color:#BCA706;

}

.header {
margin-bottom: 0px;
padding: 20px 0px 30px;
background-image: url("http://192.185.92.36/%7Emglco/wp-content/uploads/2015/06/header-bg.png");
background-repeat: no-repeat;
background-color: #111;
background-position: right center;
}
.top-header {
	background-color: #000;
	padding:2px;
	color: #fff;
	font-size: 16px;
	font-weight: 400;
}
.top-header p{
	margin:6px;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	font-family: 'Montserrat', sans-serif;
}
.top-header a {
	color:#FFFFFF;
}
.top-header a:hover {
	color:#999;
}
.hero-unit-container h2 a {
	color:#000000;
}
.hero-unit-container h2 a:hover {
	color:#0678b4;
}

h3 {
	font-weight: 700;
	font-size: 18px;
	margin-bottom: 16px;
	margin-top: 16px;
	line-height: 24px;
}
.price_h3 {
	color:#B9254C;
	margin-bottom:0px;
}
h4 {
	font-weight:400;
	font-size:17px;
	margin-bottom:16px;
	line-height:18px;
	
}
.label-above label { 
	font-family: 'Raleway', sans-serif;
}
/*
.admin-bar .navbar-fixed-top {
	margin-top:30px;
}*/
/*-------------- BANNER ---------------*/

.jumbotron h2 {
	font-family: 'Raleway', sans-serif;
	font-weight:300;
	font-size:48px;
	margin-bottom:36px;
	margin-top:16px;
	margin-left:0px;
	line-height:52px;
	color:#FFF;
}
.jumbotron {
    padding-top: 28px;
    padding-bottom: 28px;
}


.nav-collapse88 {
	display:none;
	color:#000;
}
.navbar-default .navbar-nav > li > a:focus {
    color: #999;
    background-color: #000;
}
.navbar-default .navbar-nav > li > a:hover {
    color: #999;
    background-color: #000;
    /* Firefox */
    -moz-transition: all .2s ease-in;
    /* WebKit */
    -webkit-transition: all .2s ease-in;
    /* Opera */
    -o-transition: all .2s ease-in;
    /* Standard */
    transition: all .2s ease-in;

}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
	color: #fff;
	background-color: #000;
	border-radius: 5px;
	border:0px solid;
}
.navbar-default {
	margin-top: 80px;
	margin-bottom: 20px;
	border:0px solid;
}


/*-------------- 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: 20px 10px 20px 10px;
    margin-bottom: 10px;
    color: inherit;
   
}
.hero-unit-container a{
	color:#000;
	text-decoration:underline;
}

.hero-unit-container > ul > li {
	margin-bottom:10px;
}
.hero-unit {
	margin-bottom: 30px;
	padding-top:30px;
	color:#FFFFFF;
	text-align:center;
	/*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);*/
}
/*-----------SCROLLTOTOP---------------*/

.scrollToTop{
	width:80px; 
	height:130px;
	padding:10px; 
	text-align:center; /*
	background: whiteSmoke;*/
	font-weight: bold;
	color: #444;
	text-decoration: none;
	position:fixed;
	bottom:25px;
	right:20px;
	display:none;
	
}
.scrollToTop:hover{
	text-decoration:none;
}



.hero-unit-footer {
	padding: 10px;
	margin-bottom: 0px;
	color: #000;
	
}
.hero-unit-footer ul li a {
	color: #FFF;
	font-family: "Raleway",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;
}
.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;
}
/*----------------NAVMENU------------------*/
@media (min-width:768px) {
	.sub-menu {
		display: none;
		position: absolute;
		background-color:#FFF;
		padding: 10px 15px;
		width: 200px;	
		text-align:left;	

	}

	li:hover .sub-menu {
		display: block;
	}

}
/*---------------------------------------------*/
a:hover, a:focus {
	color: #000;
	text-decoration:none;
}
a {
    	color: #000;
	
}
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: 40px;
	color:#444;
}
.sidebar img{
	max-width:100%;
}
.sidebar h3 {
	color: #FFFFFF;
	padding: 9px;
	background-color: #000;
	font-size: 16px;
	font-weight: 500;
	
}
.sidebar p {
	padding-left: 9px;
	line-height: 1.8em;
}
.sidebar ul li a {
	/*color: #000;*/
	font-family: "Raleway",sans-serif;
	font-weight: 300;
	font-size: 13px;
	line-height: 1.4em;
}
.sidebar ul li {
	/*color: #000;*/
	border-bottom:1px solid #EEE;
	padding-bottom:10px;
	padding-top:10px;
}
.widget h3 {
	margin-top:15px;
	margin-bottom:10px;
}

/*------------WIDGETS-----------------*/
.widget {
	10px 0 30px;
}

.widget ul {
	list-style-type: none;
	margin-left:5px;
	padding-left:0px;

}
.widget ul li a {
	/*color: #000;*/
	font-family: "Raleway",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*/

/* ----MAIN MENU ---- */
.masthead {
	margin-top:20px;
}
.navbar-default .navbar-nav > li > a {
	color:#fff;
}
.navbar-default {
	background-color:transparent;
}

.navbar-nav > li > a {
    padding-top: 7px;
    padding-bottom: 7px;
	
}
.nav > li > a {
	padding: 9px 12px;
	text-transform: uppercase;
	font-size: 13px;
	margin-right:9px;
	background-color: #66686a;
	border-radius: 1px;
}

/*--------------------*/

.navbar-collapse {
    max-height: 940px;
}
.navbar-fixed-top, .navbar-fixed-bottom {
    position: relative;
	background-color:#FFFFFF;
}
.navbar-header {
	margin-top:30px;
	margin-bottom:10px;	
	max-width: 100%;
	height: auto;
}
.navbar-header-icon {
	margin-top:30px;
	margin-bottom:20px;	
	max-width: 100%;
	width: auto;
}
.navbar-default .navbar-collapse, .navbar-default .navbar-form {
    border:#FFFFFF;
}
/*---------NAV PILLS----------*/

.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus {
    color: #FFF;
    background-color: #000;
}
.nav > li > a:hover, .nav > li > a:focus {
    text-decoration: none;
    background-color: #CCC;
}

/*----------------------*/

.navbar-header-icon img{
max-width: 24%;
height: auto;
}


.right-header {
	margin-top:0px;
	margin-bottom:0px;
	text-align:right;
	padding-right:0px;
}
.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;
	
}
/*----------------------------------------------*/
/* =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: #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: #000;
    border-color: #000;
	FONT-WEIGHT:500;
	text-decoration:none !important;
}
.btn-primary a {
text-decoration: none !important;
}
.btn-primary:hover{
    background-color: #333;
    border-color: #333;
}

/*--------FOOTER---------*/

footer {
	padding:10px;
}
.footer_container {
	width:100%;
	
}
.footer_icons_container {
	width:100%;
	padding:0px;
}
.footer_icons_container h2 {
    font-family: "Raleway",sans-serif;
    font-weight: 300;
    font-size: 22px;
    margin-bottom: 16px;
    margin-top: 6px;
    margin-left: 0px;
    line-height: 28px;
    color: #FFF;
}
footer p {
	color:#000;
	text-align:left;
	font-size:12px;
}
/*---------------------*/
@media (min-width:1300px) {
	.container {
		width: 1240px;
		
	}
	
@media (min-width:992px) {
.navbar-header img {

	/*max-width: 100%;*/
	height: auto;
}
}
@media (max-width: 767px) {
	.navbar-header-icon {
	display:none;
	}
	.navbar-nav {
		width: 100%;
	}
	.navbar-default {
	margin-top: 10px;
	}
}
@media (max-width:540px) {
	.portfolio-piece h4 {
		font-size: .8em;
	}
	.prev-next {
		margin-top: 15px;
		font-size: 18px;
	}
	

}
@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;
	}
}


/*------------GALLERY FIX---------------*/

#colorbox, #cboxOverlay, #cboxWrapper {
	overflow: visible !important;
}