/*------------------------------------*\
    
    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 slider-specific styles in individual block stylesheets

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


/* 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 */
.wpcf7-not-valid-tip,
span.wpcf7-not-valid-tip {
    margin-top: 10px;
    color: #f86161;
}

/* 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 {
    
}

.wpcf7 {
    margin-top: 20px;
}

@media (min-width: 1025px) {
    .wpcf7 {
        margin-top: 35px;
    }
}

.wpcf7-form {
    margin-bottom: -15px;
}

.cf7-block {
    background-color: var(--color-tertiary);
}

.cf7-block .container {
    max-width: 944px;
}

.contact__item {
    margin-bottom: 15px;
}

.contact__item p {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.contact__item p span {
    color: var(--color-secondary)
}

.contact__submit {
    margin-top: 25px;
    text-align: center;
}

.contact__submit p {
    font-size: 16px;
    text-align: center;
    margin-bottom: 25px;
}

.contact__submit p a {
    color: var(--color-secondary);
}

@media (min-width: 1025px) {
    .contact__submit p {
        margin-bottom: 45px;
    }
}

.contact__submit .btn {
    margin: 0 auto;
}

.section p.contact__note {
    text-align: center;
    margin-bottom: 30px;
}



.contact-section__form-wrapper {
    position: relative;
    margin-top: 35px;
}

.contact-section__form-wrapper .gform_heading {
    display: none;
}

.contact-section__form-wrapper .gfield_label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.contact-section__form-wrapper  .gform_fields {
    row-gap: 10px !important;
}

.contact-section__form-wrapper .gfield_label .gfield_required_text {
    display: none;
}

.contact-section__form-wrapper .gfield_label .gfield_required {
    position: relative;
}

.contact-section__form-wrapper .gfield_label .gfield_required:after {
    content: '*';
    position: absolute;
    top: -11px;
}

.contact-section__form-wrapper .gfield_visibility_visible .ginput_container input,
.contact-section__form-wrapper .gfield_visibility_visible .ginput_container textarea {
    -webkit-appearance: none;
    font-size: 16px;
    letter-spacing: 0.03em;
    padding: 14px 25px;
    width: 100%;
    transition: box-shadow 0.25s ease-in-out, border 0.25s ease-in-out ;
    background-color: var(--color-input);
    border-radius: 6px;
    min-height: 50px;
    border: none;
}

.home .contact-section__form-wrapper .gfield_visibility_visible .ginput_container input,
.home .contact-section__form-wrapper .gfield_visibility_visible .ginput_container textarea {
    background-color: #fff;
}

.contact-section__form-wrapper .gform_validation_error .gfield_visibility_visible .ginput_container input {
    outline: none;
    border: 1px solid #f86161;
}

.contact-section__form-wrapper .gfield_visibility_visible .ginput_container input:focus,
.contact-section__form-wrapper .gfield_visibility_visible .ginput_container textarea:focus {
    outline: none;
    border: 1px solid var(--color-secondary);
    box-shadow: 0 3px 20px rgba(119, 200, 191, 0.2);
}


.contact-section__form-wrapper .gform_footer .gform_button {
    display: inline-block !important;
    vertical-align: middle !important;
    min-width: 188px !important;
    padding: 16px 30px !important;
    background-color: var(--color-secondary) !important;
    text-transform: uppercase !important;
    color: var(--color-white) !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    text-align: center !important;
    position: relative !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0.15em !important;
    opacity: 1 !important;
    transform: scale(1) !important;
    overflow: hidden;
    border: 0;
    transition: opacity 0.15s ease-in-out 0.15s, transform 0.3s ease-in-out  !important;
    margin: 0 auto;
    width: 100% !important;
}

.contact-section__form-wrapper .gfield_html p {
    text-align: left;
    font-size: 16px;
    font-weight: 400;
}

.cf7-block.bg-dark {
    background-color: var(--color-primary);
}

.cf7-block.bg-dark .section__header .gform-theme--framework .gfield_list_group_item::before,
.cf7-block.bg-dark .section__header .gform-theme--framework .gform-field-label:where(:not([class*=gform-field-label--type-])),
.cf7-block.bg-dark .section__header .gform-theme--framework .gform-field-label--type-sub {
    color: var(--color-white) !important;
}

.cf7-block.bg-dark .gform-theme--framework .gfield_list_group_item::before, 
.cf7-block.bg-dark .gform-theme--framework .gform-field-label {
    color: var(--color-white) !important;
}

.cf7-block.bg-dark .choices__item {
    color: #000;
}

.choices__item--choice {
    background-color: var(--color-white);
}



@media (min-width: 768px) {
    .contact-section__form-wrapper .gform_footer .gform_button {
        width: 100%;
        min-width: 200px;
    }
}

@media (min-width: 1025px) {
    .contact-section__form-wrapper .gform_footer .gform_button {
        padding: 16px 20px;
        letter-spacing: 0.2em;
    }

    .contact-section__form-wrapper .gform_footer .gform_button:hover {
        opacity: 0.8;
        transform: scale(1.05);
    }

    .contact-section__form-wrapper .gform_footer .gform_button {
        width: 50% !important;
    }

    .contact-section__form-wrapper .text-area-wp {
        position: absolute;
        width: calc(50% - 25px);
        right: 0;
    }

    .contact-section__form-wrapper .text-area-wp textarea {
        height: 227px;
        min-height: 227px !important;
    }

    .contact-section__form-wrapper .gfield_html {
        position: absolute;
        right: 0;
        bottom: -25px;
        width: calc(50% - 25px);
    }

    .home .contact-section__form-wrapper .gfield_html {
        position: relative;
        bottom: unset;
        margin-top: 25px;
        width: 100%;
    }

    .home .contact-section__form-wrapper .gfield_html p {
        text-align: center;
    }

    .contact-section__form-wrapper .col-lg-6 {
        width: calc(50% - 25px) !important;
    }

    .contact-section__form-wrapper .gform_footer .gform_button {
        width: calc(50% - 25px) !important;
    }

    .home .contact-section__form-wrapper .gform_footer .gform_button {
        width: 100% !important;
    }
}