.algolia_people_search .top_container {
    background-color: #011c2c;
    padding-bottom: 50px;
    padding-top: 50px;
}

.search_by_experts_p {
    color: #c7c7c7;
    font-size: 24.4px;
    font-size: 1.525rem;
    font-weight: 100;
    line-height: 1.2em;
}

.scholarship_search_label {
    font-size: 2rem;
    font-weight: bold;
    color: #ffc107;
}

.aa-InputWrapper {
    display: flex;
    align-items: center;
    order: 0 !important;
}

.aa-InputWrapperSuffix {
    order: 1 !important;
}

.aa-InputWrapperPrefix {
    background-color: #ffc107;
    padding: 6px 6px;
    order: 2 !important;
}

.aa-InputWrapperPrefix svg {
    width: 20px;
    height: 20px;
    fill: black;
}

.aa-Input {
    padding: 12px;
}

.aa-Form {
    border: 2px solid #ffc107;
    border-radius: 0px !important;
}

.aa-Label {
    position: relative;
    top: 0.3rem;
}

.aa-InputWrapperSuffix {
    order: 0 !important;
}

.find_expert_sub_header {
    display: flex;
    align-items: center;
    padding-top: 1rem;
    color: white;
}

.ais-SearchBox-form {
    display: flex;
    border: 2px solid #ffc107;
    border-radius: 5px;
    overflow: hidden;
    display: none;
  }

.ais-SearchBox-input {
    flex: 1;
    padding: 10px;
    border: none;
    outline: none;
    font-size: 1rem;
  }

.ais-SearchBox-submit {
    background-color: #ffc107;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
  }

.ais-Stats {
    padding-top: 20px;
  }

.ais-Stats-text {
    color: rgb(128, 128, 128);
    font-size: small;
  }

.ais-Hits-list {
    display: grid;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    padding-top: 25px;
}

@media (min-width: 768px) {
    .ais-Hits-list {
        grid-template-columns: repeat(2, 1fr);
    }
}


.ais-Hits-item {
    display: flex;
    flex-direction: column;
    padding: 15px;
    border-bottom: 1px solid grey;
}

.hit-content .url-title {
    font-weight: 600;
    font-size: 19.2px;
    font-size: 1.2rem;
}
.hit-image {
    width: 90px;
    height: 90px;
    border-radius: 45px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid #ccc;
}

.ais-Hits-item .hit-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    padding-top: 2em;
}

.hit-title {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: inherit;
    margin-bottom: 5px;
    text-decoration: underline;
}

.position-department {
    font-size: 0.85em;
    line-height: 1.69;
    margin-bottom: 0px;
    margin-top: 0px;
    overflow-wrap: break-word;
}

.sj-results__result__link {
    display: block;
    font-size: 0.9rem;
    color: rgb(136, 137, 145);
    margin-top: 20px;
    text-decoration: underline;
    padding-bottom: 0.85rem;
}

.ais-Hits-item .description {
    margin-top: 5px;
    font-size: 0.9em;
    color: #555;
    margin-bottom: auto;
    white-space: pre-line;
}
.ais-Pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 20px;
    padding: 0;
}

.ais-Pagination-list {
    display: flex;
    flex-direction: row;
    gap: 5px;
    list-style: none;
    padding: 0;
}

.ais-Pagination-item {
    display: inline-flex;
}

.ais-Pagination-link {
    display: inline-block;
    padding: 8px 15px;
    text-decoration: none;
    font-weight: bold;
    color: rgb(88, 88, 88);
}

.ais-Pagination-link:hover {
    color: rgb(88, 88, 88);
}

.ais-Pagination-item--selected .ais-Pagination-link {
    background-color: rgb(51, 51, 51);
    border-radius: 5px;
    color: rgb(255, 255, 255);
}

.ais-Pagination-item--disabled .ais-Pagination-link {
    opacity: 0;
    cursor: not-allowed;
}

.ais-Pagination-item--previousPageItem .ais-Pagination-link,
.ais-Pagination-item--nextPageItem .ais-Pagination-link {
    font-size: 2rem;
    color: grey;
    padding-left: 10px;
    line-height: 0.6;
    text-decoration: none;
}

.filter-search-container {
    display: flex;
}

.filter-label {
    color: #fff;
}

.ais-ToggleRefinement {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #ffc107;
    padding: 0.6rem;
}

.ais-ToggleRefinement-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 0.4rem;
}

.ais-ToggleRefinement-labelText {
    order: -1;
    font-size: 1rem;
    color: #ffc107;
    cursor: pointer;
}

.ais-ToggleRefinement-checkbox {
    width: 2rem;
    height: 2rem;
    border: 1px solid #ffc107;
    appearance: none;
    background: transparent;
    cursor: pointer;
    display: inline-block;
    position: relative;
}

.ais-ToggleRefinement-checkbox:checked::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg);
    background-color: #ffd300;
    width: 44.8px;
    width: 2.8rem;
    height: 1px;
}

.ais-ToggleRefinement-checkbox:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%) rotate(-45deg);
    transform: translate(-50%, -50%) rotate(-45deg);
    background-color: #ffd300;
    width: 44.8px;
    width: 2.8rem;
    height: 1px;
}

.hit-title:focus {
    color: black;
}

.white_container_featured a:focus {
    color: white;
}

@media (max-width: 768px) {
    .ais-Hits-list {
      grid-template-columns: 1fr !important;
      padding: 0 1rem;
    }

    .ais-Hits-item {
      gap: 1rem;
      padding: 1rem 0;
    }

    .ais-Hits-item .hit-content {
        padding-top: 0em;
        word-break: break-word;
    }

    .hit-image {
      width: 60px;
      height: 60px;
    }

    .sj-results__result__link {
      font-size: 0.85rem;
    }
}
