

@import url('https://fonts.googleapis.com/css2?family=Forum&display=swap');

@font-face {
  font-family: 'Tilda Sans';
  src: url('/fileservice/file/download/h/64d7dfdac997e6be4ac37b41393287f8.woff2/a/117093/sc/265') format('woff2'),
    url('/fileservice/file/download/h/cf3c891d0c4bdf2d0c5f25e5e7d3bdf7.woff/a/117093/sc/435') format('woff'),
    url('/fileservice/file/download/h/28610083c9cea4c0509d2e90705e5a5e.eot/a/117093/sc/91') format('eot');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-family: "Tilda Sans", sans-serif;
  --second-family: "Forum", sans-serif;
  --white-color: #fff;
  --menu-light-color: rgba(255, 255, 255, 0.6);
  --menu-title-color: #f3f3f3;
  --menu-item-bg: transparent;
  --menu-item-bg-hover: transparent;
  --menu-item-bg-active: rgba(255, 255, 255, 0.08);
  --sidebar-bg: #300E09;
  --notification-color: #300e09;
  --padding: 3px 5px;
  --radius: 10px;

  --profile-bg: url('/pl/fileservice/user/file/download/h/c2cb6ea42e9b0a9cb51325ca73b9671c.svg');
  --search-bg-icon: url('/pl/fileservice/user/file/download/h/a894c7f3ff9c505f9e41ffb6ef1c069f.svg');
  --notification-bg: url('/pl/fileservice/user/file/download/h/74eaeb697530aee7c5f0f57ea6257e73.svg');
  --website-bg: url('/pl/fileservice/user/file/download/h/b01f5e7d6fc4aeadba7e03d7f408baf7.svg');
  --training-bg: url('/pl/fileservice/user/file/download/h/751fe6c05d39760ecefbeb7b8149283f.svg');
  --users-bg: url('/pl/fileservice/user/file/download/h/70232c2c92038752d5e16e216a86c0cb.svg');
  --crm-bg: url('/pl/fileservice/user/file/download/h/df651d613c926c34546698f6e7c937a8.svg');
  --messages-bg: url('/pl/fileservice/user/file/download/h/da1387f854d6b2d5741acee9f6801eaf.svg');
  --products-bg: url('/pl/fileservice/user/file/download/h/42a1792dcfa26234f52022a4e5d072cc.svg');
  --app-bg: url('/pl/fileservice/user/file/download/h/7b26b8b4dc223d84c919a5883c9e1508.svg');
  --profile-bg-active: url('/pl/fileservice/user/file/download/h/5cf18fbdbd0af51292c4acb88e9a1aa7.svg');
  --search-bg-active: url('/pl/fileservice/user/file/download/h/47c306e558dd4cb45a30791d3e0d1661.svg');
  --notification-bg-active: url('/pl/fileservice/user/file/download/h/18da9392f8103a7cc805cd13727effbf.svg');
  --website-bg-active: url('/pl/fileservice/user/file/download/h/4ec636da0849cee326e78fbbb69a2691.svg');
  --training-bg-active: url('/pl/fileservice/user/file/download/h/1145573d17fbd69674e41c491a6ee1f4.svg');
  --users-bg-active: url('/pl/fileservice/user/file/download/h/13bc341429c08a081526eb500943c673.svg');
  --crm-bg-active: url('/pl/fileservice/user/file/download/h/1ddc9d89997a3a40711296ccd76bca27.svg');
  --messages-bg-active: url('/pl/fileservice/user/file/download/h/300699d6bac808f24b60ac275dca75f8.svg');
  --products-bg-active: url('/pl/fileservice/user/file/download/h/a1257085533ad2cdd615bd0a4206f209.svg');
  --app-bg-active: url('/pl/fileservice/user/file/download/h/c351f609db5757139c044c0da14efb96.svg');
}

.logo-link {
  display: none;
}

/* Шрифты */
html .gc-account-leftbar {
  font-family: var(--font-family) !important;
  font-weight: 400;
}

html .gc-account-leftbar h1,
html .gc-account-leftbar h2,
html .gc-account-leftbar h3 {
  font-family: var(--second-family) !important;
  font-weight: 400;
  color: var(--menu-title-color) !important
}

/*Основные элементы*/
html .gc-account-leftbar {
  background: var(--sidebar-bg) !important;
}

.gc-account-leftbar .gc-account-user-menu {
  position: relative;
  z-index: 1;
}

html .gc-account-leftbar .gc-account-user-menu li {
  padding: var(--padding);
  margin-bottom: 0;
  border: none;
}

html .gc-account-leftbar .gc-account-user-menu li a {
  position: relative;
  border: none;
  border-radius: 50%;
  height: 60px;
  background-color: var(--menu-item-bg);
  transition: all 0.3s;
}

html .gc-account-leftbar .gc-account-user-menu li.selected a,
html .gc-account-leftbar .gc-account-user-menu li.active a {
  border-radius: 50%;
  background-color: var(--menu-item-bg-active);
}

