/* Site branding, loaded after ArchivesSpace's compiled public stylesheet. */
#header,
#header > .row {
  background-color: #FFDB00 !important;
}

#header > .row {
  border-bottom-color: #FFDB00 !important;
  height: auto;
  min-height: 90px;
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}

/* Remove only the main navigation bar's horizontal borders. */
#navigation .top-bar {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

#header img.logo {
  display: none !important;
}

/* Primary actions and the current page use yellow with black labels. */
.btn-primary,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary:disabled,
.btn-primary.disabled,
#submit_search,
.page-item.active .page-link,
.external-digital-object__content-btn,
.external-digital-object__link:hover .external-digital-object__content-btn {
  background-color: #FFDB00 !important;
  border-color: #FFDB00 !important;
  color: #000 !important;
}

/* Other pagination controls retain a white background. */
.page-item:not(.active) .page-link {
  background-color: #fff !important;
}

.btn-primary:focus,
.btn-primary.focus,
.page-link:focus,
.external-digital-object__link:focus .external-digital-object__content-btn {
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.35) !important;
}

/* Use the full header width so the longer title wraps on small screens. */
#header > .row > .col-sm-9 {
  flex: 0 0 100%;
  max-width: 100%;
}

a:not(.btn),
a:not(.btn):visited,
a:not(.btn):hover,
a:not(.btn):focus,
h1, .h1,
h2, .h2,
h3, .h3,
.site-title,
.text-primary,
.text-info,
.recordnumber,
.readmore__label,
.readmore__label:hover,
.node-title,
.agent,
.person,
.folder,
.recordtype.classification,
.record-type-badge.classification,
.page_action,
.page_action:hover,
.page_action:focus,
.btn-link,
.more-facets__controls .btn {
  color: #000 !important;
}

a:not(.btn):hover,
a:not(.btn):focus {
  text-decoration: underline;
}

/* Only the record-tab links receive this yellow treatment. */
.tabbing.nav-pills > li > a,
.tabbing.nav-pills > li > a:visited,
.tabbing.nav-pills > li > a:hover,
.tabbing.nav-pills > li > a:focus {
  background-color: #FFDB00 !important;
  color: #000 !important;
}

.tabbing.nav-pills > li > a.active {
  box-shadow: inset 0 -3px 0 #000;
}

.tabbing.nav-pills > li.disabled > a {
  color: #000 !important;
}

/* Collection-organization controls; do not override global alert utilities. */
#load-all-section {
  background-color: #FFDB00 !important;
  border-color: #FFDB00 !important;
  color: #000 !important;
}

#load-all-section .bg-secondary,
#load-all-section .load-all__label-toggle {
  background-color: #FFDB00 !important;
  color: #000 !important;
}

#load-all-section .text-white {
  color: #000 !important;
}

#load-all-section .load-all__label-toggle::after {
  background-color: #000;
}

/* A pale yellow highlight for the selected row in the record sidebar. */
#sidebar .node.current > .node-row > .node-body {
  background-color: #FFF8CC !important;
}

#sidebar .node.current > .node-row > .node-body::after {
  border-color: #FFDB00;
}
