/*
Theme Name: Big Blue
Description: Custom theme based on Uncode parent theme
Author: Good Digital
Author URI: https://www.goodts.co.nz
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

body {
    font-family: Poppins;
}

#masthead {
    position: static;
    background: linear-gradient(to right, rgb(41, 141, 195), rgb(32, 35, 94) 100%);
}

.monkey-row > .row > .row-inner {
    height: auto !important;
}
.monkey-row .tmb {
    position: absolute;
    top: -120px;
}

.header-phone {
    color: white;
    background: #1d57c1;
    padding: 25px 20px 20px 40px;
    position: absolute;
    right: 0;
    border-radius: 0 0 10px 10px;
    background-image: url('/wp-content/uploads/2021/06/icon-phone-white.svg');
    background-repeat: no-repeat;
    background-position: 5px center;
    font-size: 1.1rem;
}

#page-header {
    position: relative;
}
@media (min-width: 768px) {
    .menu-item-link a {
        position: relative;
        top: 15px;
    }
}

.w-instant-enquiry {
    position: fixed;
    top: 15%;
    left: 100%;
    transform: translateX(-40px);
    z-index: 90;
    width: 400px;
    transition: 0.2s all cubic-bezier(0, 0, 0.58, 1);
}

.enq-popup hr {
    border-color: #ddd;
}

.enq-popup .btns,
.w-instant-enquiry .btns {
    display: flex;
    align-items: center;
    padding-top: 20px;
}

.enq-popup .btns .form-close,
.w-instant-enquiry .btns .form-close {
    margin-left: 24px;
    position: static;
}

.enq-popup .gform_confirmation_message {
    padding-bottom: 30px;
}

.enq-popup .gform_button.button,
.enq-popup .gform_confirmation_message a,
.w-instant-enquiry .btn,
.w-instant-enquiry .gform_button.button {
    border-radius: 4px;
    background: #1d56c1;
    padding: 14px 25px;
    color: white;
    text-transform: none;
    font-size: 15px;
    width: auto !important;
    display: inline-block;
}

.enq-popup .form-close,
.form-ie .form-close {
    color: #858585;
    cursor: pointer;
    font-size: 15px;
    position: absolute;
    z-index: 50;
    width: 45px;
    top: 40px;
    right: 40px;
}

.w-instant-enquiry .form-intro,
.w-instant-enquiry .form-success {
    max-height: calc(100vh - 15vh - 25px);
    overflow: auto;
    padding-right: 40px;
}

.enq-popup .form-intro {
    max-height: calc(100vh - 25vh);
    overflow: auto;
}

.w-instant-enquiry .form-success {
    padding-bottom: 25px;
}

.w-instant-enquiry .form-success .text {
    color: #666;
    font-weight: 700;
    border-top: 1px solid #ccc;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 20px;
    font-size: 20px;
    line-height: 1.4;
}

.w-instant-enquiry.active {
    transform: translateX(-100%);
}

.form-ie {
    margin-left: 40px;
    background: white;
    border-radius: 10px 0 0 10px;
    padding: 25px 0 0 40px;
}

.form-ie .form-success {
    display: none;
}

.enq-popup .gform_footer img,
.form-ie .gform_footer img {
    margin-left: 3px;
}

.enq-popup .title,
.form-ie .title {
    font-size: 32px;
    color: #1d56c1;
    font-weight: 700;
    margin: 0 0 30px;
    line-height: 1;
}

.enq-popup input[type='radio'] {
    border: 1px solid #111;
}

.w-instant-enquiry select,
.enq-popup select {
    border: 1px solid #ccc;
}

.enq-popup .ginput_container_select {
    position: relative;
}

.enq-popup .ginput_container_select:before {
    font-family: 'uncodeicon';
    content: '\f078';
    position: absolute;
    right: 10px;
    top: 10px;
}

.w-instant-enquiry textarea,
.w-instant-enquiry input[type='email'],
.w-instant-enquiry input[type='text'],
.enq-popup textarea,
.enq-popup input[type='email'],
.enq-popup input[type='text'] {
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 0px 15px !important;
    height: 40px;
}

.form-ie .gfield textarea {
    height: 120px !important;
    padding: 8px 15px !important;
}

.form-ie .ginput_container_select {
    position: relative;
}

.form-ie .ginput_container_select:after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 7px 0 7px;
    border-color: #8a8a8a transparent transparent transparent;
    pointer-events: none;
    z-index: 4;
}

body:after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    pointer-events: none;
    transition: 0.2s all;
    z-index: 50;
}

body.shim-active:after {
    background: rgba(0, 0, 0, 0.7);
}

.popup-shim {
    position: fixed;
    background: rgba(0, 0, 0, 0.7);
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 500;
    opacity: 0;
}

.bs-row {
    display: flex;
}

.bs-row .col-md-12 {
    width: 100%;
    flex: 100%;
}

@media (min-width: 767px) {
    .bs-row .col-md-7 {
        width: 58.33%;
        flex: 58.33%;
        padding-right: 30px;
    }

    .bs-row .col-md-5 {
        width: 41.77%;
        flex: 41.77%;
        padding-left: 30px;
    }
}

.menu-wrapper {
    z-index: 100;
}

body.popup-active {
    overflow: hidden;
}

body.popup-active .popup-shim {
    opacity: 1;
    pointer-events: all;
}

.enq-popup {
    opacity: 0;
    position: fixed;
    pointer-events: none;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: 650px;
    background: #fff;
    z-index: 550;
    border-radius: 10px;
    padding: 50px;
    transition: 0.2s all;
}

.enq-popup .gform_footer {
    padding-bottom: 0 !important;
}

@media (max-width: 767px) {
    .enq-popup {
        width: 92vw;
        left: 4vw;
        transform: none;
        top: 10%;
        padding: 15px 15px 0 15px;
    }

    .bs-row {
        flex-wrap: wrap;
    }

    .bs-row .col-md-7 {
        width: 100%;
        flex: 100%;
        padding-right: 0;
        padding-bottom: 20px;
    }

    .bs-row .col-md-5 {
        width: 100%;
        flex: 100%;
        padding-left: 0;
    }

    .bs-row .col-md-5 img {
        max-width: 200px;
        margin: auto;
    }
}

.popup-form-active {
    opacity: 1;
    pointer-events: all;
}

.instant-enquiry {
    background-color: #1d57c1;
    background-image: url('/wp-content/uploads/2021/06/instant-enquiry.svg');
    background-position: center center;
    background-repeat: no-repeat;
    position: absolute;
    left: 0;
    top: 0;
    direction: ltr;
    text-indent: -999px;
    overflow: hidden;
    width: 40px;
    height: 200px;
    border-radius: 10px 0 0 10px;
    display: inline-block;
    transition: all 0.25s cubic-bezier(0, 0, 0.58, 1);
    margin-top: 30px;
}

.header-wrapper .header-content {
    z-index: 0;
}

.owl-dot > span {
    background-color: white !important;
}

@media (min-width: 960px) {
    .free-trial-truck {
        width: 300px;
        height: 164px;
        position: absolute !important;
        top: -70px;
    }
}
.footer-copyright p {
    opacity: 0.4;
}
/* Enhance the porfolio responsive besides the native options in this particular layout */
@media (max-width: 569px) {
    body.home .portfolio-row .uncell,
    body.home
        .portfolio-row
        .owl-carousel-container.carousel-inner-padding.owl-carousel-container
        .owl-carousel {
        padding-left: 0;
        padding-right: 0;
    }
}
.footer-submenu > p {
    line-height: 1;
}
.menu-item-link a {
    top: 0;
}