html .gc-account-leftbar .gc-account-user-menu li a:hover,
html .gc-account-leftbar .gc-account-user-menu li.active a:hover {
  border-radius: 50%;
  background-color: var(--menu-item-bg-hover);
}

html .gc-account-leftbar .gc-account-user-menu li.menu-item-notifications_button_small {
  padding: var(--padding);
}

html .gc-account-leftbar .gc-account-user-menu li.menu-item-notifications_button_small a {
  position: relative;
  border: none;
  border-radius: 50%;
  height: 60px;
  background-color: var(--menu-item-bg);
  transition: all 0.3s;
}

html .gc-account-leftbar .gc-account-user-menu li.menu-item-notifications_button_small a:hover {
  background-color: var(--menu-item-bg-hover);
  border-radius: 50%;
}

html .gc-account-leftbar .gc-account-user-menu li.menu-item-notifications_button_small.selected a {
  background-color: var(--menu-item-bg-active);
  border-radius: 50%;
}

html .menu-item:not(.menu-item-profile) a img {
  display: none;
}

html .menu-item:not(.menu-item-profile) a::before,
html .sub-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  width: 24px;
  height: 24px;
}

/* Ссылки на картинки */
/* Профиль */
html .menu-item-profile a::before {
  background-image: var(--profile-bg);
}

html .menu-item-search a::before {
  background-image: var(--search-bg-icon);
}

html .menu-item-notifications_button_small a::before {
  background-image: var(--notification-bg);
  /* уведомления */
  width: 22px !important;
  height: 24px !important;
}

html .menu-item-cms a::before {
  background-image: var(--website-bg);
  /* сайт */
}

html .menu-item-teach a::before {
  background-image: var(--training-bg);
  /* обучение */
}

html .menu-item-user a::before,
html .menu-item-chatium .sub-icon::before {
  background-image: var(--users-bg);
  /* пользователи */
}

html .menu-item-tasks a::before {
  background-image: var(--crm-bg);
  /* задачи */
}

html .menu-item-notifications a::before {
  background-image: var(--messages-bg);
  /* сообщения */
}

html .menu-item-sales a::before {
  background-image: var(--products-bg);
  /* продажи */
}

html .menu-item-chatium a::before {
  background-image: var(--app-bg);
  /* чатиум */
}

html .menu-item-profile.active a::before,
html .menu-item-profile.selected a::before,
html .menu-item-profile:hover a::before {
  background-image: var(--profile-bg);
}

html .menu-item-search.active a::before,
html .menu-item-search.selected a::before,
html .menu-item-search:hover a::before {
  background-image: var(--search-bg-active);
}

html .menu-item-notifications_button_small.active a::before,
html .menu-item-notifications_button_small.selected a::before,
html .menu-item-notifications_button_small:hover a::before {
  background-image: var(--notification-bg-active);
  width: 24px;
  height: 24px;
}

html .menu-item-cms.active a::before,
html .menu-item-cms.selected a::before,
html .menu-item-cms:hover a::before {
  background-image: var(--website-bg-active);
  /* сайт */
}

html .menu-item-teach.active a::before,
html .menu-item-teach.selected a::before,
html .menu-item-teach:hover a::before {
  background-image: var(--training-bg-active);
  /* обучение */
}

html .menu-item-user.active a::before,
html .menu-item-chatium .sub-icon::before,
html .menu-item-user.selected a::before,
html .menu-item-user:hover a::before {
  background-image: var(--users-bg-active);
  /* пользователи */
}

html .menu-item-tasks.active a::before,
html .menu-item-tasks.selected a::before,
html .menu-item-tasks:hover a::before {
  background-image: var(--crm-bg-active);
  /* задачи */
  width: 34px;
}

html .menu-item-notifications.active a::before,
html .menu-item-notifications.selected a::before,
html .menu-item-notifications:hover a::before{
  background-image: var(--messages-bg-active);
  /* сообщения */
}

html .menu-item-sales.active a::before,
html .menu-item-sales.selected a::before,
html .menu-item-sales:hover a::before{
  background-image: var(--products-bg-active);
  /* продажи */
}

html .menu-item-chatium.active a::before,
html .menu-item-chatium.selected a::before,
html .menu-item-chatium:hover a::before{
  background-image: var(--app-bg-active);
  /* чатиум */
}

/* 1 Профиль */
html .gc-account-user-menu li.menu-item.menu-item-profile {
  background: transparent;
  /* фон профиля (когда без фото) */
  border: 0;
}

html .gc-account-leftbar .gc-account-user-menu li.menu-item-profile a {
  background-color: var(--menu-item-bg);
  padding: 0 10px;
  border-radius: 50%;
}

html .gc-account-user-menu li.menu-item.menu-item-profile a:hover {
  background: var(--menu-item-bg);
  border-radius: 50%;
  /* фон профиля (без фото) при наведении */
}

