* {
    box-sizing: border-box !important;
}

html > body {
    font-family: Raleway;
    font-size: 80%;
}

body h1,
body h1 a,
body h2,
body h2 a,
body .moduletable h3,
body h4,
body h5,
body h6 {
    color: #666;
}

h1,
h2,
h3,
h4,
h5,
h6,
blockquote {
    font-family: Raleway;
}

#navbar li {
    font-family: Raleway;
}

.logo p {
    font-family: Raleway;
}

.container {
    max-width: 960px;
}

.full-width .container {
    max-width: none;
  width: 100%;
}


/* 
 * Header
 */

div#header {
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    z-index: 99;
    width: 100%;
}
body.not-on-top #header{
    background: rgba(0,0,0,0.8) !important;
}

/*body.page-id-6 div#header,*/
body.home div#header {
	position: relative;
}

#section-header-top {
    background: transparent !important;
    border: none;
}

div#ss_part_widget-2 {
    margin-top: 15px;
}

ul#menu-header {
    padding-bottom: 7px;
}

div#ss_part_widget-2 p i.fa {
    font-size: 13px;
    margin-right: 2px;
}


/* 
 * Navbar
 */

div#navbar {
    text-align: right;
    padding-right: 0;
}

@media (min-width: 992px) {
    #navbar.col-md-6 {
        width: 55%;
    }
    div#header-top>.col-md-3:nth-child(1) {
        width: 22%;
        padding: 0;
    }
    #ss_part_widget-2 {
        width: 22%;
    }
}

@media (max-width:1111px) {
    .logo.logo-text.zenleft {
        float: left !important;
    }
}

.offcanvas-hamburger:after {
    color: white;
}


/* end new header size */

#navbar>div>ul>li {
    margin: 3px 7px 10px;
}

#navbar>div>ul>li>a {
    transition: all .25s ease-out !important;
    background: transparent;
    color: white;
    font-size: 11px;
    padding: 20px 0 10px;
    border-top: 2px solid transparent;
}

#navbar>div>ul>li:hover>a {
    border-top: 2px solid #2492b3;
    color: #2492b3;
    border-color: #2492b3;
}

#navbar .current-menu-item a {
    background: transparent;
    color: #c4312e !important;
    border-top: 2px solid #c4312e;
}

div#ss_part_widget-2 * {
    color: white;
    text-align: right;
    display: inline-block;
}

div#ss_part_widget-2 a {
    font-size: 13px;
    font-family: raleway;
}


/* Logo */

.logo.logo-text.zenleft> p {
    margin-right: -50px !important;
}

.logo.logo-text.zenleft {
    margin-top: 5px;
    float: right;
}

.logo a {
    color: white;
    transition: color 0.2s ease-in, border-color 0.2s ease-in;
}

.logo a:hover {
    color: #2492b3 !important;
}

.logo h2 {
    font-family: raleway;
}

body .logo a {
    font-size: 34px;
    font-weight: 800;
}

body .logo a em {
    font-weight: 400;
}


/* new logo */

aside#text-2 {
    width: 200px;
    display: inline-block;
    float: left;
    padding-top: 20px;
    position: relative;
    z-index: 99;
}

a.logo {
    background: url('http://www.yellowprowebsitestaging.co.nz/fbr/wp-content/uploads/2016/03/fbr_logo2.png');
    height: 30px !important;
    width: 273px !important;
    background-repeat: no-repeat !important;
    background-size: 100% !important;
    background-position: top !important;
    /* margin-left: -40px; */
    margin-top: -7px;
}

a.logo:hover {
    background-position: center -27px !important;
    margin-top: -6px;
}


/* Home top */

div#ss_parts_widget-2 {
    width: 100%;
    max-width: 1024px;
    max-width: 970px;
    margin: 0 auto;
}

div#ss_part_widget-5 {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
}
div#ss_part_widget-5 .gallery {
    margin-left: -10px;
}

section#section-home-top {
    min-height: 834px;
    margin-top: -100px;
    position: relative;
    background-attachment: inherit;
    background-size: cover;
}
.header-image {
    background-attachment: initial !important;
}

section#section-home-top:before {
    width: 100%;
    height: 100%;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    content: '';
    background: url('http://www.yellowprowebsitestaging.co.nz/fbr/wp-content/themes/boost/css/pixelBlack.png');
    background-repeat: repeat;
}

