body {
  overflow-x: hidden;
}

.spinner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 9px solid #ff0066;
  animation:
    spinner-bulqg1 0.8s infinite linear alternate,
    spinner-oaa3wk 1.6s infinite linear;
}

@keyframes spinner-bulqg1 {
  0% {
    clip-path: polygon(50% 50%, 0 0, 50% 0%, 50% 0%, 50% 0%, 50% 0%, 50% 0%);
  }

  12.5% {
    clip-path: polygon(
      50% 50%,
      0 0,
      50% 0%,
      100% 0%,
      100% 0%,
      100% 0%,
      100% 0%
    );
  }

  25% {
    clip-path: polygon(
      50% 50%,
      0 0,
      50% 0%,
      100% 0%,
      100% 100%,
      100% 100%,
      100% 100%
    );
  }

  50% {
    clip-path: polygon(
      50% 50%,
      0 0,
      50% 0%,
      100% 0%,
      100% 100%,
      50% 100%,
      0% 100%
    );
  }

  62.5% {
    clip-path: polygon(
      50% 50%,
      100% 0,
      100% 0%,
      100% 0%,
      100% 100%,
      50% 100%,
      0% 100%
    );
  }

  75% {
    clip-path: polygon(
      50% 50%,
      100% 100%,
      100% 100%,
      100% 100%,
      100% 100%,
      50% 100%,
      0% 100%
    );
  }

  100% {
    clip-path: polygon(
      50% 50%,
      50% 100%,
      50% 100%,
      50% 100%,
      50% 100%,
      50% 100%,
      0% 100%
    );
  }
}

@keyframes spinner-oaa3wk {
  0% {
    transform: scaleY(1) rotate(0deg);
  }

  49.99% {
    transform: scaleY(1) rotate(135deg);
  }

  50% {
    transform: scaleY(-1) rotate(0deg);
  }

  100% {
    transform: scaleY(-1) rotate(-135deg);
  }
}

#clear-filter {
  transition: all 0.3s;
}

#loader {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.21);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  /* border: 1px solid rgba(255, 255, 255, 0.3); */
}

[data-display="true"] {
  display: block;
  visibility: visible;
  opacity: 1;
}

[data-display="false"] {
  display: none;
  visibility: hidden;
  opacity: 0;
}

.custom-logo-link {
  max-width: 70%;
}

.custom-logo-link img {
  width: 100%;
  object-fit: contain;
}

.bg-header {
  background-color: #331c54;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.media_search {
  display: flex;
  align-items: flex-start;
  background-color: #faf4ff;
  padding: 20px;
  min-height: 100px;
}

.media_search:hover {
  background-color: #f3e5ff;
}

.media_search-body {
  flex: 1;
  padding: 4px 4px 4px 8px;
}

.media_search img {
  max-width: 100px;
}

.media_search-body h5 {
  font-weight: 400;
  color: #331c54;
  font-size: 20px;
  line-height: 22px;
  text-decoration: underline;
}

.media_search-body h5:hover {
  color: #ff0066;
  transition: all 0.14s linear;
}

.media_search-body p {
  font-weight: 400;
  color: #331c54;
  font-size: 16px;
  line-height: 14px;
  margin-bottom: 4px;
}

.ais-Hits-item,
.ais-InfiniteHits-item {
  box-shadow: none !important;
  background-color: #faf4ff !important;
}

#algolia-search-box input {
  border-bottom: 0;
  border: var(--bs-border-width) solid var(--bs-border-color) !important;
}

#algolia-search-box {
  margin-bottom: 0 !important;
}

.ais-SearchBox-form::before {
  display: none !important;
}

#algolia-powered-by {
  font-size: 10px !important;
}

#algolia-powered-by,
.ais-Stats {
  position: unset !important;
  display: inline-block !important;
}

#algolia-stats {
  display: inline-block !important;
}

.ais-Stats {
  font-family: freight-big-pro, serif;
  font-weight: 400 !important;
  font-style: italic !important;
  font-size: 38px !important;
  color: rgb(51, 28, 84) !important;
}

.site-search__icon .icon {
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  height: 20px;
  width: 20px;
  position: absolute;
  left: 14px;
  top: -30px;
  fill: white;
}

.site-search__input:focus {
  padding-left: 45px;
}

.ais-Pagination-item + .ais-Pagination-item > .ais-Pagination-link {
  border: 1px solid #311c51 !important;
}

.ais-Pagination-item {
  padding: 0 !important;
}

.ais-Pagination-item--selected a {
  color: #fff !important;
  box-shadow: none !important;
  background: #311c51 !important;
}

.ais-Pagination {
  margin: 0 !important;
  display: flex !important;
  justify-content: center !important;
}

.digital-technologies {
  background-color: #ff6600;
}

.strategic-support-units {
  background-color: #9933ff;
}

.finance {
  background-color: #ff99cc;
}

.discovery-research-platforms {
  background-color: #99ff33;
}

.discovery-research-platforms *,
.finance * {
  color: #331c54 !important;
}

.no-content {
  height: calc(100% - 100px);
  background-color: #e2e2e2;
}

@media all and (max-width: 992px) {
  .no-content {
    height: unset;
  }
}

