/* Search-box */

.search-box {
  display: none;
  transition-duration: 0.3s;
  position: fixed;
  top: 113px;
  left: 0;
  right: 0;
  z-index: 1020;
}
@media (max-width: 992px) {
  .search-box {
    top: 40px;
  }
}

.search-box_visible {
  display: block;
  transition-duration: 0.15s;
}

.search-box__backdrop {
  min-height: 100vh;
  background-color: rgba(24, 24, 24, 0.8);
}

.search-box__container {
  position: relative;
  background-color: #ffffff;
  margin: 0 auto;
  padding: 20px 0;
  max-width: 1170px;
  z-index: 2;
  box-shadow: 0px 5px 30px rgba(10, 11, 11, 0.1);
}
.search-box__field {
  margin: 0 20px 0;
  position: relative;
}
.search-box__label {
  position: relative;
  margin-bottom: 0;
  width: 100%;
}
.search-box__label-icon {
  position: absolute;
  top: 50%;
  left: 23px;
  transform: translateY(-50%);
  font-size: 20px;
  color: #0058a5;
  /* Center the glyph, not its line box: the icon is an <i> wrapping an inline SVG, so
	   without this the baseline strut adds slack below and the icon rides high. */
  display: flex;
  align-items: center;
  line-height: 0;
  pointer-events: none; /* clicks belong to the input underneath */
}
.search-box__label-icon > i {
  display: flex;
  align-items: center;
}
/* global.css sizes .svg-inline--fa at width:1em/height:1.4em; the extra 0.4em is vertical
   slack that offsets this absolutely-positioned icon. Square it up. */
