/*typography*/

@import url(https://fonts.googleapis.com/css?family=Lato:400,100,100italic,300,300italic,400italic,700,700italic,900,900italic);
body {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    padding: 0;
    margin: 0;
}

h1 {
    font-size: 46px;
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 16.8px;
}

h4 {
    font-size: 21px;
}

h5 {
    font-size: 15px;
}

h6 {
    font-size: 14px
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1;
    font-family: 'Lato', sans-serif !important;
}

ul,
menu,
dir {
    display: block;
    list-style-type: disc;
    /* -webkit-margin-before: 1em; */
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 15px;
}

.entry ul {
    margin-left: 40px;
    margin-bottom: 30px;
    font-weight: 300;
}

li {
    font-size: 16px;
}

p {
    /* color: #444; */
}

.entry p {
    margin: 0 0 2.5% 0;
    padding: 0;
    line-height: 170%;
    /* float: left; */
    width: 100%;
    font-size: 16px;
    font-weight: 300;
}

.entry h4 {
    padding-top: 15px;
}

.entry h4:first-of-type {
    padding-top: 0;
}

table {
    clear: both;
    width: 100%;
    margin-bottom: 4%;
}

table thead {
    padding: 10px;
}

table tbody,
table tr {
    padding: 5px;
}

td,
th {
    padding: 10px;
    border: 1px solid;
    font-size: 16px;
}

.alignright,
img.alignright {
    margin-left: 1.5em;
    display: inline;
    float: right;
}

.alignleft,
img.alignleft {
    margin-right: 1.5em;
    display: inline;
    float: left;
}

.aligncenter,
img.aligncenter {
    margin-right: auto;
    margin-left: auto;
    display: block;
    clear: both;
}

.wp-caption img {
    border: 0 none;
    padding: 0;
    margin: 0;
}

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

a:hover {
    color: #756E6E;
}

.btn {
    border: 0 !important;
    color: #000;
    font-weight: 500 !important;
    -webkit-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}

a.btn.black {
    background: #000;
    color: #fff;
}

a.btn.black:hover {
    background: #403A3A;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

a.btn.blue {
    background: #00A7F6;
    color: #fff;
}

a.btn.blue:hover {
    background: #38C2FF;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

.btn {
    /* padding: 20px; */
    border: 2px solid #ffffff !important;
    max-width: none;
    color: white;
    font-size: 20px !important;
    font-weight: normal !important;
}

.btn:hover {
    background: #ffffff !important;
    color: #106269 !important;
}

h2.entry-title {
    font-size: 32px;
    font-weight: 300;
    line-height: 45px;
    color: #106269;
    border-bottom: 8px solid #106269;
    padding-bottom: 20px;
    margin-bottom: 40px;
}


/* container */

#section-home-top .container {}

#section-home-top #ss_part_widget-4 {
    max-width: 1200px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
    padding-top: 35px;
}

#page-content {
    margin-top: 30px;
}

#content.page {
    margin-bottom: 140px;
}


/* contact */

div#contact-sidebar {
    margin-top: 100px;
}

div#contact-content {
    margin-top: 30px;
}

#contact-content a {
    font-weight: 400;
    color: #106269;
}
/* end contact */


/* end container */


/*end typography*/


/*header*/

#logo {
    width: 50%;
    display: inline-block;
    float: left;
}

#logo img {
    max-width: 390px;
    width: 100%;
    height: auto;
}

#header-top #ss_part_widget-2 {
    width: 50%;
    display: inline-block;
    text-align: right;
}

#header-top #ss_part_widget-2 a h2 {
    font-size: 24px;
    color: #106269 !important;
    padding-top: 25px;
}

#section-header-top {
    background: transparent;
    border-bottom: 0;
    padding: 15px 0;
}

#section-header-middle {
    background: #106269;
}

#section-header-middle #navbar ul>li>a {
    padding: 25px 30px;
    color: #fff;
}

#section-header-middle #navbar ul li.current-menu-item a {
    background: #000000;
}

#section-header-middle #navbar ul li a:hover {
    background: #0B4247;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

#section-header-middle #navbar ul>li {
    float: left;
}

#section-header-middle #navbar ul li a:after {
    color: #fff;
}

#section-header-middle #navbar ul ul.sub-menu {
    background: #09393D;
    border: 0;
    left: 0;
    right: inherit;
}

#section-header-middle #navbar ul ul.sub-menu li a {
    padding: 15px 40px;
    float: left;
    display: block;
    width: 100%;
}

