body {
  overflow: hidden;
}

*,
*:focus {
  outline: 0;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-row-reverse {
  display: flex;
  flex-direction: row-reverse;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.full-size {
  width: 100%;
  height: 100%;
}

.flex-item:nth-child(2) {
  flex-grow: 1;
}

.navigator {
  min-width: 220px;
  max-width: 220px;
  background-color: rgb(251, 251, 250);
}
.navigator .scroller {
  box-shadow: transparent 0px 0px 0px inset;
  transition: box-shadow 300ms ease 0s;
  max-height: calc(100% - 6rem);
  overflow: hidden auto;
}

.navigator-header {
  padding: 1rem 1rem;
  font-size: 1.1rem;
  font-weight: bold;
}
.navigator-header:hover {
  background-color: rgba(0, 0, 0, 0.04);
  cursor: pointer;
}

.document:hover {
  background-color: rgba(0, 0, 0, 0.04);
  cursor: pointer;
}
.document-add {
  padding: 0.45rem 0.3rem;
}
.document-add-text {
  color: rgba(55, 53, 47, 0.65);
  font-size: 0.9rem;
  line-height: 1.1rem;
  margin-left: 0.6rem;
}
.document-item {
  color: rgba(25, 23, 17, 0.6);
  font-size: 0.9rem;
  line-height: 1.4rem;
  margin: 0 0.2rem;
  padding: 0.2rem 0.15rem;
  border-radius: 0.2rem;
  position: relative;
}
.document-item .visible-when-hover {
  display: none;
  position: absolute;
  right: 0.3rem;
  top: 0.2rem;
}
.document-item:hover .visible-when-hover {
  display: flex;
  flex-direction: row;
}
.document-item:hover .title-wrapper {
  width: calc(100% - 5rem);
}
.document .title-wrapper {
  display: inline-block;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.icon-wrapper {
  padding: 0.15rem;
  border-radius: 0.2rem;
}
.icon-wrapper:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.home-page {
  font-size: 2rem;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.editor {
  padding: 10% 0 0 0;
  width: calc(100% - 220px);
  max-width: calc(100% - 220px);
  overflow: hidden auto;
  position: relative;
}
.editor-header {
  position: fixed;
  top: 0;
  right: 0;
  margin: 0 2rem;
  padding: 1rem;
  width: calc(100% - 6rem - 220px);
  background-color: white;
}
.editor-header-content {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
  font-size: 14px;
  line-height: 1.2;
  min-width: 0px;
  padding-left: 6px;
  padding-right: 6px;
}
.editor-header-slash {
  margin-left: 2px;
  margin-right: 2px;
  color: rgba(55, 53, 47, 0.5);
}
.editor-footer {
  font-size: 0.8rem;
  position: fixed;
  bottom: 0;
  right: 0;
  padding: 1rem;
  width: calc(100% - 2rem - 220px);
  background-color: rgb(251, 251, 250);
}
.editor-footer .document-link {
  padding: 0.2rem;
  margin-left: 1rem;
  cursor: pointer;
}
.editor-footer .document-link:hover {
  font-weight: bold;
  text-decoration: underline;
  background-color: rgba(0, 0, 0, 0.04);
}
.editor-title {
  padding: 0 15%;
  width: 70%;
  max-width: 100%;
  font-size: 3rem;
  font-weight: bold;
  caret-color: rgb(55, 53, 47);
  margin: 1rem 0.1rem;
  display: inline-block;
  white-space: pre-wrap;
  word-break: break-word;
}
.editor-content {
  padding: 0 15% 30vh 15%;
  font-size: 1rem;
  width: 70%;
  max-width: 100%;
  caret-color: rgb(55, 53, 47);
  display: inline-block;
  white-space: pre-wrap;
  word-break: break-word;
}

[contenteditable][placeholder]:empty:before {
  content: attr(placeholder);
  position: absolute;
  color: rgb(182, 182, 182);
  background-color: transparent;
  cursor: text;
}

.h1 {
  display: block;
  font-size: 2em;
  margin: 0.67em 0;
  font-weight: bold;
}

.h2 {
  display: block;
  font-size: 1.5em;
  margin-block-start: 0.83em;
  margin-block-end: 0.83em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
}

.h3 {
  display: block;
  font-size: 1.17em;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
}

.strong {
  font-weight: bolder;
}

.italic {
  font-style: italic;
}

.strike {
  text-decoration: line-through;
}

.underline {
  text-decoration: underline;
}

.hidden {
  display: none;
}

.modal-wrapper {
  position: fixed;
  z-index: 999;
  width: 100vw;
  height: 100vh;
  inset: 0px;
  overflow: hidden;
  cursor: text;
}

.modal {
  position: fixed;
  background-color: white;
  box-shadow: rgba(15, 15, 15, 0.05) 0px 0px 0px 1px, rgba(15, 15, 15, 0.1) 0px 3px 6px, rgba(15, 15, 15, 0.2) 0px 9px 24px;
  border-radius: 0.1rem;
  padding: 6px 0;
  display: flex;
  flex-direction: column;
  width: 330px;
  min-width: 180px;
  max-width: calc(100vw - 24px);
  max-height: 40vh;
  cursor: default;
}
.modal-header {
  padding: 0 14px;
  margin-top: 6px;
  margin-bottom: 8px;
  color: rgba(55, 53, 47, 0.65);
  font-size: 11px;
  font-weight: 500;
  line-height: 120%;
  user-select: none;
  cursor: pointer;
}
.modal-header.active {
  cursor: move;
}
.modal-content {
  overflow: hidden auto;
  padding-top: 6px;
  box-shadow: rgba(55, 53, 47, 0.09) 0px -1px 0px;
  margin-top: 6px;
  text-overflow: ellipsis;
}
.modal-contents {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  user-select: none;
  cursor: pointer;
  width: calc(100% - 28px);
  margin: 0 7px;
  padding: 0 7px;
  border-radius: 3px;
  line-height: 200%;
  min-height: 28px;
  font-size: 14px;
}
.modal-contents:hover {
  background-color: rgba(0, 0, 0, 0.04);
  cursor: pointer;
}

span.document-link {
  text-decoration: underline;
  font-weight: bold;
}
span.document-link:hover {
  background-color: rgba(0, 0, 0, 0.04);
  cursor: pointer;
}

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