body {
  width: 100%;
  margin: 0;
}

/*html.pl {
  padding: 1rem;
}*/
/* Hide the code panel that pops up on the homepage */
pl-drawer {
  display: none !important;
}

.pl-c-body--theme-dark,
:root {
  --theme-bg: #212529;
  --theme-primary: #003A70;
  --theme-secondary: #212529;
  --theme-text: white;
  --theme-text-rgb: 255,255,255;
  --theme-border: rgba(255, 255, 255, 0.2);
}

.pl-c-body--theme-light {
  --theme-bg: white;
  --theme-secondary: white;
  --theme-text: #212529;
  --theme-text-rgb: 38, 40, 41;
  --theme-primary: white;
  --theme-border: #ddd;
}

.pl-c-logo__text, button .pl-c-nav__link-text {
  text-transform: capitalize;
}

.pl-c-logo__img, .pl-c-pattern__extra-toggle, pl-toggle-info, pl-toggle-layout, pl-toggle-theme, .pl-c-tabs__list li:first-child, .pl-c-tabs__content div:first-child {
  display: none !important;
}

.pl-c-main {
  padding: 0;
}

.pl-c-category {
  background-color: #212529;
  padding: 0;
  margin-bottom: 0.75rem;
}
.pl-c-category .pl-c-category__title {
  color: #FFFFFF !important;
  padding: 1rem 1rem 0.5rem 1rem;
}
.pl-c-category .pl-c-category__title:hover {
  color: #fff !important;
}
.pl-c-category .pl-c-category__description {
  max-width: 100%;
  padding: 0;
  background-color: #fff;
  color: #212529;
  border-bottom: 1px solid #212529;
}
.pl-c-category .pl-c-category__description p, .pl-c-category .pl-c-category__description pre {
  padding: 0.75rem 1rem 0.75rem 1rem;
}
.pl-c-category .pl-c-category__description p:first-child, .pl-c-category .pl-c-category__description pre:first-child {
  margin-bottom: 0;
}
.pl-c-category .pl-c-category__description hr {
  margin: 0;
}

.pl-c-text-passage {
  font-size: 1rem;
}
.pl-c-text-passage hr {
  margin: 1rem 0;
}

.pl-c-pattern-info__panel--info {
  padding: 1rem;
}

.pl-c-pattern {
  border-bottom: 1px solid #212529;
  padding-bottom: 1rem;
}

.pl-c-pattern__header {
  font-size: 1.2rem;
  border-bottom: 1px solid #C7C8C9;
  margin-bottom: 15px;
  padding-bottom: 10px;
}
.pl-c-pattern__header h4.pl-c-pattern__title {
  color: #212529 !important;
  font-size: 1.2rem !important;
}

.pl-c-pattern {
  padding: 0.5rem 1rem;
}

#viewall-components-all, #viewall-foundations-all {
  display: none;
}

.pl-c-pattern-info__panel--code:first-child, .pl-c-pattern-info__panel--info + .pl-c-pattern-info__panel--code {
  min-width: 70%;
}

.pl-c-text-passage a {
  color: #003A70;
  text-decoration: underline;
}
.pl-c-text-passage a:hover, .pl-c-text-passage a:focus {
  color: #000;
  text-decoration: none;
}

.pl-c-text-passage h4 {
  padding: 1rem 1rem 0 1rem;
  font-size: 1.2rem;
  margin: 0;
}

.pl-c-pattern-info-header {
  color: #212529 !important;
  font-size: 1rem;
  text-transform: capitalize;
}
.pl-c-pattern-info-header a, .pl-c-pattern-info-header .pl-c-text-passage a {
  color: #003A70;
  text-decoration: underline;
}
.pl-c-pattern-info-header a:hover, .pl-c-pattern-info-header a:focus, .pl-c-pattern-info-header .pl-c-text-passage a:hover, .pl-c-pattern-info-header .pl-c-text-passage a:focus {
  color: #000;
  text-decoration: none;
}
.pl-c-pattern-info-header .pl-c-pattern-info-header--complete {
  color: #00866D !important;
}
.pl-c-pattern-info-header .pl-c-pattern-info-header--inreview {
  color: #003A70 !important;
}
.pl-c-pattern-info-header .pl-c-pattern-info-header--inprogress {
  color: #DC3545 !important;
}
.pl-c-pattern-info-header li {
  text-align: right;
  list-style-type: none;
}
.pl-c-pattern-info-header li svg {
  max-width: 14px;
  max-height: 14px;
}
.pl-c-pattern-info-header .pl-c-pattern-state--complete, .pl-c-pattern-info-header .pl-c-pattern-state--inprogress, .pl-c-pattern-info-header .pl-c-pattern-state--inreview {
  background-color: transparent !important;
}