.entry-content .alignwide {
  margin-left: -80px;
  margin-right: -80px;
}

.entry-content .alignfull {
  margin-left: calc(-100vw / 2 + 100% / 2);
  margin-right: calc(-100vw / 2 + 100% / 2);
  max-width: calc(100vw - 8px);
}

/* .alignfull img {
    width: 100vw;
} */

blockquote.gimm-quote {
  max-width: 650px;
  position: relative;

  padding-left: 40px;
}

blockquote.gimm-quote::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 10px;
  background-color: #331c54;
  /* margin-top: 20px; */
}

.aspect-ratio-4x3 {
  aspect-ratio: 4/3;
  object-fit: cover;
}

.sticky:not(.fixed-top) {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* .form-select {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: 0px;
    font-family: freight-big-pro, serif;
    margin-bottom: 10px;
} */

.choices {
  height: 40.6px !important;

  border: var(--bs-border-width) solid var(--bs-border-color);
}

.choices__list--single {
  padding: 0;
  color: var(--bs-body-color);
}

.choices__inner {
  display: block;
  font-size: 18px !important;
  padding: 0.375rem 0.75rem !important;
  width: 100%;
  font-weight: 400 !important;
  line-height: 1.5 !important;

  color: var(--bs-body-color);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--bs-body-bg);
  background-clip: padding-box;
  border: 0;
  border-radius: 0px;
  font-family: freight-big-pro, serif;
  margin-bottom: 10px;
}

.tag_news_type {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px 3px 6px;
  border-radius: 16px;
  font-size: 13px;
  margin-bottom: 5px;
  font-weight: 500;
}

.btn.btn-gimm-lg {
  background: transparent;
  border: 1px #ff0066 solid !important;
  color: #ff0066;
  border-radius: 0;
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-size: 1rem;
}

.btn.btn-gimm-lg:hover {
  background-color: #ff0066 !important;
  color: #ffff;
}

.btn-check:checked + .btn.btn-gimm-lg,
.btn.btn-gimm-lg.active,
.btn.btn-gimm-lg.show,
.btn.btn-gimm-lg:first-child:active,
:not(.btn-check) + .btn.btn-gimm-lg:active {
  background-color: #ff0066 !important;
  color: #ffff;
}

.itp_project-card {
  border: 1px #ff0066 solid !important;
  cursor: pointer;
  transition: 0.4s;
}

.itp_project-card .card-body .card-title {
  color: #331c54;
  font-size: 1.3rem;
  font-style: italic;
}
.itp_project-card .card-body .card-text {
  color: #331c54;
  opacity: 0.7;
  font-size: 0.9rem;
  /* font-style:; */
}

.itp_project-card.selected {
  background-color: #ff0066 !important;
  color: #ffff;
}

.itp_project-card:hover {
  background-color: #ff0066 !important;
  color: #ffff;
}

.itp_project-card:hover .card-body *,
.itp_project-card:hover .card-body .card-title,
.itp_project-card:hover .btn.btn-link {
  color: #ffff;
}
.itp_project-card.selected .card-body .card-text,
.itp_project-card.selected .card-body .card-title,
.itp_project-card.selected .btn.btn-link {
  color: #ffff;
}

.itp_project-card:hover img {
  /* filter: saturate(0); */
}
.itp_project-card.selected img {
  /* filter: saturate(0); */
}

.itp_project-card img {
  padding: var(--bs-card-cap-padding-y) var(--bs-card-cap-padding-x);
  /* outline: 1px solid red; */
  /* filter: saturate(0.5); */
  /* height: 200px; */
  /* width: 100%; */
  aspect-ratio: 5/3;
  object-fit: cover;
  /* width: 50%; */
}

.no-controls {
  -moz-appearance: textfield;
}

.no-controls::-webkit-inner-spin-button,
.no-controls::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.table-gimm tr th {
  background: #ff0066 !important;
  color: #fff;
}

.itp_panel:not(.active) {
  display: none !important;
}

.iti {
  width: 100%;
}

.itp_project-card [data-project-selected] {
  display: none;
}
.itp_project-card.selected [data-project-selected] {
  display: inline-block;
}
.itp_project-card.selected [data-project-select] {
  display: none;
}

.itp_project-card .card-header {
  background-color: transparent;
  border: 0;
}

.itp_project-card .card-footer {
  background-color: transparent;
  border: 0;
}
.itp_project-card .btn.btn-link {
  color: #331c54;
  font-style: italic;
  font-family: freight-big-pro, serif;
  font-size: 1.2rem;
}

.itp_secondary-text {
  font-size: 16px;
  margin-bottom: 6.5px;
  color: #331c54;
  opacity: 0.7;
}

.jobs-form input,
.jobs-form label,
.jobs-form textarea {
  width: 100% !important;
}
.wpcf7-response-output {
  display: none;
}

.btn-contact {
  color: #331c54;
  border-radius: 0;
  border-color: #331c54;
}

.btn-contact:hover {
  background-color: #331c54 !important;
  border-color: #331c54 !important;
  color: #ffff !important;
}

.grecaptcha-badge {
  display: none !important;
}
