/*
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('https://fonts.googleapis.com/css?family=Roboto:300,400,700');
@import url(https://fonts.googleapis.com/css?family=Raleway:400,300,500,700);
@import url(https://fonts.googleapis.com/css?family=Montserrat:300,400,700);
/* ------- Insert custom styles below this line ------- */

body {
    padding-bottom: 0px;
    background-color: #000;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
}
p,
ul,
.copyright-text,
h4,
h6 {
    font-family: 'Roboto', sans-serif;
}
h1,
h2,
h3,
h5,
.widget-title,
.title {
    font-family: 'Roboto', sans-serif;
}
.row {
    padding-right: 0px;
    margin-right: 0px;
    margin-left: 0px;
}
p {
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6em;
    color: #333;
}
ul {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6em;
    color: #666666;
}
h1 {
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 18px;
    margin-top: 18px;
    line-height: 22px;
}
h2 {
    font-weight: 700;
    font-size: 30px;
    margin-bottom: 12px;
    margin-top: 12px;
    line-height: 20px;
}
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-2 .gallery-item:nth-child(5n+1) {
     clear: none;
}
.gallery-meta .iso,
.gallery-meta .camera,
.gallery-meta .shutter,
.gallery-meta .aperture,
.gallery-meta .full-size,
.gallery-meta .focal-length {
    display: block;
}
#gallery-2 img {
    border: 3px solid #fff !important;
}
/*------------------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;
}
/*-----------------*/

.header {
    margin-bottom: 0px;
    min-height: 90px;
}
.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-weight: 300;
    font-size: 48px;
    margin-bottom: 36px;
    margin-top: 16px;
    margin-left: 0px;
    line-height: 52px;
    color: #FFF;
}
.jumbotron {
    padding: 0px;
}
.jumbotron {
    /*background-image:url(http://192.185.92.28/%7Eadminaq/wp-content/uploads/2014/11/banner1.jpg);

 background-repeat:no-repeat;

 background-position:center center;

 -o-background-size: 100% 100%, auto;

 -moz-background-size: 100% 100%, auto;

 -webkit-background-size: 100% 100%, auto;

 background-size: 100% 100%, auto;*/
}
/*PAGE*/

.jumbotron_page h2 {
    font-weight: 500;
    font-size: 28px;
    margin-bottom: 16px;
    margin-top: 16px;
    margin-left: 40px;
    line-height: 32px;
    color: #000;
}
/*-------------- CONTAINERS ---------------*/

.container {
    padding-right: 0px;
    padding-left: 0px;
    margin-right: auto;
    margin-left: auto;
}
.page-header {
    margin: 30px 0px 20px;
    border-bottom: 0px solid #ddd;
    padding-bottom: 0px;
}
.hero-unit-container {
    padding: 10px 30px 20px 30px;
    margin-bottom: 30px;
    color: inherit;
    background-color: #FFF;
}
.hero-unit-container a {
    text-decoration: underline;
}
.hero-unit-container > ul > li {
    margin-bottom: 3px;
}
.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: #000;
    text-decoration: none;
    position: fixed;
    bottom: 0px;
    right: 20px;
    display: none;
    background-color: #9aff03;
}
.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;
}
a:hover,
a:focus {
    text-decoration: none;
}
h1 a {
    color: #000;
	 text-decoration: none !important;
}
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---------------*/

input,
select,
textarea {
    width: 100%;
}
textarea {
    height: 100px;
}
input {
    margin-bottom: 7px;
}
input,
textarea {
    line-height: normal;
    border: 1px solid #fff;
    padding: 5px 5px;
}
input[type="submit"] {
    cursor: pointer;
    background-color: #000;
    color: #fff;
    border: 0px solid #fff;
}
.sidebar {
    margin-top: 0px;
    color: #444;
    background-color: #ebc61c;
    padding: 30px 9px 10px 9px;
}
.sidebar img {
    max-width: 100%;
}
.sidebar.centertext {
    text-align: center;
}
.sidebar h2 {
    color: #000;
    padding: 3px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.4px;
    text-transform: uppercase;
}
.sidebar h3 {
    color: #fff;
    padding: 3px 0px 3px 10px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    background-color: #000;
}
.sidebar ul li.current-menu-item a {
	background-color: #ebc61c !important;
	color:#fff !important;
}

.sidebar ul li a {
    color: #000;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4em;
display: inline-block;
width: 100%;
    padding-bottom: 7px;
    padding-top: 7px;
}
.sidebar ul li a:hover {
   color: #fff;
-webkit-transition: all .3s;
-moz-transition: all .3s;
-o-transition: all .3s;
-ms-transition: all .3s;
transition: all .3s;
}
.sidebar ul {
    padding-left: 10px;
    list-style-type: none;
}
.sidebar ul li {
    /*color: #000;*/

    border-bottom: 1px solid #8b7200;

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

.logo-brand {
    text-align: center;
}
.navbar-brand img,
.logo-byline img {
    width: 85%;
    height: auto;
}
.navbar-inverse .navbar-toggle {
    border: 0px solid;
}
.navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus {
    background-color: #000;
}
.navbar {
    border-radius: 0px;
}
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .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-inverse .navbar-nav > li > a {
    color: #ebc61c;
    text-align: center;
    text-transform: uppercase;
}
.navbar-inverse .navbar-nav > li > a:hover {
    color: #fff;
    background-color: transparent;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    -ms-transition: all .3s;
    transition: all .3s;
}
.navbar-inverse .navbar-collapse,
.navbar-inverse .navbar-form {
    border: 0px solid;
}
.navbar-nav {
    margin: 0px;
    font-size: 14px;
    float: right;
}
.navbar-nav > li > a {
    letter-spacing: 0.5px;
    padding-top: 7px;
    padding-bottom: 7px;
    color: #fff;
}
.nav > li > a {
    padding: 40px 15px;
    margin: 0px 0px;
    font-weight: 700;
}
.navbar-nav > li > a {
    font-family: 'Roboto', sans-serif;
}
/*---------MENU-----------*/

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 220px;
    padding: 4px 0;
    margin: 2px 0 0;
    font-size: 15px;
    text-align: left;
    list-style: none;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: 0px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
    color: #000;
    text-decoration: none;
    background-color: #ebc61c;
    outline: 0;
}
.dropdown-menu > li > a {
    padding: 7px 3px;
    text-align: center;
}
.navbar-toggle {
    margin-top: 30px;
}
.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: transparent;
}
.navbar-header {
    margin-top: 0px;
    margin-bottom: 0px;
    max-width: 100%;
    width: 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;
}
.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: 30px;
    width: 100%;
    background-color: #000;
}
.footer_container p {
    color: #fff;
}
.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;
    }
    .logo-byline {
        bottom: -20px;
    }
    .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 (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... */
}
@media (max-width: 992px) {
    .pull-right {
        float: none !important;
    }
    .pull-left {
        float: none !important;
    }
    .sidebar {
        margin-top: 0px;
    }
    .portfolio-sidebar {
        display: none;
    }
	    #gallery-2 .gallery-item {
        width: 45%;
    }
}
@media (min-width: 992px) {
    #menu-item-71 {
        display: none;
    }

}
/* For displaying 3 columns on tablet */
@media only screen and (max-width: 800px) {
 #gallery-2 .gallery-item {
     width: 50%;
 }
}

/* For displaying single column on mobile */
@media only screen and (max-width: 480px) {
 #gallery-2 .gallery-item{
     width: 100%;
 }
}