

@font-face {
  font-family: 'Tilda Sans VF';
  src: url('/fileservice/file/download/h/ed86e8f617a74718d629612073b20abd.ttf/a/18724/sc/103') format('truetype'),
    url('/fileservice/file/download/h/6223d4badef8d1db757257a8b3e9d923.woff/a/18724/sc/249') format('woff'),
    url('/fileservice/file/download/h/a4d73c691f0ad64c78bac8519a533d3b.woff2/a/18724/sc/239') format('woff2');
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Disruptors Script';
  src: url('/fileservice/file/download/h/e8c5b87d58c0fe63b0ffb48226a86a7f.ttf/a/18724/sc/305') format('truetype'),
    url('/fileservice/file/download/h/ff2691046dbb1f17e161c4bf8ccfc946.woff/a/18724/sc/293') format('woff'),
    url('/fileservice/file/download/h/48c0a8e3b26934ecfe903cc93eb147c0.woff2/a/18724/sc/241') format('woff2');
  font-style: normal;
  font-display: swap;
}

:root {
  --font-family: "Tilda Sans VF", sans-serif;
  --second-family: "Disruptors Script", sans-serif;
  --white-color: #fff;
  --light-color: #f0f0f0;
  --text-primary: #322e2f;
  --sidebar-bg: #d34415;
  --text-secondary: #121212;
  --text-accent: #000;
  --padding: 3px 5px;
  --radius: 10px;

  --profile-bg: url('/pl/fileservice/user/file/download/h/7575471f820da5a0da9dd2ca2268501e.svg');
  --notification-bg: url('/pl/fileservice/user/file/download/h/0b49b4238af67e89bd3aca9f200a8ffc.svg');
  --website-bg: url('/pl/fileservice/user/file/download/h/93447e76a74b9c34a3a3e2a1e853c1d4.svg');
  --training-bg: url('/pl/fileservice/user/file/download/h/b49f84161ffa148fbcb6b7e51dc37ae8.svg');
  --users-bg: url('/pl/fileservice/user/file/download/h/b33dde5131712f6cfd6275fe9fa34d76.svg');
  --crm-bg: url('/pl/fileservice/user/file/download/h/59ea2e64cbbd195f2163a873589a9370.svg');
  --messages-bg: url('/pl/fileservice/user/file/download/h/50613542c93e669f9c411f551a93083a.svg');
  --products-bg: url('/pl/fileservice/user/file/download/h/dfbaefacbaf6b05c67ffcfa4b8d61307.svg');
  --app-bg: url('/pl/fileservice/user/file/download/h/b4ea5b0e19b82e271998ad5bba76e069.svg');
}

.logo-link {
  display: none;
}

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

html .gc-account-leftbar h1,
html .gc-account-leftbar h2,
html .gc-account-leftbar h3 {
  font-family: var(--font-family) !important;
  font-weight: 600;
  color: var(--text-primary) !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: 10px;
  height: 60px;
  background-color: #a82724;
  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: 10px;
  background-color: #a82724;
}

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: 10px;
  background-color: #a82724;
}

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: 10px;
  height: 60px;
  background-color: #a82724;
  transition: all 0.3s;
}

html .gc-account-leftbar .gc-account-user-menu li.menu-item-notifications_button_small a:hover {
  background-color: #a82724;
  border-radius: 10px;
}

html .gc-account-leftbar .gc-account-user-menu li.menu-item-notifications_button_small.selected a {
  background-color: #a82724;
  border-radius: 10px;
}

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: 30px;
  height: 30px;
}

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

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);
  /* чатиум */
}

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

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

html .gc-account-leftbar .gc-account-user-menu li.menu-item-profile a {
  background-color: #a82724;
  padding: 0 10px;
}

html .gc-account-leftbar .gc-account-user-submenu-bar div.user-balance,
.fz-left-menu-profile .menu-user-name,
.fz-left-menu-profile .menu-user-email {
  color: var(--text-primary) !important;
  /* Цвет текста про монеты */
}

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

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

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

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

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

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(--text-primary);
  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(--text-primary);
  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(--text-primary);
}

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: var(--white-color);
  padding: 4px 0;
  color: var(--text-primary);
}

html .gc-account-leftbar .gc-account-user-menu li.menu-item-notifications .notify-count {
  background-color: var(--white-color);
  color: var(--text-primary);
}

.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;
  background-color: var(--accent-text-color);
  color: var(--white-color);
}

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

html .gc-account-user-submenu-bar .gc-account-user-submenu li a {
  text-transform: inherit;
  font-family: var(--font-family) !important;
  font-weight: 400;
  color: var(--text-primary);
  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(--text-primary);
}

html .gc-account-user-submenu-bar h3 {
  color: var(--text-primary);
  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;
}

@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(--white-color);
  }

  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;
  }
}
