// Custom contact form
.wpcf7 {

    p {
        margin-top: 0;
        margin-bottom: 0;
    }

    .ajax-loader {
        position: absolute;
        left: 0;
        bottom: 12px;
        margin: 0 20px;
    }

    form .wpcf7-response-output {
        margin-left: 0;
        margin-right: 0;
    }

    .contact-form-1 {
        p {
            position: relative;
            display: inline-block;

            strong {
                margin-bottom: 5px;
            }

            span {
                margin-top: 5px;
                position: relative;
                display: block;

                input,
                textarea {
                    background-color: transparent;
                    border: 1px solid var(--text_color_fade_70);
                    width: 100%;
                }
            }

            .your-name {}

            &:first-child {
                width: 30%;
                float: left;
                display: inline-block;

                @media(max-width: 479px) {
                    width: 100%;
                    float: none;
                }
            }

            &:nth-child(2) {
                width: ~"calc(70% - 30px)";
                float: left;
                margin-left: 30px;
                display: inline-block;

                @media(max-width: 479px) {
                    width: 100%;
                    float: none;
                    margin-left: 0;
                }
            }

            &:nth-child(3) {
                width: 100%;
            }

            input[type="submit"] {
                background-color: var(--text_color);
                .transition(all 0.45s ease);
                text-transform: uppercase;
                font-weight: 600;
                padding: 10px 50px;

                &:hover {
                    background-color: var(--primary_color);
                }
            }
        }
    }
}

.wpcf7-spinner {
    position: absolute;
    bottom: 0;
    margin: 0;
    margin-left: 5px;
}