.form {
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

/* For tablet landscape up */
@media (min-width: 900px) {
    .form {
        margin-top: 4rem;
    }
}

.form__wrapper {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* For tablet landscape up */
@media (min-width: 900px) {
    .form__wrapper {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.form__card {
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: var(--white);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

/* For tablet landscape up */
@media (min-width: 900px) {
    .form__card {
        padding-bottom: 0;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.form__header aside {
    width: 220px;
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0%;
    transform: translate(-70%, 10%);
}

.form__header .subheading {
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 1px solid var(--gray);
}

.form__header h2 {
    font-size: 1.7em;
}

/* For tablet landscape up */
@media (min-width: 900px) {
    .form__header h2 {
        font-size: 2em;
        padding-top: 1.50rem;
    }
}

.form__header article {
    border-bottom: 1px solid var(--gray);
}

.form__header article p {
    line-height: 1.5;
}

/* For tablet landscape up */
@media (min-width: 900px) {
    .form__header article p {
        width: 65%;
    }
}

.form__header .subheading,
.form__header h2, 
.form__header article {
    color: var(--primary-color);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* For tablet landscape up */
@media (min-width: 900px) {
    .form__header .subheading {
        padding-top: 2rem;
    }
}

/* FREEFORM */
/* ======== */

.form__content .freeform-form {
    width:inherit;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* For tablet landscape up */
@media (min-width: 900px) {
    .form__content .freeform-form {
        width: 1120px;
        padding-bottom: 2rem;
    }
}

.form__content label {
    font-size: 18px;
    font-family: var(--header-font-family);
    font-weight: normal;
    margin-bottom: 0.5rem;
}

.form__content input,
.form__content select,
.form__content textarea {
    font-family: var(--body-font-family);
    border: 1px solid var(--gray);
    border-radius: 10px;
    padding: 0.8rem 1rem;
}

.form__content .freeform-fieldtype-rich-text {
    text-align: center;
}

.form__content .freeform-fieldtype-rich-text a {
    color: var(--primary-color);
}

.form__content button[type="submit"] {
    width: 100%;
    display: inline-block;
    vertical-align: middle;
    font-size: 16px;
    font-family: var(--body-font-family);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.8rem 2rem;
    text-align: center;
    border: unset;
    border-radius: 20px;
    background-image: linear-gradient(to right bottom, #008b4e, #009147, #00963d, #009b32, #0aa022);
    color: var(--white);
    align-self: flex-start;
}

/* For phone only */
@media (max-width: 599px) {
    .form__content button[type="submit"] {
        font-size: 13px;
    }
}

/* For tablet landscape up */
@media (min-width: 900px) {
    .form__content button[type="submit"] {
        order: 2;
    }
}

.form__content button[type="submit"]:hover {
    background-image: linear-gradient(to right bottom, #006b3d, #007238, #007930, #007f26, #048618);
    color: var(--white);
}