article.type-bip .entry-title > span.bip-title-container,
article.type-bip .entry-title > a {
  background-image: url( '../assets/bip-logos/bip-simple-color_500px.png' );
  background-size: 40px;
  background-position: right;
  background-repeat: no-repeat;
  padding-right: 45px;
}

.bip-footer {
  border: 1px solid currentColor;
  padding: 1em;
  column-count: 2;
}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  .bip-footer {
    column-count: 1;
  }
}

.bip-footer p {
  break-inside: avoid;
  page-break-inside: avoid;
  margin-top: 0;
  margin-bottom: 0;
}

.bip-main-logo {
  float: right;
}

form.bip-search {
  margin-top: 1em;
}

form.bip-search label {
  max-width: 80%;
  float: left;
  margin-right: 0.5em;
}

form.bip-search input[type=search] {
  width: 100%;
}

.bip-org-info {
  margin: 1em 0;
}

.bip-org-info address {
  font-style: normal;
  font-family: inherit;
}

.bip-org-info p {
  margin: 0;
}

article.type-bip .bip-page-layout,
.entry-content .bip-page-layout,
.bip-page-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: 2rem;
  width: 100%;
  max-width: none;
}

.bip-page-content {
  min-width: 0;
  max-width: 100%;
}

.bip-page-layout .bip-side-menu {
  width: auto;
  max-width: 280px;
  border-left: 4px solid currentColor;
  padding-left: 1rem;
}

.bip-page-layout .bip-side-menu h2 {
  font-size: 1.25em;
  margin-top: 0;
}

.bip-page-layout .bip-side-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bip-page-layout .bip-side-menu li + li {
  margin-top: 0.5em;
}

.bip-page-layout .bip-side-menu a[aria-current="page"] {
  font-weight: bold;
}

@media only screen and (max-width: 768px) {
  article.type-bip .bip-page-layout,
  .entry-content .bip-page-layout,
  .bip-page-layout {
    display: block !important;
  }

  .bip-page-layout .bip-side-menu {
    border-left: 0;
    border-top: 4px solid currentColor;
    max-width: none;
    margin-top: 2rem;
    padding-left: 0;
    padding-top: 1rem;
  }
}

/** widget styles **/
.widget_bip-logo a {
  display: block;
  text-align: center;
  text-decoration: none;
}

.widget_bip-logo a:hover {
  text-decoration: none;
}

img.bip-widget-logo {
  width: 250px;
}

/** settings pages styles **/
.bip_page_bip-pages-checklist #wpbody-content ul {
  list-style: disc;
  padding-left: 1em;
}