div#home-top {
    position: relative;
    z-index: 99;
    margin-top: calc(40vh - 15vh);
}

div#home-top p {
    font-weight: 900;
    display: table;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    font-size: 30px;
    margin: 0 auto 5px !important;
}

div#ss_part_widget-3 p:last-child {
    font-size: 24px;
}

div#ss_part_widget-3 a:hover {
    border: 2px dotted #fff;
}

div#ss_part_widget-3 a {
    font-weight: 500 !important;
    font-size: 14px !important;
    display: inline-block;
    text-transform: uppercase;
    box-shadow: none;
    background-image: none;
    background: none;
    padding: 0;
    margin: 90px auto 70px !important;
    border: 2px solid #2492b3;
    border-radius: 0;
    color: #fff;
    text-shadow: none;
    padding: 8px 10px;
    border-color: #fff;
    transition: color 0.2s ease-in, border-color 0.2s ease-in;
}


/* div#home-middle h2.ss-parts-main-title {
    font-size: 24px;
    position: relative;
    display: inline-block;
    margin-top:70px;
    margin-bottom: 50px;
}

div#home-middle h2.ss-parts-main-title:after {
    height: 1px;
    content: '';
    width: calc(50% - 200px);
    right: 0;
    top: 50%;
    position: absolute;
    display: block;
    background: #ccc;
}

div#home-middle h2.ss-parts-main-title:before {
    height: 1px;
    content: '';
    width: calc(50% - 200px);
    left: 0;
    top: 50%;
    position: absolute;
    display: block;
    background: #ccc;
} */

div#home-middle h2.ss-parts-main-title {
    font-size: 24px;
    position: relative;
    display: inline-block;
    margin-top: 70px;
    margin-bottom: 50px;
    text-align: center;
    width: 100%;
}

div#home-middle h2.ss-parts-main-title > span:after {
    height: 1px;
    content: '';
    width: 200px;
    left: 400px;
    top: 50%;
    position: absolute;
    display: block;
    background: #ccc;
}

div#home-middle h2.ss-parts-main-title > span:before {
    height: 1px;
    content: '';
    width: 200px;
    right: 400px;
    top: 50%;
    position: absolute;
    display: block;
    background: #ccc;
}

div#home-middle h2.ss-parts-main-title > span {
    position: relative;
    background: #f4f4f4;
    padding: 0 5px;
    font-weight: 300;
}

div#ss_parts_widget-2 {
    padding: 70px 0;
}

div#ss_parts_widget-2 i {
    height: 100px;
    width: 100px;
    border: 4px solid #333;
    border-radius: 200px;
    display: inline-block;
    margin: 0 auto;
    text-align: center;
    font-size: 12px;
}

div#ss_parts_widget-2 i:before {
    font-size: 4em;
    color: #333;
    position: absolute;
    width: 100px;
    text-align: center;
    display: block;
    margin-left: -3px;
    margin-top: 22px;
}

div#ss_parts_widget-2 i:hover:before {
    color: #2492b3;
}

div#ss_parts_widget-2 i:hover {
    border: 4px solid #2492b3;
}

div#ss_parts_widget-2 h3,
div#ss_parts_widget-2 p {
    color: #666;
}

div#ss_parts_widget-2 h3 {
    font-size: 18px;
    font-weight: 300;
}

div#ss_parts_widget-2 p {
    font-size: 14px;
    line-height: 24px;
    font-weight: 300;
}

div#ss_parts_widget-2 h3,
div#ss_parts_widget-2 p {
    color: #666;
}

div#ss_parts_widget-2 h3 {
    font-size: 18px;
    font-weight: 300;
}

div#ss_parts_widget-2 p {
    font-size: 14px;
    line-height: 24px;
    font-weight: 300;
}

body .btn {
    border: 2px solid #666;
    color: #666;
    padding: 8px 10px;
    font-size: 14px;
    font-weight: 300;
    min-width: 0;
}

body .btn:hover {
    border: 2px dotted;
}

.btn > span {
    font-size: 14px;
    font-family: raleway;
    font-weight: 300;
    text-transform: none;
}

