/*
 * Spinutech Locations module styles.
 * Ported from BluePearl theme: css/scss/_hospitals.scss (search module, find
 * hospital layout), _content.scss (.bttn, .accordion-block, .ddarrow), with
 * SCSS variables resolved:
 *   $darkblue var(--spnl-accent) (follows Salient's accent color) | $lightblue #3abce4 | $grey #f6f6f6 | $medgrey #757575
 *   $darkgrey #181818 | $white #fff | $black #000
 *   $fontreg 'Aeonik' | $fontbold 'AeonikBold'
 *   breakpoints: 1280 / 1100 / 1024 / 990 / 768 / 480
 *
 * On Salient these selectors are prefixed .spnl- where the theme might
 * collide (Salient ships its own .bttn etc. is unlikely, but we scope
 * button styles under the module root).
 */

/* ------------------------------------------------------------------ */
/* Icon font (bpvicons) + icon classes used by this module            */
/* ------------------------------------------------------------------ */
@font-face {
  font-family: "bpvicons";
  src: url("../fonts/bpv-icons.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Custom element <bpv-icon> behaves like a styled span. */
.spnl-find-hospital-wrapper bpv-icon,
.find-hospital-map-details bpv-icon {
  font-style: normal;
  display: inline-block;
}

.spnl-find-hospital-wrapper [class^="icon-"],
.spnl-find-hospital-wrapper [class*=" icon-"] {
  font-family: "bpvicons" !important;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.spnl-find-hospital-wrapper .icon-arrow-right-large-dbl:before { content: "\e902\e902"; }
.spnl-find-hospital-wrapper .icon-arrow-right-small-dbl:before { content: "\e903\e903"; }
.spnl-find-hospital-wrapper .icon-arrow-left-small-dbl:before { content: "\e901\e901"; }
.spnl-find-hospital-wrapper .icon-close:before { content: "\e904"; }
.spnl-find-hospital-wrapper .icon-menu-down:before { content: "\e907"; }
.spnl-find-hospital-wrapper .icon-arrow-left-small:before { content: "\e901"; }

/* ------------------------------------------------------------------ */
/* Search input module                                                */
/* ------------------------------------------------------------------ */
.spnl-find-hospital-wrapper .hospital-search-module-wrapper {
  background: #fff;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}

.spnl-find-hospital-wrapper .hospital-search-module-wrapper > input,
.spnl-find-hospital-wrapper .hospital-search-module-wrapper > button {
  flex: 0 1 auto;
  align-self: auto;
  min-width: 0;
  min-height: auto;
}

.spnl-find-hospital-wrapper .hospital-search-module-wrapper label {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #000;
  pointer-events: none;
  transition: all 0.15s linear;
}

/* Salient styles every text input (white text, translucent bg), so these
   need extra specificity to keep the field readable on the white pill. */
body .spnl-find-hospital-wrapper .hospital-search-module-wrapper input.hospital-search-module-input {
  flex: 1 1 auto;
  margin: 0;
  padding: 0 8px 0 18px;
  height: 52px;
  line-height: 52px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: #000;
  font-size: 16px;
}

body .spnl-find-hospital-wrapper .hospital-search-module-wrapper input.hospital-search-module-input::placeholder {
  color: #6b6b6b;
  opacity: 1;
}

body .spnl-find-hospital-wrapper .hospital-search-module-wrapper input.hospital-search-module-input:focus {
  outline: none;
}

.spnl-find-hospital-wrapper .hospital-search-module-wrapper:focus-within {
  box-shadow: 0 0 0 3px var(--spnl-accent);
}

body .spnl-find-hospital-wrapper .hospital-search-module-wrapper button.spnl-locate-button {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 52px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid #e2e2e2;
  border-radius: 0;
  background: transparent;
  color: var(--spnl-accent);
  box-shadow: none;
  cursor: pointer;
  transition: color .2s, background-color .2s;
}

body .spnl-find-hospital-wrapper .hospital-search-module-wrapper button.spnl-locate-button:hover,
body .spnl-find-hospital-wrapper .hospital-search-module-wrapper button.spnl-locate-button:focus-visible {
  background: #f1f1f1;
  color: #000;
}

body .spnl-find-hospital-wrapper .hospital-search-module-wrapper button.spnl-locate-button[disabled] {
  cursor: progress;
}

.spnl-find-hospital-wrapper .spnl-locate-button.is-loading svg {
  animation: spnl-pulse 1s ease-in-out infinite;
}

@keyframes spnl-pulse {
  50% { opacity: .3; }
}

.spnl-find-hospital-wrapper .spnl-search-status {
  font-size: 13px;
  line-height: 1.4;
  color: #cfcfcf;
}

.spnl-find-hospital-wrapper .spnl-search-status:not(:empty) {
  margin-top: 8px;
}
/* Screen-reader helper if the theme lacks one. */
.spnl-find-hospital-wrapper .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* ------------------------------------------------------------------ */
/* Main split-screen layout                                           */
/* ------------------------------------------------------------------ */
/* Theme utility port (bg-black from _global.scss) - Salient doesn't
   ship this class, so provide it for the search panel. */
.spnl-find-hospital-wrapper .bg-black {
  background-color: #000;
  color: #fff;
}

/* --spnl-offset: height of the fixed header + breadcrumb bar above the
   locator; override per site if the header height differs. */
.spnl-find-hospital-wrapper,
.find-hospital-map-details {
  --spnl-accent: var(--nectar-accent-color, #2078be);
}

.spnl-find-hospital-wrapper {
  --spnl-offset: 155px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: stretch;
  height: calc(100vh - var(--spnl-offset));
  height: calc(100dvh - var(--spnl-offset));
  min-height: 560px;
  overflow: hidden;
  background-color: #000;
}

.spnl-find-hospital-wrapper > div {
  flex: 1 1 auto;
  align-self: auto;
  min-width: 0;
  min-height: auto;
  position: relative;
  overflow: auto;
  height: 100%;
}

/* Search column is a fixed-height flex column: title, search and the
   Submit button stay put; only the filter list scrolls when it's long. */
.spnl-find-hospital-wrapper > div.find-hospital-searchcol {
  display: flex;
  flex-direction: column;
  max-width: 425px;
  padding: 36px 35px 28px;
  flex-basis: 33.33%;
  overflow: hidden;
}

.spnl-find-hospital-wrapper > div.find-hospital-searchcol h1 {
  flex: none;
  margin: 0;
  padding-bottom: 24px;
  font-size: 32px;
  line-height: 1.15;
  color: #fff;
}

.spnl-find-hospital-wrapper > div.find-hospital-searchcol .hospital-search-module-wrapper,
.spnl-find-hospital-wrapper > div.find-hospital-searchcol .spnl-search-status,
.spnl-find-hospital-wrapper > div.find-hospital-searchcol .find-hospital-list-filter-apply {
  flex: none;
}

.spnl-find-hospital-wrapper > div.find-hospital-searchcol select {
  font-size: 16px;
  height: 40px;
  line-height: 40px;
  padding: 0 5px;
}

.spnl-find-hospital-wrapper > div.find-hospital-rightcol {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-content: flex-start;
  align-items: stretch;
  flex: 1 1 66.66%;
  align-self: auto;
  min-width: 0;
  min-height: auto;
  background: #fff;
}

.spnl-find-hospital-wrapper .find-hospital-list {
  flex: 0 1 50%;
  max-width: 425px;
  overflow: hidden;
  position: relative;
  height: 100%;
}

.spnl-find-hospital-wrapper .find-hospital-map {
  flex: 1 1 auto;
  overflow: hidden;
  position: relative;
  height: 100%;
}

.spnl-find-hospital-wrapper .find-hospital-map #spnl-map {
  height: 100%;
  position: relative;
  z-index: 1;
}

/* ------------------------------------------------------------------ */
/* Address autocomplete                                                */
/* ------------------------------------------------------------------ */
.spnl-find-hospital-wrapper .spnl-find-hospital-searchcol {
  position: relative;
}

.spnl-find-hospital-wrapper .spnl-autocomplete {
  position: absolute;
  z-index: 20;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  max-height: 280px;
  overflow-y: auto;
}

.spnl-find-hospital-wrapper .spnl-autocomplete li {
  margin: 0;
  padding: 10px 20px;
  color: #231f20;
  font-size: 14px;
  line-height: 1.3;
  cursor: pointer;
}

.spnl-find-hospital-wrapper .spnl-autocomplete li:hover,
.spnl-find-hospital-wrapper .spnl-autocomplete li.active {
  background: #e6f2fb;
}

.spnl-find-hospital-wrapper .find-hospital-map .loading-spinner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .25);
  z-index: 10;
}

.spnl-find-hospital-wrapper .find-hospital-map .loading-spinner svg {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -100px auto auto -100px;
}

/* ------------------------------------------------------------------ */
/* Detail card (slides over the map)                                   */
/* ------------------------------------------------------------------ */
.find-hospital-map-details {
  position: absolute;
  left: -445px;
  top: 0;
  height: 100%;
  width: 100%;
  max-width: 445px;
  z-index: 2;
  background: #181818;
  color: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
  transition: left 0.3s linear;
}

.find-hospital-map-details.active {
  left: 0;
}

.find-hospital-map-details .close-hospital-details {
  position: absolute;
  top: 16px;
  right: 16px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .75);
  color: #fff;
  border: 0;
  padding: 0;
  cursor: pointer;
  width: 34px;
  height: 34px;
  text-align: center;
  z-index: 10;
  font-size: 12px;
  line-height: 34px;
}

.find-hospital-map-details .close-hospital-details:hover {
  background: #000;
}

.find-hospital-map-details .close-hospital-details span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.find-hospital-map-details .hospital-details-image {
  aspect-ratio: 5 / 3;
  overflow: hidden;
  background: #000;
}

.find-hospital-map-details .hospital-details-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.find-hospital-map-details .hospital-details-block {
  padding: 26px 28px 32px;
  font-size: 15px;
  line-height: 1.5;
}

.find-hospital-map-details.no-image .hospital-details-block {
  padding-top: 64px;
}

/* Brand logos sit on the dark card, so a white/light logo works best. */
.find-hospital-map-details .hospital-details-brand-logo {
  margin-bottom: 16px;
}

.find-hospital-map-details .hospital-details-brand-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(240px, 100%);
  max-height: 44px;
}

