@charset "UTF-8";
:root {
  --sidenav-active-background: #E4E4E4;
  --breadcrumb-hover-background: #fff;
  --breadcrumb-hover-border-color: rgba(0, 0, 0, 0.1);
  --divider-color: rgba(0, 0, 0, 0.15);
}

html.dark-mode {
  --sidenav-active-background: #222;
  --breadcrumb-hover-background: #222;
  --breadcrumb-hover-border-color: rgba(255, 255, 255, 0.1);
  --divider-color: rgba(255, 255, 255, 0.15);
}

:root {
  --font-body: "Manrope", sans-serif;
}

header .logo-image {
  height: 31px;
  width: 170px;
}

header .logo-text {
  font-size: 1.3em;
  color: #fff;
  font-weight: 400;
  line-height: 1;
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  height: 30px;
  padding-left: 10px;
  line-height: 30px;
}

.svg-icon {
  width: 1.6em;
  height: 1.6em;
}

a[data-shortcut=shelves_view] {
  display: none !important;
}

header .links a {
  display: inline-flex;
}
header .links a .svg-icon {
  margin-top: -2px;
}

.breadcrumbs {
  font-size: 0.95em;
  font-weight: 500;
  opacity: 1;
}
.breadcrumbs .separator {
  font-size: 1em;
  opacity: 0.5;
  margin: 0px 0 0 0;
}
.breadcrumbs .icon-list-item {
  gap: 4px;
  border-radius: 8px;
  padding: 0px 10px 0px 2px;
}
.breadcrumbs .icon-list-item > span:first-child:after {
  background: none;
}
.breadcrumbs .dropdown-search {
  cursor: pointer;
}
.breadcrumbs .icon-list-item:hover,
.breadcrumbs .dropdown-search-toggle-breadcrumb:hover {
  background: var(--breadcrumb-hover-background) !important;
  border-color: var(--breadcrumb-hover-border-color) !important;
}

.tri-layout-left-contents > *,
.tri-layout-right-contents > * {
  opacity: 1;
}

.tri-layout-middle-contents,
.page-content {
  max-width: 1800px !important;
}

.icon-list hr {
  max-width: 100%;
  height: 0.8px;
  background-color: var(--divider-color) !important;
  opacity: 1;
}

.icon-list-item {
  font-weight: 600;
  gap: 8px;
}
.icon-list-item > span:first-child {
  width: 2.6em !important;
  height: 2.6em !important;
  border-radius: 2.6em;
}

.entity-list-item > span:first-child:after {
  background: none;
}

#main-content {
  font-size: 1.075em;
}
#main-content p,
#main-content td,
#main-content li {
  line-height: 1.7em;
}
#main-content h1 {
  font-size: 2.6em;
}
#main-content li {
  margin-bottom: 0.5em;
}
#main-content td,
#main-content th {
  padding: 0.5em 0.75em;
  height: auto !important;
}
#main-content th {
  vertical-align: middle;
}
#main-content hr {
  margin-top: 2em;
  margin-bottom: 2em;
}
#main-content ul ul,
#main-content ul ol,
#main-content ol ul,
#main-content ol ol {
  margin-top: 0.5em;
}

aside .search-box {
  margin-top: -15px;
}

aside > * > h5 {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--divider-color);
}

.bg-book.featured-image-container-wrap .svg-icon,
main .book.entity-list-item .svg-icon {
  display: none;
}

body.user-guest .icon-list-item[data-shortcut=revisions] {
  display: none;
}
body.user-guest .icon-list-item[data-shortcut=revisions] + hr {
  display: none;
}
body.user-guest .entity-meta-item[href$="/revisions"] {
  display: none;
}
body.user-guest .icon-list-item[href$="/tags"] {
  display: none;
}

.entity-meta-item {
  align-items: center;
  margin: 1em 0;
}
.entity-meta-item svg {
  width: 1.2em;
  height: 1.2em;
}

#page-details > h5:before {
  content: "Page ";
}

aside .tag-item {
  display: none;
}

