.nls-thank-you-block {
    background-size: cover;
    background-position: center center;
}
.nls-thank-you-block .nls-title {
    font-size: 44px;
    margin: 4px;
}
.nls-thank-you-block p {
    margin: 4px;
}

.nls-thank-you-block  h3.nls-image-title, h3.nls-right-section-title {
    color: #001E30;
}
.nls-thank-you-block .nls-block-left-section {
    border-bottom: 5px solid var(--primary-color);
    border-radius: 15px 15px 0px 0px !important;
}

.primary.nls-thank-you-block .nls-primary-button {
    background-color: var(--primary-color);
    color: #fff !important;
}


.nls-thank-you-block .nls-block-container {
    display: grid;
    grid-template-columns: 2fr 1fr; /* First section 2/3rds, second section 1/3rd */
    gap: var(--global-space); /* Gap between the grid items */
    padding: 32px 0;
    text-align: left;
}
.nls-thank-you-block img {
    max-width: 150px;
    margin: auto;
}
.nls-thank-you-block  .nls-block-content {
    background: var(--secondary-color);
    padding: 32px;
    border-radius: 15px;
}
.nls-thank-you-block .nls-block-container div {
    background: #fff;
    padding: 32px;
    border-radius: 15px;
    text-align: center;
}
.nls-thank-you-block .nls-shortcode {
    border-radius: 15px;
    background-color: #fff;
    padding: 32px;
}
.nls-thank-you-block h2.gform_title {
    color: #001E30;
    text-align: left;
    font-size: 32px;
    line-height: 1.2;
}
.nls-thank-you-block .gform-theme--foundation .gform_fields {
    row-gap: 12px;
}
.nls-thank-you-block .nls-block-right-section {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    gap: 12px;
}
.nls-thank-you-block input#gform_submit_button_1 {
    z-index: 99999999;
    position: relative;
    cursor: pointer;
    background-color: var(--primary-color);
    color: var(--default-color) !important;
    font-size: 18px;
    display: inline-block;
    padding: 12px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
}

.nls-thank-you-block .gform-theme--framework .gfield:where(.gfield--type-multiselect,.gfield--input-type-multiselect) .chosen-container-multi:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gfield:where(.gfield--type-select,.gfield--input-type-select) .chosen-search input[type=text]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gfield:where(.gfield--type-select,.gfield--input-type-select) .chosen-single:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gform-theme-field-control:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework input[type]:where(:not(.gform-text-input-reset):not([type=hidden])):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework select:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework select[multiple]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework textarea:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper .button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper button.button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper input:is([type=submit],[type=button],[type=reset]).button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper input:is([type=submit],[type=button],[type=reset]):where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
    text-align: left;
    border: 1px solid #ddd;
}
.nls-thank-you-block .nls-block-container {
    justify-content: flex-start;
}


.nls-thank-you-block .nls-social-buttons {
    display: flex;
    gap: 12px;
    align-self: center;
}
.nls-thank-you-block .nls-social-buttons a {
    width: 32px;
}
.nls-thank-you-block .nls-block-header {
    margin: 64px 0;
}
.nls-thank-you-block .nls-social-buttons {
    padding: 0px !important;
}



@media (max-width: 980px) {
    .nls-thank-you-block .nls-block-container {
        display: block;
    }
    .nls-thank-you-block .nls-block-content {
        margin-bottom: var(--global-space);
    }
    .nls-thank-you-block .nls-block-container .nls-block-content:last-child {
        margin-bottom: 0;
    }
}