.contact-modal1_component {
    align-items: center;
    padding: 12px;
    overflow: hidden;
}

.contact-modal1_content-wrapper {
    height: 590px;
    max-height: calc(100dvh - 24px);
    min-height: 0;
    margin-top: auto;
    margin-bottom: auto;
    overflow: hidden !important;
    transform: scale(0.96) !important;
}

.contact-modal1_content-grid {
    height: 100%;
    min-height: 0;
}

.contact-modal1_content-grid > .modal-left {
    min-height: 0;
    overflow-y: auto;
}

.contact-modal1_content-grid > .div-block-7 {
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    padding-top: 0;
    padding-bottom: 0;
}

.contact-form {
    width: 100%;
    box-sizing: border-box;
    padding: 26px 6px;
    border: 0;
    border-radius: 16px;
    background: #fff;
}

.contact-form_fields {
    display: grid;
    gap: 20px;
}

.contact-form_fields input,
.contact-form_fields textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #dce3e5;
    border-radius: 8px;
    background: #fff;
    color: #002f36;
    font: inherit;
    font-size: 16px;
    padding: 16px;
}

.contact-form_fields input {
}

.contact-form_fields textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form_fields input::placeholder,
.contact-form_fields textarea::placeholder {
    color: #002f36;
    opacity: 1;
}

.contact-form_submit {
    display: flex;
    width: 100%;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    background: #00515b;
    color: #fff;
    font: inherit;
    font-size: 18px;
    cursor: pointer;
}
.contact-modal1_close-button {
    display: flex;
    position: absolute;
    top: 0;
    right: 0;
}
section.section_contact5 form.contact-form {
    padding: 30px 50px;
}
@media screen and (max-width: 767px) {
    .contact-form {
        padding: 10px;
    }.modal-left {
    padding: 10px 10px;
    text-align: center;
}

.modal-left p.paragraph-13 {
    display: none;
}
.modal-left h2.heading-19 {
    font-size: 22px;
    padding-bottom: 0px;
}
.contact-modal1_content-grid > .modal-left{
    overflow-y: hidden;
}
    .contact-form_fields {
        gap: 14px;
    }

    .contact-form_fields input {
        min-height: 58px;
    }

    .contact-form_fields textarea {
        min-height: 110px;
    }
    .navigation_component .w-embed {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .contact-modal1_content-wrapper {
        width: 100%;
        min-height: 0 !important;
        border-radius: 1rem;
    }

    .contact-modal1_content-grid > .div-block-7 {
        flex: 1 1 auto;
        padding: 0;
    }
}