#section-header-middle #navbar ul ul.sub-menu li {
    float: none;
}


/* sticky header */

section#section-home-middle .container {
    max-width: 1230px;
    padding-left: 15px;
    padding-right: 15px;
}

.sticky-header-on #header {
    position: fixed;
    width: 100%;
    z-index: 100;
}

.home.sticky-header-on #content {
    padding-top: 185px;
}

.sticky-header-on #section-header-top {
    background-color: white;
}

.sticky-header-on #content.page {
    padding-top: 185px;
}


/* end sticky header */


/*end header*/


/* home top */

#section-home-top .container {
    width: 100%;
    padding: 0;
}

.home-top-title,
.home-middle-title {
    font-size: 30px;
    font-weight: 300;
    border-bottom: 8px solid #C1D6D8;
    position: relative;
    color: #106269;
    margin-bottom: 30px;
    line-height: 33px;
}

.home-top-title span,
.home-middle-title span {
    padding-bottom: 12px;
    border-bottom: 8px solid #106269;
    display: inline-block;
    margin-bottom: -8px;
}

#home-top p {
    font-size: 17px;
    font-weight: 300;
}

#home-top a {
    border: 2px solid #106269 !important;
    color: #106269;
    margin-left: 0;
    font-size: 15px!important;
    font-weight: normal!important;
    min-width: 130px!important;
    /*padding: 5px;*/
}

#ss_part_widget-4 {
    padding-bottom: 80px;
}


/*
#home-top h2 {
    font-size: 30px;
    font-weight: 300;
    padding: 15px 0;
    border-bottom: 8px solid #C1D6D8;
    position: relative;
    color: #106269;
    margin-bottom: 30px;
}
#home-top h2:after {
    content: '';
    height: 8px;
    width: 45.5%;
    background: #106269;
    position: absolute;
    bottom: -8px;
    left: 0;
}
#home-top p > a {
    display: inline-block;
    float: left;
    padding-left: 15px;
    border: 0 !important;
}
*/


/* home top */


/* home middle */

#home-middle {
    padding: 60px 0;
    clear: both;
    overflow: hidden;
}

.home-middle-title {
    color: #ffffff;
    border-bottom: 8px solid rgba(255, 255, 255, 0.5);
    text-align: left;
}

.home-middle-title span {
    border-bottom: 8px solid #ffffff;
}

#home-middle .btn {
    padding: 20px;
    border: 2px solid #ffffff !important;
    max-width: none;
    color: white;
    font-size: 20px;
}

#home-middle .btn:hover {
    background: #ffffff !important;
    color: #106269 !important;
}

#ss_part_widget-8 {
    text-align: center;
}

#gallery-1 .gallery-item {
    padding: 0 15px;
}

#gallery-1 .gallery-caption {
    background-color: white;
    line-height: 50px;
    color: #666;
    font-size: 20px;
}

#gallery-1 img {
    border: 0 !important;
}
#ss_parts_widget-2 .ss-parts-single-part img {
    width: 100%;
}

/*#home-middle h2 {
    font-size: 30px;
    color: white;
    font-weight: 300;
    border-bottom: 8px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 20px;
    position: relative;
    margin-bottom: 30px;
    text-align: left;
}

#home-middle h2:after {
    content: '';
    position: absolute;
    background-color: 8;
    background-color: #fff;
    width: 45%;
    height: 8px;
    bottom: -8px;
    left: 0;
}*/


/* end home middle */


/* home bottom */

#ss_part_widget-10 {
    background-image: url('http://www.yellowprowebsitestaging.co.nz/dlc/wp-content/uploads/2016/04/cta-bg-edit.jpg');
    background-size: cover;
    text-align: center;
    color: white;
    padding: 60px 0;
    background-position: center;
    line-height: 1.7;
    font-size: 24px;
    /*background-image: url('http://www.yellowprowebsitestaging.co.nz/dlc/wp-content/uploads/2016/04/cta-bg.jpg');*/
    /* margin: 4px 0; */
}

.big {
    font-weight: 600;
    font-size: 36px;
    color: white;
}

.big a {
    color: white;
}

.light {
    font-size: 24px;
    font-weight: 300;
}

#ss_part_widget-10 h2 {
    font-weight: 300;
    font-size: 36px;
}

#home-bottom .btn {
    padding: 6px 12px;
}

#home-bottom .btn:hover {
    border-color: #106269 !important;
}