.home-gallery-area {
    width: 100%;
    background: url('http://www.yellowprowebsitestaging.co.nz/fbr/wp-content/uploads/2016/03/recent_work_bg-e1458562326971.jpg');
    padding: 65px 0;
    padding-top: 70px;
    background-attachment: fixed;
    position: relative;
    min-height: 386px;
    box-sizing: border-box !important;
    background-size: cover;
}

.home-gallery-area:before {
    width: 100%;
    height: 100%;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    content: '';
    background: url('http://www.yellowprowebsitestaging.co.nz/fbr/wp-content/themes/boost/css/pixelBlack.png');
    background-repeat: repeat;
}

div.gallery {
    text-align: center;
    clear: both;
}
.gallery .gallery-item {
    box-shadow: 0 0 4px rgba(0, 0, 0, .6);
    float: none !important;
    margin-top: 10px !important;
    text-align: center !important;
    width: 21% !important;
/*    padding-bottom: 20.6% !important;*/
    height: 145px !important;
    display: inline-block;
    clear: both;
    margin: 1%;
    transition: all .25s ease-out !important;
    overflow: hidden !important;
}

.gallery-icon {
    width: 100%;
    height: 100% !important;
    display: block;
    clear: both;
}
.gallery-icon >a {
    height: 100% !important;
}
.home .gallery .gallery-item{
box-shadow: none;
}

dt.gallery-icon >a {
/*    height: 212px !important;
    width: 212px;*/
    overflow: hidden;
    position: relative;
    display: inline-block;
    transition: all .25s ease-out !important;
    /*box-shadow: 0 0 4px rgba(0, 0, 0, .6);*/
}

dt.gallery-icon > a > img {
    object-fit: cover;
    width: auto !important;
    height: 212px;
    max-width: none !important;
    border: none !important;
}
dt.gallery-icon.landscape > a > img {
    width:100% !important;
}

dl.gallery-item:hover {
    -webkit-transform: translateY(-10px);
            transform: translateY(-10px);
}

img.attachment-large {
    width: 100% !important;
}

.social-icon-area i {
    height: 65px;
    width: 65px;
    padding: 10px;
    border: 4px solid #555;
    border-radius: 200px;
    display: block;
    margin: 0 auto;
    text-align: center;
    float: left;
    margin-right: 20px;
    font-size: 40px !important;
    display: inline-block;
    clear: both;
    float: none;
}

.social-icon-area i:before {
	color:#555;
}
.social-icon-area i:hover:before {
    color: #2492b3;
}

.social-icon-area i:hover {
    border: 4px solid #2492b3;
}

.social-icon-area {
    background: #e5e5e5;
    border: 0;
    padding: 60px;
}


/* home bottom */

section#section-home-bottom {
    padding: 70px 0;
}


/* home contact us */

h3.gform_title {
    font: 'raleway', 300, 24px!important;
}

h3.gform_title {
    font-family: raleway !important;
    font-size: 24px !important;
    font-weight: 300 !important;
}

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

li#field_1_1,
li#field_1_2 {
    width: 50% !important;
    display: inline-block;
}

.gform_wrapper textarea.medium,
.gform_wrapper .top_label input.medium {
    font-size: 14px;
    min-height: 62px;
    text-indent: 10px;
    background-color: #F8F8F8;
    border-style: solid;
    border-width: 1px;
    border-color: rgb(169, 169, 169);
}

input#input_1_4 {
    background-color: #F8F8F8;
    border-style: solid;
    border-width: 1px;
    border-color: rgb(169, 169, 169);
}

.gform_heading {
    padding-left: 15px;
    box-sizing: border-box;
}

.gform_wrapper textarea.medium {
    min-height: 238px;
}

input#gform_submit_button_1 {
    color: #ffffff;
    cursor: pointer;
    display: inline-block;
    line-height: 35px;
    background: #000;
    padding: 0px 20px;
    vertical-align: middle;
    font-size: 18px;
    min-width: 80px;
    min-height: 35px;
    font-family: Segoe UI;
    background-color: #c4312e !important;
    color: #FEFEFE !important;
    font-size: 16px !important;
    border: 3px !important;
    font-family: raleway, sans-serif !important;
    text-transform: uppercase;
    padding: 10px 40px !important;
    box-shadow: none !important;
    height: auto !important;
    margin: 5px;
    margin-left: 15px !important;
}