.find-hospital-map-details .hospital-details-block .hospital-details-title {
  display: inline-block;
  color: #fff;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.find-hospital-map-details .hospital-details-subtitle {
  margin-top: 4px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.3;
  color: #d4d4d4;
}

.find-hospital-map-details .hospital-details-title span {
  position: relative;
}

.find-hospital-map-details .hospital-details-title span:after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 0;
  width: 0;
  bottom: -2px;
  height: 2px;
  background: #fff;
}

.find-hospital-map-details .hospital-details-title:hover span:after {
  left: 0;
  right: auto;
  width: 100%;
}

.find-hospital-map-details .hospital-details-title.no-link {
  pointer-events: none;
}

.find-hospital-map-details .hospital-details-address {
  margin-top: 12px;
  color: #d4d4d4;
}

.find-hospital-map-details .hospital-details-phone {
  margin-top: 2px;
}

.find-hospital-map-details .hospital-details-phone a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  position: relative;
}

.find-hospital-map-details .hospital-details-phone a:after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 0;
  width: 0;
  bottom: 0;
  height: 2px;
  background: #fff;
}

.find-hospital-map-details .hospital-details-phone a:hover:after {
  left: 0;
  right: auto;
  width: 100%;
}

.find-hospital-map-details .hospital-details-hours {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #d4d4d4;
  font-size: 14px;
}