#ss_part_widget-9 {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 35px;
    background: transparent;
}

#home-bottom {
    background: rgb(223, 223, 223);
}

.home-bottom-title {
    height: 22px;
    border-bottom: 1px solid #ccc;
    margin: 0;
    margin-bottom: 90px;
    text-align: center;
}

.home-bottom-title span {
    padding: 0 20px;
    background: #dfdfdf !important;
    color: #666;
    font-size: 30px;
    line-height: 1;
    font-weight: 300;
}


/*#ss_part_widget-9 h2 {
    color: #666;
    font-size: 30px;
    font-weight: 300;
    max-width: 1170px;
    width: 100%;
    margin: 0 auto 40px;
    position: relative;
}

#ss_part_widget-9 h2:before {
    position: absolute;
    content: '';
    background-color: #ccc;
    height: 1px;
    width: 30%;
    left: 0;
    bottom: 12px;
}

#ss_part_widget-9 h2:after {
    position: absolute;
    content: '';
    background-color: #ccc;
    height: 1px;
    width: 30%;
    right: 0;
    bottom: 12px;
}*/


/* end home bottom */

#footer #footer-top .widget_ss_part_widget {
    width: 33.333%;
    display: inline-block;
    float: left;
    padding-right: 20px;
    color: #999;
}

#footer #footer-top .widget_ss_part_widget h2 {
    background: #282828;
    font-weight: 300;
    text-transform: uppercase;
    font-size: 23px;
    padding: 15px 10px;
    border-bottom: 1px solid rgba(47, 46, 46, 0.72);
    color: #fff;
}

#footer #footer-top .widget_ss_part_widget p,
#footer #footer-top .widget_ss_part_widget ul {
    display: block;
    padding-top: 30px;
    font-size: 16px;
    font-weight: 300;
}

#footer #footer-top .widget_ss_part_widget ul li a {
    color: #999;
    padding: 0 10px;
    font-weight: 400;
}

#footer #footer-top .widget_ss_part_widget ul li a:hover {
    background: transparent;
    color: #fff;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

#footer #footer-top .widget_ss_part_widget p a {
    display: block;
}

#footer #footer-top .widget_ss_part_widget>a {
    border: 2px solid #999 !Important;
    margin-left: 0;
    color: #999;
    font-size: 17px;
    margin-top: 0;
}

#footer #footer-top .widget_ss_part_widget a:hover {
    color: #fff;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

#footer #footer-top .widget_ss_part_widget a {
    color: #999;
}

#section-footer-bottom #footer-bottom #navbar {
    width: 50%;
    display: inline-block;
    float: left;
}

#section-footer-bottom #footer-bottom .ss-ypnz-footer-widget {
    width: 50%;
    display: inline-block;
    text-align: right;
}

#section-footer-bottom #footer-bottom #navbar ul li a {
    padding: 0;
    padding-right: 20px;
    color: #fff;
    font-weight: 300;
    font-size: 14px;
}

#section-footer-bottom #footer-bottom #navbar ul li a:hover {
    color: #999;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

#section-footer-bottom #footer-bottom {
    padding: 4% 0;
    border-top: 1px solid #1f1f1f;
    position: relative;
}

#section-footer-bottom #footer-bottom:before {
    content: " ";
    display: block;
    width: 100%;
    border-top: 1px solid #424242;
    position: absolute;
    top: 0.1px;
}

#section-footer-bottom #footer-bottom:after {
    content: '';
    position: absolute;
    top: 0px;
    left: 0;
    height: 1px;
    width: 100%;
    background: rgba(70, 69, 69, 0.25);
}
#footer-bottom .menu-header-container.offcanvas-menu:after {
    display: none;
}

/*Contact Footer*/

.contactFooter {
    padding-top: 30px;
}

.contact__list {
    margin-bottom: 5px;
}

.contact__list:last-of-type {
    margin-bottom: 15px;
}

body .gform_confirmation_wrapper {
    color: white !important;
    background-color: #106269 !important;
    border: 0 !important;
    border-radius: 0 !important;
}


/*About Us*/

.our-staff-heading {
    padding-top: 15px!important;
}

#footer {
    padding: 2% 0;
    padding-bottom: 0;
    border-top: 10px solid #282828;
    background: url(http://www.yellowprowebsitestaging.co.nz/dlc/wp-content/uploads/2016/bg.png);
}

