/* Header search polish. */
.header_middle .search {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(35, 35, 35, 0.12);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(35, 35, 35, 0.07);
  display: flex;
  height: 46px;
  margin-top: 0;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.header_middle .search:focus-within {
  border-color: var(--okay-second-company, #f5c343);
  box-shadow: 0 0 0 4px rgba(245, 195, 67, 0.16), 0 10px 24px rgba(35, 35, 35, 0.09);
}

.header_middle .search_input {
  border: 0;
  color: #232323;
  flex: 1 1 auto;
  font-family: inherit;
  font-size: 14px;
  height: 44px;
  line-height: 44px;
  min-width: 0;
  padding: 0 14px 0 16px;
}

.header_middle .search_input::placeholder {
  color: rgba(35, 35, 35, 0.48);
}

.header_middle .search_input:focus {
  outline: none;
}

.header_middle .search_button {
  align-items: center;
  background: var(--okay-second-company, #f5c343);
  border: 0;
  border-radius: 8px;
  color: #232323;
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 40px;
  height: 38px;
  justify-content: center;
  line-height: 1;
  margin-right: 4px;
  position: static;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  width: 40px;
}

.header_middle .search_button:hover {
  background: #ffd766;
  color: #232323;
  transform: translateY(-1px);
}

.header_middle .search_button .search_icon {
  color: currentColor;
  display: block;
  height: 18px;
  width: 18px;
}

.header_middle .search_button svg {
  display: block;
}

@media (max-width: 767px) {
  .header_middle .search {
    height: 44px;
    border-radius: 9px;
  }

  .header_middle .search_input {
    height: 42px;
    line-height: 42px;
    padding-left: 14px;
  }

  .header_middle .search_button {
    flex-basis: 38px;
    height: 36px;
    width: 38px;
  }
}
