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

.checkbox-col-item-cf7 {
    margin-bottom: 20px;
    position: relative;
}

.checkbox-col-item-cf7 .wpcf7-acceptance input[type="checkbox"] {
    display: none;
}

.checkbox-col-item-cf7 .wpcf7-list-item-label {
    font-size: 18px;
}

.checkbox-col-item-cf7 input:checked+.wpcf7-list-item-label:after {
    top: 9px;
}

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

/* Individual field error messages */
.wpcf7-not-valid-tip {
    font-size: 12px;
    font-weight: 400;
    color: #ED731C;
    position: relative;
    display: block;
    padding-top: 10px;
    padding-left: 22px;
}

.wpcf7-not-valid-tip::before {
    content: '\e906';
    font-family: 'contigo-technology';
    position: absolute;
    top: 7px;
    left: 0;
    font-size: 14px;
    color: #ED731C;
}

/* 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 {
    border: 1px solid #ED731C !important;
}

@media (min-width: 768px) {
    .wpcf7-not-valid-tip {
        position: relative;
    }
}

.page-contact-left {
    padding: 30px 17px 10px;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0,0,0,0.20);
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.42);
    margin-top: 60px;
}

.page-contact-left input + p {
    font-size: 12px;
    margin-top: 23px;
    padding: 0;
}

.page-contact-left .form-col {
    margin-bottom: 20px;
}

.page-contact-heading h3 {
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 600;
    padding-bottom: 10px;
    line-height: 1.45em;
}

.page-contact-heading h3 a {
    display: block;
    border: none;
    color: #2B7FA8;

}

.page-contact-heading {
    position: relative;
    margin-bottom: 20px;
}

.page-contact-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 213px;
    height: 1px;
    background-color: #BABABA;
}

.page-contact-heading::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 106px;
    transform: translate(-50%, 0);
    background-color: #BABABA;
    width: 8px;
    height: 8px;
    border-radius: 1px;
}

.page-contact-right-info {
    border-radius: 9px;
    padding: 30px 30px 49px;
    position: relative;
    background: rgb(235,246,251);    
    background: linear-gradient(47deg, rgba(235,246,251,1) 0%, rgba(239,248,252,1) 100%);
}

.page-contact-right-info p {
    color: #2B7FA8;
    font-weight: 600;
    text-transform: uppercase;
}

.page-contact-right-info h3 {
    color: #0F242E;
    font-size: 28px;
    font-weight: 600;
    padding-bottom: 20px;
}

.page-contact-right-info p a {
    display: block;
    font-size: 20px;
    border-bottom: none;
    margin-top: 5px;
    color: #333333;
    text-transform: none;
}

.page-contact-right-info .btn {
    background-color: #2B7FA8;
    color: #fff;
}

.page-contact-right-info p br {
    display: none;
}

.page-contact-heading p {
    padding-bottom: 15px;
}

@media(min-width: 768px) {

    .page-contact-left {
        padding: 40px 26px 30px;
        border-radius: 9px;
        margin-top: 75px;
    }

    .page-contact-left input + p {
        font-size: 14px;
    }

    .page-contact-right-info h3 {
        font-size: 36px;
        padding-bottom: 25px;
    }

    .page-contact-right-info .btn {
        position: absolute;
        top: 30px;
        right: 26px;
        padding: 21px 40px 20px;
    }

    .page-contact-right-info {
        padding: 36px 26px 40px;
    }

    .page-contact-info-list {
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
    }

    .page-contact-right-info p span {
        display: block;
    }

    .page-contact-right-info p {
        padding-bottom: 0;
    }

    .page-contact-right-info p br {
        display: block;
    }

    .page-contact-right-info p a {
        font-size: 18px;
    }

    .page-contact-heading h3 a {
        display: inline-block;
    }
}

@media(min-width: 1200px) {

    .page-contact-flex {
        padding: 87px 113px 80px 81px;
        display: flex;
        flex-direction: row-reverse;
        background-color: #fff;
        box-shadow: 0 0 15px rgba(0,0,0,0.20);
        border-radius: 9px;
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(255,255,255,0.42);
    }

    .page-contact-left {
        width: calc(100% - 420px);
        padding: 0 65px 0 0;
        background-color: transparent;
        box-shadow: none;
        margin: 0;
    }

    .page-contact-info-list {
        display: block;
        margin-top: 0;
    }

    .page-contact-right-info {
        padding: 30px 52px 40px;
        box-shadow: 0 0 10px rgba(0,0,0,0.10);
        z-index: 1;
    }

    .page-contact-right-info p br {
        display: none;
    }

    .page-contact-right-info p {
        padding-bottom: 24px;
    }

    .page-contact-right-info p span {
        display: inline-block;
    }

    .page-contact-right {
        width: 420px;
    }

    .page-contact-image {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 533px;
    }

    .page-contact-right-info .btn {
        position: relative;
        top: unset;
        right: unset;
        padding: 21px 50px 20px;
    }

    .page-contact-image-detail {
        padding: 16px 19px;
        background-color: #fff;
        border-radius: 9px;
        position: absolute;
        bottom: 139px;
        left: 260px;
        display: inline-block;
        border: 1px solid rgba(43,127,168,0.13);
        min-width: 171px;
    }

    .page-contact-image-detail:after {
        content: "";
        position: absolute;
        width: 49px;
        height: 50px;
        background-color: #DEF7DE;
        border-radius: 13px;
        right: -17px;
        top: -64px;
    }

    .page-contact-image-detail:before {
        content: "";
        position: absolute;
        width: 32px;
        height: 34px;
        background-color: #F7E0CF;
        border-radius: 11px;
        right: -52px;
        top: -13px;
    }

    .page-contact-image:before {
        content: "";
        position: absolute;
        width: 429px;
        height: 429px;
        left: -21px;
        top: -380px;
        background: rgb(74,179,227);
        background: radial-gradient(circle, rgba(74,179,227,1) 10%, rgba(181,222,242,1) 14%, rgba(255,255,255,1) 100%);
        border-radius: 50%;
        opacity: 0.15;
    }

    .page-contact-image-detail p {
        font-size: 15px;
        color: #2B7FA8;
        padding: 0;
    }

    .page-contact-image-detail p span {
        font-weight: 700;
        display: block;
    }

    .page-contact-image img {
        position: absolute;
        left: 0;
        bottom: 0;
        width: auto;
    }

    .page-contact-right-info p a {
        font-size: 20px;
    }

    .page-contact-right-info .btn:hover {
        background: #E1F1F8;
        color: #2B7FA8;
    }

    .page-contact-right-info p a:hover {
        color: #2B7FA8;
        text-decoration: underline;
    }

    .page-contact-heading h3 a:hover {
        text-decoration: underline;
    }
}