@media (min-width: 960px) {
    body.hmenu .menu-primary .menu-horizontal .menu-smart > li > a,
    .navbar-cta ul.menu-smart > li > a {
        padding-top: 15px;
        top: 0;
    }
}

@media (max-width: 959px) {
    .home-monkey .uncode-single-media-wrapper {
        margin-top: 100px;
    }

    .home-monkey .uncode-single-media-wrapper img {
        max-width: 160px;
        margin: auto;
    }

    .menu-horizontal-inner > div:first-child:not(.navbar-social) .menu-smart:not(.menu-icons),
    .menu-horizontal-inner > div.navbar-social + div .menu-smart:not(.menu-icons),
    .menu-horizontal-inner > div.navbar-cta + div .menu-smart:not(.menu-icons) {
        padding-bottom: 27px !important;
    }

    .header-phone {
        display: block;
        margin: 0 36px;
        position: relative;
        border-radius: 10px;
    }
}

@media (max-width: 474px) {
    .w-instant-enquiry {
        width: 100vw;
    }
}

@media (min-width: 960px) {
    .col-lg-1\/5 {
        width: 20%;
        display: table-cell;
    }
}

body.page-id-88019 .w-instant-enquiry {
    display: none;
}

.home-product-slider .owl-item .t-inside {
    background-color: white;
    padding: 10px 0 50px;
    box-shadow: 0px 70px 100px -40px rgb(0 0 0 / 50%);
}

.home-product-slider .owl-item .t-inside .t-entry-title {
    padding: 0 10px;
}

.home-product-slider .owl-item .t-inside .t-entry-visual {
    box-shadow: none !important;
}

@media (min-width: 768px) {
    .home-product-slider .owl-item .t-inside .t-entry-text-tc.double-block-padding {
        padding-top: 0;
    }
}

.home-product-slider .owl-item .t-inside .tmb h3:before {
    display: block;
    font-weight: normal;
    font-size: 1rem;
    margin-bottom: 10px;
    content: '\a0';
}

.home-product-slider .owl-item .t-overlay-text {
    display: none;
}

.site-footer .owl-item .t-entry-meta {
    display: none;
}

@media screen and (min-width: 767px) {  /* Only apply changes for tablet + Desktop */
    .navbar .dropdown {
        /* temp override */
        display: inline-flex !important;
        align-items: center;
    }

    .navbar .dropdown a {
        cursor: default;
    }

    .navbar .dropdown ul a {
        cursor: pointer;
    }

    .navbar .dropdown:hover::after {
        opacity: 0.5;
    }

    .navbar .dropdown::after {
        background-image: url('images/caret-down-solid.svg');
        background-repeat: no-repeat;
        width: 20px;
        height: 20px;
        font-weight: 900;
        font-size: 0.8rem;
        position: relative;
        right: 3px;
        top: 17px;
        transform: translateY(-50%);
    }
}