/*------------------------------------*\
    
    WebFX CF7 Customizations - Global styling for all CF7 Forms

    Add custom CF7 form styling to this file if it should be applied to all CF7 forms on the site
    Otherwise, put your block-specific styles in individual block stylesheets so that various block-specific styles aren't loaded on every CF7 form

\*------------------------------------*/


/* Default Radio/Checkbox Style (if using CF7) */
.wpcf7-radio .wpcf7-list-item,
.wpcf7-checkbox .wpcf7-list-item {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px;
    /* incase items go to 2 lines */
}

.wpcf7-radio .wpcf7-list-item-label,
.wpcf7-checkbox .wpcf7-list-item-label {
    margin-left: 5px;
}

/* CF7 Validation (Remove if not using CF7) */

/* Individual field error messages */
.bg-light-green .wpcf7-not-valid-tip {
    background-color: #EFF4F0;
}

/* Entire form error message */
.wpcf7-response-output {

}

/* Styling for fields that have errors */
select.wpcf7-not-valid,
textarea.wpcf7-not-valid,
input.wpcf7-not-valid,
.wpcf7-not-valid .choices {
    
}

span.wpcf7-not-valid-tip ~ label {
    transform: translateY(-40px);
}

span.wpcf7-not-valid-tip {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 10px;
}

.popup-content span.wpcf7-not-valid-tip {
    display: block;
    padding-top: 10px;
    margin-top: 0;
    background-color: #E6F4DB;
}

.wpcf7 form.invalid .wpcf7-response-output, 
.wpcf7 form.unaccepted .wpcf7-response-output, 
.wpcf7 form.payment-required .wpcf7-response-output {
    background: linear-gradient(45deg,rgba(242,105,36,1) 0%,rgba(249,172,77,1) 100%);
    border: 2px solid var(--orange);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 0;
    margin-right: 0;
}

.wpcf7-form-control-wrap {
    z-index: 1;
}

.wpcf7-not-valid-tip {
    color: var(--orange) !important;
    text-align: right;
}

input.wpcf7-not-valid {
    border-color: var(--orange);
    border-bottom-width: 4px;
}

.home .full-width-image-text .form-col {
    background-color: transparent;
}

.home .full-width-image-text input {
    background-color: #f5f5f5;
}

.home .full-width-image-text .wpcf7-not-valid-tip {
    display: block;
}

.popup-overlay .wpcf7 form.invalid .wpcf7-response-output,
.home .full-width-image-text .wpcf7 form.invalid .wpcf7-response-output {
    margin-top: 30px;
    padding: 10px 20px;
}

.consultation-form .form-col .icon-error {
    position: absolute;
    right: 20px;
    top: 21px;
    background: #F26924;
    background: linear-gradient(to top right, #F26924 0%, #F9AC4D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: none;
}

.wpcf7-not-valid-tip {
    position: relative;
}


.wpcf7-not-valid-tip:before {
    font-family: 'icomoon'!important;
    speak: never;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    font-size: 40px;
    display: block;
    content: "\e90b";
    position: absolute;
    right: 10px;
    top: -62px;
    background: #F26924;
    background: linear-gradient(to top right, #F26924 0%, #F9AC4D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}

.popup-content .wpcf7-not-valid-tip:before {
    top: -52px;
}

.form-disclaimer-note p {
    font-size: 13px;
    margin-top: 15px;
}