#footer-top {
    padding-bottom: 40px;
    display: block;
    float: left;
}

.gfield_captcha_container img {
    object-fit: contain;
    height: 100%;
    width: 100%;
}


/* page */

#ss_part_widget-13 p a:first-child {
    margin-bottom: 30px;
    display: block;
}


/* end page */


/* page footer */

#ss_part_widget-12 {
    text-align: center;
    color: white;
    padding: 60px 0;
    background-position: center;
    line-height: 1.7;
    font-size: 24px;
}

#ss_part_widget-12 h2 {
    font-weight: 300;
    font-size: 36px;
}

#ss_part_widget-11 {
    text-align: center;
    color: white;
    padding: 60px 0;
    background-position: center;
    line-height: 1.7;
    font-size: 24px;
}

#ss_part_widget-11 h2 {
    font-weight: 300;
    font-size: 36px;
}


/* end page footer */


/*content*/


/*end content*/


/* services page */

#post-28 .entry iframe {
    width: 100%;
    margin-top: 30px;
}


/* end services page */


/* contact */

input {
    border: 1px solid #ccc !important;
    padding: 10px !important;
    background: #F8F8F8;
    color: #999999;
}

textarea {
    border: 1px solid #ccc !important;
    padding: 10px !important;
    background: #F8F8F8;
    color: #999999;
}


/*
body .gform_wrapper label.gfield_label+div.ginput_container {
    padding-left: 0 !important;
    padding-bottom: 5px !important;
    margin: 5px 0 !important;
}

ul#gform_fields_1 li:nth-child(-n+2) {
    width: 50% !important;
}

li#field_1_1 {
    float: left;
}

li#field_1_2 {
    float: right;
}

.gform_wrapper ul li.gfield {
    clear: none;
}

label.gfield_label {
    display: none !important;
}

.page-id-10 ul#gform_fields_1 {
    margin-left: -15px !important;
    margin-right: -25px !important;
}

.gfield_captcha_container {
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -ms-inline-flexbox;
    display: inline-flex;
}

img.gfield_captcha_refresh_button {
    margin-right: 10px;
    height: 42px;
}

.gform_wrapper .gform_footer input.button,
.gform_wrapper .gform_footer input[type=image],
.gform_wrapper .gform_footer input[type=submit] {
    cursor: pointer;
    display: inline-block;
    line-height: 35px;
    vertical-align: middle;
    min-width: 80px;
    min-height: 35px;
    margin: 5px;
    border-color: #444444 !important;
    margin-left: 0 !important;
    background-color: #999 !important;
    color: #fff !important;
    font-size: 16px !important;
    border: 3px solid #999 !important;
    text-transform: uppercase;
    padding: 10px 40px !important;
}

.gform_wrapper .gform_footer input[type=submit]:hover {
    color: #fff !important;
    background-color: #444444 !important;
    border-color: #444444 !important;
}*/

::-webkit-input-placeholder {
    font-style: italic;
}

::-moz-placeholder {
    font-style: italic;
}


/* firefox 19+ */

:-ms-input-placeholder {
    font-style: italic;
}


/* ie */

input:-moz-placeholder {
    font-style: italic;
}


/*.gform_wrapper li.gfield.gfield_error, .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
  background: none;
  border: none;
}
.gform_wrapper .validation_message{
  color: #ff0000!important;
}


.gfield_error .ginput_container {
    margin-left: -15px !important;
}

.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.gfield_description {
    padding-left: 15px !important;
}

ul#gform_fields_1 li.gfield_error {
    margin-left: -15px !important;
}

li#field_1_2.gfield_error .ginput_container {
    margin-left: -15px !important;
}

li#field_1_2.gfield_error .gfield_description  {
    margin-left: -15px !important;
}

li#field_1_8.gfield_error .gfield_description {
    margin-left: 15px !important;
}
.gfield_captcha_input_container.simple_captcha_medium {
    width: 100% !important;
}*/

div#ss_parts_widget-2 .ss-parts-single-part h2 {
    background: white;
    margin: 0;
    text-align: center;
    font-size: 20px;
    color: #666;
    line-height: 50px;
}

div#ss_parts_widget-2 .ss-parts-single-part {
    padding-bottom: 30px;
}

div#ss_parts_widget-2 > h2 {
    font-size: 30px;
    font-weight: 300;
    border-bottom: 8px solid #C1D6D8;
    position: relative;
    color: #fff;
    margin-bottom: 30px;
    line-height: 33px;
    padding-bottom: 12px;
}

