/* PlaceMania Search 0.5.1 - always-loaded minimal mobile form styles */
.pm-search-mobile {
  display: none;
}

@media (max-width: 767.98px) {
  li.pm-search-menu-item,
  li.pm-search-menu-item:hover,
  li.pm-search-menu-item:focus,
  li.pm-search-menu-item:focus-within {
    width: 100%;
    border-bottom: 0 !important;
    box-shadow: none !important;
    background-image: none !important;
  }

  li.pm-search-menu-item::before,
  li.pm-search-menu-item::after,
  li.pm-search-menu-item:hover::before,
  li.pm-search-menu-item:hover::after,
  li.pm-search-menu-item:focus-within::before,
  li.pm-search-menu-item:focus-within::after {
    content: none !important;
    display: none !important;
  }

  li.pm-search-menu-item > a[data-pm-search-open],
  .pm-search--shortcode > [data-pm-search-open] {
    display: none !important;
  }

  .pm-search,
  .pm-search--shortcode,
  .pm-search-mobile {
    width: 100%;
  }

  .pm-search-mobile {
    display: block;
    margin: 0;
  }

  .pm-search-mobile__row {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 8px;
    align-items: stretch;
    width: 100%;
  }

  .pm-search-mobile__field {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
  }

  .pm-search-mobile__field-icon {
    position: absolute;
    left: 16px;
    z-index: 1;
    display: inline-grid;
    place-items: center;
    color: #43566b;
    pointer-events: none;
  }

  .pm-search-mobile__field-icon > * {
    font-size: 20px;
    line-height: 1;
  }

  .pm-search-mobile__input {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0 14px 0 44px !important;
    border: 1px solid #a6b1bc !important;
    border-radius: 10px !important;
    outline: 0 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    background: rgba(255,255,255,.97) !important;
    color: #10243a !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    box-shadow: none !important;
  }

  .pm-search-mobile__input:focus,
  .pm-search-mobile__input:focus-visible {
    border-color: #687b8d !important;
    outline: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .pm-search-mobile__input::-webkit-search-decoration,
  .pm-search-mobile__input::-webkit-search-cancel-button,
  .pm-search-mobile__input::-webkit-search-results-button,
  .pm-search-mobile__input::-webkit-search-results-decoration {
    display: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
  }

  .pm-search-mobile__submit {
    display: inline-grid;
    min-width: 46px;
    min-height: 46px;
    margin: 0 !important;
    padding: 0 13px !important;
    place-items: center;
    border: 1px solid #062f50 !important;
    border-radius: 10px !important;
    background: #062f50 !important;
    color: #fff !important;
    cursor: pointer;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
  }

  .pm-search-mobile__submit:hover,
  .pm-search-mobile__submit:active,
  .pm-search-mobile__submit:focus-visible {
    border-color: #062f50 !important;
    background: #062f50 !important;
    color: #fff !important;
    transform: none !important;
    box-shadow: none !important;
  }

  .pm-search-mobile__submit:focus-visible {
    outline: 2px solid #52687c !important;
    outline-offset: 2px;
  }

  .pm-search-mobile__submit-symbol {
    display: block;
    font-size: 19px;
    line-height: 1;
  }
}
