form.wufoo input.text,
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="url"],
select,
textarea {
    display: block;
    position: relative;
    outline: 0;
    border: 1px solid rgba(3, 74, 109, 0.3);
    padding: 0.9375rem 0.625rem;
    margin-bottom: 1rem;
    width: 100%;
    max-width: 26.5625rem;
    font-family: Graphik Web, Helvetica, "sans-serif";
    font-size: 1rem;
    font-weight: 600;
}
form.wufoo input.text:focus,
input:focus[type="email"],
input:focus[type="password"],
input:focus[type="search"],
input:focus[type="tel"],
input:focus[type="text"],
input:focus[type="url"],
select:focus,
textarea:focus {
    outline: 5px auto #ed6a08;
    -webkit-box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.5), 0 1px 5px 0 #ed6a08;
    box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.5), 0 1px 5px 0 #ed6a08;
}
form.wufoo input.text::-webkit-input-placeholder,
input[type="email"]::-webkit-input-placeholder,
input[type="password"]::-webkit-input-placeholder,
input[type="search"]::-webkit-input-placeholder,
input[type="tel"]::-webkit-input-placeholder,
input[type="text"]::-webkit-input-placeholder,
input[type="url"]::-webkit-input-placeholder,
select::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #30305b;
    opacity: 1;
}
form.wufoo input.text:-ms-input-placeholder,
input[type="email"]:-ms-input-placeholder,
input[type="password"]:-ms-input-placeholder,
input[type="search"]:-ms-input-placeholder,
input[type="tel"]:-ms-input-placeholder,
input[type="text"]:-ms-input-placeholder,
input[type="url"]:-ms-input-placeholder,
select:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #30305b;
    opacity: 1;
}
form.wufoo input.text::-ms-input-placeholder,
input[type="email"]::-ms-input-placeholder,
input[type="password"]::-ms-input-placeholder,
input[type="search"]::-ms-input-placeholder,
input[type="tel"]::-ms-input-placeholder,
input[type="text"]::-ms-input-placeholder,
input[type="url"]::-ms-input-placeholder,
select::-ms-input-placeholder,
textarea::-ms-input-placeholder {
    color: #30305b;
    opacity: 1;
}
form.wufoo input.text::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder,
input[type="search"]::placeholder,
input[type="tel"]::placeholder,
input[type="text"]::placeholder,
input[type="url"]::placeholder,
select::placeholder,
textarea::placeholder {
    color: #30305b;
    opacity: 1;
}
fieldset,
legend {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: none;
    border-spacing: 0;
    color: inherit;
    font-size: inherit;
    font-weight: 400;
    line-height: 1.42rem;
    list-style: none outside none;
    margin: 0;
    outline: 0;
    padding: 0;
    text-decoration: none;
    text-indent: 0;
    -moz-appearance: none;
    appearance: none;
    -webkit-appearance: none;
}
select {
    cursor: pointer;
}
form.wufoo label.desc,
label {
    cursor: pointer;
    display: inline-block;
    margin-bottom: 0.5rem;
    vertical-align: middle;
}
textarea {
    font-weight: 400;
    max-width: 38.125rem;
}

/*--------------------------------------------------------------
## Gravity Forms
--------------------------------------------------------------*/

form button,
form input[type="button"],
form input[type="submit"],
.wp-block-button .wp-block-button__link,
div.ctct-form-embed.form_0 .ctct-form-custom .ctct-form-button {
    background: #30305b;
    color: #fff;
    display: inline-block;
    padding: 0.9375rem 1.5625rem;
    min-width: 220px;
    line-height: 1.125rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border: 1px solid #30305b;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    width: auto;
    border-radius: 0;
}

button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus,
div.ctct-form-embed.form_0 .ctct-form-custom .ctct-form-button:hover,
div.ctct-form-embed.form_0 .ctct-form-custom .ctct-form-button:focus {
    text-decoration: none;
    color: #30305b;
    background: #fff;
}

div.ctct-form-embed .ctct-form-custom div.ctct-form-defaults p.ctct-form-text {
    font-family: "Graphik Web", helvetica, sans-serif;
    font-size: 1rem;
    color: #30305b;
}
div.ctct-form-embed div.ctct-form-defaults #gdpr_text p.ctct-gdpr-text {
    font-family: "Graphik Web", helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #30305b;
}

