/*
Theme Name: Mark Adams
Theme URI: https://markadams.com.au/
Description:
Author: Stepps
Author URI: http://www.stepps.com.au/
Template: salient
Version: 1.0
*/


/***************** General ******************/

.input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    /* -ms-flex-wrap: wrap;
    flex-wrap: wrap; */
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}


/* body .container-wrap .span_12.light input[type="text"].input-control,
body .container-wrap .span_12.light input[type="email"].input-control,
body .container-wrap .span_12.light input[type="password"].input-control,
body .container-wrap .span_12.light select.input-control,
input.input-control {
    background-color: #fff !important;
    border: 1px solid #cbcece !important;
    box-sizing: border-box !important;
    display: block;
    padding: 1rem !important;
    line-height: 1 !important;
    color: #000 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
} */


/* 
.input-control select {
    color: #757575 !important;
    line-height: 24px !important;
} */

.input-control .ginput_container_select {
    position: relative;
}

.input-control .ginput_container_select:before,
.contact-office-dropdown-container:before {
    content: '\f107';
    font-family: 'FontAwesome';
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

.input-control textarea {
    font-size: 1rem !important;
}

.input-group .input-control {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    /* width: 1%; */
    margin-bottom: 0;
    border-radius: 0 !important;
}

.input-group .btn-common {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.gform_wrapper .top_label li.gfield.gf_fullwidth input:not([type='radio']):not([type='checkbox']):not([type='submit']):not([type='button']):not([type='image']):not([type='file']),
.gform_wrapper .top_label li.gfield.gf_fullwidth select {
    width: 100%;
}


/* .gform_wrapper .gform_footer input.button,
.gform_wrapper .gform_footer input[type=submit],
.gform_wrapper .gform_page_footer input.button,
.gform_wrapper .gform_page_footer input[type=submit],
body.ascend .container-wrap input[type="submit"],
body.ascend .container-wrap button[type="submit"],
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    padding: 17px 1.5rem !important;
    display: inline-flex;
    justify-content: center;
    line-height: 1;
    text-transform: uppercase;
    font-size: 16px !important;
    transition: color .15s ease-in-out, opacity .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    color: #fff;
    font-family: Roboto Condensed;
    font-weight: 300;
    background: rgba(0, 113, 188, 1);
    background: -moz-linear-gradient(left, rgba(0, 113, 188, 1) 0%, rgba(0, 169, 184, 1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(0, 113, 188, 1)), color-stop(100%, rgba(0, 169, 184, 1)));
    background: -webkit-linear-gradient(left, rgba(0, 113, 188, 1) 0%, rgba(0, 169, 184, 1) 100%);
    background: -o-linear-gradient(left, rgba(0, 113, 188, 1) 0%, rgba(0, 169, 184, 1) 100%);
    background: -ms-linear-gradient(left, rgba(0, 113, 188, 1) 0%, rgba(0, 169, 184, 1) 100%);
    background: linear-gradient(to right, rgba(0, 113, 188, 1) 0%, rgba(0, 169, 184, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0071bc', endColorstr='#00a9b8', GradientType=1);
} */

.gform_wrapper .gform_footer input.button:hover {
    color: #fff;
    opacity: 0.87;
}

body {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}


/***************** Forms ******************/

body .gform_wrapper .top_label .gfield_label {
    display: none;
}

body img.gform_ajax_spinner {
    position: fixed !important;
    z-index: 999999;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: block !important;
    overflow: hidden !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(255, 255, 255);
    /* fall back */
    background-color: rgba(255, 255, 255, 0.7);
    background-image: url('images/spinner.gif');
    /* path to your new spinner */
    background-repeat: no-repeat;
    background-size: 60px 60px;
    background-position: center center;
    display: none !important;
}

.stepps-gform-spinner {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(246, 246, 246, 0.4);
}


/***************** Media Queries ******************/

@media only screen and (max-width: 1000px) {
    /***************** General ******************/
    body.mobile .container,
    body .container,
    #post-area.standard-minimal.full-width-content article.post .inner-wrap {
        max-width: 100% !important;
        padding-left: 25px;
        padding-right: 25px;
    }
    .full-width-content,
    .full-width-section {
        width: 100% !important;
        width: calc(100% + 30px) !important;
        margin-left: -15px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .full-width-content>.col.span_12,
    .full-width-section>.col.span_12 {
        padding-left: 15px;
        padding-right: 15px;
    }
    html,
    body {
        height: 100%;
        overflow: hidden;
        position: relative;
    }
    html body {
        display: block !important;
        min-height: 100% !important;
    }
    #site-container {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        overflow: scroll;
        -webkit-overflow-scrolling: touch;
        overflow-scrolling: touch;
        overflow-x: hidden;
    }
    #copyright {
        margin-bottom: 40px;
    }
    .common-row {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
}

@media only screen and (max-width: 767px) {
    .input-group {
        display: block;
    }
    .input-group .input-control {
        border-radius: 0px !important;
        margin-bottom: 0px !important;
    }
}


/***************** Stepps Custom Popup ******************/

.mfp-image-holder .mfp-close:before,
.mfp-iframe-holder .mfp-close:before {
    font-family: 'FontAwesome' !important;
    content: '✕' !important;
    font-size: 16px;
    position: relative;
    top: 10px;
    right: 5px;
}

.mfp-close-btn-in .mfp-close:hover {
    transform: unset !important;
    /* -webkit-transform: rotate(90deg); */
}

.stepps-pp-container,
.stepps-pp-content {
    display: none;
}


/* The Modal (background) */

.stepps-pp-container {
    -webkit-overflow-scrolling: touch;
    align-items: center;
    position: fixed;
    /* Stay in place */
    z-index: 1000000;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.8);
    /* Black w/ opacity */
    padding: 20px;
    opacity: 0;
    z-index: 999999999;
}


