/*-- -------------------------- -->
<---          Contact           -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #contact-1239 {
        background-color: #f7f7f7;
        position: relative;
        z-index: 1;
    }
    #contact-1239:before {
        /* background pattern */
        content: "";
        position: absolute;
        display: block;
        height: 100%;
        width: 100%;
        background: url("https://csimg.nyc3.cdn.digitaloceanspaces.com/Images/Graphics/zag-pattern.svg");
        background-size: auto;
        background-position: center;
        background-repeat: repeat;
        opacity: 0.48;
        top: 0;
        left: 0;
        z-index: -1;
    }
    #contact-1239 .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: stretch;
        flex-direction: column;
        /* 48px - 80px */
        gap: clamp(3rem, 6vw, 5rem);
    }
    #contact-1239 .cs-content {
        /* set text align to left if content needs to be left aligned */
        text-align: center;
        width: 100%;
        max-width: 32.625rem;
        /* resets to 0 at tablet */
        margin: auto;
        padding: var(--sectionPadding);
        padding-top: 0;
        /* prevents padding and border from affecting height and width */
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        /* centers content horizontally, set to flex-start to left align */
        align-items: center;
        order: 2;
    }

    #contact-1239 .cs-title {
        margin: 0 0 2rem 0;
    }
    #contact-1239 .cs-form {
        width: 100%;
        padding: 0;
        /* prevents flexbox from affecting height and width */
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.75rem;
    }
    #contact-1239 .cs-label {
        /* 14px - 16px */
        font-size: clamp(0.875rem, 1.5vw, 1rem);
        width: 100%;
        color: var(--headerColor);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 0.25rem;
    }
    #contact-1239 .cs-input {
        font-size: 1rem;
        width: 100%;
        /* 46px - 56px */
        height: clamp(2.875rem, 4vw, 3.5rem);
        padding: 0;
        padding-left: 1.5rem;
        color: var(--headerColor);
        background-color: #fff;
        border: none;
        /* prevents padding from adding to height and width */
        box-sizing: border-box;
    }
    #contact-1239 .cs-input::placeholder {
        color: #7d799c;
        opacity: 0.6;
    }
    #contact-1239 .cs-textarea {
        min-height: 7.5rem;
        padding-top: 1.5rem;
        margin-bottom: 2rem;
        font-family: inherit;
    }
    #contact-1239 .cs-button-solid {
        font-size: 1rem;
        /* 46px - 56px */
        line-height: clamp(2.875em, 5.5vw, 3.5em);
        text-decoration: none;
        font-weight: 700;
        text-align: center;
        margin: 0;
        color: #1a1a1a;
        border: none;
        min-width: 9.375rem;
        padding: 0 1.5rem;
        background-color: var(--primary);
        display: inline-block;
        position: relative;
        z-index: 1;
        /* prevents padding from adding to the width */
        box-sizing: border-box;
        transition: color 0.3s;
    }
    #contact-1239 .cs-button-solid:before {
        content: "";
        position: absolute;
        height: 100%;
        width: 0%;
        background: var(--secondary);
        opacity: 1;
        top: 0;
        left: 0;
        z-index: -1;
        transition: width 0.3s;
    }
    #contact-1239 .cs-button-solid:hover {
        color: #fff;
    }
    #contact-1239 .cs-button-solid:hover:before {
        width: 100%;
    }
    #contact-1239 .cs-submit {
        min-width: 17.6875rem;
        margin: auto;
        color: #fff;
    }
    #contact-1239 .cs-submit:hover {
        cursor: pointer;
        color: #fff;
    }
    #contact-1239 .cs-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    #contact-1239 .cs-card-group {
        width: 100%;
        max-width: 32.625rem;
        margin: 0;
        padding: var(--sectionPadding);
        /* prevents padding and border from affecting height and width */
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* 16px - 20px */
        gap: clamp(1rem, 2.3vw, 1.25rem);
        order: 1;
        position: relative;
        z-index: 1;
    }
    #contact-1239 .cs-item {
        text-align: left;
        list-style: none;
        width: 100%;
        margin: 0;
        /* 16px - 20px */
        padding: clamp(1rem, 4vw, 2.5rem);
        /* prevents padding and border from affecting height and width */
        box-sizing: border-box;
        background-color: #fff;
        position: relative;
        z-index: 1;
    }
    #contact-1239 .cs-item:hover:before {
        opacity: 1;
    }
    #contact-1239 .cs-item:hover .cs-header,
    #contact-1239 .cs-item:hover .cs-item-text,
    #contact-1239 .cs-item:hover .cs-link {
        color: var(--bodyTextColorWhite);
    }
    #contact-1239 .cs-item:hover .cs-text,
    #contact-1239 .cs-item:hover .cs-link {
        opacity: 0.8;
    }
    #contact-1239 .cs-item:hover .cs-link:hover {
        color: var(--accent);
    }
    #contact-1239 .cs-item:hover .cs-icon {
        filter: grayscale(1) brightness(1000%);
    }
    #contact-1239 .cs-item:before {
        /* hover border and background */
        content: "";
        width: 100%;
        height: 100%;
        background: var(--secondary);
        border: 1px solid var(--primary);
        opacity: 0;
        position: absolute;
        display: block;
        top: 0;
        left: 0;
        z-index: -1;
        transition: opacity 0.3s;
    }
    #contact-1239 .cs-header {
        font-size: 1.25rem;
        line-height: 1.2em;
        text-align: inherit;
        font-weight: 700;
        /* 12px - 16px */
        margin: 0 0 clamp(0.75rem, 1.6vw, 1rem);
        display: block;
        transition: color 0.3s;
    }
    #contact-1239 .cs-item-text {
        /* 14px - 16px */
        font-size: clamp(0.875rem, 1.5vw, 1rem);
        line-height: 1.5em;
        text-align: inherit;
        margin: 0 0 0.25rem;
        color: var(--bodyTextColor);
        display: block;
        transition: color 0.3s;
    }
    #contact-1239 .cs-link {
        /* 14px - 16px */
        font-size: clamp(0.875rem, 1.5vw, 1rem);
        line-height: 1.5em;
        text-align: inherit;
        margin: 0;
        color: var(--bodyTextColor);
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 0.25rem;
        transition: color 0.3s;
    }
    #contact-1239 .cs-link:hover {
        color: #FFCC01;
    }
    #contact-1239 .cs-icon {
        width: 1rem;
        height: auto;
    }
    #contact-1239 .cs-card-background {
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }
    #contact-1239 .cs-card-background img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }
    #contact-1239 .cs-background {
        width: 55vw;
        height: 100%;
        display: none;
        position: absolute;
        top: 0;
        left: 50%;
        z-index: -1;
    }
    #contact-1239 .cs-background img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        /* Makes img tag act as a background image */
        object-fit: cover;
    }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #contact-1239 {
        /* moved padding back to the section container */
        padding: var(--sectionPadding);
    }
    #contact-1239 .cs-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    #contact-1239 .cs-content {
        text-align: left;
        width: 42%;
        margin: 0;
        padding: 0;
        align-items: flex-start;
        order: 1;
    }
    #contact-1239 .cs-form {
        padding: 0;
    }
    #contact-1239 .cs-submit {
        margin-left: 0;
    }
    #contact-1239 .cs-wrapper {
        width: 42%;
        max-width: 25.8125rem;
        order: 2;
    }
    #contact-1239 .cs-card-group {
        padding: 0;
    }
    #contact-1239 .cs-card-background {
        display: none;
    }
    #contact-1239 .cs-background {
        display: block;
    }
}

/*-- -------------------------- -->
<---            Map             -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #map-720 {
        min-height: 33.75rem;
        padding: var(--sectionPadding);
        /* prevents padding and border from affecting height and width */
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        
    }
    #map-720 .cs-map {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
        z-index: 1;
        
    }
    #map-720 {
    position: relative;
    min-height: 35rem;
}

.cs-map-card {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    max-width: 20rem;
    padding: 2rem;
    background: white;
    border-left: 4px solid var(--accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    z-index: 2;
}
}
                
.cs-form-status {
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
    min-height: 1.5em;
}

.cs-form-status.success {
    color: #198754;
}

.cs-form-status.error {
    color: #dc3545;
}

.cs-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}