/*------------------------------------*\
    
    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;
}

.wpcf7-form-control-wrap {
    width: 100%;
}

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

/* Individual field error messages */
span.wpcf7-not-valid-tip, 
.wpcf7-not-valid-tip {
    color: #dd4d22;
    font-size: 14px;
    font-weight: 600;
    display: block;
    text-align: right;
}

.from-col .wpcf7-form-control.wpcf7-not-valid {
    border: 1px solid #dd4d22;
}

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

.contact-form {
    padding: 70px 100px;
    background: #fff;
    box-shadow: 1px 1px 15px -12px #1296c3;
}

.wpcf7 form div.wpcf7-response-output {
    margin: 0;
    padding: 10px;
    border: 0;
    background: #1296c3;
    text-align: center;
    font-weight: 600;
    color: #fff;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.contact-form .from-col {
    display: flex;
    flex-wrap: wrap;
    column-gap: 15px;
    justify-content: space-between;
}

.from-col label {
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.from-col label:has(+ .wpcf7-form-control-wrap [aria-required="true"])::after {
    content: "*";
    font-size: 14px;
    font-weight: 600;
    color: #1d51a4;
}

.contact-form .from-col .col-md-6 {
    width: 48%;
}

.contact-form .from-col .col-md-2 {
    width: 12.666667%;
}

.wpcf7-form-control.form-control,
.choices__inner {
    border: 1px solid #edf4f9;
    border-radius: 6px;
    background-color: #f3f8fb;
    height: 50px;
    padding: 16px 16px;
    font-size: 16px;
    color: #707070;
    width: 100%;
    display: block;
}

.choices[data-type*='select-one'] .choices__inner {
    padding: 10px 16px;
}

.wpcf7-form-control.wpcf7-textarea {
    resize: none;
    height: 150px;
}

.wpcf7-submit {
    width: 100%;
    margin-right: 0;
    margin-bottom: 0;
}

.from-col .choices[data-type*='select-one']:after {
    top: 28%;
    color: #1D51A4;
    padding: 10px 0 10px 15px;
    border-left: 2px solid #e1ebf4;
}

.from-col .choices {
    margin-bottom: 0;
}

input.wpcf7-form-control.form-control:focus, .wpcf7-form-control.form-control:focus,
.choices__inner:active, .choices__inner:focus {
    border: 1px solid #8ea8d1;
    border-left: 5px solid #1d51a4;
}

span.wpcf7-spinner {
    background-color: #132a37;
    opacity: 1;
    position: absolute;
    z-index: 3;
    right: 60px;
    top: 15px;
}