/*------------------------------------*\
    
    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;
}

.form-col .wpcf7-form-control-wrap {
    display: block;
}

/* Individual field error messages */
.form-col .wpcf7-not-valid-tip {
    margin-right: 0;
    padding: 0 0;
    width: 100%;
    float: right;
    position: absolute;
    bottom: -20px;
    right: 0;
    z-index: 1;
    border: none;
    border-radius: 4px;
    background: transparent;
    text-align: right;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1em;
    color: #990033;
}

.wpcf7-form-control-wrap.wpcf7-not-valid::after {
    content: "\e91a";
    display: inline-block;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    font-family: 'icomoon';
    font-size: 20px;
    line-height: 1;
    color: #990033;
}

.wpcf7-form-control-wrap.wpcf7-not-valid.has-choices::after {
    z-index: 3;
}

select.wpcf7-not-valid,
textarea.wpcf7-not-valid,
input.wpcf7-not-valid,
.wpcf7-not-valid .choices {
    border: 1px solid #990033 !important;
    color: #990033;
}

.wpcf7-not-valid::placeholder {
    color: #990033 !important;
    opacity: 1;
}

.wpcf7 form .wpcf7-response-output {
    margin: 40px 0 20px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(62, 58, 58, 0.1);
    border-color: #1c4bc9;
    background-color: #1c4bc9;
    color: #fff;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    border-color: #990033;
    background-color: #990033;
}

.form-copyright p {
    font-size: 15px;
}

/* Choices */
.wpcf7 .choices {
    margin-bottom: 0;
}

.wpcf7-not-valid .choices[data-type*='select-one']:after {
    z-index: -1;
}

.bg-red .choices__list--dropdown .choices__list,
.bg-blue .choices__list--dropdown .choices__list{
    color: #3E3A3A;
}


/* CF7 Block */

.contact__form-wrap {
    background: #fff;
    box-shadow: 0 8px 30px rgba(62,58,58,.1);
    padding: 35px 30px;
}

.contact__form-wrap textarea {
    height: 112px;
}

.contact__form-wrap .form-btn {
    margin-top: 1.2rem;
}