#contact {
    background-color: #eff2f7;
    padding: 6rem 3.5rem;
}

.contact__address {
    padding-right: 3.5rem;
    padding-bottom: 4.5rem;
}
.contact__address_title {
    position: relative;
    color: #04609a;
    margin-bottom: 4rem;
    font-family: 'Noto Serif Display', ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 4.5rem;
    left: -0.25rem;
    top: -0.75rem;
}
.contact__address_company {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.4em;
    text-transform: uppercase;
}
.contact__address_link {
    display: flex;
    flex-direction: row;
    align-items: start;
}
.contact__address_link img {
    margin-top: 0.125rem;
    margin-right: 0.25rem;
    margin-left: -0.25rem;
    width:  1.5rem;
    height:  1.5rem;
}
.contact__address_link span {
    text-decoration: underline;
}

.form-field {
    margin-bottom: 3rem;
}

.form-field > label {
    color: rgba(51, 51, 51, 0.5);
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 300;
}


.form-field > input,
.form-field > textarea {
    width: 100%;
    border-bottom: 1px solid #333333;
    padding: 0 0 0.5rem;
}

.form-field > input:focus,
.form-field > textarea:focus {
    border-bottom-color: #04609a;
    outline: none;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.form-submit {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid #333333;
    outline: none;
    margin-top: 0.5rem;
}

.form-submit svg {
    margin-left: 0.75rem;
}

.form-submit:hover {
    background-color: #cee2f2;
    color: #04609a;
    border-bottom-color: #04609a;
}

.form-submit:focus {
    border-bottom-color: #04609a;
    outline: none;
}


@media (min-width: 768px) {
    #contact {
        padding-left: 5rem;
        padding-right: 5rem;
    }
}

@media (min-width: 640px) and (max-width: 1023px) {
    #contact form {
        margin-left: 8rem;
        margin-right: 8rem;
    }
}

@media (min-width: 1024px) {
    #contact {
        display: flex;
        flex-direction: row;
        padding-top: 8rem;
        padding-bottom: 8rem;
    }

    .contact__address {
        flex: 1 1 50%;
    }

    .contact__form {
        flex: 1 1 50%;
    }

    .form-field > label {
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 1050px) {
    .form-actions {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: end;
    }
}

form.status-pending,
.contact-form-response {
    display: none;
}
.contact-form-response p,
.status-sent #contact-form-response--success,
.status-error #contact-form-response--error {
    display: block;
}

#contact-form-response--error {
    background: white;
    padding: 1rem;
    color: #cc0000;
    margin-top: 1rem;
}
.status-sent .form-field,
.status-sent .form-actions {
    display: none;
}


.status-sent #contact-form-response--success b {
    display: block;
}
@media (min-width: 768px) {
    .status-sent #contact-form-response--success b {
        display: inline;
    }
}
@media (min-width: 1024px) {
    .status-sent #contact-form-response--success {
        position: relative;
        top: 8.5rem;
    }
}