.book-contents .entity-list-item .icon {
  width: 34px;
  height: 34px;
}
.book-contents .entity-list-item .icon svg {
  display: block;
  height: 28px;
  width: 28px;
}

.entity-list-item + .chapter-expansion > .icon:after,
.entity-list-item + .chapter-expansion > .icon:before {
  display: none;
}
.entity-list-item + .chapter-expansion .chapter-contents-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: var(--color-primary) !important;
  padding-left: 10px;
  margin-left: 20px;
  outline: none;
}
.entity-list-item + .chapter-expansion .chapter-contents-toggle svg[data-icon=caret-right] {
  width: 1em;
  height: 1em;
  transition: transform 0.2s ease-in-out;
}
.entity-list-item + .chapter-expansion .chapter-contents-toggle > span {
  margin-top: 2px;
}
.entity-list-item + .chapter-expansion .entity-list {
  position: relative;
  padding-left: 30px;
}
.entity-list-item + .chapter-expansion .entity-list::before {
  content: "";
  width: 1px;
  height: calc(100% + 14px);
  border-left: 1px dashed #bbb;
  position: absolute;
  left: 29px;
  top: 0;
}

.active-link-list > a,
.dropdown-menu .icon-item,
.grid-card-footer > p {
  display: flex !important;
  align-items: center;
  font-weight: 500;
}

.grid-card-footer > p {
  margin-top: 4px;
}

.callout {
  padding-left: 40px;
  padding-inline-start: 40px;
}
.callout:before {
  width: 1.8em;
  height: 1.8em;
  top: 12px;
  left: 8px;
  margin-top: 0;
}

.fade-in-when-active {
  opacity: 1 !important;
}

#sibling-navigation {
  padding-inline-start: 0 !important;
  padding-inline-end: 0 !important;
}
#sibling-navigation a {
  padding: 10px 16px 5px 16px;
  border-radius: 6px;
  margin-top: -10px;
}
#sibling-navigation a:hover {
  background-color: var(--breadcrumb-hover-background);
}
#sibling-navigation a > div:first-child {
  color: var(--color-primary) !important;
  font-weight: 600;
}
#sibling-navigation a[data-shortcut=next] > div:first-child:after {
  content: "▶";
  font-size: 0.8em;
  vertical-align: middle;
  padding-left: 6px;
}
#sibling-navigation a[data-shortcut=previous] > div:first-child:before {
  content: "◀";
  font-size: 1em;
  vertical-align: middle;
  padding-right: 6px;
}

.grid-card:hover {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  transform: scale(1.02);
  transition: all 0.1s ease-in-out;
}
.grid-card:hover .featured-image-container {
  opacity: 1;
}

.list-sort-container button.list-sort-dir {
  padding: 6px 12px 6px 7px;
}

@media (max-width: 1400px) {
  .tri-layout-right .mb-xl {
    padding-bottom: 8px;
  }
}
.scroll-away-from-bottom:before,
.scroll-away-from-bottom:after {
  left: -20px;
  padding-right: 20px;
}

button.icon-list-item[title="Draft Options"] > span {
  display: flex;
  align-items: center;
}
button.icon-list-item[title="Draft Options"] .svg-icon[data-icon=more] {
  margin-top: -3px;
}

html.dark-mode .tri-layout-left-contents > *,
html.dark-mode .tri-layout-right-contents > * {
  opacity: 1;
}
html.dark-mode body,
html.dark-mode .grid-card,
html.dark-mode .list-sort,
html.dark-mode #content {
  background-color: #242424;
}
html.dark-mode header,
html.dark-mode .card,
html.dark-mode footer,
html.dark-mode .drawer {
  background-color: #2e2e2e !important;
}
html.dark-mode footer,
html.dark-mode .grid-card {
  border-color: #495057;
}
html.dark-mode footer .footer-links a:before {
  background-color: rgba(255, 255, 255, 0.2);
}

blockquote {
  overflow: visible;
}
blockquote > p:last-child {
  margin-bottom: 0;
}

