.app__name {
  display: block;

  font-size: 11px;
  font-weight: 400;
  line-height: 100%;
  color: var(--default-color);
}

.backgrop {
  position: absolute;
  inset: 0;
}

.recents {
  width: 500px;
  padding: 20px;
  background-color: var(--color-gray-fff);
}

a.logo {
  left: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  margin: 0;
  padding: 2px 0 7px;

  line-height: 160%;
  color: var(--menu-logo-color);
}

a.erp-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  font-weight: 600;
  color: white;

  .title-top {
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    font-weight: 600;
    color: white;
  }

  .title-bottom {
    font-size: 10px;
    font-weight: 400;
    color: white;
  }
}

#mainMenuLogo {
  max-width: 82%;
}

.menu {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;

  width: 56px;
  height: 100%; // при 100vh перекрывается скролбарами на небольших экранах (ноутбуках)
  padding: 7px 5px 0;

  background-color: var(--main-menu-bg-color);
  border-right: var(--main-menu-border);

  &:hover {
    div.menu__icon__hidden {
      visibility: visible;
    }
  }

  &__avatar__content {
    position: relative;
  }

  &.erp {
    width: 76px;
  }
}

.menu__item {
  cursor: pointer;

  display: flex;
  flex: 0 0 52px;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  line-height: 160%;
  color: var(--main-menu-icon-color);
  text-decoration: none;

  &.active {
    position: relative;
    padding: 0 20px;
    background: #2222220f;
  }

  .sub__title {
    margin-top: -8px;
    font-family: var(--bmenu-item-font);
    font-size: 10px;
    white-space: pre-line;

    &.line-height {
      margin-top: -3px;
      line-height: 1;
    }
  }
}

.favorites-wrapper {
  scrollbar-width: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
}

.favorites-wrapper::-webkit-scrollbar {
  display: none;
}

.scroll-button {
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  height: 20px;
}

.display-none {
  display: none;
}

.footer__menu {
  cursor: pointer;

  position: relative;

  // bottom: 12px;
  z-index: 1;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  margin-top: auto;
  margin-bottom: 12px;

  &__item {
    padding: 7px 10px 7px 7px;
  }
}

div.menu__icon__hidden {
  right: -15px;
  bottom: 4px;
  visibility: hidden;
}

span.app-person-status {
  top: 0;
  bottom: none;
  left: 26px;
}

.elipsis {
  // text-overflow: ellipsis;
  // width: 46px;
  // overflow: hidden;
  text-align: center;
  white-space: nowrap;
}

.block__dots {
  cursor: pointer;
  text-align: center;

  .dot {
    padding-left: 5px;

    &:first-child {
      padding-left: 0;
    }
  }
}

.letter-spacing {
  letter-spacing: 0.5px;
}

$bg-menu-hovered: #f4f5f7;

.project-recents {
  min-width: 250px;
  background: var(--color-gray-fff);

  // border: 2px solid var(--color-gray-eee);
  border-radius: 3px;
  box-shadow:
    rgb(78 78 78) 0 4px 8px -2px,
    rgb(9 30 66 / 31%) 0 0 1px 0;

  &__title {
    margin-top: 14px;
    margin-bottom: 6px;
    padding: 0 20px;

    font-size: 12px;
    font-weight: 600;
    color: var(--color-gray-888);
    text-transform: uppercase;
  }

  &__item {
    display: flex;
    align-items: center;

    padding: 8px 20px;

    color: var(--color-gray-222);
    text-decoration: none;

    &.disabled {
      color: var(--color-gray-aaa);
    }

    &:hover:not(.disabled) {
      background-color: var(--theme-hack-bg-color, $bg-menu-hovered);
    }

    .title,
    .sub-title {
      display: block;
    }

    .sub-title {
      overflow: hidden;
      display: block;

      font-size: 12px;
      color: var(--color-gray-888);
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }

  &__actions {
    margin-top: 6px;
    margin-bottom: 6px;
    border-top: 1px solid lightgray;

    .action {
      cursor: pointer;

      display: block;

      padding: 8px 20px;

      color: var(--color-gray-222);
      text-decoration: none;

      &:first-child {
        margin-top: 5px;
      }

      &:hover {
        background-color: $bg-menu-hovered;
      }
    }
  }
}

.person-menu-button {
  display: flex;
  align-items: center;

  .person-menu-icon {
    display: flex;
    align-items: center;
    margin-right: 21px;
    margin-left: 5px;
  }
}

.menu:hover .animation-hide {
  animation: show-caption 0.01s 0.01s 1;
  animation-fill-mode: both;
  animation-delay: 0.5s;
}

.animation-hide {
  opacity: 0;
}

img.img-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  visibility: hidden;
}

@keyframes show-caption {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
