.full-screen {
  .header-name {
    display: flex;
    justify-content: flex-start;
    width: 100%;
  }

  .content .document-body {
    margin-left: 0;
  }

  .header {
    margin-left: 0;
  }

  .likes-and-labels-container {
    max-width: 98%;
    padding-left: 0;
  }
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  margin-top: 50px;

  .content-wrapper {
    display: flex;
    flex-direction: row;

    .attributes {
      position: sticky;
      top: 0;

      width: 450px;
      margin-top: 35px;
      margin-right: 50px;
    }
  }

  .divider {
    width: calc(100% - 50px);
    height: 1px;
    background-color: var(--color-gray-eee);
  }

  .comments {
    display: block;
    width: calc(100% - 50px);
    margin-bottom: 40px;
  }
}

wg-cmf-tab-group {
  ::ng-deep .tabs {
    border-bottom: 2px solid var(--color-gray-eee);
  }
}

::ng-deep .app-comment-form {
  width: 100% !important;
}

::ng-deep .expansion-panel-header {
  position: relative;
}

.req {
  display: flex;
  flex-direction: column;
  gap: 20px;

  width: 100%;
  min-height: calc(100vh - 521px);
  padding-top: 0;
  padding-right: 30px;

  .req-body {
    position: relative;
    display: block;
    color: var(--user-content-color, var(--default-color));

    .content {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .add-object-wrapper {
      display: flex;
      gap: 20px;
      margin-bottom: 20px;
    }
  }

  .header {
    font: var(--default-font-h1);
    color: var(--wiki-font-h1-color);
  }
}

.breadcrumbs {
    max-width: 70%;
    margin-right: auto;
}

div.info {
  position: static;
  align-items: flex-start;
  margin-right: 30px;
  margin-left: auto;

  .actions {
    z-index: 2;

    display: flex;
    flex-flow: row nowrap;
    gap: 0;

    padding-top: 0;

    background-color: var(--color-gray-fff);

    .action {
      cursor: pointer;

      overflow: hidden;
      display: inline-flex;
      align-items: center;
      justify-content: center;

      width: 32px;
      height: 32px;

      font: var(--default-text-font);
      font-size: var(--default-font-size);
      line-height: 1;
      color: var(--color-gray-444);

      background-color: transparent;
      border: none;
    }

    .action-wide {
      display: flex;
      flex-flow: row nowrap;
      gap: 2px;

      width: unset;
      min-width: 32px;
      padding: 0 5px;
    }

    .btn-group {
      z-index: 2;

      display: flex;
      flex-flow: row nowrap;
      gap: 0;

      background-color: var(--color-gray-fff);
    }
  }
}

::ng-deep .tox-editor-header {
  width: 100% !important;
  margin-left: -40px;
}

::ng-deep .expansion-panel-header {
  top: 0 !important;
}

::ng-deep .item-desk {
  scrollbar-gutter: stable both-edges;
}

::ng-deep .req-text {
  display: flex;
  flex-direction: column;
  gap: 20px;

  .req-descr {
    padding: 10px 15px;
    border-radius: 5px;
  }

  .bubble {
    font-size: 16px;
    color: var(--color-text-subtlest);
    border-radius: 4px;
  }
}

.tinymce-editor.displaced:not(.notepad-screen) {
  .tox-editor-header {
    -webkit-position: fixed;
    position: fixed;
    top: 65px;
    transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

.draft-tip {
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-start;
  justify-content: center;

  padding: 6px 12px;

  border: 1px solid var(--color-gray-aaa, #aaa);
  border-radius: 5px;

  &.alert {
    border: 1px solid var(--default-color-red, #e31e24);
  }

  &.warn {
    border: 1px solid var(--default-color-orange, #ffc007);
  }

  &-buttons {
    display: flex;
    flex-flow: row nowrap;
    margin-left: auto;
  }

  &-text {
    overflow: hidden;
    max-width: calc(100% - 170px);
    text-overflow: clip;
    white-space: nowrap;
  }

  .href-button {
    cursor: pointer;

    font: var(--default-text-font);
    font-family: var(--default-font-family);
    line-height: var(--default-line-height);
    color: var(--color-href);
    text-decoration: underline;

    background: none;
    border: none;

    transition: opacity 0.2s ease;

    &:hover {
      opacity: 0.7;
    }
  }
}