/* Large buttons */
.gform_wrapper button[type="submit"],
.gform_wrapper input[type="submit"] {
    padding: 1.5625rem 2.8125rem;
    font-size: 1.125rem;
}

body .gform_wrapper .gsection {
    border-color: rgba(3, 74, 109, 0.3);
}

html body .gform_wrapper ul li.gfield {
    display: block;
    margin: 0;
    margin-bottom: 0.9375rem;
}
@media (min-width: 1224px) {
    html body .gform_wrapper ul li.gfield {
        margin-bottom: 1.25rem;
    }
}

.gform_wrapper ul li.gfield:before {
    background: none;
}

body .gform_wrapper legend.gfield_label,
body .gform_wrapper label.gfield_label,
body .gform_wrapper .gfield_checkbox li label,
body .gform_wrapper .gfield_radio li label,
body .ginput_container label,
body .gform_wrapper ul.gfield_radio li input[type="radio"]:checked + label,
body .gform_wrapper ul.gfield_checkbox li input[type="checkbox"]:checked + label,
body .gchoice_select_all {
    font-weight: 400;
    font-size: 1rem;
}

.gfield_label:empty {
    display: none !important;
}

body .gform_wrapper .gfield_required {
    color: #034a6d;
}

html body .gform_wrapper ul li.field_description_below label:first-child + div.ginput_container_radio,
html body .gform_wrapper ul li.field_description_below label:first-child + div.ginput_container_checkbox {
    margin-top: 0;
}

body .gform_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),
body .gform_wrapper.gf_browser_chrome select,
body .gform_wrapper .ginput_complex .ginput_cardinfo_left span.ginput_card_expiration_container  select,
body .gform_wrapper.gf_browser_chrome .ginput_complex select,
body .gform_wrapper.gf_browser_chrome .ginput_complex .ginput_right select {
    padding: 0.9375rem 0.625rem;
    margin-top: 0;
    margin-bottom: 0;
}

body .gform_wrapper.gf_browser_chrome .ginput_complex select,
body .gform_wrapper.gf_browser_chrome .ginput_complex .ginput_right select {
    margin-top: 0;
}

body .gform_wrapper.gf_browser_chrome .ginput_complex  .name_prefix {
    padding-top: 2px;
}

body .gform_wrapper .ginput_complex .ginput_left,
body .gform_wrapper .ginput_complex .ginput_right,
body .gform_wrapper .ginput_complex .ginput_full {
    min-height: 0;
    margin-bottom: 0.5rem;
}

body .gform_wrapper ul.gfield_checkbox li input[type="checkbox"],
body .gform_wrapper ul.gfield_radio li input[type="radio"] {
    position: relative;
    display: inline-block;
    overflow: hidden;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: middle;
    width: 30px !important;
    height: 30px !important;
    background: none;
    margin: 0 4px 0 0 !important;
    border: 1px solid #034a6d;
    cursor: pointer;
    outline: none;
}

body .gform_wrapper ul.gfield_radio li input[type="radio"] {
    border-radius: 15px;
}

body .gform_wrapper ul.gfield_checkbox li input[type="checkbox"]:checked,
body .gform_wrapper ul.gfield_radio li input[type="radio"]:checked {
    background-color: #034a6d;
}
body .gform_wrapper ul.gfield_checkbox li input[type="checkbox"]:checked:before {
    content: "";
    display: block;
    width: 20px;
    height: 12px;
    margin: 5px 0 0 5px;
    border-bottom: 4px solid #fff;
    border-left: 4px solid #fff;
    -webkit-transform: rotate(-50deg);
    -ms-transform: rotate(-50deg);
    transform: rotate(-50deg);
}
body .gform_wrapper ul.gfield_radio li input[type="radio"]:checked:before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    margin: 6px 0 0 6px;
    border-radius: 50%;
    background: #fff;
}

/* Paragraph tags inside the form */
.gform_wrapper p {
    font-size: 1rem;
    line-height: 1.5;
}

/* Underneath labels */
body .gform_wrapper .field_sublabel_below .ginput_complex.ginput_container label,
body .gform_wrapper .field_sublabel_below div[class*="gfield_time_"].ginput_container label {
    font-size: 0.8em;
    line-height: 1.1;
    margin-top: 2px;
}

body .gform_wrapper.gf_browser_chrome span.address_country {
    margin-top: 0;
}