h4.entity-list-item-name {
  font-weight: 400 !important;
  font-size: 1.5em !important;
  margin-top: 2px;
}

.entity-list-item.has-children {
  padding-bottom: 8px !important;
}

.display-flex {
  display: flex;
}

.flex-1 {
  flex: 1;
}

.sidenav {
  list-style: none;
  margin: 0 -16px 0 -16px;
  padding: 0;
}
.sidenav h4 {
  line-height: 1.6em;
  padding-right: 8px;
}
.sidenav > li .sidenav-chapter {
  align-items: start;
  padding-left: 6px;
}
.sidenav > li a {
  background-clip: content-box;
  border-radius: 0 3px 3px 0;
  padding: 3px 0px 3px 11px;
  display: flex;
  align-items: start;
  gap: 4px;
  background-color: transparent;
  border: 0;
  width: 100%;
  position: relative;
  word-break: break-word;
}
.sidenav > li a:hover {
  text-decoration: none;
}
.sidenav > li a .icon {
  margin-top: 10px;
}
.sidenav > li a.chapter {
  padding-left: 4px;
}
.sidenav > li h4 {
  font-size: 1em;
  margin: 11px 0 9px 0;
  font-weight: 600;
}
.sidenav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
  position: relative;
  padding-left: 25px;
}
.sidenav ul::before {
  content: "";
  width: 1px;
  height: calc(100% + 14px);
  border-left: 1px dashed #bbb;
  position: absolute;
  left: 20px;
  top: -13px;
}
.sidenav ul.open {
  display: block;
}
.sidenav ul li {
  margin-left: 8px;
}
.sidenav ul li h4 {
  font-weight: 500;
  opacity: 0.8;
}
.sidenav ul li:hover {
  background-color: var(--sidenav-active-background);
  border-radius: 5px;
}
.sidenav .selected {
  background-color: var(--sidenav-active-background);
  border-radius: 5px;
}
.sidenav .root-level:hover {
  background-color: var(--sidenav-active-background);
  border-radius: 5px;
}
.sidenav .root-level .page {
  gap: 4px;
}
.sidenav .root-level .page h4 {
  font-weight: 500;
}
.sidenav .icon.text-chapter {
  padding: 13px 0 0 5px;
}