/* Modal Content */

.stepps-pp-content {
    position: relative;
    margin: auto;
    width: 100%;
    padding: 2% !important;
    text-align: left;
    background-color: #fff;
    margin-bottom: auto !important;
}

.stepps-pp-content.large {
    max-width: 1250px;
}

.stepps-pp-content.medium {
    max-width: 650px;
}


/* The Close Button */

.stepps-pp-container .close {
    color: #f2f2f2;
    font-size: 34px;
    font-weight: bold;
    position: absolute;
    right: 0px;
    top: -28px;
    z-index: 10;
    -webkit-transition: -webkit-transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
}

.stepps-pp-container .close:hover,
.stepps-pp-container .close:focus {
    opacity: 0.7;
    text-decoration: none;
    cursor: pointer;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.stepps-pp-container .modal-content p {
    margin-top: 0px;
    white-space: pre-line;
}

.stepps-pp-container .modal-content span.wrap {
    margin-top: 30px;
}

@media screen and (max-width: 600px) {
    .stepps-pp-container {
        padding: 0px;
    }
    .stepps-pp-content {
        padding: 20px;
    }
    .stepps-pp-container .close {
        margin-top: 0px;
        margin-right: -8px;
        top: -27px;
        width: 35px;
        height: 35px;
        text-align: center;
        color: white;
    }
}

.stepps-pp-content .epl-advanced-map-single .epl_tabbed_map_wrapper {
    height: 500px;
}

.stepps-pp-content .epl-advanced-map-single {
    margin-bottom: 0px;
}

.g-recaptcha {
    margin-left: 50px;
    margin-bottom: 20px;
}

@media only screen and (max-width: 919px) {
    form#form1 {
        max-width: fit-content;
        margin: auto;
    }
    .g-recaptcha {
        margin-left: 0 !important;
        margin-bottom: 20px;
        margin: auto;
        max-width: fit-content;
        margin-bottom: 20px;
    }
}


/******************************************/


/**           CHECKBOX CUSTOM           **/


/****************************************/

body .gfield_checkbox li input[type=checkbox] {
    opacity: 0;
    position: absolute;
}

body .gfield_checkbox li input[type=checkbox]+label {
    position: relative;
    overflow: hidden;
    padding-left: 30px;
    cursor: pointer;
    display: inline-block;
}

body .gfield_checkbox li input[type=checkbox]+label:before,
body .gfield_checkbox li input[type=checkbox]+label:after {
    content: '';
    position: absolute;
    left: 0;
    z-index: 1;
    -webkit-transition: .2s;
    transition: .2s;
}


/* after */

body .gfield_checkbox li input[type=checkbox]:not(:checked)+label:after {
    width: 20px;
    height: 18px;
    border: 2px solid #383D40 !important;
    top: 0px;
}

body .gfield_checkbox li input[type=checkbox]:checked+label:after {
    top: 0;
    width: 20px;
    height: 18px;
    border: 2px solid #383D40 !important;
    background-color: #383D40;
    z-index: 0;
    border-radius: 2px
}


/* before */

body .gfield_checkbox li input[type=checkbox]:not(:checked)+label:before {
    width: 0;
    height: 0;
    border: 3px solid transparent;
    left: 6px;
    top: 10px;
    -webkit-transform: rotateZ(37deg);
    transform: rotateZ(37deg);
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}

body .gfield_checkbox li input[type=checkbox]:checked+label:before {
    top: -2px;
    left: 1px;
    width: 8px;
    height: 13px;
    margin-top: 3px;
    border-top: 2px solid transparent;
    border-left: 2px solid transparent;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    -webkit-transform: rotateZ(37deg);
    -webkit-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}

div#error-404 a {
    font-family: AvenirLight !important;
}


/* Preloader */

@keyframes preloader-container {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}

.preloader-container div {
    box-sizing: border-box !important;
}

.preloader-container>div {
    position: absolute;
    width: 102px;
    height: 102px;
    top: 49px;
    left: 49px;
    border-radius: 50%;
    border: 2px solid #000;
    border-color: #3a3f42 transparent #3a3f42 transparent;
    animation: preloader-container 1s linear infinite;
}

.preloader-container>div:nth-child(2) {
    border-color: transparent;
}

.preloader-container>div:nth-child(2) div {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(45deg);
}

.preloader-container>div:nth-child(2) div:before,
.preloader-container>div:nth-child(2) div:after {
    content: '';
    display: block;
    position: absolute;
    width: 2px;
    height: 2px;
    top: -2px;
    left: 48px;
    background: #3a3f42;
    border-radius: 50%;
    box-shadow: 0 100px 0 0 #3a3f42;
}

.preloader-container>div:nth-child(2) div:after {
    left: -2px;
    top: 48px;
    box-shadow: 100px 0 0 0 #3a3f42;
}

.stepps-preloader {
    width: 200px;
    height: 200px;
    display: inline-block;
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.preloader-container {
    width: 100%;
    height: 100%;
    position: relative;
    transform: translateZ(0) scale(1);
    backface-visibility: hidden;
    transform-origin: 0 0;
    /* see note above */
}

.preloader-container div {
    box-sizing: content-box;
}

body #header-outer[data-transparent-header="true"],
body #header-outer[data-transparent-header="false"] {
    transition: .3s !important;
}