body .gform_wrapper .ginput_complex .ginput_cardinfo_right span.ginput_card_security_code_icon {
    left: 0;
    top: 0;
    margin-top: 2px;
}
body .gform_wrapper .ginput_complex .ginput_cardinfo_right span.ginput_card_security_code_icon + label {
    display: inline-block;
}

/* Card fields */
body .gform_wrapper .ginput_complex span.ginput_cardextras {
    overflow: visible;
}
.jq-selectbox__select,
.jq-selectbox__select:hover,
.ginput_card_field .jq-selectbox__select {
    min-width: auto;
    height: 56px;
}
/* body .gform_wrapper .ginput_complex .ginput_cardinfo_right select,
body .gform_wrapper select {
    display: none;
} */

/* Hide card name because it gets populated on backend from first and last name */
#input_1_11_5_container {
    display: none;
}
#field_1_11 {
    overflow: hidden;
}


@media only screen and (min-width: 641px) {
    .gform_wrapper .ginput_complex .jqselect.ginput_card_expiration.ginput_card_expiration_month {
        margin-right: 7px;
    }
    .gform_wrapper .ginput_complex .jqselect.ginput_card_expiration.ginput_card_expiration_month,
    .gform_wrapper .ginput_complex .jqselect.ginput_card_expiration.ginput_card_expiration_year {
        width: 47% !important;
        display: -moz-inline-stack;
        display: inline-block;
    }
}

.jq-selectbox__dropdown {
    top: 100% !important;
}

/* Hack radios to look like buttons */
/*
.gfield.donation_buttons ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: stretch;
    align-items: center;
    margin-left: -4px !important;
    margin-right: -4px !important;
}
.gfield.donation_buttons ul > li {
    flex-grow: 1;
    margin: 4px !important;
}
.gfield.donation_buttons input[type="radio"] {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}
.gfield.donation_buttons input[type="radio"] + label {
    display: block;
    max-width: 100%;
    margin: 0;
    color: #30305b;
    padding: 0.9375rem 1.5625rem;
    line-height: 1.125rem;
    font-size: 1rem;
    font-weight: 600 !important;
    text-decoration: none;
    text-align: center;
    border: 1px solid #30305b;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}
.gfield.donation_buttons input[type="radio"] + label:hover,
.gfield.donation_buttons input[type="radio"]:focus + label {
    background-color: #e6e6e6;
}
.gfield.donation_buttons input[type="radio"]:checked + label {
    color: #fff;
    background: #30305b;
}
*/

/* Error stuff */
body .gform_wrapper li.gfield.gfield_error,
body .gform_wrapper .gfield_error .gfield_label,
body .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning,
body .gform_wrapper li.gfield_error input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]),
body .gform_wrapper li.gfield_error select,
body .gform_wrapper li.gfield_error textarea,
body .gform_wrapper .validation_message,
body .gform_wrapper div.validation_error {
    background: none;
    border-color: #b10415;
}

/* Results */
.gform_confirmation_wrapper {
    margin: 0.9375rem auto;
    padding: 3.125rem 2rem;
    text-align: center;
    background-color: #a7efd7;
}
@media (min-width: 768px) {
    .gform_confirmation_wrapper {
        padding: 3.75rem;
    }
}
@media (min-width: 1224px) {
    .gform_confirmation_wrapper {
        padding: 5rem;
    }
}

.gform_confirmation_message {
    font-size: 1.125rem;
    line-height: 1.875rem;
}
@media (min-width: 768px) {
    .gform_confirmation_message {
        font-size: 1.25rem;
        line-height: 2.25rem;
    }
}
@media (min-width: 1224px) {
    .gform_confirmation_message {
        font-size: 1.25rem;
        line-height: 2.25rem;
    }
}


