/* Header input: scoped overrides for the Ajax Search Lite instance. */
.header-search-wrapper {
  flex: 0 0 0 !important;
  height: 0 !important;
  opacity: 0;
  overflow: hidden !important;
  position: relative;
  transition: flex-basis 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
    width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.25s ease;
  width: 0 !important;
  z-index: 100;
}

.header-search-wrapper.search-active {
  flex: 1 1 100% !important;
  height: 56px !important;
  opacity: 1;
  overflow: visible !important;
  width: 100% !important;
}

.header-search-wrapper .elementor-widget-container,
.header-search-wrapper .elementor-shortcode,
.header-search-wrapper .asl_w_container,
.header-search-wrapper .asl_w {
  height: 100% !important;
  max-width: none !important;
  width: 100% !important;
}

.header-search-wrapper .asl_w .probox {
  align-items: stretch !important;
  background: rgba(255, 255, 255, 0.86) !important;
  border: 1px solid #f0f7f6 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  height: 56px !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

.header-search-wrapper .asl_w .probox .prosettings {
  display: none !important;
}

.header-search-wrapper .asl_w .probox .proinput {
  align-items: center !important;
  display: flex !important;
  flex: 1 1 auto !important;
  height: 54px !important;
  margin: 0 !important;
  order: 2;
  padding: 0 !important;
}

.header-search-wrapper .asl_w .probox .proinput form {
  height: 100% !important;
  width: 100% !important;
}

.header-search-wrapper .asl_w .probox .proinput input.orig,
.header-search-wrapper .asl_w .probox .proinput input.autocomplete {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #3a5a72 !important;
  font-family: "DM Sans", Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  height: 54px !important;
  line-height: 54px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.header-search-wrapper .asl_w .probox .proinput input.orig::placeholder {
  color: #73899a !important;
  opacity: 1;
}

.header-search-wrapper .asl_w .probox .promagnifier {
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  flex: 0 0 52px !important;
  height: 54px !important;
  justify-content: center !important;
  order: 1;
  padding: 0 !important;
  width: 52px !important;
}

.header-search-wrapper .asl_w .probox .promagnifier .innericon,
.header-search-wrapper .asl_w .probox .promagnifier svg {
  height: 18px !important;
  width: 18px !important;
}

.header-search-wrapper .asl_w .probox .promagnifier svg path {
  fill: #81b5af !important;
}

.header-search-wrapper .asl_w .probox .proloading,
.header-search-wrapper .asl_w .probox .proclose {
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  display: flex !important;
  flex: 0 0 52px !important;
  height: 54px !important;
  justify-content: center !important;
  order: 3;
  padding: 0 !important;
  width: 30px !important;
}

.header-search-wrapper .asl_w .probox .proclose svg {
  background: transparent !important;
  height: 18px !important;
  width: 18px !important;
}

.header-search-wrapper .asl_w .probox .proclose svg polygon {
  fill: #0a2d49 !important;
}

.header-search-wrapper .asl_w .probox .proloading .asl_loader-inner {
  	border-color: #81b5af transparent #81b5af #81b5af !important;
	height: 18px !important;
	width: 18px !important;
}

.search-icon-box {
  align-items: center;
  cursor: pointer;
  display: flex;
  flex-shrink: 0;
  height: 60px;
  justify-content: center;
  text-align: center;
  transition: color 0.2s ease;
  width: 60px;
}

.search-icon-box:focus-visible {
  outline: 2px solid #81b5af;
  outline-offset: 2px;
}

/* The native ASL box remains active internally, but the custom grouped layer is shown. */
body.sil-header-search-enhanced #ajaxsearchliteres1,
body.sil-header-search-enhanced .wpdreams_asl_results.asl_r_1 {
  display: none !important;
  visibility: hidden !important;
}

.sil-header-search-dropdown {
  background: #f4eee6;
  border: 1px solid #d6e1e7;
  box-shadow: 0 12px 28px rgba(10, 45, 73, 0.12);
  color: #0a2d49;
  display: none;
  font-family: "DM Sans", Arial, sans-serif;
  max-height: calc(100vh - 110px);
  overflow-x: hidden;
  overflow-y: auto;
  position: fixed;
  z-index: 999999;
}

.sil-header-search-dropdown.is-open {
  display: block;
}

.sil-header-search-content {
  padding: 14px 18px 0;
}

.sil-header-search-section {
  margin: 0;
  padding: 0 0 10px;
}

.sil-header-search-section h2 {
  align-items: center;
  color: #0a2d49;
  display: flex;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
  margin: 0 0 10px;
  padding: 0;
  text-transform: uppercase;
}

.sil-header-search-section h2::after {
  background: #c9d7df;
  content: "";
  flex: 1 1 auto;
  height: 1px;
  margin-left: 10px;
}

.sil-header-search-suggestion-list,
.sil-header-search-result-list {
  display: grid;
  gap: 2px;
}

.sil-header-search-suggestion,
.sil-header-search-result {
  align-items: center;
  border-radius: 5px;
  color: #0a2d49;
  display: grid;
  gap: 10px;
  grid-template-columns: 28px minmax(0, 1fr);
  min-height: 38px;
  padding: 5px 4px;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.sil-header-search-suggestion {
  font-size: 12px;
  font-weight: 500;
}

.sil-header-search-suggestion.is-featured,
.sil-header-search-suggestion:hover,
.sil-header-search-suggestion:focus-visible,
.sil-header-search-result:hover,
.sil-header-search-result:focus-visible {
  background: #d2ece9;
  color: #0a2d49;
  outline: 0;
}

.sil-header-search-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  color: #5f9e98;
  display: inline-flex;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.sil-header-search-icon svg {
  fill: none;
  height: 14px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
  width: 14px;
}

.sil-header-search-group {
  padding-top: 3px;
}

.sil-header-search-result-copy {
  display: block;
  min-width: 0;
}

.sil-header-search-result-copy strong,
.sil-header-search-result-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sil-header-search-result-copy strong {
  color: #0a2d49;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.sil-header-search-result-copy small {
  color: #6f9aa3;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.4;
  margin-top: 1px;
}

.sil-header-search-footer {
  border-top: 1px solid #c9d7df;
  margin-top: 2px;
}

.sil-header-search-footer a {
  align-items: center;
  color: #72aaa4;
  display: flex;
  font-size: 10px;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 8px;
  text-decoration: none;
}

.sil-header-search-footer em {
  color: #0a2d49;
  font-style: italic;
}

.sil-header-search-footer svg {
  fill: none;
  height: 18px;
  stroke: #0a2d49;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  width: 18px;
}

.sil-header-search-footer a:hover,
.sil-header-search-footer a:focus-visible {
  color: #477f79;
  outline: 0;
}

.sil-header-search-status {
  color: #6d8392;
  font-size: 11px;
  margin: 0;
  padding: 18px;
  text-align: center;
}

@media (max-width: 767px) {
  .header-search-wrapper.search-active {
    height: 48px !important;
  }

  .header-search-wrapper .asl_w .probox,
  .header-search-wrapper .asl_w .probox .proinput,
  .header-search-wrapper .asl_w .probox .proinput input.orig,
  .header-search-wrapper .asl_w .probox .proinput input.autocomplete,
  .header-search-wrapper .asl_w .probox .promagnifier,
  .header-search-wrapper .asl_w .probox .proloading,
  .header-search-wrapper .asl_w .probox .proclose {
    height: 48px !important;
  }

  .header-search-wrapper .asl_w .probox .promagnifier,
  .header-search-wrapper .asl_w .probox .proloading,
  .header-search-wrapper .asl_w .probox .proclose {
    flex-basis: 44px !important;
    width: 44px !important;
  }

  .sil-header-search-dropdown {
    max-height: calc(100vh - 76px);
  }

  .sil-header-search-content {
    padding-left: 12px;
    padding-right: 12px;
  }

  .sil-header-search-result-copy strong {
    font-size: 11px;
  }
}