.find-hospital-location-block .find-hospital-location-hours {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.4;
  color: #6a6a6a;
}

.find-hospital-map-details .inline-button {
  display: inline-block;
}

.find-hospital-map-details .hospital-details-booking {
  display: block;
}

body .find-hospital-map-details .hospital-details-booking .bttn {
  margin: 22px 0 4px;
  padding: 14px 22px;
  background: var(--spnl-accent);
  color: #fff;
}

body .find-hospital-map-details .hospital-details-booking .bttn:hover {
  background: #fff;
  color: #000;
  box-shadow: none;
}

.find-hospital-map-details .hospital-details-booking .bttn bpv-icon:not(.icon-external) {
  color: inherit;
}

body .find-hospital-map-details .inline-button a.black {
  margin: 14px 24px 0 0;
  padding: 8px 0;
  background: transparent;
  color: #fff;
}

body .find-hospital-map-details .inline-button a.black:hover {
  box-shadow: none;
  color: #9fc9ec;
}

.find-hospital-map-details .inline-button .icon-arrow-right-small-dbl {
  margin-top: 4px;
}
/* ------------------------------------------------------------------ */
/* Buttons (scoped .bttn port from _content.scss)                      */
/* ------------------------------------------------------------------ */
.spnl-find-hospital-wrapper .bttn,
.find-hospital-map-details .bttn {
  display: inline-block;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 700;
  font-family: Helvetica, Arial, sans-serif;
  padding: 20px 30px;
  margin-top: 25px;
  margin-right: 10px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 0;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, .2);
}

