/* HOW IT WORKS */
.hiw-row {
    margin-left: auto;
    margin-right: auto;
}
.hiw-row > div {
    padding-left: 8px;
    padding-right: 8px;
}
@media (max-width: 767px) {
    .hiw-row > div {
        padding-left: 30px;
        padding-right: 30px;
    }
}
.services-item.item-style {
    padding-top: 14px;
    padding-left: 12px;
    padding-right: 12px;
}
.services-item.item-style .services-item-ico img {
    width: 78.82px;
    height: 78.82px;
}

.services-item.item-style .services-item-title {
    font-weight: bold;
    margin-bottom: 1.25rem;
    min-height: 2.33333333333em;
}
/* HOW IT WORKS END */

/* SEARCH GRANT SECTION */
.section-search-grant {
    letter-spacing: 0.4px;
}
.section-search-grant .section-heading {
    margin-bottom: 18px;
}
.section-search-grant .subtitle {
    margin-top: 8px;
    margin-bottom: 0;
}

.row_show {
    padding-bottom: 132px;
}

.search-grant_image-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 40px;
    overflow: hidden;
    border-radius: 8px;
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.search-grant_image-container:before {
    content: '';
    padding-top: 56.25%;
    float: left;
}
.search-grant_image-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.show-button_container {
    position: relative;
    padding: 0.5rem 1.75rem;
    font-size: 1rem;
}

.show-button_container svg {
    position: absolute;
    top: 75px;
    left: 50%;
    fill: var(--btn-bg-color);
    /* transform: translateX(-50%); */
}
.show-button_container svg path {
    fill: var(--btn-bg-color);
}

.search-grant {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 26px;
    width: 100%;
}

.search-grant-form {
    width: 364px;
    min-width: 364px;
    padding: 16px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    -webkit-box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}
.search-grant-form textarea[name='sg-priorities'] {
    min-height: 178px;
}
.search-grant-form .form-btn {
    margin-top: 5px;
}
.search-grant-form button {
    padding: 0.45em 1.8em;
}
.search-grant-form .clear-btn {
    margin-right: 18px;
}
.search-grant-form .validation-error {
    font-size: 12px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.search-grant-results {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    padding: 32px;
    background: #b2eafd;
    border: 1px solid rgba(0, 0, 0, 0.12);
    -webkit-box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.search-grant-results .sg-not-found {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #303036;
    font-size: 20px;
    line-height: 31px;
    max-width: 510px;
    text-align: center;
    margin: auto;
}

.search-grant-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background: #fff;
    -webkit-box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 18px;
}
.search-grant-item:not(:last-of-type) {
    margin-bottom: 18px;
}

.search-grant-item > div:first-of-type {
    width: 100%;
}

.search-grant-item .sg-title {
    font-size: 22px;
    line-height: 32px;
    letter-spacing: 0.15px;
    color: rgba(0, 0, 0, 0.87);
    margin-bottom: 10px;
}

.search-grant-item .sg-description {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.search-grant-item .sg-meta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 10px;
}

.search-grant-item .sg-meta > div {
    width: 50%;
    flex-grow: 1;
    flex-basis: 50%;
}

.search-grant-item .sg-meta > div > div {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-bottom: 5px;
}

.search-grant-item .sg-label {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.5px;
    color: rgba(0, 0, 0, 0.87);
}

.search-grant-item .sg-percentage {
    padding-left: 25px;
}

.search-grant-item .sg-percentage span {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 2px solid #0066b0;
    border-radius: 28px;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.5px;
    color: #0066b0;
}

.sg-blurred {
    position: relative;
    min-height: 300px;
}

.sg-blurred .sg-blurred-content {
    position: absolute;
    top: -10px;
    right: -10px;
    bottom: -10px;
    left: -10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.sg-blurred .sg-found {
    font-weight: 700;
    font-size: 24px;
    line-height: 31px;
    color: #0066b0;
    margin-bottom: 10px;
}

.sg-found-title {
    font-weight: 700;
    font-size: 24px;
    line-height: 31px;
    color: #303036;
    margin-bottom: 8px;
}

.sg-found-subtitle {
    font-weight: 700;
    font-size: 16px;
    line-height: 26px;
    color: #303036;
    margin-bottom: 18px;
}

@media (max-width: 991px) {
    .search-grant {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .search-grant-form {
        width: auto;
        min-width: none;
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
    }
}

@media (max-width: 767px) {
    .section.section-search-grant {
        padding-bottom: 3rem;
    }

    .search-grant-form,
    .search-grant-results {
        margin-left: 16px;
        margin-right: 16px;
    }
    .search-grant-results {
        padding: 16px;
    }
    .search-grant-item .sg-percentage span {
        font-weight: 700;
        color: #245eec;
        width: auto;
        height: auto;
        border: none;
    }

    .search-grant-item .sg-meta {
        display: none;
    }

    .section-heading.heading-center h2 {
        font-size: 36px;
        font-style: normal;
        font-weight: 500;
        line-height: 46.8px;
        letter-spacing: 0.4px;
    }

    .search-grant {
        align-items: center;
    }

    .show-button_container button {
        padding: 0.5rem 1.75rem;
        font-size: 1rem;
    }

    .search-grant-form {
        min-width: 296px;
    }
    .search-grant-form textarea {
        min-height: auto !important;
        height: auto !important;
    }

    .search-grant-form button {
        padding: 0.5rem 1.75rem;
        font-size: 1rem;
    }

    .search-grant-results {
        padding: 3rem;
    }
    .search-grant-results .sg-not-found {
        font-size: 1.5rem;
        font-weight: 700;
        line-height: 31.2px; /* 130% */
        letter-spacing: 0.4px;
    }
}
/* SEARCH GRANT SECTION END */