.search-box__label-icon .svg-inline--fa {
  height: 1em;
}
.search-box__label-icon svg path {
  fill: #2a95d5;
}
.search-box__label-input {
  display: block;
  background-color: #ffffff;
  border: 2px solid #ebecf0;
  border-radius: 4px;
  outline-width: 0;
  padding: 0 52px 2px 52px;
  width: 100%;
  height: 56px;
  font-family: var(--ff-gotham);
  font-weight: 700;
  font-size: 16px;
  line-height: 18px;
}
.search-box__label-input::placeholder {
  color: #afafaf !important;
  opacity: 1;
}
.search-box__close {
  position: absolute;
  top: 50%;
  right: 11px;
  outline-width: 0;
  border-width: 0;
  width: 36px;
  height: 36px;
  background-color: transparent;
  background-image: url("/img/svgs/search-close.svg");
  background-repeat: no-repeat;
  background-position: center;
  transform: translateY(-50%);
  cursor: pointer;
}
.search-box__results {
  display: none;
  margin-top: 20px;
  margin-left: 20px;
  margin-right: 20px;
  position: relative;
}
@media (max-width: 767px) {
  .search-box__results {
    max-height: none !important;
    flex-direction: column;
  }
}
.search-box__results_padding-bottom {
  padding-bottom: 13px;
}
.search-box__results_visible {
  display: block;
}
.search-box__results_horizontal.search-box__results_visible {
  display: flex;
}
.search-box__results-icon {
  padding: 0 15px;
  text-align: center;
}
.search-box__results-icon-img {
  margin-top: 18px;
  height: 40px;
}
.search-box__list-wrapper {
  min-width: 100%;
  width: 100%;
}
@media (max-width: 767px) {
  .search-box__list-wrapper {
    min-width: 100%;
    width: 100%;
  }
}
.search-box__results_with-preview .search-box__list-wrapper {
  min-width: 50%;
  width: 50%;
}
@media (max-width: 767px) {
  .search-box__results_with-preview .search-box__list-wrapper {
    min-width: 100%;
    width: 100%;
  }
}
.search-box__list {
  position: relative;
  overflow-y: hidden;
  max-height: 100%;
  padding-right: 20px;
  padding-bottom: 5px;
}
.search-box__results_with-preview .search-box__list {
  padding-right: 30px;
  padding-bottom: 35px;
}
.search-box__ai-cta-overlay {
  display: none;
}
.search-box__results_with-ai-cta .search-box__ai-cta-overlay {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  z-index: 4;
  padding: 16px 20px 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    #ffffff 24px,
    #ffffff 100%
  );
  pointer-events: none;
  max-width: calc(100% - 24px);
}
.search-box__results_with-ai-cta .search-box__ai-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 64px;
  padding: 8px 0;
  background-color: #ffffff;
  pointer-events: auto;
}
.search-box__results_with-ai-cta .search-box__ai-cta-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: normal 400 14px/1.8 var(--ff-gotham);
  color: #181818;
}
.search-box__results_with-ai-cta .search-box__ai-cta-text .fa-sparkle {
  font-size: 16px;
  color: #2a95d5;
}
.search-box__results_with-ai-cta .search-box__ai-cta-button {
  flex: 0 0 auto;
  border: 1px solid #0073ff;
  border-radius: 8px;
  min-height: 33px;
  padding: 0 12px;
  font: normal 700 14px/1.8 var(--ff-gotham);
  color: #2a95d5;
  background: transparent;
  cursor: pointer;
}
.search-box__results_with-ai-cta .search-box__ai-cta-button:hover,
.search-box__results_with-ai-cta .search-box__ai-cta-button:focus {
  background: #0073ff;
  color: #fff;
}
@media (max-width: 767px) {
  .search-box__results_with-ai-cta .search-box__ai-cta-overlay {
    position: static;
    padding: 12px 0 0;
    background: #ffffff;
  }
  .search-box__results_with-ai-cta .search-box__ai-cta {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .search-box__results_with-preview .search-box__list {
    padding-bottom: 35px;
  }
}
.search-box__list .ps__rail-y,
.search-box__list .ps__rail-y:hover {
  width: 25px;
  opacity: 1 !important;
}
.search-box__list .ps__rail-y::before {
  right: 5px;
  width: 6px;
  background-color: #f1f9fb;
  opacity: 1;
}
.search-box__results_with-preview .search-box__list .ps__rail-y::before {
  right: 12px;
}
.search-box__list .ps__thumb-y {
  right: 5px;
  background-color: #2a95d5 !important;
}
.search-box__results_with-preview .search-box__list .ps__thumb-y {
  right: 12px;
}
.search-box__category:not(:first-child) {
  margin-top: 5px;
}
.search-box__results_with-ai-cta .search-box__category-items_has-results {
  padding-bottom: 48px;
}
.search-box__category-title {
  display: none;
  padding: 8px 15px 8px 39px;
  background-color: #f1f9fb;
  font-family: var(--ff-gotham);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  line-height: 14px;
  color: #678cb1;
}
.search-box__results_with-category-sorting .search-box__category-title {
  display: block;
}
.search-box__item-wrapper,
.search-box__item-wrapper:hover,
.search-box__item-wrapper:focus {
  text-decoration: none;
}
.search-box__item-wrapper:hover {
  border-left: 4px solid #2a95d5 !important;
  background-color: rgba(42, 149, 213, 0.05) !important;
}
.search-box__item-wrapper {
  position: relative;
  margin-top: 5px;
  padding: 0 15px 20px 0;
  min-height: 63px;
  transition-duration: 0.3s;
  border-bottom: 2px solid #e7eef0;
  border-left: 4px solid transparent;
}
.search-box__item-wrapper.hit {
  min-height: 156px;
}
.search-box__item-wrapper:not(:first-child) {
  margin-top: 0px;
}
.search-box__item-wrapper_active {
  transition-duration: 0.3s;
}
.search-box__results_with-preview .search-box__item-wrapper_active {
  transition-duration: 0.15s;
  box-shadow: 0px 5px 30px rgba(10, 11, 11, 0.2);
}

.search-box__item {
  display: flex;
  flex-direction: column;
}
.search-box__results_with-category-sorting .search-box__item {
  flex-direction: row;
}
.search-box__item-link {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.search-box__item-icon-wrapper {
  display: flex;
  align-items: flex-start;
  padding: 20px 0 0 16px;
}
.search-box__item-icon__circle {
  width: 32px;
  height: 32px;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;
  border: 1.5px solid #c9ccd6;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-box__item-icon {
  font-size: 16px;
}
.search-box__results_with-category-sorting .search-box__item-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: normal;
  text-align: center;
  padding: 16px 21px 0 49px;
  width: 70px;
  max-width: 70px;
}
.search-box__item-icon {
  font-size: 16px;
  color: rgb(42, 149, 213);
}

.search-box__item-icon.fa-code {
  left: 5.5px;
  top: 4px;
}
.search-box__item-icon.fa-graduation-cap {
  left: 7.5px;
  top: 1px;
}
.search-box__item-category {
  margin-left: 8px;
  font-family: var(--ff-gotham);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 10px;
  line-height: 15px;
  color: #181818;
}
.search-box__item-icon__text-meta {
  display: flex;
  flex-direction: column;
}
.search-box__item-icon__boosted-result {
  font-family: var(--ff-gotham);
  font-weight: 500;
  color: #678cb1;
  font-size: 14px;
  text-align: right;
  flex-grow: 2;
}
.search-box__item-wrapper:hover .search-box__item-icon__boosted-result {
  color: #e01a59;
}
.search-box__results_with-category-sorting .search-box__item-category {
  display: none;
}
.search-box__item-text {
  padding-left: 16px;
}
.search-box__results_with-category-sorting .search-box__item-text {
  padding-left: 0;
}
.search-box__item-title {
  margin-top: 14px;
  font-family: var(--ff-gotham);
  font-weight: 500;
  font-size: 16px;
  line-height: 18px;
  color: #2a95d5;
  transition-duration: 0.3s;
}
.search-box__item-description {
  margin-top: 5px;
  font-family: var(--ff-gotham);
  font-weight: 400;
  font-size: 14px;
  line-height: 19.6px;
  color: #181818;
  transition-duration: 0.3s;
}
.search-box__item-description strong,
.search-box__item-title strong,
.search-box__item-breadcrumbs-single strong {
  font-family: inherit;
  font-weight: 500;
}

#header-navbar-search-results-list:hover .search-box__item-description strong,
#header-navbar-search-results-list:hover .search-box__item-title strong,
#header-navbar-search-results-list:hover
  .search-box__item-breadcrumbs-single
  strong {
  background-color: #ffff54;
  border-radius: 4px;
  font-family: var(--ff-gotham);
  font-weight: 300;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  display: inline-block;
}
#header-navbar-search-results-list:hover .search-box__item-description strong {
  font-weight: 600;
}

