@media only screen and (min-width:0rem) {
    #contact-587 {
        background-color: #fafbfc;
        position: relative;
        z-index: 1
    }

    #contact-587 .cs-text {
        opacity: .8
    }

    #contact-587 .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 3rem
    }

    #contact-587 .cs-picture {
        display: block;
        position: relative;
        width: 100%;
        height: 18.75rem
    }

    #contact-587 .cs-picture img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        object-fit: cover
    }

    #contact-587 .cs-content,#contact-587 .cs-right {
        display: flex;
        flex-direction: column;
        align-items: flex-start
    }

    #contact-587 .cs-right {
        padding: var(--sectionPadding);
        padding-top: 0;
        box-sizing: border-box;
        gap: 3rem
    }

    #contact-587 .cs-content {
        text-align: left;
        width: 100%
    }

    #contact-587 .cs-form {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        align-items: center;
        gap: .75rem
    }

    #contact-587 .cs-label {
        font-size: clamp(.875rem,1.5vw,1rem);
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: .25rem
    }

    #contact-587 .cs-input {
        font-size: 1rem;
        width: 100%;
        height: 3.5rem;
        padding: 0;
        padding-left: 1.5rem;
        background-color: var(--background);
        border: 1px solid var(--primary);
        box-sizing: border-box;
        transition: border-color .3s
    }

    #contact-587 .cs-input:hover {
        border-color: var(--secondary)
    }

    #contact-587 .cs-input:focus {
        outline: 1px solid var(--secondary)
    }

    #contact-587 .cs-textarea {
        min-height: clamp(7.5rem,28vw,12rem);
        padding-top: 1.5rem;
        margin-bottom: .75rem;
        font-family: inherit
    }

    #contact-587 .cs-button-solid {
        font-size: 1rem;
        line-height: clamp(2.875rem,5.5vw,3.5rem);
        text-decoration: none;
        font-weight: 700;
        text-align: center;
        margin: 0;
        color: var(--secondary);
        min-width: 9.375rem;
        padding: 0 1.5rem;
        background-color: var(--tertiary);
        border-radius: .25rem;
        display: inline-block;
        position: relative;
        z-index: 1;
        box-sizing: border-box
    }

    #contact-587 .cs-button-solid:before {
        content: "";
        position: absolute;
        height: 100%;
        width: 0%;
        background: var(--secondary);
        opacity: 1;
        top: 0;
        left: 0;
        z-index: -1;
        border-radius: .25rem;
        transition: width .3s
    }

    #contact-587 .cs-button-solid:hover {
        color: var(--tertiary)
    }

    #contact-587 .cs-button-solid:hover:before {
        width: 100%
    }

    #contact-587 .cs-submit {
        line-height: 3.5rem;
        min-width: 13.375rem;
        border: 0;
        border-radius: 0
    }
}

@media only screen and (min-width:48rem) {
    #contact-587 {
        padding: var(--sectionPadding);
        position: relative
    }

    #contact-587 .cs-container {
        flex-direction: row;
        justify-content: flex-end
    }

    #contact-587 .cs-picture {
        position: absolute;
        height: 100%;
        width: 44%;
        right: 50%;
        margin-right: clamp(5.25rem,12vw,7.5rem)
    }

    #contact-587 .cs-right {
        width: 56%;
        max-width: 39.375rem;
        padding: 0
    }

    #contact-587 .cs-label {
        width: 48%
    }

    #contact-587 .cs-message,#contact-587 .cs-phone {
        width: 100%
    }
}

.cs-picture.contact {
    max-width: 845px!important
}
