/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */


 .community_contact_us_form_fields {
    padding-bottom:5px;
}


.first-last-name-wrapper{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap:10px;
}

.community_contact_us_form_separator{
    padding-top: 20px;
    border-bottom: 1px solid #C8C8C8;
}

.community_contact_us_form_fields_group{
    display: flex;
    justify-content: space-between;
}

.community_contact_us_form_fields_group .col1,
.community_contact_us_form_fields_group .col2,
.community_contact_us_form_fields_group .col3{
    width:32%;
}

.community_contact_us_form_fields label {
    display: block;
    font-weight: 300;
    color: #202124;
    margin: 10px 0px;
    font-size: 14px;
}

.radio-group {
    width: 100%;
    display: flex;
}

.radio-option {
    width: 50%;
}

.community_contact_us_form_fields label.error {
    color:red;
    font-size: 16px;
}

.community_contact_us_form_fields input[type="text"],
.community_contact_us_form_fields input[type="number"],
.community_contact_us_form_fields input[type="email"],
.community_contact_us_form_fields input[type="submit"],
.community_contact_us_form_fields textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    font-size: 14px;
    background-color: #fff;
    border: 1px solid #bbb;
}

.community_contact_us_form_fields.mm_dd_yy input[type="text"] {
    width:26%;
}


.community_contact_us_form_fields textarea{
    height: 95px;
    font-family: inherit;
}

.comapct-fields {
    display: grid;
    grid-template-columns: auto auto;
    gap: 5%;
}

#contact_us_form_container p.message {
  text-align: center;
  color: red;
}


#contact_us_form_container .select2-container--default .select2-selection--single {
    margin-top:-2px;
    padding:8px;
    border-radius: 5px;
    height:43px;
}

#contact_us_form_container .select2-container .select2-selection--single .select2-selection__rendered{
    padding-left: 0px;
}

#contact_us_form_container .select2-container--default .select2-selection--single .select2-selection__arrow{
    height:43px !important;
    right:8px !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    padding:16px;
}



.community_contact_us_form_fields:has(input[required],select[required],textarea[required]) > label:not(.error)::after{
    content: "*";
    color: red;
    padding-left: 3px; 
 }

@media only screen and ( max-width:600px ) {
    
   .first-last-name-wrapper{
    flex-direction: column;
   }

    .community_contact_us_form_fields_group{
        display: block;
    }
    
    .community_contact_us_form_fields_group .col1,
    .community_contact_us_form_fields_group .col2,
    .community_contact_us_form_fields_group .col3{
        width:100%;
    }

    #success_package_form_container .form_wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0px;
}
}


#contact_us_form_container {
    --community_contact_us-accent: #0a9b80;
    --community_contact_us-accent-hover: #087f69;
    --community_contact_us-accent-ring: rgba(10, 155, 128, .22);
    --community_contact_us-heading: #0f1a1f;
    --community_contact_us-label: #2a3a42;
    --community_contact_us-text: #55646d;
    --community_contact_us-muted: #6b7a83;
    --community_contact_us-border: #b7c4cc;
    --community_contact_us-error: #d92d20;
    --community_contact_us-radius: 10px;

    position: relative;
}

#contact_us_form_container,
#contact_us_form_container *,
#contact_us_form_container *::before,
#contact_us_form_container *::after {
    box-sizing: border-box;
}


#contact_us_form_container .community_contact_us_form_title {
    margin: 0 0 8px;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--community_contact_us-heading);
}

#contact_us_form_container .community_contact_us_form_intro {
    margin: 0 0 28px;
    font-size: 17px;
    line-height: 1.65;
    color: var(--community_contact_us-text);
}


#contact_us_form_container .community_contact_us_form_fields {
    padding-bottom: 18px;
}

#contact_us_form_container .first-last-name-wrapper {
    justify-content: stretch;
    gap: 20px;
}

#contact_us_form_container .first-last-name-wrapper > .community_contact_us_form_fields {
    flex: 1 1 0;
    min-width: 0;
}


#contact_us_form_container .community_contact_us_form_fields label {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--community_contact_us-label);
}

/* #contact_us_form_container .community_contact_us_form_fields:has(input[required],select[required],textarea[required]) > label:not(.error)::after {
    content: none;
} */


#contact_us_form_container .community_contact_us_form_fields input[type="text"],
#contact_us_form_container .community_contact_us_form_fields input[type="email"] {
    display: block;
    width: 100%;
    height: 54px;
    padding: 0 16px;
    font-family: inherit;
    font-size: 17px;
    color: var(--community_contact_us-heading);
    background: #fff;
    border: 1px solid var(--community_contact_us-border);
    border-radius: var(--community_contact_us-radius);
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

#contact_us_form_container .community_contact_us_form_fields textarea {
    display: block;
    width: 100%;
    height: auto;
    min-height: 150px;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 17px;
    line-height: 1.5;
    color: var(--community_contact_us-heading);
    background: #fff;
    border: 1px solid var(--community_contact_us-border);
    border-radius: var(--community_contact_us-radius);
    box-shadow: none;
    resize: vertical;
    transition: border-color .15s ease, box-shadow .15s ease;
}