.spnl-find-hospital-wrapper .bttn:hover,
.find-hospital-map-details .bttn:hover {
  box-shadow: 0 0 0 6px rgba(0, 0, 0, .2);
}

.spnl-find-hospital-wrapper .bttn.black,
.find-hospital-map-details .bttn.black {
  background-color: #000;
  color: #fff;
}

.spnl-find-hospital-wrapper .bttn.white,
.find-hospital-map-details .bttn.white {
  background-color: #fff;
  color: #000;
}

.spnl-find-hospital-wrapper .bttn.blue,
.find-hospital-map-details .bttn.blue {
  background-color: var(--spnl-accent);
  color: #fff;
}

.spnl-find-hospital-wrapper .bttn bpv-icon:not(.icon-external),
.find-hospital-map-details .bttn bpv-icon:not(.icon-external) {
  display: inline-block;
  color: var(--spnl-accent);
  float: right;
  vertical-align: middle;
  font-size: 14px;
  margin-left: 15px;
  margin-top: 5px;
  height: 14px;
  width: 14px;
  text-indent: -20px;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: 6px;
}

.spnl-find-hospital-wrapper .bttn:hover bpv-icon:not(.icon-external),
.find-hospital-map-details .bttn:hover bpv-icon:not(.icon-external) {
  text-indent: 0;
}

/* ------------------------------------------------------------------ */
/* Filter accordions (scoped port from _content.scss)                 */
/* ------------------------------------------------------------------ */
.spnl-find-hospital-wrapper .accordion-block {
  position: relative;
}

.spnl-find-hospital-wrapper .accordion-block .accordion-title {
  display: flex;
  cursor: pointer;
  border: 0;
  padding: 0;
  margin: 0;
  background: none;
  font-size: 18px;
  flex-flow: row nowrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  text-align: left;
  width: 100%;
  min-height: 60px;
  padding: 12px 0;
  color: #000;
}

.spnl-find-hospital-wrapper .bg-black .accordion-title,
.spnl-find-hospital-wrapper .find-hospital-searchcol .accordion-title {
  color: #fff;
}

.spnl-find-hospital-wrapper .accordion-block .accordion-title > * {
  flex: 0 1 auto;
  align-self: auto;
  min-width: 0;
  min-height: auto;
}

.spnl-find-hospital-wrapper .accordion-block .accordion-title > span {
  flex: 1 1 100%;
  padding-right: 10px;
}

.spnl-find-hospital-wrapper .accordion-block .accordion-content {
  display: none;
  padding-bottom: 15px;
  font-size: 16px;
}

.spnl-find-hospital-wrapper .accordion-block.active .accordion-title bpv-icon {
  transform: rotate(180deg);
}

.spnl-find-hospital-wrapper .accordion-block:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #000;
  opacity: .15;
  content: "";
}

.spnl-find-hospital-wrapper .find-hospital-searchcol .accordion-block:after {
  background: #fff;
}

.spnl-find-hospital-wrapper .accordion-block .accordion-title bpv-icon {
  color: var(--spnl-accent);
}

/* ------------------------------------------------------------------ */
/* Checkboxes (custom box; native input stays focusable but invisible) */
/* ------------------------------------------------------------------ */
.spnl-find-hospital-wrapper .find-hospital-checkbox {
  position: relative;
  display: block;
  margin: 0;
  padding: 6px 0;
  cursor: pointer;
  color: inherit;
  font-size: 15px;
  line-height: 1.35;
}

.spnl-find-hospital-wrapper .find-hospital-checkbox input[type="checkbox"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  -webkit-appearance: none;
  appearance: none;
}

.spnl-find-hospital-wrapper .find-hospital-checkbox span {
  display: block;
  position: relative;
  padding: 0 0 0 30px;
  background: none;
  color: inherit;
}

