.team {
  background-color: #ffffff;
  padding-bottom: 30px;
  position: relative;
  z-index: 1;
}
.team:after {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 300px;
  background-color: #F2F2F2;
  content: "";
}
.team__search {
  background-color: #F2F2F2;
  margin-bottom: 50px;
}
@media (min-width: 768px) {
  .team__search {
    margin-bottom: 75px;
  }
}
@media (min-width: 992px) {
  .team__search {
    margin-bottom: 100px;
  }
}
.team__search .team-search-with-icon {
  position: relative;
}
.team__search .team-search-with-icon .team--search__input {
  width: 100%;
}
.team__search .team-search-with-icon .fa-search {
  position: absolute;
  top: 16px;
  right: 8px;
  transform: translateY(-25%);
  pointer-events: none;
}
@media (min-width: 768px) {
  .team__search .team-search-with-icon .fa-search {
    top: 24px;
    right: 24px;
    transform: translateY(-50%);
  }
}
.team__search .team-search-with-icon .search-results {
  border: 2px solid black;
  transform: translateY(-10px);
  padding-right: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 0.5rem;
  background-color: white;
  border-top: none;
  border-radius: 0 0 15px 15px;
}
@media (min-width: 768px) {
  .team__search .team-search-with-icon .search-results {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }
}
.team__search .team-search-with-icon .search-results a {
  color: black;
}
.team__search .team-search-with-icon .search-results a:hover {
  color: var(--theme-heading);
}
.team__member {
  position: relative;
  height: 332px;
  margin-bottom: 1em;
}
.team__member img {
  width: 100%;
  border-radius: 15px;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.team__member__bottom {
  position: absolute;
  padding: 0 20px 25px;
  width: 100%;
  bottom: 0;
  color: #F2F2F2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 110px;
  background: linear-gradient(rgba(7, 43, 184, 0), #072BBB);
  border-radius: 0 0 15px 15px;
}
.team__member__bottom-name {
  margin-bottom: 0.25em;
  color: #F2F2F2;
  font-size: 1.125rem;
}
.team__member__bottom-function {
  font-weight: 500;
  font-size: 1.125rem;
  line-height: 1.2;
  display: flex;
  justify-content: space-between;
}
.team__member a {
  display: block;
  height: 100%;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.spinner-hidden {
  display: none;
}

.spinner-visible {
  display: block;
  position: absolute;
  z-index: 2;
  top: 0;
  right: 30px;
  transform: translateY(25%);
}
@media (min-width: 768px) {
  .spinner-visible {
    right: 50px;
  }
}
.spinner-visible .fa-spinner {
  animation: spin 1s linear infinite;
}
