body .ck.ck-balloon-panel {
  z-index: 9999;
}
body.index .rendered_content img, body.page .rendered_content img {
  max-width: 80%;
}
.ais-Hits ul {
  display: flex;
  list-style: none;
  padding: 0;
  gap: 1rem;
}
@media (max-width: 767px) {
  .ais-Hits ul {
    flex-direction: column;
    margin: 0;
    gap: 0;
  }
}
.ais-Hits ul li.subject {
  padding: 0.5rem 0.5rem 0rem 1.5rem;
  text-transform: capitalize;
}
.ais-Hits ul li.subs {
  padding: 0.5rem 0.5rem 0rem 0;
}
@media (max-width: 767px) {
  .ais-Hits ul li.subs {
    padding: 0.5rem;
  }
}
.ais-Hits ul span.hl {
  color: var(--vz-success);
  font-weight: 600;
}
.ais-InstantSearch {
  position: absolute;
  top: 1rem;
  width: 30vw;
  left: 20vw;
}
@media (max-width: 767px) {
  .ais-InstantSearch {
    width: 60vw;
  }
}
.ais-StateResults .ais-Hits {
  width: 74vw;
  background: #fff;
  overflow-y: auto;
  max-height: calc(100vh - 100px);
}
.btn-add-menu {
  position: absolute;
  right: 1rem;
  top: 0.2rem;
  font-size: 1.2rem;
}
.menu-add-wrap {
  padding: 0.5rem;
}
.content-edit-wrap {
  position: absolute;
  right: 0;
}
.item.subject {
  font-size: 1.8rem;
  text-transform: uppercase;
  border-bottom: 1px solid #ccc;
  margin-bottom: 1rem;
  padding-bottom: 0.3rem;
}
@media (max-width: 767px) {
  .container-fluid {
    padding-right: 0;
    padding-left: 0;
  }
}
.btn-wrap {
  margin-top: 1.3rem;
  position: absolute;
  right: 1.25rem;
  display: flex;
  gap: 0.5rem;
}
li.nav-item {
  position: relative;
}
li.nav-item.has-parent > a:nth-child(1) {
  position: relative;
  padding-left: 2.5rem;
  font-weight: 300;
}
.item.rendered_content h1 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.item.rendered_content h2, .item.rendered_content h3 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.item.rendered_content table {
  margin-bottom: 1.5rem;
}
.item.rendered_content table code {
  padding: 0;
}
.item.rendered_content thead tr {
  height: 3rem;
}
.item.rendered_content blockquote {
  margin: 2rem;
  padding: 20px 24px 4px 42px;
  border-radius: 8px;
  overflow-x: auto;
  transition: color 0.5s, background-color 0.5s;
  position: relative;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  color: #000000;
  background: #BBEFF4;
}
@media (max-width: 767px) {
  .item.rendered_content blockquote {
    margin: 0 !important;
    margin-bottom: 1rem !important;
    padding: 1rem 1.5rem !important;
  }
}
.item.rendered_content .value {
  --vz-card-spacer-y: 1rem;
  --vz-card-spacer-x: 1rem;
  --vz-card-title-spacer-y: 0.5rem;
  --vz-card-title-color: var( --vz-heading-color);
  --vz-card-border-width: 0;
  --vz-card-border-color: var( --vz-border-color);
  --vz-card-border-radius: var( --vz-border-radius);
  --vz-card-box-shadow: 0 1px 2px rgba(56, 65, 74, 0.15);
  --vz-card-inner-border-radius: var( --vz-border-radius);
  --vz-card-cap-padding-y: 1rem;
  --vz-card-cap-padding-x: 1rem;
  --vz-card-cap-bg: var( --vz-secondary-bg);
  --vz-card-bg: var( --vz-secondary-bg);
  --vz-card-img-overlay-padding: 1rem;
  --vz-card-group-margin: calc(1.5rem * .5);
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  height: var(--vz-card-height);
  color: var(--vz-body-color);
  word-wrap: break-word;
  background-color: var(--vz-card-bg);
  background-clip: border-box;
  border: var(--vz-card-border-width) solid var(--vz-card-border-color);
  border-radius: var(--vz-card-border-radius);
  padding: 2rem;
  max-width: 100vw;
  overflow-x: auto;
}
@media (max-width: 767px) {
  .item.rendered_content .value {
    padding: 0.75rem;
  }
}
.item.rendered_content p, .item.rendered_content li {
  font-size: 1rem;
}
a.nav-link {
  text-transform: capitalize;
}
a.btn-edit-content {
  font-size: 2rem;
  opacity: 0.5;
}
a.btn-edit-content.active {
  opacity: 1;
}
body.login .group .item span {
  margin-bottom: 0.5rem;
  display: block;
}
body.login .group {
  max-width: 30rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.navbar-brand-box.horizontal-logo a {
  font-size: 1.5rem;
  color: #fff;
  margin-left: 1.5rem;
}
.modal-container {
  position: relative;
}
.modal-container .btn-wrap {
  position: absolute;
  right: 1rem;
  font-size: 1.2rem;
}
.modal-container .btn-wrap a {
  cursor: pointer;
}
.modal-container .edit-wrap {
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.modal-container textarea.marked_editor {
  height: 30vh;
  line-height: 31px;
  background-image: -webkit-linear-gradient(left, white 0, transparent 0), -webkit-linear-gradient(right, white 0, transparent 0), -webkit-linear-gradient(white 30px, #ccc 30px, #ccc 31px, white 31px);
  background-repeat: repeat-y;
  background-size: 100% 100%, 100% 100%, 100% 31px;
  background-attachment: local;
  padding-left: 16px;
  font-size: 16px;
  padding-top: 0;
  padding-bottom: 0;
}
.expand .modal-container {
  width: calc(100vw - 1rem);
  height: calc(100vh - 1rem);
}
.expand textarea.marked_editor.form-control {
  height: calc(100vh - 240px);
}
.rendered_content pre {
  position: relative;
  z-index: 1;
  margin: 2rem 0;
  padding: 14px 0;
  background: transparent;
  overflow-x: auto;
  position: relative;
  background-color: #292d3e;
  overflow-x: auto;
  transition: background-color 0.5s;
}
.rendered_content a[href*="#img-"] img {
  width: 50%;
}
@media (max-width: 767px) {
  .rendered_content a[href*="#img-"] img {
    width: 100%;
  }
}
.rendered_content code {
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
  /*    display: block; */
  padding: 0 24px;
  width: fit-content;
  min-width: 100%;
  line-height: 1.5;
  font-size: 14px;
  color: #a6accd;
  transition: color 0.5s;
}
.rendered_content img {
  max-width: 100%;
  max-height: 40rem;
}
.rendered_content td {
  padding-bottom: 0.5rem;
}
@media (min-width: 1440px) {
  .rendered_content .value > p:not(:nth-child(1)):not(:nth-child(2)) img {
    max-height: unset;
    max-width: 80%;
  }
}
.rendered_content .value > ul {
  display: flex;
  gap: 1rem;
  flex-direction: column;
}
body.file .items {
  display: flex;
  flex-wrap: wrap;
}
body.file ul.grid {
  list-style: none;
  display: flex;
  flex-direction: column;
  width: 25%;
  padding: 0;
  margin: 0;
  margin-bottom: 1rem;
  justify-content: center;
  align-items: center;
}
body.file ul.grid .thumb {
  text-align: center;
}
body.file ul.grid .thumb img {
  width: calc(100% - 2rem);
}
body.file li.height {
  position: absolute;
  margin-left: 3.5rem;
  font-family: ui-monospace;
  font-size: 1.2rem;
  color: darkgray;
  font-weight: 700;
}
body.file li.height:before {
  content: "x";
}
body.file li.width {
  position: absolute;
  margin-left: -2rem;
  font-family: ui-monospace;
  font-size: 1.2rem;
  color: darkgray;
  font-weight: 700;
}
body.printable .app-menu.navbar-menu {
  display: none;
}
body.printable .document {
  font-family: Arial, sans-serif;
  line-height: 1.6;
}
body.printable .document .toc {
  padding: 1rem;
  border-bottom: 1px solid #ddd;
  margin-bottom: 2rem;
}
body.printable .document .toc h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
body.printable .document .toc ul {
  list-style: none;
  padding-left: 0;
}
body.printable .document .toc ul li {
  margin-bottom: 0.5rem;
}
body.printable .document .toc ul li a {
  text-decoration: none;
  color: #007bff;
}
body.printable .document .toc ul li a:hover {
  text-decoration: underline;
}
body.printable .document .toc ul li ul {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}
body.printable .document .toc ul li ul li {
  margin-bottom: 0.5rem;
}
body.printable .document .main-content {
  margin-left: 0;
}
body.printable .document .main-content ul {
  list-style: none;
  padding-left: 0;
}
body.printable .document .main-content ul li {
  margin-bottom: 1.5rem;
}
body.printable .document .main-content ul li > h3:nth-child(1) {
  font-size: 1.8rem;
  color: silver;
  border-bottom: 2px solid silver;
  padding-top: 4rem;
  padding-bottom: 0.5rem;
  margin-bottom: 3rem;
}
body.printable .document .main-content ul li h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
body.printable .document .main-content ul li div {
  font-size: 1rem;
  color: #333;
}
body.printable .document .main-content ul li div p {
  margin-bottom: 1rem;
}
body.printable .document .main-content ul li div ol {
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}
body.printable .document .main-content ul li div ol li {
  margin-bottom: 0.5rem;
}
body.printable .document .main-content ul > li > ul > li {
  margin-bottom: 0;
}
@media print {
  body.printable .document .toc {
    page-break-after: always;
  }
  body.printable .document .main-content ul li {
    page-break-inside: avoid;
  }
  body.printable .document .main-content img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    break-inside: avoid;
  }
}