.spnl-find-hospital-wrapper .find-hospital-checkbox span:before {
  position: absolute;
  top: 1px;
  left: 0;
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  content: "";
  border: 1.5px solid rgba(255, 255, 255, .65);
  border-radius: 3px;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 15px;
  text-align: center;
  transition: background-color .15s, border-color .15s;
}

.spnl-find-hospital-wrapper .find-hospital-checkbox:hover span:before {
  border-color: #fff;
}

.spnl-find-hospital-wrapper .find-hospital-checkbox input[type="checkbox"]:checked + span:before {
  content: "\2713";
  background: var(--spnl-accent);
  border-color: var(--spnl-accent);
}

.spnl-find-hospital-wrapper .find-hospital-checkbox input[type="checkbox"]:focus-visible + span:before {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* ------------------------------------------------------------------ */
/* Filter panel + apply button                                        */
/* ------------------------------------------------------------------ */
.spnl-find-hospital-wrapper .find-hospital-list-filter-accordions {
  flex: 1 1 auto;
  min-height: 0;
  margin: 12px 0 20px;
  padding: 0 5px 0 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .35) transparent;
}
/* Matches the header "Contact Us" button (Salient button_solid_color).
   Salient's rounded-button style otherwise forces a pill shape. */
body .spnl-find-hospital-wrapper .find-hospital-list-filter-apply button[type="submit"] {
  display: block;
  width: 100%;
  margin: 0;
  padding: 13px 20px;
  border: 0;
  border-radius: 8px !important;
  background: var(--spnl-accent);
  color: #fff;
  font-family: Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: normal;
  text-align: center;
  text-transform: none;
  box-shadow: none;
  cursor: pointer;
  transition: background-color .2s;
}

