.window-main {
  min-width: 0;
}

.window-main-header .breadcrumbs {
  flex-wrap: nowrap;
  white-space: nowrap;
  flex-shrink: 0;
}

.publish-actions {
  position: relative;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.publish-action-buttons {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.publish-overflow-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.375rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.publish-overflow-toggle[hidden], .publish-overflow-menu[hidden] {
  display: none;
}

.publish-overflow-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

body.dark .publish-overflow-toggle {
  color: #eee;
}

body.dark .publish-overflow-toggle:hover {
  background: #333;
}

.publish-overflow-menu {
  position: absolute;
  top: calc(100% + 0.25rem);
  right: 0;
  z-index: 100;
  display: none;
  min-width: 10rem;
  flex-direction: column;
  padding: 0.375rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.publish-overflow-menu.show {
  display: flex;
}

.publish-overflow-menu .button {
  justify-content: flex-start;
  margin: 0;
  white-space: nowrap;
}

body.dark .publish-overflow-menu {
  border-color: #555;
  background: #333;
  color: #fff;
}

.mobile-menu-button {
  display: none;
}
.mobile-menu-button .publish-info {
  float: right;
  text-align: right;
  margin-top: 5px;
}

@media (max-width: 768px) {
  .window {
    display: flex;
  }
  .mobile-menu-button {
    display: block;
    margin: 0.5rem 0 0 0.25rem;
    width: 100%;
  }
  .mobile-buttons-button {
    display: block;
    float: right;
    margin: 0 1rem 0 0.25rem;
  }
  header.window-header {
    display: none;
  }
  header.window-header.show {
    display: block;
    float: left;
  }
  .navigation {
    height: auto;
  }
  .window-panel.tree-panel {
    display: none;
  }
  .window-panel.tree-panel.show {
    display: block;
    height: 100%;
  }
  .window-panel.tree-panel .search {
    display: none;
  }
  .window-main-header {
    padding: 0.25rem 0.25rem 0.25rem 1rem;
  }
  .window-main-body-right {
    display: none;
  }
  .breadcrumbs {
    display: none;
  }
  .book-card, .chapter-card {
    width: 100%;
  }
  .window-main-body {
    display: flex;
    overflow-y: auto;
  }
  .publish-actions {
    display: none;
  }
  .publish-actions.show {
    text-align: right;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: #fff;
    box-shadow: 0px 10px 25px 5px rgb(171, 171, 171);
    z-index: 50;
  }
  .publish-actions.show .publish-action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .publish-actions.show button {
    margin-bottom: 0.5rem;
  }
  .publish-actions.show button.button--close {
    display: inline-flex;
    padding-right: 0em;
    padding-left: 0.35em;
    border-bottom: none;
    border-radius: 25px;
  }
  .publish-actions.show .publish-info {
    display: none;
  }
  body.dark .publish-actions.show {
    background: #333;
    color: #fff;
    box-shadow: 0px 10px 25px 5px rgb(0, 0, 0);
  }
  .editor {
    max-width: 100%;
  }
  .grim-editor-main, .editor #editor {
    padding: 1rem 1rem 2rem 1rem;
  }
  .main-content--share {
    padding-left: 2px;
    padding-right: 10px;
  }
  .demo-text, .settings-inputs {
    display: block;
    width: 100%;
  }
  .demo-text section.shadow-box, .settings-inputs section.shadow-box {
    width: 100%;
  }
  .modal .modal-container {
    width: 95%;
    max-width: 95%;
  }
  .modal .modal-container--wide .modal-container {
    width: 95%;
    max-width: 95%;
  }
  .modal .modal-container--force-wide .modal-container {
    width: 95%;
    max-width: 95%;
  }
}
button.button--close {
  display: none;
}/*# sourceMappingURL=mobile.css.map */