/*
	Theme Name: KBH Theme
	Description: KBH Theme for Webgenius
	Version: 0.2.0.19
	Author: Enrique Rodriguez update from Todd Motto (@toddmotto)

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/
/*------------------------------------*\
    MAIN
\*------------------------------------*/
/* global box-sizing */
*, *:after, *:before {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* html element 62.5% font-size for REM use */
html {
    font-size: 92.5%;
}

body {
    font-family: 'Lato', sans-serif;
    color: #444;
	margin: 0;
}

.hide {
    display: none;
}

/* clear */
.clear:before, .clear:after {
    content: ' ';
    display: table;
}

.clear:after {
    clear: both;
}

.clear {
    *zoom:1; }

img {
    max-width: 100%;
    vertical-align: bottom;
}

a {
    color: #444;
    text-decoration: none;
}

a:hover {
    color: #444;
}

a:focus {
    outline: 0;
}

a:hover, a:active {
    outline: 0;
}

input:focus {
    outline: 0;
    border: 1px solid #04A4CC;
}

#new-page {
    width: 100%;
    max-width: 1280px;
    padding: 40px 20px;
    margin: 0 auto;
}

.vc_responsive .vc_grid-filter-select, .vc_grid-filter {
    display: none !important;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/
/* wrapper */
.wrapper {
    width: 95%;
    margin: 0 auto;
    position: relative;
}

.logo-img {
    max-width: 175px;
}

/* footer */
.footer-wrapper {
    background: #ebebeb;
    margin: 40px 0 0 0;
}

#footer-sidebar {
    display: inline-block;
    min-height: 10px;
    width: 100%;
}

#footer-sidebar1 {
    float: left;
    width: 33%;
    padding-right: 50px;
}

#footer-sidebar2 {
    float: left;
    width: 33%;
    padding-right: 50px;
}

#footer-sidebar3 {
    float: left;
    width: 33%;
    padding-right: 50px;
}