html .gc-account-leftbar .gc-account-user-submenu-bar div.user-balance,
html .gc-account-leftbar .gc-account-user-submenu-bar .no-notifications-message{
  color: var(--white-color);
  /* Цвет текста про монеты */
}

/* 2A Окно уведомлений (непрочитанные) */
html .gc-account-leftbar .gc-account-user-submenu-bar-notifications_button_small .notification-group {
  border-top-color: var(---menu-title-color);
  background-color: transparent;
  color: var(--white-color);
  transition: all 0.3s;
}

html .gc-account-leftbar .gc-account-user-submenu-bar-notifications_button_small .notification-group:hover {
  background-color: transparent;
  color: var(--white-color);
}

html .gc-account-leftbar .gc-account-user-submenu-bar-notifications_button_small .notification-group.notification-status-viewed {
  border-top-color: var(--menu-light-color);
  background-color: transparent;
  color: var(--menu-light-color);
}

html .gc-account-leftbar .gc-account-user-submenu-bar-notifications_button_small .notification-group.notification-status-viewed:hover {
  background-color: transparent;
  color: var(--menu-light-color);
}

html .gc-account-leftbar .gc-account-user-submenu-bar-notifications_button_small .all-notifications-footer-link {
  color: var(--white-color);
}

html .gc-account-leftbar .gc-account-user-submenu-bar-notifications_button_small .all-notifications-footer-link,
html .gc-account-leftbar .mark-viewed-all {
  font-weight: 400;
  font-size: 12px;
  color: var(--menu-light-color);
  transition: all 0.3s;
}

html .gc-account-leftbar .gc-account-user-submenu-bar-notifications_button_small .all-notifications-header-link:hover,
html .gc-account-leftbar .gc-account-user-submenu-bar-notifications_button_small .all-notifications-footer-link:hover,
html .gc-account-leftbar .mark-viewed-all:hover {
  color: var(--menu-light-color);
  transition: all 0.3s;
}

html .gc-account-leftbar .gc-account-user-submenu-bar-notifications_button_small .all-notifications-header-link {
  font-weight: 600;
  color: var(--menu-light-color);
}

html .gc-account-leftbar .gc-account-user-submenu-bar-notifications_button_small .notification-group .user-image {
  overflow: hidden;
  border-radius: var(--radius);
  background-color: rgb(0 0 0 / 5%);
}

/* 3 Счётчики уведомлений */
html .gc-account-leftbar .notify-count {
  right: -3px;
  bottom: -3px;
  background-color: #f6f7f6;
  border-radius: 2px;
  padding: 4px 0;
  color: var(--notification-color);
}

html .gc-account-leftbar .gc-account-user-menu li.menu-item-notifications .notify-count {
  background-color: #f6f7f6;
  color: var(--notification-color);
}

.gc-account-leftbar .gc-account-user-menu li.menu-item-notifications_button_small .notify-count {
  right: -3px;
  bottom: -3px;
}

.gc-account-user-submenu-bar .gc-account-user-submenu li .notify-count {
  right: 10px;
  top: 10px;
  bottom: inherit;
}

/* Вылезающее подменю */
html .gc-account-leftbar .gc-account-user-submenu-bar {
  background: var(--sidebar-bg);
}

html .gc-account-user-submenu-bar .gc-account-user-submenu li a {
  text-transform: inherit;
  font-family: var(--font-family) !important;
  font-weight: 300;
  font-size: clamp(14px, 2vw, 18px);
  color: var(--menu-light-color);
  padding-left: 30px;
  transition: all .3s ease;
}

html .gc-account-user-submenu-bar .gc-account-user-submenu li a:hover {
  background-color: transparent;
  color: var(--white-color);
}

html .gc-account-user-submenu-bar h3 {
  color: var(--menu-title-color);
  padding-left: 30px
}

html .gc-account-leftbar span.sub-icon {
  background-color: transparent;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

html .menu-item.menu-item-profile a img:not([src="/public/img/default_profile_50.png"]) {
  display: block;
  position: relative;
  z-index: 0;
  border-radius: 50%;
}

html .sub-icon::before {
  width: 16px;
  height: 16px;
}

html .sub-icon .fa,
html .sub-icon img {
  display: none;
}

.fz-left-menu-profile .menu-user-name,
.fz-left-menu-profile .menu-user-email {
  font-family: var(--font-family);
  font-weight: 400;
  color: var(--menu-light-color) !important;
}

@media (max-width: 768px) {

  html .gc-account-leftbar {
    background: var(--sidebar-bg) !important;
  }

  html .gc-account-leftbar .toggle-link,
  html .gc-account-leftbar.expanded .toggle-link {
    background: var(--sidebar-bg);
  }

  html .gc-account-leftbar .gc-account-user-menu {
    background: var(--sidebar-bg);
  }

  html .gc-account-leftbar .gc-account-user-menu li {
    border-bottom: 0;
  }

  html .gc-page-nav-items-menu {
    left: 70px;
  }

  html .gc-page-nav-items-menu a {
    background: transparent;
    opacity: 0;
  }
}