.jq-selectbox {
    display: block;
    width: 100%;
    cursor: default;
}
.jq-selectbox__select,
.jq-selectbox select {
    width: 100%;
    cursor: pointer;
    max-width: 100%;
    -webkit-transition: border 0.3s ease-in-out, color 0.3s ease-in-out,
    -webkit-box-shadow 0.3s ease-in-out;
    transition: border 0.3s ease-in-out, color 0.3s ease-in-out,
    -webkit-box-shadow 0.3s ease-in-out;
    -o-transition: border 0.3s ease-in-out, box-shadow 0.3s ease-in-out,
    color 0.3s ease-in-out;
    transition: border 0.3s ease-in-out, box-shadow 0.3s ease-in-out,
    color 0.3s ease-in-out;
    transition: border 0.3s ease-in-out, box-shadow 0.3s ease-in-out,
    color 0.3s ease-in-out, -webkit-box-shadow 0.3s ease-in-out;
}
.jq-selectbox__select {
    color: #30305b;
    text-shadow: none;
    border: 1px solid #b3c9d4;
    padding: 0.9375rem 0.625rem;
    border-radius: 0;
}
.jq-selectbox__select,
.jq-selectbox__select:hover {
    background: #fff;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.jq-selectbox__select-text {
    font-weight: 600;
    line-height: 1.15;
}
.jq-selectbox__dropdown {
    width: 100% !important;
    margin-top: -1px;
    background: #fff;
    border: 1px solid #b3c9d4;
    border-top: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 0;
    max-width: 100%;
    overflow: hidden;
}
.jq-selectbox__dropdown input[type="search"] {
    background: rgba(0, 0, 0, 0);
    border: 0;
    padding: 0.375rem;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-size: 0.875rem;
}
.jq-selectbox__trigger-arrow {
    position: absolute;
    top: 20px;
    right: 12px;
    width: 18px;
    height: 10px;
    background: rgba(0, 0, 0, 0)
    url(https://spauldingrehab.org/assets/Spaulding/images/icon-arrow-short.svg)
    no-repeat 0 0;
}
.jq-selectbox ul {
    padding: 2px 0 0;
    margin: 0;
    max-height: 305px !important;
    list-style-type: none !important;
}
.jq-selectbox li {
    color: #0067b1;
    padding: 0.625rem 0.875rem;
    cursor: pointer;
    position: relative;
    margin: 0 !important;
}
.jq-selectbox li:last-child:after {
    display: none;
}
.jq-selectbox li:hover {
    background: #f1f1f1;
    color: #0067b1;
}
.jq-selectbox li.sel {
    color: #30305b;
    background: #f8f8f8;
}
.jq-selectbox li.optgroup {
    color: #333;
}
.jq-checkbox,
.jq-radio {
    vertical-align: -6px;
    width: 30px;
    height: 30px;
    margin: 0 4px 0 0;
    border: 1px solid #034a6d;
    cursor: pointer;
}
.jq-radio {
    border-radius: 50%;
}
.jq-radio.checked {
    background-color: #034a6d;
}
.jq-radio.checked .jq-radio__div {
    width: 16px;
    height: 16px;
    margin: 6px 0 0 6px;
    border-radius: 50%;
    background: #fff;
}
.jq-checkbox.focused,
.jq-radio.focused {
    border: 1px solid #08c;
}
.jq-checkbox.disabled,
.jq-radio.disabled {
    opacity: 0.55;
}
.jq-checkbox.checked {
    background-color: #034a6d;
}
.jq-checkbox.checked .jq-checkbox__div {
    width: 20px;
    height: 12px;
    margin: 5px 0 0 5px;
    border-bottom: 4px solid #fff;
    border-left: 4px solid #fff;
    -webkit-transform: rotate(-50deg);
    -ms-transform: rotate(-50deg);
    transform: rotate(-50deg);
}
.jq-checkbox + label,
form.wufoo .jq-checkbox + label.desc {
    max-width: 75%;
}
.jq-file {
    overflow: hidden;
    width: 300px;
}
.jq-file input {
    cursor: pointer;
}
.jq-file__name {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    height: 43px;
    padding: 6px 10px 0 125px;
    background: #fff;
    font: 14px/32px Arial, sans-serif;
    color: #333;
}
.jq-file__browse {
    position: absolute;
    top: 1px;
    left: 1px;
    padding: 12px;
    border: 1px solid #30305b;
    font-size: 0.875rem;
    font-weight: 600;
    color: #30305b;
}
.jq-file:hover .jq-file__browse {
    background: -webkit-gradient(
            linear,
            left top,
            left bottom,
            from(#f6f6f6),
            to(#e6e6e6)
    );
    background: -o-linear-gradient(#f6f6f6, #e6e6e6);
    background: linear-gradient(#f6f6f6, #e6e6e6);
}
.jq-file:active .jq-file__browse {
    background: #f5f5f5;
}
.jq-file.focused .jq-file__name {
    border: 1px solid #5794bf;
}
.jq-file.disabled,
.jq-file.disabled .jq-file__browse,
.jq-file.disabled .jq-file__name {
    border-color: #ccc;
    background: #f5f5f5;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #888;
}