/**
 * Search Bar for Pet Memorial
 *
 * Original WPCode snippet ID: 13611
 * Original location:          WPCode → CSS, location: site_wide_header
 *
 * Summary: Styles the search input + 'Subscribe' link inside the Pet Memorials header bar.
 */

/* --- MEMORIAL HEADER BAR --- */

/* Center everything in this column (overrides .text-end) */
.col-md-6.text-end {
  text-align: center !important;
  display: flex;
  flex-direction: column;
  align-items: center;        /* centers horizontally */
}

/* Subscribe link */
#subscribe_to_client {
  font-size: 19px;
  font-weight: 600;
  color: #0b63ce;
  text-decoration: none;
}
#subscribe_to_client:hover { color: #084d9e; text-decoration: underline; }

/* Input group: full width but capped and centered */
.col-md-6.text-end .input-group {
  width: min(720px, 92%);
  margin: 6px auto 0;
  justify-content: center;    /* centers the flex children */
}

/* Input size + look */
.fhw-solutions-obituaries_search-all-obits {
  height: 48px;
  font-size: 16px;
  padding: 0 16px;
  border: 1px solid #cfd6df;
  border-right: 0;
  border-radius: 999px 0 0 999px;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  transition: box-shadow .2s, border-color .2s;
  flex: 1 1 auto;             /* let input take available space */
  min-width: 0;               /* prevent overflow in flex */
}
.fhw-solutions-obituaries_search-all-obits:focus {
  border-color: #0b63ce;
  box-shadow: 0 0 0 4px rgba(11,99,206,.12);
  outline: none;
}

/* Search button (same height as input) */
.fhw-solutions-obituaries_search-all-obits-button {
  height: 48px;
  padding: 0 18px;
  font-size: 16px;
  font-weight: 600;
  background: #0b63ce;
  color: #fff;
  border: 1px solid #0b63ce;
  border-radius: 0 999px 999px 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s, border-color .2s, transform .06s;
}
.fhw-solutions-obituaries_search-all-obits-button:hover {
  background: #084d9e;
  border-color: #084d9e;
}
.fhw-solutions-obituaries_search-all-obits-button:active {
  transform: translateY(1px);
}

/* Make the small default Bootstrap SVG look balanced */
.fhw-solutions-obituaries_search-all-obits-button svg {
  width: 18px; height: 18px;
}

/* "Submit a Memorial" link */
.col-md-6.text-end .pt-4 a {
  font-size: 19px;
  font-weight: 600;
  color: #0b63ce;
  text-decoration: none;
}
.col-md-6.text-end .pt-4 a:hover { color: #084d9e; text-decoration: underline; }

/* --- Responsive tweaks --- */
@media (max-width: 575.98px) {
  .col-md-6.text-end { padding: 0 12px; }
  .col-md-6.text-end .input-group { width: 100%; }
  .fhw-solutions-obituaries_search-all-obits,
  .fhw-solutions-obituaries_search-all-obits-button { height: 46px; font-size: 15px; }
}
