/* Branch full page: blue details banner under the header (address, phone,
   directions, today's hours with an "All hours" toggle). */
.branch-details-banner {
  background: #004c87;
  color: #fff;
  padding: 28px 0 24px;
  font-size: 18px;
  line-height: 1.35;
}
.branch-details-banner a,
.branch-details-banner a:hover,
.branch-details-banner a:focus,
.branch-details-banner i {
  color: #fff;
}
.branch-details-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin: 0 -15px;
}
.branch-details-banner__item {
  flex: 0 1 auto;
  padding: 8px 15px;
}
.branch-details-banner__location,
.branch-details-banner__hours {
  flex: 1 1 260px;
}
.branch-details-banner__location {
  display: flex;
  align-items: center;
}
.branch-details-banner__location > i {
  font-size: 30px;
  margin-right: 14px;
}
.branch-details-banner address.branch-details-banner__address {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 24px;
}
.branch-details-banner__phone a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 21px;
}
.branch-details-banner__phone i {
  font-size: 30px;
  margin-right: 14px;
}
.branch-details-banner a.branch-details-banner__btn {
  display: inline-block;
  background: #0060af;
  border-radius: 5px;
  font-size: 16px;
  line-height: 19px;
  padding: 9px 14px;
  text-decoration: none;
}
.branch-details-banner a.branch-details-banner__btn:hover,
.branch-details-banner a.branch-details-banner__btn:focus {
  background: #00508f;
}
.branch-details-banner__btn i {
  margin-left: 8px;
}
.branch-details-banner__hours-label {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.branch-details-banner__today {
  font-size: 16px;
  margin-bottom: 8px;
}
.branch-details-banner__toggle {
  display: none;
  background: #0060af;
  border: 0;
  border-radius: 5px;
  color: #fff;
  font-size: 14px;
  line-height: 15px;
  padding: 8px 14px;
}
.branch-details-banner__toggle:hover,
.branch-details-banner__toggle:focus {
  background: #00508f;
}
.branch-details-banner__toggle i {
  margin-left: 8px;
}
/* Without JS the full hours table is simply shown. With JS (class set in
   the head by branch-details-banner.js) it collapses behind the toggle. */
.bdb-js .branch-details-banner__toggle {
  display: inline-block;
}
.bdb-js .branch-details-banner__panel {
  display: none;
}
.bdb-js .branch-details-banner__panel.is-open {
  display: block;
}
.branch-details-banner__panel {
  margin-top: 10px;
}
.branch-details-banner .label-for-field-branch-hours {
  display: none;
}
.branch-details-banner .field-branch-hours h4 {
  color: #fff;
  font-size: 16px;
  margin: 0 0 6px;
}
.branch-details-banner .table-responsive {
  border: 0;
  margin: 0;
  overflow: visible;
}
.branch-details-banner table.table {
  background: transparent;
  color: #fff;
  font-size: 15px;
  margin: 0;
  max-width: 420px;
}
.branch-details-banner .table > tbody > tr:nth-of-type(n),
.branch-details-banner .table-hover > tbody > tr:hover {
  background: transparent;
}
.branch-details-banner .table > tbody > tr > td {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 6px 8px;
}
@media (max-width: 767px) {
  .branch-details-banner {
    padding-top: 20px;
  }
  .branch-details-banner__item {
    flex-basis: 100%;
  }
}

/* Branch pages: the site-wide rule makes .breadcrumb position:absolute, so it
   floats over whatever follows and hid the View/Edit/Delete/Revisions tabs.
   Keep it in the normal flow on Branch pages. */
.page-node-type-branch .region-content > .breadcrumb {
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
}

/* Some Branch nodes also carry an editor-added "Branch contacts info"
   paragraph, which duplicated this banner. Hide it on Branch pages; the
   banner above shows the same details from the node's own fields. */
.page-node-type-branch .paragraph--type--branch-contacts-info {
  display: none;
}