input#input_1_4 {
    min-height: 62px;
    font-size: 14px;
    text-indent: 10px !important;
    margin-left: 10px !important;
}

.gfield_captcha_input_container.simple_captcha_medium {
    display: inline-block !important;
}

.gform_wrapper textarea.medium {
    min-height: 238px;
}

/* footer */
div#footer-top a {
    color: #FFF;
}
.ss-ypnz-footer-line-1 a {
    font-weight: bold;
}
div#footer-top #navbar>div>ul>li>a {
    padding: 0 5px;
    font-size: 14px;
    /*font-weight: bold;*/
    border-top: none !important;
}

div#footer-top div#navbar {
    /*padding-left: 15px !important;*/
    padding-left: 10px !important;
    text-align: left;
    width: 60%;
}

div#footer-top #navbar>div>ul>li {
    margin: 0;
}

div#footer-top {
    float: left;
}

div#footer-top .col-md-4.widget_ss_container_open_widget {
    padding: 0;
    float: right;
    width: 40%;
    padding-right: 15px;
}
div#footer {
    background: #000 !important;
    position: relative;
}

.ss-ypnz-footer-widget {
    text-align: right;
    /*font-size: 12px;*/
    font-size: 14px;
    font-weight: 600;
}
div#footer-top a:hover {
    /*color:#2492b3;*/
}
.page-id-74 div#footer-top .ss-ypnz-footer-line-1 a{
	color: #c4312e !important;
}
div#footer-top #navbar .current-menu-item a{
color: #2492b3 !important;    
}
.ss-ypnz-footer-line-1 {
    margin-bottom: 10px;
}
#footer-top #navbar>div>ul>li:hover>a {
    border: none !important;
}
#footer-top #navbar .current-menu-item a {
    border: none !important;
}


/* 
 * -----------------------------------------------------------------
 * -----------------------------------------------------------------
 * Styling for section
 */
.page div#content.page {
    top: -72px;
    position: relative;
    min-height: calc(100vh - 477px);
}

/* header top for page */

section#section-header-top .container {
    padding-right: 0;
}

div#ss_part_widget-2 p {
    float: right;
    white-space: nowrap;
}

.header-image:before {
    width: 100%;
    height: 100%;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    content: '';
    background: url('http://www.yellowprowebsitestaging.co.nz/fbr/wp-content/themes/boost/css/pixelBlack.png');
    background-repeat: repeat;
}

.breadcrumbs {
    font-size: 14px;
}

.breadcrumbs span {
    margin: 0 5px;
}

section#section-page-header {
    top: -72px;
    display: block;
position: relative;
background: transparent !important;
}


/* general pages */

div#page-top {
    margin-bottom: 25px;
}

div#page-content {
    padding: 30px 15px;
}

h2.entry-title {
    font-size: 28px;
    font-weight: 300;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.entry {
    font-weight: 300;
    font-size: 13px;
    line-height: 24px;
}

.entry li,
.entry p {
    font-size: 14px;
}

div#content {
    background: #FCFCFC;
}

.entry h2 {
    font-size: 25.2px;
    font-weight: 300;
    margin-top: 35px;
}


/* page sidebar */

div#sidebar-title {
    position: relative;
}

div#sidebar-title:after {
    height: 1px;
    content: '';
    width: calc(50% - 60px);
    right: 0;
    top: 50%;
    position: absolute;
    display: block;
    background: #EEE;
}

div#sidebar-title:before {
    height: 1px;
    content: '';
    width: calc(50% - 60px);
    left: 0;
    top: 50%;
    position: absolute;
    display: block;
    background: #EEE;
}

div#page-sidebar {
    border-radius: 2px;
    background: white;
    padding: 30px 0 0;
    border: 1px solid #eee !important;
    border-top: 1px solid #eee !important;
    margin-top: 61px;
    margin-bottom: 20px;
    box-shadow: 0 2px 0px rgba(0, 0, 0, 0.15);
}

.panel-default > .panel-heading:hover a.panel-title {
    color: #2492b3;
}

.panel {
    background: #FCFCFC;
}

div#accordion-ss_parts_accordion_widget-2 {
    margin-bottom: 0;
}

.panel-default > .panel-heading {
    background: #FCFCFC !important;
    padding: 0 15px !important;
    border-bottom: 1px solid #eee;
    font-size: 24px;
    font-weight: 300;
    color: #666;
    line-height: 24px;
    padding-bottom: 15px !important;
}