#header-navbar-search-results-list:hover .search-box__item-title strong {
  font-family: var(--ff-gotham);
  font-weight: 500;
}

#header-navbar-search-results-list:hover
  .search-box__item-breadcrumbs-single
  strong {
  font-family: var(--ff-gotham);
  font-weight: 500;
}

.search-box__item-wrapper.most-useful--boosted-result {
  background-color: #ecb32d50;
  transition: background-color border-left 1s;
  border-left: 4px solid #ecb32d;
}

.search-box__results_with-category-sorting .search-box__item-title {
  margin-top: 13px;
}
.search-box__item-title {
  margin-left: 0;
}
.search-box__item-wrapper_active .search-box__item-title {
  color: #2a95d5;
  transition-duration: 0.15s;
}
.search-box__item-subcategory {
  display: none;
  margin-top: 5px;
  font-family: var(--ff-gotham);
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  color: #aec3d7;
  transition-duration: 0.3s;
}
.search-box__item-wrapper_active .search-box__item-subcategory {
  color: #8ecff5;
  transition-duration: 0.15s;
}
.search-box__item-subcategory_visible {
  display: block;
}
.search-box__item-breadcrumbs {
  display: none;
  margin-top: 0px;
  font-family: var(--ff-gotham);
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  transition-duration: 0.3s;
  color: #8b8b8b;
}
.search-box__item-breadcrumbs_visible {
  display: block;
  margin-left: 8px;
}
.search-box__item-breadcrumbs-single {
  color: #8b8b8b;
}
.search-box__item-breadcrumbs-single:hover,
.search-box__item-breadcrumbs-single:focus {
  text-decoration: none;
  transition-duration: 0.15s;
}
.search-box__item-breadcrumbs-single_clickable {
  pointer-events: auto;
  position: relative;
  z-index: 2;
}
.search-box__item-breadcrumbs-single_clickable:hover,
.search-box__item-breadcrumbs-single_clickable:focus,
.search-box__item-wrapper_active
  .search-box__item-breadcrumbs-single_clickable:hover,
.search-box__item-wrapper_active
  .search-box__item-breadcrumbs-single_clickable:focus {
  color: #2a95d5;
}
.search-box__preview-wrapper {
  display: none;
  min-width: 50%;
  width: 50%;
}
.search-box__results_with-preview .search-box__preview-wrapper {
  display: block;
}
@media (max-width: 767px) {
  .search-box__results_with-preview .search-box__preview-wrapper {
    display: none;
    min-width: 100%;
    width: 100%;
  }
}

.search-box__preview {
  position: relative;
  overflow-y: hidden;
  max-height: 100%;
  padding-right: 20px;
}
.search-box__preview .ps__rail-y,
.search-box__preview .ps__rail-y:hover {
  width: 25px;
  opacity: 1 !important;
}
.search-box__preview .ps__rail-y::before {
  right: 2px;
  width: 6px;
  background-color: #f1f9fb;
  opacity: 1;
}
.search-box__preview .ps__thumb-y {
  right: 2px;
  background-color: #2a95d5 !important;
}
.search-box__preview-inner {
  margin-left: 26px;
  padding: 20px 28px;
  background-color: #f1f9fb;
}
.search-box__preview-icon-wrapper {
  display: none;
  margin-top: 20px;
  text-align: center;
  font-size: 30px;
}
.search-box__preview-icon-wrapper_visible {
  display: block;
}
.search-box__preview-title {
  display: none;
  margin-top: 10px;
  font-family: var(--ff-gotham);
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  color: #000000;
}
.search-box__preview-title_visible {
  display: block;
}
.search-box__preview-title strong {
  font-weight: 400;
  color: #2a95d5;
}
.search-box__preview-breadcrumbs {
  display: none;
  margin-top: 19px;
  font-family: var(--ff-gotham);
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  text-align: center;
  color: #afafaf;
}
.search-box__preview-breadcrumbs_visible {
  display: block;
}
.search-box__preview-content {
  display: none;
  margin-top: 29px;
  font-size: 16px;
  line-height: 28px;
  white-space: pre-line;
  color: #000000;
}
.search-box__preview-content_visible {
  display: block;
}
.search-box__preview-content strong {
  font-weight: 400;
  color: #2a95d5;
}
.search-box__results-text {
  margin-top: 16px;
  padding: 0 15px;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  word-wrap: break-word;
}
.search-box__results-text strong {
  font-family: var(--ff-gotham);
  font-weight: 500;
}
/* Search-box END */

/* Search END */

/* Injected FontAwesome icons (SVG) — size to the icon slot's font-size (1em). */
.search-box__item-icon svg,
.search-box__preview-icon svg {
  width: 1em;
  height: 1em;
}
