* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: transparent;
    color: #222;
}

.redseo-form-wrapper {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 10px;
}

.redseo-form {
    width: 100%;
}

.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.form-field input,
.form-field textarea {
    display: block;
    width: 100%;
    border: 1px solid #cfcfcf;
    border-radius: 5px;
    background: #fff;
    color: #222;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;
    padding: 11px 13px;
    outline: none;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.form-field textarea {
    min-height: 140px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: #777;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

.form-field input:invalid:not(:placeholder-shown),
.form-field textarea:invalid:not(:placeholder-shown) {
    border-color: #c44;
}

.field-help {
    margin: 6px 0 0;
    color: #666;
    font-size: 13px;
    line-height: 1.4;
}

.character-counter {
    margin-top: 5px;
    text-align: right;
    color: #777;
    font-size: 12px;
}

button[type="submit"] {
    display: inline-block;
    width: 100%;
    border: 0;
    border-radius: 5px;
    padding: 13px 20px;
    background: #222;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
    transition:
        opacity 0.15s ease,
        transform 0.05s ease;
}

button[type="submit"]:hover {
    opacity: 0.9;
}

button[type="submit"]:active {
    transform: translateY(1px);
}

button[type="submit"]:disabled {
    opacity: 0.55;
    cursor: wait;
}

.form-message {
    display: none;
    margin-top: 15px;
    padding: 12px 14px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.5;
}

.form-message.success {
    display: block;
    background: #edf7ed;
    border: 1px solid #b7d8b7;
}

.form-message.error {
    display: block;
    background: #fff0f0;
    border: 1px solid #e0b0b0;
}

.hp-field {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 600px) {
    .redseo-form-wrapper {
        padding: 5px;
    }

    .form-field {
        margin-bottom: 15px;
    }

    .form-field input,
    .form-field textarea {
        font-size: 16px;
    }
}
/* A to Z Plumbing - white contact form labels */
.redseo-form-wrapper.client-atozplumbing .form-field label,
.redseo-form-wrapper.client-atozplumbing label {
    color: #ffffff !important;
}

/* Keep required-field indicators white */
.redseo-form-wrapper.client-atozplumbing label span {
    color: #ffffff !important;
}