.panel.panel-default.ss-parts-accordion-single-part {
    border: none !important;
}

div#ss_parts_accordion_widget-2-part-8 {
    background: #FCFCFC;
    padding: 0;
}

#content.page p {
    margin: 0 0 20px;
    line-height: 24px;
    font-weight: 300 !important;
    font-size: 14px;
}

.accordion-inner {
    padding: 15px 15px 0;
}

#ss_part_widget-8 .ss-part-image {
    padding: 30px;
    overflow: hidden;
}

div#ss_current_page_widget-2 .post-thumbnail {
    padding: 0 30px 30px;
}

div#sidebar-title {
    text-align: center;
    font-size: 24px;
    font-family: 'raleway', serif;
    font-weight: 300;
}


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


/* contact us */

div#gform_wrapper_1 {
    max-width: 100% !important;
}

body.page-id-15 input#gform_submit_button_1 {
    margin-left: 0 !important;
}

body.page-id-15 .gform_wrapper label.gfield_label+div.ginput_container {
    padding-left: 0 !important;
    padding-right: 15px !important;
    padding-bottom: 15px !important;
}


/* error gform */

.gform_widget .gform_wrapper li.gfield.gfield_error,
.gform_widget .gform_wrapper li.gfield.gfield_error.gfield_contains_required,
.gform_widget .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
    background-color: transparent;
    border-bottom: medium none;
    border-top: medium none;
    margin-bottom: 0 !important;
    padding: 0;
}

.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.gfield_description {
    display: none;
    max-width: 100%;
    padding-right: 0 !important;
}

.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container,
.gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label {
    padding: 0 10px 20px !important;
}

.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container input {
    border: none;
    background: rgba(255, 0, 0, 0.3) !important;
}

.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container:after {
    content: 'This field is required' !important;
    position: absolute !important;
    color: #ed1b24 !important;
    top: -25px !important;
    display: block !important;
    font-size: 12px;
    /* background: rgba(255, 255, 255, 0.11); */
    padding: 1px 10px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, .15);
    left: 0;
    font-size: 13px;
}

.gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container {
    position: relative;
    margin-top: 20px !important;
}

.gform_wrapper li.gfield.gfield_error.gfield_contains_required {
    padding-bottom: 0 !important;
}

.modal-body .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container:after {
    color: white !important;
    border: none !important;
}

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

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

.gfield_description.validation_message {
    display: inline-block;
    font-size: 14px !important;
    box-sizing: border-box !important;
    margin-left: 15px !important;
}


/* success gform */

div#gform_confirmation_message_1 {
    font-size: 21px !important;
    text-align: center !important;
    color: white !important;
}

div#gform_confirmation_wrapper_1 {
    background: #2492B3 !important;
}


/* gallery page */
div#post-6 h2.entry-title {
        margin-bottom: 70px;
}
body.page-id-6 .gallery dl.gallery-item {
    width: 21.15% !important;
    margin: 0;
    margin-bottom: 30px;
    margin-right: 3.8%;
    display: inline-block;
    float: none;
    margin-right: ;
    overflow: hidden;
}

/*body.page-id-6 dt.gallery-icon > a > img {
    height: 144px !important;
}
body.page-id-6 dt.gallery-icon.portrait > a > img{
    height: auto !important;
    width: 213px !important;	
}
*/
.gallery .gallery-icon > a > img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover;
}
body.page-id-6 dt.gallery-icon >a {
    max-width: 100%;
}


/* back to top */

#back-to-top:after {
    content: "\f062";
    color: #c4312e;
}

span#back-to-top {
    background: none;
    border: 4px solid #c4312e;
    padding: 9px 10px;
    height: 52px;
    width: 46px;
    border-radius: 100px;
    font-size: 20px;
}

span#back-to-top:hover {
    border-color: #2492b3;
}

span#back-to-top:hover:after {
    color: #2492b3;
}
.panel-title .fa-plus:before {
    content: "\f067";
}
.panel-title[aria-expanded="true"] .fa-plus:before {
    content: "\f068";
}
/*a.panel-title:not(.collapsed) i.fa.fa-plus:before{
	content: '\f068'!important;
}*/