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

    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 */
.wpcf7-not-valid-tip {
    position: static;
    color: var(--color-orange) !important;
    display: block;
    text-align: right;
    text-transform: uppercase;
    line-height: 1.5;
    margin-top: 5px;
}

.wpcf7-not-valid-tip:after {
    content: '!';
    position: absolute;
    top: 11px;
    right: 10px;
    padding: 2px 11px;
    font-weight: 900;
    color: #fff;
    background-color: var(--color-orange);
    border-radius: 50%;
}

/* 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 {
    position: relative;
    border-color: var(--color-orange);
    border-bottom-width: 5px;
}

.contact-section {
    padding: 20px 0 80px !important;
    position: relative;
}

.contact-sidebar {
    background-color: #E9EDF1;
    border-radius: 10px;
    padding: 30px;
    margin-top: 25px;
}

.contact-map {
    border: 6px solid #fff;
    height: 320px;
    margin-bottom: 30px;
}

.contact-map img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
}

.contact-info {
    position: relative;
    margin-top: 15px;
    font-size: 14px;
    color: #2E3532;
    padding-left: 24px;
}

.contact-info i.left {
    position: absolute;
    left: 0;
    top: 2px;
    color: #6C899E;
    font-size: 16px;
}

.contact-info span {
    font-size: 14px;
    color: #003B5D;
    font-weight: 700;
    display: block;
    text-transform: uppercase;
}

.contact-info a {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #F6862A;
}

.contact-top-content a {
    font-weight: 700;
}

.contact-info a:hover,
.contact-top-content a:hover {
    background: none !important;
    color: #F8B57C !important;
    text-decoration: underline;
}

.contact-info a i {
    color: #F6862A;
    padding-top: 3px;
    vertical-align: middle;
}

.contact-section p {
    padding-bottom: 0;
    margin-bottom: 10px;
}

.contact-section__bg {
    position: absolute;
    bottom: 0;
    right: 0;
    display: none;
}

.contact-address a {
    margin-top: 5px;
}

@media (min-width: 768px) {
    .contact-section {
        padding: 20px 0 80px !important;
        z-index: 2;
        margin-top: 50px;
    }

    .contact-info {
        font-size: 17px;
    }

    .contact-info a {
        font-size: 17px;
    }
}

@media (min-width: 1025px) {
    .contact-sidebar {
        margin-top: 0;
    }
}

@media (min-width: 1200px) {
    .contact-section {
        padding: 20px 0 100px !important;
        z-index: 2;
    }

    .contact-wrapper {
        padding-right: 80px;
    }

    .contact-section__bg {
        display: block;
    }

    .wpcf7-not-valid-tip {
        font-size: 0.9em !important;
    }
}