body .spnl-find-hospital-wrapper .find-hospital-list-filter-apply button[type="submit"]:hover,
body .spnl-find-hospital-wrapper .find-hospital-list-filter-apply button[type="submit"]:focus-visible {
  background: color-mix(in srgb, var(--spnl-accent) 85%, #000);
  color: #fff;
}

/* ------------------------------------------------------------------ */
/* Fonts: match the site (Helvetica headings/buttons, body font for    */
/* everything else) instead of Salient's form-element fonts.           */
/* ------------------------------------------------------------------ */
body .spnl-find-hospital-wrapper label,
body .spnl-find-hospital-wrapper .find-hospital-checkbox span,
body .spnl-find-hospital-wrapper input,
body .spnl-find-hospital-wrapper select,
body .spnl-find-hospital-wrapper .spnl-autocomplete li,
body .spnl-find-hospital-wrapper .spnl-search-status,
body .spnl-find-hospital-wrapper .find-hospital-count,
body .spnl-find-hospital-wrapper .hospital-search-no-results,
.find-hospital-location-block,
.find-hospital-map-details .hospital-details-block {
  font-family: inherit;
}

body .spnl-find-hospital-wrapper .accordion-block .accordion-title {
  font-family: Helvetica, sans-serif;
  font-weight: 700;
  font-size: 17px;
  text-transform: none;
  letter-spacing: normal;
}

body .spnl-find-hospital-wrapper > div.find-hospital-searchcol h1 {
  font-family: Helvetica, sans-serif;
}

/* ------------------------------------------------------------------ */
/* Results list                                                        */
/* ------------------------------------------------------------------ */
.find-hospital-list-filter {
  padding: 40px 35px 0;
  height: 75px;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-content: center;
  align-items: center;
}

.find-hospital-list-filter > span,
.find-hospital-list-filter > button {
  flex: 0 1 auto;
  align-self: auto;
  min-width: 0;
  min-height: auto;
}

.find-hospital-list-filter .find-hospital-count {
  font-size: 18px;
  color: #757575;
}

.find-hospital-list-locations {
  height: calc(100% - 75px);
  overflow: auto;
  padding: 0 35px;
}

.find-hospital-location-block {
  border-bottom: 1px solid #f6f6f6;
  padding: 22px 0;
  font-size: 14px;
  color: #757575;
  line-height: 1.5em;
  position: relative;
}

.find-hospital-location-block .hospital-location-image-preload {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.find-hospital-location-block .find-hospital-location-link {
  display: block;
  margin-bottom: 4px;
  color: #000;
  text-decoration: none;
}

.find-hospital-location-block .find-hospital-location-company {
  display: inline;
  position: relative;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: #000;
}

.find-hospital-location-block .find-hospital-location-company:after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 0;
  width: 0;
  bottom: -2px;
  height: 2px;
  background: #000;
}

.find-hospital-location-block .find-hospital-location-link:hover .find-hospital-location-company:after {
  left: 0;
  right: auto;
  width: 100%;
}

.find-hospital-location-block .find-hospital-location-name {
  display: block;
  margin-top: 3px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.3;
  color: #333;
}

.find-hospital-location-block .find-hospital-location-directions {
  display: none;
}
.find-hospital-location-block .find-hospital-location-miles {
  padding-top: 5px;
  color: #000;
  font-size: 12px;
}

.hospital-search-no-results {
  font-size: 14px;
  padding-top: 20px;
  color: #f25050;
  text-align: center;
}

/* ------------------------------------------------------------------ */
/* Dropdown arrow (ddarrow-white port)                                 */
/* ------------------------------------------------------------------ */
.spnl-ddarrow {
  background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMi41MzMiIGhlaWdodD0iNy4wODYiIHZpZXdCb3g9IjAgMCAxMi41MzMgNy4wODYiPg0KICA8ZyBpZD0iR3JvdXBfMjAzNyIgZGF0YS1uYW1lPSJHcm91cCAyMDM3IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMC4xMzMgLTQuODk0KSByb3RhdGUoOTApIj4NCiAgICA8cGF0aCBpZD0iUGF0aF8yMDgiIGRhdGEtbmFtZT0iUGF0aCAyMDgiIGQ9Ik0zODU4LTQyMWw1LDUuNi01LDUuNiIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTM4NTIuMzU5IDQwOSkiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI2ZmZiIgc3Ryb2tlLXdpZHRoPSIyIi8+DQogIDwvZz4NCjwvc3ZnPg0K) no-repeat calc(100% - 25px) 50%;
  appearance: none;
  background-color: #000;
  color: #fff;
  width: 100%;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */
@media (max-width: 1280px) and (min-width: 1101px) {
  .find-hospital-list-filter {
    padding-top: 30px;
    height: 100px;
  }

  .find-hospital-list-filter .find-hospital-count {
    width: 100%;
    padding-bottom: 8px;
  }

  .find-hospital-list-locations {
    height: calc(100% - 100px);
  }
}

/* Tablet: search panel stacks above the list + map. */
@media (max-width: 1100px) {
  .spnl-find-hospital-wrapper {
    flex-wrap: wrap;
    height: auto;
    min-height: 0;
  }

  .spnl-find-hospital-wrapper > div.find-hospital-searchcol {
    flex-basis: 100%;
    max-width: 100%;
    height: auto;
    padding: 32px 20px;
    overflow: visible;
  }

  .spnl-find-hospital-wrapper .find-hospital-list-filter-accordions {
    overflow: visible;
  }

  .spnl-find-hospital-wrapper > div.find-hospital-rightcol {
    flex-basis: 100%;
    height: 650px;
  }
}

/* Phones: a short map strip above the list; no details card. */
@media (max-width: 768px) {
  .spnl-find-hospital-wrapper .find-hospital-map {
    order: -1;
    flex: 1 1 100%;
    max-width: 100%;
    height: 300px;
  }

  .spnl-find-hospital-wrapper .find-hospital-map-details {
    display: none !important;
  }

  .spnl-find-hospital-wrapper > div.find-hospital-rightcol {
    height: auto;
    overflow: visible;
  }

  .spnl-find-hospital-wrapper .find-hospital-location-block.is-active {
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    background: #eef5fb;
    box-shadow: inset 4px 0 0 var(--spnl-accent);
  }

  .spnl-find-hospital-wrapper .find-hospital-list {
    flex: 1 1 100%;
    max-width: 100%;
    height: auto;
  }

  .spnl-find-hospital-wrapper .find-hospital-list-filter {
    height: auto;
    padding: 24px 20px 4px;
  }

  .spnl-find-hospital-wrapper .find-hospital-list-locations {
    height: auto;
    overflow: visible;
    padding: 0 20px 24px;
  }

  .find-hospital-location-block .find-hospital-location-directions {
    display: inline-block;
    margin-top: 8px;
    color: var(--spnl-accent);
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 700;
    text-decoration: none;
  }

  .spnl-find-hospital-wrapper > div.find-hospital-searchcol h1 {
    font-size: 28px;
  }
}