#contact_us_form_container .community_contact_us_form_fields input[type="text"]:focus,
#contact_us_form_container .community_contact_us_form_fields input[type="email"]:focus,
#contact_us_form_container .community_contact_us_form_fields textarea:focus,
#contact_us_form_container .community_contact_us_form_fields input[type="text"]:focus-visible,
#contact_us_form_container .community_contact_us_form_fields input[type="email"]:focus-visible,
#contact_us_form_container .community_contact_us_form_fields textarea:focus-visible,
#contact_us_form_container .select2-container--default.select2-container--focus .select2-selection--single,
#contact_us_form_container .select2-container--default.select2-container--open .select2-selection--single {
    outline: none;
    border-color: var(--community_contact_us-accent);
    /* box-shadow: 0 0 0 3px var(--community_contact_us-accent-ring); */
}

/* jQuery Validate adds .error to the invalid control */
#contact_us_form_container .community_contact_us_form_fields input.error,
#contact_us_form_container .community_contact_us_form_fields textarea.error,
#contact_us_form_container .community_contact_us_form_fields select.error + .select2-container .select2-selection--single {
    border-color: var(--community_contact_us-error);
}

#contact_us_form_container .community_contact_us_form_hint {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--community_contact_us-muted);
}


#contact_us_form_container .select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
    height: 54px;
    margin-top: 0;
    padding: 0 44px 0 16px;
    background: #fff;
    border: 1px solid var(--community_contact_us-border);
    border-radius: var(--community_contact_us-radius);
    transition: border-color .15s ease, box-shadow .15s ease;
}

#contact_us_form_container .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0;
    font-size: 17px;
    line-height: 1.2;
    color: var(--community_contact_us-heading);
}

#contact_us_form_container .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 0;
    right: 14px !important;
    width: 20px;
    height: 100% !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat center / 16px;
}

#contact_us_form_container .select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none;
}

#contact_us_form_container .select2-dropdown {
    overflow: hidden;
    font-size: 16px;
    border: 1px solid var(--community_contact_us-border);
    border-radius: var(--community_contact_us-radius);
    box-shadow: 0 8px 24px rgba(16, 24, 40, .12);
}

#contact_us_form_container .select2-container--default .select2-results__option {
    padding: 10px 16px;
}

#contact_us_form_container .select2-container--default .select2-results__option--highlighted[aria-selected],
#contact_us_form_container .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    color: #fff;
    /* background: var(--community_contact_us-accent); */
}


#contact_us_form_container .community_contact_us_form_fields label.error {
    margin: 6px 0 0;
    font-size: 14px;
    font-weight: 400;
    color: var(--community_contact_us-error);
}

#contact_us_form_container .community_contact_us_form_fields label.error:empty {
    display: none;
}

#contact_us_form_container p.message {
    margin: 14px 0 0;
    color: var(--community_contact_us-error);
}

#contact_us_form_container p.message:empty {
    display: none;
}


#contact_us_form_container .community_contact_us_form_consent {
    padding-bottom: 22px;
}

#contact_us_form_container .community_contact_us_form_consent label.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--community_contact_us-text);
    cursor: pointer;
}

#contact_us_form_container .community_contact_us_form_consent input[type="checkbox"] {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 4px 0 0;
    accent-color: var(--community_contact_us-accent);
    cursor: pointer;
}

#contact_us_form_container .community_contact_us_form_consent a {
    color: var(--community_contact_us-accent-hover);
    text-decoration: none;
}

#contact_us_form_container .community_contact_us_form_consent a:hover {
    text-decoration: underline;
}


#contact_us_form_container .community_contact_us_form_submit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    padding-bottom: 0;
}

#contact_us_form_container .community_contact_us_form_submit button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 54px;
    margin: 0;
    padding: 0 26px;
    font-family: inherit;
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    background: var(--community_contact_us-accent);
    border: 0;
    border-radius: var(--community_contact_us-radius);
    cursor: pointer;
    transition: background-color .15s ease, box-shadow .15s ease;
}

#contact_us_form_container .community_contact_us_form_submit button[type="submit"]:hover {
    background: var(--community_contact_us-accent-hover);
}

#contact_us_form_container .community_contact_us_form_submit button[type="submit"]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--community_contact_us-accent-ring);
}

#contact_us_form_container .community_contact_us_form_submit button[type="submit"]:disabled {
    opacity: .6;
    cursor: not-allowed;
}

#contact_us_form_container .community_contact_us_btn_icon {
    flex: none;
}

#contact_us_form_container .community_contact_us_form_note {
    font-size: 15px;
    line-height: 1.4;
    color: var(--community_contact_us-muted);
}


@media only screen and ( max-width:600px ) {

    #contact_us_form_container {
        padding: 24px 20px;
        border-radius: 14px;
    }

    #contact_us_form_container .community_contact_us_form_title {
        font-size: 22px;
    }

    #contact_us_form_container .community_contact_us_form_intro {
        font-size: 16px;
    }

    #contact_us_form_container .first-last-name-wrapper {
        gap: 0;
    }

    #contact_us_form_container .first-last-name-wrapper > .community_contact_us_form_fields {
        flex: 0 0 auto;
        width: 100%;
    }

    #contact_us_form_container .community_contact_us_form_submit {
        flex-direction: column;
        align-items: stretch;
    }

    #contact_us_form_container .community_contact_us_form_submit button[type="submit"] {
        width: 100%;
    }

    #contact_us_form_container .community_contact_us_form_note {
        text-align: center;
    }
}