

@import url('https://fonts.googleapis.com/css2?family=Geologica:wght,CRSV@100..900,1&display=swap');

:root {
  --font-family: "Geologica", sans-serif;
  --white-color: #fff;
  --light-color: #f4f0ef;
  --text-primary: #5e5e5e;
  --menu-item-bg: rgba(255, 255, 255, 0.2);
  --menu-item-bg-hover: rgba(255, 255, 255, 0.4);
  --menu-item-bg-active: #fff;
  --sidebar-bg: #bf8d8e;
  --padding: 3px 5px;
  --radius: 10px;

  --profile-bg: url('https://fs.getcourse.ru/fileservice/file/download/a/705951/sc/332/h/6b2ef63191c9af063dede41dd3a06d4f.svg');
  --notification-bg: url('https://fs.getcourse.ru/fileservice/file/download/a/705951/sc/42/h/01f812731cd64e2b62f72a83d3e48026.svg');
  --website-bg: url('https://fs.getcourse.ru/fileservice/file/download/a/705951/sc/482/h/6821b798a2e32366e39d1659f642434d.svg');
  --training-bg: url('https://fs.getcourse.ru/fileservice/file/download/a/705951/sc/264/h/de484cc9fc78a44784bbf2d23c68909d.svg');
  --users-bg: url('https://fs.getcourse.ru/fileservice/file/download/a/705951/sc/43/h/c111372b90ed4162132715578ca66ffe.svg');
  --crm-bg: url('https://fs.getcourse.ru/fileservice/file/download/a/705951/sc/162/h/086b39bf09533ffbb2d409916328ff8f.svg');
  --messages-bg: url('https://fs.getcourse.ru/fileservice/file/download/a/705951/sc/151/h/8e0dd49844a5d52bc0309c81b749c35f.svg');
  --products-bg: url('https://fs.getcourse.ru/fileservice/file/download/a/705951/sc/250/h/28478f5561dc8ae16c9bb53f26a51fcd.svg');
  --app-bg: url('https://fs.getcourse.ru/fileservice/file/download/a/705951/sc/284/h/96b5ac7aa52ad34eb4acdee885337340.svg');
  --profile-bg-active: url('');
  --notification-bg-active: url('https://fs.getcourse.ru/fileservice/file/download/a/705951/sc/94/h/e09008030743f4dbcc1d49b79826d03f.svg');
  --website-bg-active: url('https://fs.getcourse.ru/fileservice/file/download/a/705951/sc/107/h/865dd13e9f2460ca177198835acd571b.svg');
  --training-bg-active: url('https://fs.getcourse.ru/fileservice/file/download/a/705951/sc/343/h/b2e9188f5104dcdebf249bdf5e4e48b0.svg');
  --users-bg-active: url('https://fs.getcourse.ru/fileservice/file/download/a/705951/sc/328/h/7aac89bacd7cc43bae63ce5304343a67.svg');
  --crm-bg-active: url('https://fs.getcourse.ru/fileservice/file/download/a/705951/sc/62/h/edbf493e42294593451d78a3553f308c.svg');
  --messages-bg-active: url('https://fs.getcourse.ru/fileservice/file/download/a/705951/sc/231/h/e436b9723957e302e3aa0bb2de2ea55d.svg');
  --products-bg-active: url('https://fs.getcourse.ru/fileservice/file/download/a/705951/sc/192/h/e099056a6eb109827cc5ed56cae227b0.svg');
  --app-bg-active: url('https://fs.getcourse.ru/fileservice/file/download/a/705951/sc/71/h/80827173c74e99f3c0ae396e555e194c.svg');
}

.logo-link {
  display: none;
}

/* Шрифты */
html .gc-account-leftbar {
  font-family: var(--font-family) !important;
  font-weight: 500;
}

html .gc-account-leftbar h1,
html .gc-account-leftbar h2,
html .gc-account-leftbar h3 {
  font-family: var(--font-family) !important;
  font-weight: 500;
  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-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: 15px;
  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: 15px;
}

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: 15px;
}

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-notifications_button_small.active a::before,
html .menu-item-notifications_button_small.selected 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 {
  background-image: var(--website-bg-active);
  /* сайт */
}

html .menu-item-teach.active a::before,
html .menu-item-teach.selected 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 {
  background-image: var(--users-bg-active);
  /* пользователи */
}

html .menu-item-tasks.active a::before,
html .menu-item-tasks.selected a::before {
  background-image: var(--crm-bg-active);
  /* задачи */
  width: 34px;
}

html .menu-item-notifications.active a::before,
html .menu-item-notifications.selected a::before {
  background-image: var(--messages-bg-active);
  /* сообщения */
}

html .menu-item-sales.active a::before,
html .menu-item-sales.selected a::before {
  background-image: var(--products-bg-active);
  /* продажи */
}

html .menu-item-chatium.active a::before,
html .menu-item-chatium.selected 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 {
  color: var(--white-color);
  /* Цвет текста про монеты */
}

/* 2A Окно уведомлений (непрочитанные) */
html .gc-account-leftbar .gc-account-user-submenu-bar-notifications_button_small .notification-group {
  border-top-color: var(--accent-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;
  }
}
