@charset "UTF-8";
form.search {
  display: flex;
  align-items: center;
}
form.search .form-item-clear button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
form.search .form-item-clear button:hover:first-child,form.search .form-item-clear button:hover::before {
  text-decoration: none;
}
form.search .form-item-clear button {
  padding-inline: 0;
  aspect-ratio: 1/1;
  font-size: 0;
  color: transparent;
  gap: 0;
  text-indent: -9999px;
}
form.search .form-item-clear button:first-child {
  text-decoration: none;
}
form.search .form-item-clear button::before {
  content: "\e900";
  text-indent: 0;
  font-family: "icon-base";
  font-size: 18px;
  font-weight: 400;
  line-height: 18px;
  color: #3a3a3a;
  text-decoration: none;
}
form.search .form-item-clear button {
  width: 18px;
  height: 18px;
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  user-select: none;
  touch-action: manipulation;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out;
  border-style: solid;
  padding-left: 24px;
  padding-right: 24px;
  border-width: 1px;
  border-radius: 12px;
  height: 48px;
  gap: 12px;
  font-size: 16px;
  line-height: 24px;
  font-family: "Roboto";
  font-weight: 400;
  color: #205B7E;
}
form.search .form-item-clear button,form.search .form-item-clear button:hover {
  text-decoration: none;
  border: none;
  background: none;
  padding-inline: 0;
  text-decoration: none;
}
form.search .form-item-clear button:hover {
  color: #386F8A;
}
form.search .form-item-clear button:hover:before {
  color: #3a3a3a;
}
form.search .form-item-clear button {
  font-weight: 400;
}
form.search .search-result {
  background-color: #ffffff;
  padding-top: 24px;
  padding-bottom: 24px;
  padding-left: 24px;
  padding-right: 24px;
}
form.search .search-result .search-result__footer {
  display: flex;
  justify-content: center;
}
form.search .search-result .search-result__inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
form.search input {
  border-width: 1px;
  border-radius: 12px;
  border-color: #f5f5f5;
  color: #3a3a3a;
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 16px;
  padding-right: 16px;
  font-size: 14px;
  line-height: 22px;
  font-family: "Roboto";
  font-weight: 400;
  background-color: #f5f5f5;
}
form.search input::placeholder {
  color: #8c8c8c;
}
form.search input:focus {
  border-color: #ffffff;
  background-color: #ffffff;
}
form.search .form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
form.search .form-submit:hover:first-child,form.search .form-submit:hover::before {
  text-decoration: none;
}
form.search .form-submit {
  padding-inline: 0;
  aspect-ratio: 1/1;
  font-size: 0;
  color: transparent;
  gap: 0;
  text-indent: -9999px;
}
form.search .form-submit:first-child {
  text-decoration: none;
}
form.search .form-submit::before {
  content: "\e91e";
  text-indent: 0;
  font-family: "icon-base";
  font-size: 18px;
  font-weight: 400;
  line-height: 18px;
  color: #3a3a3a;
  text-decoration: none;
}
form.search .form-submit {
  width: 18px;
  height: 18px;
}
form.search .form-submit,form.search .form-submit:hover {
  background-color: transparent;
  border: none;
}
form.search .form-submit:hover:before {
  color: #595959;
}

form.search .form-actions .form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
form.search .form-actions .form-submit:hover:first-child,form.search .form-actions .form-submit:hover::before {
  text-decoration: none;
}
form.search .form-actions .form-submit {
  padding-inline: 0;
  aspect-ratio: 1/1;
  font-size: 0;
  color: transparent;
  gap: 0;
  text-indent: -9999px;
}
form.search .form-actions .form-submit:first-child {
  text-decoration: none;
}
form.search .form-actions .form-submit::before {
  content: "\e91e";
  text-indent: 0;
  font-family: "icon-base";
  font-size: 20px;
  font-weight: 400;
  line-height: 20px;
  color: #8c8c8c;
  text-decoration: none;
}
form.search .form-item-clear button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
form.search .form-item-clear button:hover:first-child,form.search .form-item-clear button:hover::before {
  text-decoration: none;
}
form.search .form-item-clear button {
  padding-inline: 0;
  aspect-ratio: 1/1;
  font-size: 0;
  color: transparent;
  gap: 0;
  text-indent: -9999px;
}
form.search .form-item-clear button:first-child {
  text-decoration: none;
}
form.search .form-item-clear button::before {
  content: "\e92f";
  text-indent: 0;
  font-family: "icon-base";
  font-size: 20px;
  font-weight: 400;
  line-height: 20px;
  color: #8c8c8c;
  text-decoration: none;
}
form.search .form-item-key input {
  padding-left: 36px;
}
form.search .form-item-key input:focus {
  border-color: #eeeeee;
}

form.search .search-result {
  position: absolute;
  top: 56px;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
form.search .search-result .search-result__inner {
  min-height: 0;
  overflow-y: auto;
}
form.search .search-result .search-result__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
form.search .search-result .search-result__footer {
  flex-shrink: 0;
  padding-top: 24px;
}
form.search .search-result .search-result__footer .search-result__show-more {
  width: 100%;
}

form.search [style=""] {
  display: block !important;
}

.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 99;
  cursor: pointer;
}

/* Сам блок результатов поиска должен быть выше оверлея */
.search-result {
  position: relative;
  z-index: 100;
  border-radius: 12px;
  padding: 24px;
  max-height: 80vh;
  overflow-y: auto;
}
.search-result .search-result__list .view-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Поле ввода тоже должно быть кликабельным поверх оверлея */
form.search {
  position: relative;
  z-index: 100;
}

/* На мобильном результаты поиска занимают весь экран */

@media (max-width: 767px){
  form.search .search-result {
    position: fixed;
    top: 120px;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    max-height: none;
    border-radius: 0;
  }
}