:root {
  --max-container-width: 72rem;
}

.phcy-search {
  max-width: var(--max-container-width);
  margin: 0 auto;
  display: flex;
  gap: 2rem;
}

.search-params > h1,
section.search-results > h1
{
  background-color: #002868;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 400;
  padding: 1rem;
}

section.search-results .name {
  font-weight: 500;
  font-size: 1.2rem;
  font-family: serif;
  color: #002868;
}
section.search-results .pharmacy-header {
  display: flex;
  margin-top: 1rem;
  .phone {
    margin-left: auto;
    font-weight: 700;
    font-size: 1.2rem;
    color: #002868;
  }
}
.next-page {
  display: block;
  margin: 1rem 0;
  font-size: 1.1rem;
}

section.search-results .address {
  font-weight: 500;
  font-size: .9rem;
  color: #002868;
}

/* begin Mapbox */
.pharmacy_map_inner {
  display: flex;
  flex-direction: column;
}
#phcy_list {
}

#phcy_list .navbar {
    padding: 2px; margin: 3px;
    font-family: sans-serif;
    font-size: .9em;
}
#phcy_list:empty {
  display: none;
}
#map {
    flex-grow: 1;
    min-height: 80vh;
    max-width: 100%;
}

.zip-search-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0 .5rem 2rem .5rem;
    justify-content: center;
}
.zip-search-form input, select, button {
  font-size: 1.1rem;
  font-weight: 400;
  padding: .5rem;
}

.ml-auto { margin-left: auto; }
.marker {
  border: none;
  cursor: pointer;
  height: 34px;
  width: 20px;
  background-color: rgba(0, 0, 0, 0);
  background-image: url("http://www.google.com/mapfiles/markerA.png");
}

.sideitem {
    display:inline-block;
    padding: 2px; margin: 3px;
    font-family: sans-serif;
    font-size: .9em;
}

.sidextra { margin-bottom: 5px; margin-left: 25px; }

.pagenav {
    padding: 0px 5px 5px 5px;
    font-size: .9em;
    font-family: sans-serif;
    font-weight: bold; padding: 0px 5px 5px 5px; 
}

.help {
    margin-top: 30px;
    display: none;
    font-family: sans-serif;
    font-size: 1.1em;
    padding-left: 4em;
}

.ns div {
  margin: 0 auto;
  max-width: var(--max-container-width);
}

#marker_template { display: none; }
#to_form { display: none; } 
#from_form { display: none; }
/* end mapbox */


@media screen and (min-width: 600px) {

  .pharmacy_map_inner {
    display: flex;
    flex-direction: column;
    flex-direction: row;
  }
  #phcy_list {
      flex-basis: 20%;
      max-width: 200px;
      max-height: 80vh;
      overflow-y: scroll;
  }


}