.pl-c-pattern-state--complete {
  background-color: #d4edda !important;
}

.pl-c-pattern-state--inreview {
  background-color: #cfe2ff !important;
}

.pl-c-pattern-state--inprogress {
  background-color: #fde9e9 !important;
}

.pl-c-nav__link:hover .pl-c-pattern-state--complete {
  background-color: #00866D !important;
}

.pl-c-nav__link:hover .pl-c-pattern-state--inreview {
  background-color: #003A70 !important;
}

.pl-c-nav__link:hover .pl-c-pattern-state--inprogress {
  background-color: #DC3545 !important;
}

.pl-c-body--theme-sidebar .pl-c-header {
  max-height: 97%;
}

.py-2 img {
  max-width: 100%;
  height: auto;
}

.sticky-top {
  border-bottom: 2px solid #555;
  padding: 1rem;
}

img.small-logo {
  display: none;
}

img.full-logo {
  display: block;
  max-width: 430px;
  height: auto;
}

.pl-c-category + .pl-c-category, .pl-c-category:first-of-type {
  margin-top: 0;
}

.pl-c-nav__link:not(.pl-c-nav__link--title):not(.pl-c-nav__link--dropdown).pl-is-active {
  webkit-box-shadow: inset 4px 0 0 #fff;
  box-shadow: inset 4px 0 0 #fff;
}

.pl-c-body {
  height: calc(100vh - 54px);
}

.pl-c-pattern__extra {
  margin-top: 1rem;
}

.pl-c-category__description {
  max-width: 90%;
  color: #fff;
}

.pl-c-nav__link--overview.pl-is-active:hover, .pl-c-nav__link--overview:hover, .pl-c-nav__link--section-dropdown.pl-is-active:hover, .pl-c-nav__link--section-dropdown:hover, .pl-c-nav__link--sublink.pl-is-active:hover, .pl-c-nav__link--sublink:hover, .pl-c-nav__link.pl-is-active:hover, .pl-c-nav__link:hover, .pl-c-tools a:hover, .pl-c-tools a:focus {
  background-color: #fff;
  color: #212529;
}

.pl-c-nav__link--section-dropdown:hover {
  color: #212529;
}

.card-columns {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  column-count: 2;
  -webkit-column-gap: 1.25rem;
  -moz-column-gap: 1.25rem;
  column-gap: 1.25rem;
  orphans: 1;
  widows: 1;
}

a.pl-c-logo:hover, a.pl-c-logo:focus {
  color: #ffffff;
}

#pl-pattern-extra-foundations-visual-assets-icons .pl-c-pattern-info__panel--code, #pl-pattern-extra-foundations-visual-assets-logo .pl-c-pattern-info__panel--code, #pl-pattern-extra-foundations-visual-assets-images .pl-c-pattern-info__panel--code, #pl-pattern-extra-Foundations-visual-assets-icons .pl-c-pattern-info__panel--code, #pl-pattern-extra-Foundations-visual-assets-logo .pl-c-pattern-info__panel--code, #pl-pattern-extra-Foundations-visual-assets-images .pl-c-pattern-info__panel--code {
  display: none;
}

.blockquote .small {
  padding-top: 0.91rem !important;
}

.pl-c-tools {
  padding-top: 1rem;
}

@media (min-width: 53em) {
  .pl-c-pattern-info__panel--info {
    min-width: 30%;
    flex-basis: 30%;
  }
}
@media (max-width: 41em) {
  .pl-c-body {
    height: 90%;
  }
  pl-tools-menu {
    display: none !important;
  }
  img.full-logo {
    width: 430px !important;
  }
  .pl-c-header {
    padding-top: 0.5rem;
  }
  .pl-c-body--theme-sidebar .pl-c-nav {
    top: 100px;
  }
}
