.contact-us {
    & .form-container {
        form.wpcf7-form{
            display: flex;
            flex-direction: column;
            & .form-row {
                order: 2;
            }
        }
    }
}

.wpcf7 form .wpcf7-response-output {
    order: 1 !important;
    position: relative;
    top: -20px !important;
    width: 100%;
    margin: 0 auto;
}

form.wpcf7-form.submitting {
    &::before {
        content: "";
        position: absolute;
        background-image: url(../images/loader.gif);
        width: 100%;
        height: 100%;
        z-index: 9;
        background-repeat: no-repeat;
        background-position: center;
        background-color: #ffffff1f;
        backdrop-filter: blur(4px);
        background-size: 100px;
        top: 0;
        left: 0;
    }
}

form.wpcf7-form p {
    margin: 0;
}

.contact-us {
    & .form-container {
        & .form-row {
            @media(min-width: 320px) and (max-width: 767px) {
                gap: 0;
            }
            .form-field {
                margin-bottom: 35px !important;

                .wpcf7-not-valid-tip{
                    position: absolute;
                    bottom: -50px;
                    left: 0;
                }

                textarea + .wpcf7-not-valid-tip{
                    bottom: -25px;
                }
            }

            .checkbox {
                input[type="checkbox"] {
                    display: inline-block;
                    visibility: visible;
                }
            }
        }
    }
}

.checkbox {
    label {
        position: relative;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;

        input{
            position: absolute;
            opacity: 0;
            cursor: pointer;
            height: 0;
            width: 0;
        }

        input + span{

            padding-left: 35px;
                &:before {
                    position: absolute;
                    top: 0;
                    left: 0;
                    height: 25px;
                    width: 25px;
                    background-color: #fff;
                    border: 1px solid #000;
                    border-radius: 2px;
                }

                &:after{
                    content: "";
                    display: none;
                    background-image: url(../images/pngs/contact-section/check.png);
                    width: 25px;
                    height: 25px;
                    background-size: 25px;
                    background-position: center;
                    position: absolute;
                    left: 0;
                    top: 0;
                }
            }

        input:checked + span:before {
            background-color: #f66135;
            border-color: #f66135;
        }
        
        input:checked + span:after {
            display: block;
        }
    }
}

.location-section {
    & ul {
        & li {
            & .contact-us-listing {
                p {
                    margin-bottom: 0;
                }
            }
        }
    }
}