.footer {
    padding: 20px 20px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

main .page {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.page-center {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

p {
    line-height: 27px;
}

a {
    color: #0a944a;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1 {
    font-size: 47px;
    margin: 10px 0;
    display: block;
    font-weight: 400;
}

h2 {
    font-size: 40px;
    margin: 10px 0;
    display: block;
    font-weight: 400;
}

h3 {
    font-size: 26px;
    margin: 10px 0;
    display: block;
    font-weight: 400;
}

.header h1 {
    font-size: 200%;
    color: #0a944a;
    font-weight: 400;
}

.white {
    color: #fff;
}

input[type='text'], input[type='email'] {
    padding: 12px 10px;
    max-width: 480px;
    width: 100%;
    border: none;
    border-radius: 3px;
    margin-right: 10px;
    display: block;
}

textarea {
    padding: 12px 10px;
    max-width: 480px;
    width: 100%;
    border: none;
    border-radius: 3px;
    margin-right: 10px;
    max-height: 140px;
    display: block;
}

input[type='submit'] {
    background: #8cc64e;
    color: #f2f2f2;
    font-weight: 500;
    font-size: 16px;
    border: none;
    border-radius: 3px;
    padding: 12px 20px;
    min-width: 120px;
    margin-top: 15px;
    text-transform: uppercase;
    display: inline-block;
}

input[type='submit']:hover {
    opacity: 0.8;
}

.inline-block {
    display: inline-block;
}

.wrapper {
    width: 100%;
    margin: 0 auto;
}

.header {
    width: 100%;
    background-color: #FFF;
    min-height: 165px;
    position: relative;
    display: inline-block;
}

.header-content {
    max-width: 1300px;
}

.logo {
    width: 20%;
    float: left;
}

.orientation_statement {
    width: 80%;
    float: left;
    padding: 50px 20px 0 20px;
	text-align: right;
}

.header_button {
    width: 22%;
    float: left;
    padding-top: 20px;
}

.header_button img {
    display: block;
    margin-bottom: 10px;
}

.navigation {
    width: 100%;
    background-color: #0a944a;
    height: 56px;
}

.navigation_content {
    width: 1300px;
    margin: 0 auto;
}

.navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-left: 50px;
	overflow: auto;
}

.navigation ul li {
    display: block;
	float: left;
}

.navigation ul li a {
    padding: 18px 70px;
    border: none;
    border-left: solid 2px #098542;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    display: inline-block;
    font-size: 16px;
}

.navigation ul li a:hover, .navigation ul li.current-menu-item a {
    background: #0ba150;
}

.responsive-nav-bar {
    width: 100%;
    background: #0a944a;
    display: none;
    padding: 1%;
}

.mob-nav-title, .mob-burger-menu {
    width: 48%;
    display: inline-block;
    margin: .75%;
}

.mob-burger-menu {
    float: right;
}

.mob-burger-menu img {
    float: right;
}

.collapsable-menu {
    display: none;
}

.collapsable-menu ul {
    list-style: none;
}

.collapsable-menu ul li a {
    padding: 7px 0;
    display: inline-block;
}

/*Main content*/
.main-content-wrapper {
    position: relative;
}

.content {
    margin: 0 auto;
    width: 100%;
}

.map-block {
    max-width: 2000px;
    background-size: 100%;
    height: 700px;
    margin: 0 auto;
}

/* Map background depending on the domain */
.map-block {
    background: #A0CDDA;
}

.auckland {
    background: url(img/bg/auckland.png) no-repeat top center;
}

.bayofplenty {
    background: url(img/bg/bayofplenty.png) no-repeat top center;
}

.christchurch {
    background: url(img/bg/christchurch.png) no-repeat top center;
}

.christnelson {
    background: url(img/bg/christnelson.png) no-repeat top center;
}

.hamilton {
    background: url(img/bg/hamilton.png) no-repeat top center;
}

.hawkesbay {
    background: url(img/bg/hawkesbay.png) no-repeat top center;
}

.huttvalley {
    background: url(img/bg/huttvalley.png) no-repeat top center;
}

.kapitihorowhenua {
    background: url(img/bg/kapitihorowhenua.png) no-repeat top center;
}

.manawatu {
    background: url(img/bg/manawatu.png) no-repeat top center;
}

.northland {
    background: url(img/bg/northland.png) no-repeat top center;
}

.northshore {
    background: url(img/bg/northshore.png) no-repeat top center;
}

.otago {
    background: url(img/bg/otago.png) no-repeat top center;
}

.rotorua {
    background: url(img/bg/rotorua.png) no-repeat top center;
}

.southauckland {
    background: url(img/bg/southauckland.png) no-repeat top center;
}

.tauranga {
    background: url(img/bg/tauranga.png) no-repeat top center;
}

.taranaki {
    background: url(img/bg/taranaki.png) no-repeat top center;
}

.waikato {
    background: url(img/bg/waikato.png) no-repeat top center;
}

.wairarapa {
    background: url(img/bg/wairarapa.png) no-repeat top center;
}

.wellington {
    background: url(img/bg/wellington.png) no-repeat top center;
}

.westauckland {
    background: url(img/bg/westauckland.png) no-repeat top center;
}

.westcoast {
    background: url(img/bg/westcoast.png) no-repeat top center;
}

.southland {
    background: url(img/bg/southland.png) no-repeat top center;
}

.kbhdefault, .localhost8888kbh {
    background: url(img/bg/default.png) no-repeat top center;
}

.search-block {
    width: 860px;
    height: 318px;
    margin: 0 auto;
    top: 155px;
    position: relative;
}

.search-box .search {
    /**background:#404040;**/
    padding: 40px 30px 40px;
    /**border:40px solid #000;**/
}

.social-cont {
    width: 860px;
    margin: 0 auto;
    padding: 50px 90px;
}

.featured-business {
    padding: 100px 0 50px;
}

.featured-cont {
    border: solid 4px #000;
    border-radius: 10px;
    margin: 0 auto;
    width: 1126px;
    padding: 20px 50px 40px;
    min-height: 620px;
}

.img-badge {
    float: right;
    margin-top: -120px;
    margin-right: 40px;
}

.site-info {
    width: 460px;
    float: left;
}

.site-info img {
    display: block;
}

.site-details {
    width: 880px;
    padding: 60px 20px 20px 60px;
}

.site-details img {
    margin-bottom: 10px;
}

/* Global */
/*------------------------------------*\
    PAGES
\*------------------------------------*/
/*------------------------------------*\
    IMAGES
\*------------------------------------*/
/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/
@font-face {
    font-family: 'Font-Name';
    src: url('fonts/font-name.eot');
    src: url('fonts/font-name.eot?#iefix') format('embedded-opentype'), url('fonts/font-name.woff') format('woff'), url('fonts/font-name.ttf') format('truetype'), url('fonts/font-name.svg#font-name') format('svg');
    font-weight: normal;
    font-style: normal;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/
@media (max-width: 760px) {
    .navigation ul li a {
        padding: 18px 20px;
    }

    h2 {
        font-size: 140%;
    }

    .header h2 {
        font-size: 140%;
    }

    .header-content {
        width: 100% ;
        margin: 0 auto;
        padding: 10px 0px;
    }

    .header_button img {
        margin: 10px auto;
    }

    .logo, .orientation_statement, .header_button {
        width: 100% ;
        text-align: center;
        margin: 0 auto;
        padding: 0 !important;
    }

    .navigation {
        display: none;
    }

    .responsive-nav-bar {
        display: block;
    }

    .map-block {
        width: 100%;
        overflow: hidden;
    }

    .search-block {
        width: 100%;
        display: block;
    }

    .search {
        padding: 1.6%;
        border: 20px solid #000;
        width: 80%;
        margin: 0 auto;
    }

    input[type="text"], input[type="email"], textarea {
        margin: 0 auto;
        float: none;
        padding: 15px 5px;
    }

    input[type="image"] {
        display: block;
        margin: 10px auto 10px;
    }

    .featured-business-badge {
        margin-top: 0px !important;
        text-align: left !important;
    }

    .featured-business-badge img {
        margin-top: 130px;
        margin-bottom: 90px;
    }

    #footer-sidebar1, #footer-sidebar2, #footer-sidebar3 {
        float: none;
        width: 100% !important;
        padding: 10px 10px 10px 0;
        margin-bottom: 20px;
    }

    .vc-gitem-zone-height-mode-auto::before {
        padding-top: 68% !important;
    }

    article.first-post {
        border: none;
    }
}

@media only screen and (min-width: 768px) {
    .header-content {
        width:100% ;
        margin: 0 auto;
        padding: 17px 50px;
    }

    .navigation ul li a {
        padding: 18px 40px;
    }
}

@media only screen and (min-width: 1024px) {
    .navigation ul li a {
        padding: 18px 50px;
    }
}

@media only screen and (min-width: 1140px) {
    .navigation ul li a {
        padding: 18px 50px;
    }
}

@media only screen and (min-width: 1280px) {
    .header-content {
        margin:0 auto;
        padding: 17px 50px;
    }
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution:144dpi) {
}

/*------------------------------------*\
    MISC
\*------------------------------------*/
::selection {
    background: #04A4CC;
    color: #FFF;
    text-shadow: none;
}

::-webkit-selection {
    background: #04A4CC;
    color: #FFF;
    text-shadow: none;
}

::-moz-selection {
    background: #04A4CC;
    color: #FFF;
    text-shadow: none;
}

/*------------------------------------*\
    Home bg map image
\*------------------------------------*/
.banner-bg {
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    min-height: 700px !important;
}

.h3-title-nopadding {
    margin: 0;
}

.padding-top-none {
    padding-top: 0;
}

.social-icons {
    text-align: center;
}

/*------------------------------------*\
    Social Accounts links
\*------------------------------------*/
.social-accounts {
    padding-top: 50px;
    min-height: 160px;
    margin: 0 auto;
    width: 100%;
    max-width: 1000px;
}

.social-accounts ul {
    list-style-type: none;
    text-align: center;
    overflow: auto;
}

.social-accounts ul li {
    display: inline-block;
    float: none;
    margin: 5px 10px;
    list-style: none !important;
}

/*------------------------------------*\
    List for free
\*------------------------------------*/
.list-for-free {
    max-width: 1200px;
    background: #81BE45;
    margin: 0 auto;
    height: 250px
}

.list-for-free h2 {
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto;
    padding-top: 40px;
    text-align: center;
}

.list-for-free .list-button {
    padding-top: 20px;
    cursor: pointer;
}

/*------------------------------------*\
    Local News and latesr community notices and info
\*------------------------------------*/
.box-news {
    max-width: 1200px;
    background: #E8E8E8;
    margin: 50px auto;
    min-height: 250px;
    overflow: auto;
    padding: 40px 20px;
}

.box-news .cols {
    display: inline;
    float: left;
    /*width: 48%;*/
    width: 97%;
    background: #FFF;
    min-height: 400px;
    max-height: 500px;
    margin-left: 15px;
    min-width: 500px;
    overflow-y: scroll;
}

.box-news .cols h3 {
    background: #000;
    color: #fff;
    width: 100%;
    padding: 10px 0 0 20px;
    ; margin-top: 0;
    height: 60px;
}

.box-news .local-news {
    padding: 0 30px;
}

.box-news .local-news h4 {
    font-size: 24px;
}

/*------------------------------------*\
    List posts - first post
\*------------------------------------*/
article.first-post {
    margin-top: 50px;
    border: solid 3px #000;
    min-height: 600px;
    padding: 60px;
}

article.first-post .img-stamp {
    float: right;
    margin-top: -150px;
}

article.first-post .cols {
    display: inline;
    position: relative;
    float: left;
    overflow: auto;
}

article.first-post .left {
    width: 30%
}

article.first-post .left img {
    margin-top: 20px;
    max-width: 80%;
}

article.first-post .right {
    width: 70%
}

/*------------------------------------*\
    POSTS GRID - BUSINESSES
\*------------------------------------*/
.post-grid .grid-items .item {
    background: #EBEBEB !important;
    text-align: left;
}

.post-grid .grid-items .item .layer-content {
    padding: 30px 20px;
}

.post-grid .grid-items .item .title_link {
    font-size: 20px !important;
    color: #000;
}

.post-grid .grid-items .item .title_link:hover {
    text-decoration: none;
}

.post-grid .grid-items .item .categories {
    display: inline-flex;
}

.post-grid .grid-items .item .categories a {
    color: #F00 !important;
}

.post-grid .pagination, .home .pagination {
    display: none;
}

.search .pagination {
    text-align: center;
    font-size: 1.4em;
    margin-top: 40px;
}

.search .pagination a {
    padding: 0 5px;
}

/*------------------------------------*\
    POSTS BUSINESS
\*------------------------------------*/
article.post {
    min-height: 20px;
    padding: 30px 50px;
    margin-bottom: 20px;
    background-color: #f5f5f5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
}

.copyright {
    text-align: center;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/
.green {
    color: #0a944a;
}

.box-search {
    max-width: 850px;
    min-width: 400px;
    height: 460px;
    border: solid 35px #000;
    margin: 170px auto;
    background: #3A3A3A;
}

.box-search .submit {
    margin-top: 20px;
    color: #000;
    float: right;
    cursor: pointer;
}

.box-search .search-form {
    width: 90%;
    margin: 40px auto;
}

.box-search h2, .box-search h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #FFF;
    font-weight: bold;
}

.box-search .search-form .input-search {
    height: 50px;
    display: block;
    max-width: 100%;
    margin-bottom: 30px;
    color: #444;
}

.box-search .search-form .area-search {
    width: 700px;
    max-width: 100% !important;
    height: 50px;
    background: url(https://cdn1.iconfinder.com/data/icons/cc_mono_icon_set/blacks/16x16/br_down.png) no-repeat right #ddd;
    -webkit-appearance: none;
    background-position-x: 98%;
    padding: 5px 10px;
    line-height: 2;
    color: #444;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter, div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

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: #FFF;
    border: 1px solid #F0F0F0;
    max-width: 96%;
    padding: 5px 3px 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 .wp-caption-text, .gallery-caption {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/
@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a, a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
        content: "";
    }

    pre,blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }

    h2, h3 {
        page-break-after: avoid;
    }
}

.header_widget_area {
    position: absolute;
    z-index: 9999;
    top: 10px;
    left: 300px;
}

/* Navigation Menu */
.nav-menu {
    background: #f2f2f2;
}

.nav-menu ul {
    list-style: none;
    padding: 0;
}

.nav-menu ul li {
    background: #f7f7f7;
    width: 100%;
}

.main-navigation {
    margin-top: 24px;
    margin-top: 0.4rem;
    text-align: center;
}

.main-navigation li {
    margin-top: 0px;
    margin-top: 0rem;
    font-size: 12px;
    font-size: 1rem;
    line-height: 1.42857143;
    list-style: none;
}

.main-navigation a {
    color: #5e5e5e;
    display: block;
    padding: 7px 5px;
    text-decoration: none;
}

.main-navigation a:hover, .main-navigation a:focus {
    color: #fff;
    background: #7ab774;
}

.main-navigation ul.nav-menu, .main-navigation div.nav-menu > ul {
    display: none;
}

.main-navigation ul {
    margin-top: 10px !important;
}

.main-navigation ul.nav-menu.toggled-on, .menu-toggle {
    display: block;
    text-align: center;
    margin: 0 auto 0;
    padding-left: 0;
}

.menu-toggle {
    background: #f2f2f2;
    border: none;
    border-radius: 2px;
    padding: 8px 15px;
}

/**VA CUSTOM CSS**/
.search-bar-wrapper {
    width: 100%;
    background: #404040;
}

.search-bar-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

.search-box {
    width: 78%;
    display: inline-block;
}

.location {
    width: 20%;
    display: inline-block;
    text-align: right;
    color: #fff;
    padding-right: 4%;
}

input[type="search"] {
    padding: 15px 20px;
    border: solid 2px #404040;
    border-radius: 5px;
    width: 100%;
    max-width: 500px;
    min-width: 200px
}

button {
    background: #8cc64e;
    padding: 13px 30px;
    color: #111;
    border: none;
    border-radius: 3px;
    font-size: 17px;
}

button:hover {
    background: #0a944a;
}

.pin {
    width: 20px;
    height: 20px;
    border-radius: 50% 50% 50% 0;
    background: #fff;
    position: absolute;
    transform: rotate(-45deg);
    left: 85%;
    top: 20%;
    margin: -20px 0 0 -20px;
    animation-name: bounce ;
    animation-fill-mode: both;
    animation-duration: 1s;
}

.pin:after {
    content: '';
    width: 10px;
    height: 10px;
    margin: 5px 0 0px -15px;
    background: #404040;
    position: absolute;
    border-radius: 50%;
}

main {
    margin: 0 auto;
    width: 100%;
    max-width: 1280px;
}

main section {
    padding: 20px 30px 0 30px;
}

.btn:hover {
    cursor: pointer;
}

.categories-container ul {
    column-count: 3;
}

.comments {
    background: #F5F5F5;
    padding: 35px;
}

.reviews-container {
    background: #F5F5F5 !important;
    padding: 40px 20px;
}

.reviews-container .form_table {
    min-width: 600px;
    text-align: left;
}

.reviews-container .credit-line {
    display: none;
}

.comments-container {
    background: #F5F5F5;
}

.comment-author img {
    float: left;
    margin: 10px;
    list-style: none;
}

.grid-items .item {
    width: 280px;
    margin: 10px;
}
