

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

:root {
  --font-family: "Manrope", sans-serif;
  --white-color: #fff;
  --light-color: #f0f0f0;
  --text-primary: #181818;
  --menu-item-bg: #202020;
  --menu-item-bg-active: #f0f0f0;
  --sidebar-bg: #0e0e0e;
  --padding: 3px 5px;
  --radius: 10px;

  --profile-bg: url('https://fs.getcourse.ru/fileservice/file/download/a/812008/sc/319/h/3b3d6f936e2f95f81bb9ddce7f92e980.svg');
  --notification-bg: url('https://fs.getcourse.ru/fileservice/file/download/a/812008/sc/402/h/89703876597d8287d45932762016bdc6.svg');
  --website-bg: url('https://fs.getcourse.ru/fileservice/file/download/a/812008/sc/117/h/4989ff17878a35066e720c4aad77ac55.svg');
  --training-bg: url('https://fs.getcourse.ru/fileservice/file/download/a/812008/sc/506/h/0648d4d22b4e5615132bf590f5e00295.svg');
  --users-bg: url('https://fs.getcourse.ru/fileservice/file/download/a/812008/sc/227/h/851a72a6bf02fe323e011cdf13f636fd.svg');
  --crm-bg: url('https://fs.getcourse.ru/fileservice/file/download/a/812008/sc/158/h/1696a0d8a82c8362c4ce741588a49edc.svg');
  --messages-bg: url('https://fs.getcourse.ru/fileservice/file/download/a/812008/sc/298/h/9aeb1e534ebcb6b464887bf9b272cf70.svg');
  --products-bg: url('https://fs.getcourse.ru/fileservice/file/download/a/812008/sc/339/h/adfbfdf13221793cbe9ed48b581f3a44.svg');
  --app-bg: url('https://fs.getcourse.ru/fileservice/file/download/a/812008/sc/250/h/afa541eb41929dd8ced400dd8968f920.svg');
  --profile-bg-active: url('https://fs.getcourse.ru/fileservice/file/download/a/812008/sc/92/h/9ee091ed75ca4100dc216954b914805b.svg');
  --notification-bg-active: url('https://fs.getcourse.ru/fileservice/file/download/a/812008/sc/471/h/74607aea6b418960439c742487a9113b.svg');
  --website-bg-active: url('https://fs.getcourse.ru/fileservice/file/download/a/812008/sc/25/h/d6f232e45a1a4b43a010840b6595123e.svg');
  --training-bg-active: url('https://fs.getcourse.ru/fileservice/file/download/a/812008/sc/190/h/95c0803a74b7305acc69bb3bf38ff216.svg');
  --users-bg-active: url('https://fs.getcourse.ru/fileservice/file/download/a/812008/sc/175/h/91cab75830c2d27702b0e8ead1d12d62.svg');
  --crm-bg-active: url('https://fs.getcourse.ru/fileservice/file/download/a/812008/sc/228/h/b532ebcfa4528b1d44f006bf594b3e41.svg');
  --messages-bg-active: url('https://fs.getcourse.ru/fileservice/file/download/a/812008/sc/252/h/8b5b8dc77e75c328e3d4bb582dca6903.svg');
  --products-bg-active: url('https://fs.getcourse.ru/fileservice/file/download/a/812008/sc/379/h/8cbf57d97e2d8a06bb1ad1b3537fea1b.svg');
  --app-bg-active: url('https://fs.getcourse.ru/fileservice/file/download/a/812008/sc/81/h/7c99938fb6656dc4d7b3630265ea7578.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(--white-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: 10px;
  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: 10px;
  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: 10px;
  background-color: var(--menu-item-bg-active);
}

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: 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-active);
  border-radius: 10px;
}

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: 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);
  /* чатиум */
}

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-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: 30px;
  height: 30px;
}

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: 10px;
}

html .gc-account-user-menu li.menu-item.menu-item-profile a:hover {
  background: var(--menu-item-bg-active);
  border-radius: 10px;
  /* фон профиля (без фото) при наведении */
}

html .gc-account-leftbar .gc-account-user-submenu-bar div.user-balance {
  color: var(--white-color);
  /* Цвет текста про монеты */
}

/* 2A Окно уведомлений (непрочитанные) */
html .gc-account-leftbar .gc-account-user-submenu-bar-notifications_button_small .notification-group {
  border-top-color: var(--light-color);
  background-color: var(--light-color);
  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: var(--light-color);
  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(--light-color);
  background-color: transparent;
  color: var(--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(--light-color);
}

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(--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(--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(--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: var(--light-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(--light-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;
}

/* Вылезающее подменю */
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: 400;
  color: var(--white-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(--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(--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;
  }
}
