@charset "UTF-8";
.stacks-pathways .topic-badge-modal.ui-dialog .ui-widget-header {
  border: 0;
}
.search-filter-facets > .details-wrapper > .form-wrapper:not(:last-child) {
  display: none;
}
.details-link {
  display: none;
}
.path-search-results .stacks-anchor-link {
  display: none;
}
.stacks-pathways .topic-badge-modal .badges-modal-content-footer {
  padding: 0 !important;
  position: unset !important;
}
.stacks-pathways .pager-items a {
  color: var(--font-color) !important;
}
.stacks-pathways .topic-badge-modal .badge-title-content, .stacks-pathways .pager-item.is-active > a {
  color: #fff !important;
}
.stacks-pathways .topic-menu-links a.active {
  background-color: #006ef0 !important;
}
.stacks-pathways.page-node-type-topic-article .kebab-content .item a {
  color: #006ef0 !important;
}
.field--name-further-reading p {
  margin-block-end: 1em;
}
/* authors & subjects */
.eds-authors li:not(:first-child):not(:last-child)::after, .eds-subjects li:not(:first-child):not(:last-child)::after {
  content: none;
  margin: 0;
}
.path-search .eds-authors, .path-search .eds-subjects {
  gap: 0.2em;
}
.path-search .eds-authors a::after {
  content: ";";
  margin: 0;
  color: white;
  text-decoration: none;
}
.path-search .eds-subjects a::after {
  content: ",";
  margin: 0;
  color: white;
  text-decoration: none;
}
.path-search .eds-authors li:last-of-type a::after, .path-search .eds-subjects li:last-of-type a::after {
  content: none;
}
.stacks-pathways .kebab-content .save-google-drive iframe {
  width: 100% !important;
}
.stacks-pathways .kebab-content .google-drive-1 #___savetodrive_0 {
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
.page-not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: center;
  padding: 2rem;
}
.page-not-found::after {
  content: "";
  background-image: linear-gradient(120deg, rgba(255, 255, 255, 0) 0, #181b24 50%), url("https://www.pathways2research.com/themes/base_theme/img/modules/stacks_pathways/grid-pattern.png");
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.2;
  max-height: 1800px;
}
.page-not-found h1 {
  text-align: center;
  font-size: 8em;
  text-shadow: -1px 0 #bfc0c0, 0 1px #bfc0c0, 1px 0 #bfc0c0, 0 -1px #bfc0c0;
  margin-top: 2rem;
}
.page-not-found h2 {
  font-size: 2em;
  text-transform: uppercase;
  color: #fbc563;
  font-weight: 900;
  margin-bottom: 1rem;
}
.page-not-found p {
  position: relative;
  z-index: 9;
}
.darkmode .page-not-found h1 {
  color: var(--font-color);
}
.path-search-results .pager-results {
  white-space: nowrap;
  max-width: 100%;
}
.path-search-results .pager-header {
  width: 100%;
}
.path-search-results .search-keyword {
  margin: 0 15px;
  white-space: initial;
}
.path-search-results .layout-listing > .item-list {
  margin-bottom: 15px;
}
.path-search-results .stacks-button-save-search {
  white-space: nowrap;
}
.stacks-pathways label, .stacks-pathways select, .stacks-pathways textarea {
  letter-spacing: -0.5px;
}
.stacks-eds-advanced-search-form .stacks-pathways .search-toggle-operator, .stacks-pathways .button, .stacks-pathways .stacks-eds-advanced-search-form .search-toggle-operator {
  letter-spacing: -0.5px;
}
.stacks-pathways .site-wide-protect:after, .stacks-pathways:not(.page-node-type-topic-article) .off-canvas-content:after {
  content: "";
  background-image: linear-gradient(120deg, rgba(255, 255, 255, 0), #181b24 50%), url(/themes/base_theme/img/modules/stacks_pathways/grid-pattern.png);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.2;
  max-height: 1800px;
}
.dark-mode .stacks-pathways .topic-badge-modal .badges-modal-content-footer, .dark-mode .stacks-pathways .main-wrapper, .dark-mode .stacks-pathways .topic-badge-modal.ui-dialog .ui-widget-header, .dark-mode .stacks-pathways.self-register .ui-dialog-buttonpane, .stacks-pathways.self-register .ui-dialog-content {
  background-color: var(--primary-background-color);
}
.dark-mode div#drupal-modal h3, .dark-mode div#modal-stacks-saved-list label, .dark-mode div#modal-stacks-saved-list div, .dark-mode div#drupal-modal label, .dark-mode div#drupal-modal div, .dark-mode div#drupal-modal .details-wrapper, .dark-mode div#drupal-modal p, .dark-mode div#drupal-modal span {
  color: var(--font-color) !important;
}
.dark-mode .stacks-pathways .ui-dialog .ui-widget-header {
  background: #e9e9e9;
}
.dark-mode .stacks-pathways .ui-dialog .ui-widget-header span {
  color: var(--font-color) !important;
}
.stacks-pathways.path-search-results .main-wrapper {
  z-index: unset !important;
}
@media (min-width: 1400px) and (max-width: 1600px) {
  body.stacks-pathways.page-node-type-topic-article .layout-content {
    max-width: 900px !important;
    margin-left: clamp(12.5rem, 33rem, 56.25rem);
  }
}
@media (min-width: 1200px) and (max-width: 1400px) {
  body.stacks-pathways.page-node-type-topic-article .layout-content {
    max-width: 700px !important;
    margin-left: clamp(12.5rem, 32rem, 56.25rem);
  }
}
@media (min-width: 768px) and (max-width: 1200px) {
  body.stacks-pathways.page-node-type-topic-article .layout-content {
    max-width: 100% !important;
    margin-left: auto;
    width: 100%;
  }
  body.stacks-pathways.page-node-type-topic-article .region-header {
    position: relative;
    width: auto;
    margin: auto;
  }
  body.stacks-pathways.page-node-type-topic-article .layout-container {
    flex-direction: column;
    flex-wrap: unset;
  }
  body.stacks-pathways .aside-topics-content {
    position: relative;
    width: auto;
  }
  body.stacks-pathways.page-node-type-topic-article .layout-sidebar-first {
    width: auto;
    position: relative;
    height: 100%;
  }
}
@media (min-width: 768px) and (max-width: 1200px) and (orientation: portrait) {
  body.stacks-pathways.page-node-type-topic-article .layout-content {
    margin-bottom: 0 !important;
  }
}
@media (min-width: 768px) and (max-width: 1200px) and (orientation: landscape) {
  body.stacks-pathways .aside-topics-content {
    margin-inline: 7rem;
  }
}
@media print, screen and (max-width: 39.99875em) {
  .stacks-pathways.page-node-type-topic-article .page-title {
    flex-wrap: wrap !important;
  }
  .stacks-pathways.page-node-type-topic-article .page-title > span {
    margin-bottom: 15px;
  }
}
.safari.stacks-pathways .topic-group-listing .listing-title a {
  font-weight: 700;
}
.page-node-type-topic-article .modal-citations {
  box-shadow: 0 0 5rem rgba(0, 0, 0, 0.5);
}
.page-node-type-topic-article .ui-widget-overlay {
  background: black;
  opacity: 0.5;
}
.page-node-type-topic-article .ui-widget-header {
  border-color: transparent;
}
.page-node-type-topic-article .modal-citations details .details-wrapper, .page-node-type-topic-article .modal-citations summary {
  border-color: transparent;
}
html.dark-mode .modal-citations summary::after {
  color: var(--font-color);
}
.kebab-content .stacks-button-add-save-list, .kebab-content .stacks-button-add-save-list:focus {
  background-color: #ffffff !important;
  color: #006ef0 !important;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
}
#modal-stacks-saved-list .button-create-new-list, #modal-stacks-saved-list .btn-close-modal {
  color: #ffffff !important;
}
.stacks-button-save-search {
  color: #ffffff !important;
}
.searched-term.searched-term-colored {
  display: none;
}
.eds-authors, .eds-subjects {
  margin-bottom: 1rem !important;
}
.field--name-field-authors, .field--name-field-keywords {
  gap: 0.5rem;
}
.stacks-pathways .aside-topics-content .description {
  margin-bottom: 2rem;
}
.lightbox-container {
  display: none;
  /* Initially hidden */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  /* Ensure it's above other elements */
  justify-content: center;
  align-items: center;
}
.lightbox-container.active {
  display: flex;
  /* Show when active */
}
.lightbox-inner {
  position: relative;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  max-width: 90%;
  max-height: 90%;
  overflow: auto;
  /* Ensure content is scrollable if it overflows */
}
.lightbox-inner img {
  max-width: 100%;
  max-height: calc(100vh - 60px);
  /* Ensure the image doesn't take the full height */
  display: block;
  margin: 0 auto;
}
.lightbox-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #fff;
  color: #000;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 2em;
  border-radius: 4px;
  z-index: 1001;
  /* Ensure the button is above other elements */
}
body.stacks-pathways a.stacks-button-citations.link-icon.icon-citations.use-ajax::after {
  content: "";
}
body .icon-copy-regular::before {
  content: "";
}
.path-saved-list .button-create-new-list {
  color: #ffffff;
}
.path-saved-list .container-inline .date {
  display: none;
}
.login-layout-1 .site-wide-protect .site-wide-background {
  border: 0;
}
.page-route-name-user-login .layout-content .site-wide-protect-container {
  border: 0;
  padding: 0;
}
.login-layout-1 .site-wide-protect .site-wide-login .main-content-wrapper {
  flex-direction: column;
}