div#ss_parts_widget-2 > h2:after {
    content: '';
    bottom: -8px;
    position: absolute;
    left: 0;
    height: 8px;
    width: 44.5%;
    background: #fff;
}


/* Gform */


/* Gform */

.gform_wrapper .top_label label {
    display: none !important;
}

body .gform_wrapper label.gfield_label+div.ginput_container {
    padding: 0 !important;
    margin: 0 !important;
}

#field_1_1,
#field_1_2 {
    clear: none;
    float: left;
    width: 50% !important;
    background: transparent;
    border: 0;
}

#field_1_1 {
    padding-right: 5px;
}

#field_1_2 {
    padding-left: 5px;
}

.gform_wrapper .ginput_complex.ginput_container {
    overflow: visible;
}

.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.gfield_description {
    display: none;
}

.gform_wrapper li.gfield.gfield_error,
.gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
    border-top: none !important;
}

.gform_wrapper {
    margin: 0;
    max-width: 100%;
    clear: both;
    overflow: hidden;
}

.gform_wrapper .gform_heading {
    display: none;
}

.gform_wrapper input[type=text],
.gform_wrapper textarea {
    height: 60px;
    font-size: 14px;
    padding: 0 10px !important;
    font-style: italic;
    border: 1px solid #ddd;
    background: #f5f5f5;
}

.gform_wrapper ul li.gfield {
    padding-bottom: 10px;
    font-size: 14px;
}

.gfield_captcha_container > * {
    display: inline-block;
}

.gfield_captcha_container .gfield_captcha {
    height: 30px;
    width: auto;
    background: #dfe397;
    background-color: #dfe397 !important;
}

.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container {
    padding: 0 !important;
}

.gform_wrapper li.gfield.gfield_error {
    background: transparent;
    border: 0;
}

.gform_wrapper .gform_footer {
    display: inline-block;
    float: left;
    margin-bottom: 40px !important;
}

.gform_wrapper .gform_footer input[type=submit] {
    margin-left: 0px !important;
    font-style: normal;
    color: #fff;
    background-color: #999 !important;
    font-size: 16px !important;
    border: 0 !important;
    text-transform: uppercase;
    padding: 10px 40px !important;
    box-shadow: none !important;
    height: auto !important;
    vertical-align: middle;
    min-width: 80px;
    min-height: 35px;
    line-height: 35px;
}

.gform_wrapper .gform_footer input:hover {
    background-color: #b4b4b4 !important;
}

#field_1_8 {
    float: left;
    width: auto !important;
}

.gform_wrapper .gfield_captcha_input_container {
    width: 131px;
    margin-bottom: 5px;
}

.gfield_captcha_refresh_button {
    max-width: 30px;
}

.gform_wrapper li.gfield_error input[type=email],
.gform_wrapper li.gfield_error input[type=number],
.gform_wrapper li.gfield_error input[type=password],
.gform_wrapper li.gfield_error input[type=tel],
.gform_wrapper li.gfield_error input[type=text],
.gform_wrapper li.gfield_error input[type=url],
.gform_wrapper li.gfield_error textarea {
    border: 1px solid #C50F0F !important;
    background: #F6F0F0;
}

.gform_wrapper li.gfield.gfield_error,
.gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
    background-color: transparent !important;
    border-bottom: none !important;
}

div#gform_confirmation_message_1 {
    font-size: 18px;
    font-family: inherit;
}

body .gform_confirmation_wrapper {
    color: #FFFFFF !important;
    background-color: #8EC641 !important;
}


/* end contact us */


/* specific case */

@media (min-width: 1365px) {
    #home-top #ss_part_widget-3 .ss-part-image {
        height: 420px;
    }
    #home-top #ss_part_widget-3 .ss-part-image img {
        max-width: none;
        object-fit: cover;
        width: 100%;
        height: 420px;
    }
}

@media (min-width: 1100px) {
    #section-home-top #ss_part_widget-4 {
        padding-left: 30px;
        padding-right: 30px;
    }
    /* home middle */
    div#gallery-1 {
        margin-left: -15px;
        margin-right: -25px;
    }
    /* end home middle */
    /* page */
    div#page-sidebar {
        margin-top: 100px;
    }
    div#page-content {
        padding-right: 30px;
    }
    /* end page */
}


/* 
 * -----------------------------------------------------------------
 * -----------------------------------------------------------------
 * Styling for pages
 */