.sidenav-chapter:hover {
  background-color: var(--sidenav-active-background);
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.sidenav-chapter .collapse-button {
  margin-top: 13px;
  width: 30px;
  cursor: pointer;
  outline: none;
}
.sidenav-chapter .collapse-button .fa-chevron-right {
  transition: transform 0.2s ease;
}
.sidenav-chapter .collapse-button.open .fa-chevron-right {
  transform: rotate(90deg);
}

.entity-list a {
  gap: 8px;
  padding: 13px 10px;
}
.entity-list a .svg-icon {
  width: 1.6em;
  height: 1.6em;
}
.entity-list h4 {
  font-weight: 500;
}

.header-dark-mode-toggle {
  display: inline-block;
}
.header-dark-mode-toggle button {
  cursor: pointer;
  border-radius: 3px;
  padding: 10px;
  color: #fff;
}
.header-dark-mode-toggle button i {
  font-size: 20px;
}
.header-dark-mode-toggle button:hover {
  background-color: rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

.header-links a,
header .user-name,
.header-dark-mode-toggle button {
  position: relative;
  margin-right: 10px;
}
.header-links a::before,
header .user-name::before,
.header-dark-mode-toggle button::before {
  content: "";
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: -0.4em;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.2);
}

header {
  box-shadow: rgba(0, 0, 0, 0.2509803922) 0 2px 8px;
  border-bottom: 1px solid #91c5f3;
  z-index: 1000;
}
header .links {
  display: flex;
  align-items: center;
  font-weight: 500;
}
header .links a {
  padding: 10px;
}
header .links a[data-shortcut=books_view]::before {
  display: none;
}
header .dropdown-container {
  padding-inline-start: 0;
}
header .user-name {
  margin: 0;
  height: 40px;
  padding-inline-start: 15px;
  padding: 10px 5px 10px 10px;
  font-weight: 600;
}

.dark-mode-toggle-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-wrap: nowrap;
  gap: 6px;
}
.dark-mode-toggle-button span {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.dark-mode-toggle-button:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

@media screen and (min-width: 1001px) and (max-width: 1400px) {
  .tri-layout-sides-content {
    padding-top: 33px;
  }
}
@media screen and (max-width: 1000px) {
  .tri-layout-sides-content {
    padding-top: 7px;
  }
}
.tri-layout-mobile-tabs {
  display: none !important;
}

footer {
  background-color: #f8f9fa;
  padding: 1.4rem 1rem;
  border-top: 1px solid #dee2e6;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1em;
  flex-wrap: wrap;
  row-gap: 10px;
}
.footer-links a {
  position: relative;
  padding: 0 0.8em;
  line-height: 20px;
  height: 20px;
  display: inline-block;
  text-decoration: none;
  margin: 0 0.8em 0 0;
}
.footer-links a:focus {
  outline-offset: 2px;
}
.footer-links a::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -0.4em;
  width: 1px;
  background-color: #ccc;
}
.footer-links a:first-child::before {
  display: none;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
  z-index: 998;
  top: 55px;
}
.drawer-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  height: calc(100dvh - 56px);
  top: 56px !important;
  inset: 0 auto 0 0;
  width: min(80vw, 300px);
  background: #fff;
  transform: translateX(-100%);
  transition: transform 220ms ease;
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.drawer .drawer-close {
  align-self: flex-start;
  margin: 8px;
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.drawer .drawer-content {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  height: 100%;
  padding: 8px 12px 24px;
}
.drawer.is-open {
  transform: translateX(0);
}

.hamburger {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  min-width: 22px;
  max-width: 22px;
  height: 28px;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 4px 8px;
  box-sizing: content-box;
  outline: none;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  transition: transform 200ms ease, opacity 200ms ease;
}
.hamburger.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Only use drawer mode on small screens */
@media (min-width: 1000px) {
  .drawer,
  .hamburger,
  .drawer-overlay {
    display: none !important;
  }
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .drawer,
  .drawer-overlay,
  .hamburger span {
    transition: none !important;
  }
}
@media (max-width: 880px) {
  header.px-xl {
    padding-inline-start: 16px !important;
    padding-inline-end: 16px !important;
  }
  header.px-xl a.logo .logo-text {
    display: none;
  }
}
@media (max-width: 1000px) {
  body {
    margin-top: 56px;
  }
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  header .header-links {
    display: none;
  }
}
.mobile-menu-toggle {
  border: none;
}
.mobile-menu-toggle .svg-icon {
  width: 0.9em;
  height: 0.9em;
}

.header-links.show {
  top: 50px;
  margin-top: 0px;
}
.header-links.show .links {
  flex-direction: column;
  min-width: 150px;
  padding: 0 5px;
  align-items: start;
}
.header-links.show .links a {
  gap: 4px;
  width: 100%;
  margin: 0;
}
.header-links.show .svg-icon {
  width: 1.6em;
  height: 1.6em;
  margin-inline-end: 0;
}
.header-links.show .header-dark-mode-toggle {
  width: 100%;
  display: block;
}
.header-links.show .dark-mode-toggle-button {
  display: flex;
  color: #444;
  margin: 0;
  width: 100%;
  font-weight: 500;
  justify-content: start;
}
.header-links.show .dark-mode-toggle-button:hover {
  background-color: var(--color-primary-light);
}
html.dark-mode .header-links.show .dark-mode-toggle-button {
  color: #eee;
}
.header-links.show .dark-mode-toggle-button:before {
  display: none;
}
.header-links.show .header-links.show .links a,
.header-links.show .dark-mode-toggle-button {
  gap: 8px;
}

@media screen and (min-width: 1001px) {
  .dark-mode-toggle-button > span:last-child {
    display: none;
  }
}

/*# sourceMappingURL=custom.css.map */
