


/* Боковое меню - НАЧАЛО */

@import url('https://fonts.googleapis.com/css2?family=Forum&display=swap');
:root {
    /* Основные цвета */
    /* обводка аватара в профиле (тем же цветом - иконки в разделах) */
    --Mcolor1: #161616;
    /* фон уведомлений в подменю */
    --Mcolor2: #FF00FF;
     --Mcolor4: #9900FF;
    /* белый */
    --Mwhite: #ffffff;
    /* черный */
    --Mblack: #161616;
    /* фон меню */
    --Mbackground: #ffffff;
    /* фон под иконки в состоянии покоя */
    --Mbackground2: transparent;
    /* фон под иконки в состоянии наведения */
    --Mbackground3: #ffffff30;
    /* шрифт */
    --Mfont: 'Forum', serif!important;
    --Mfont2: 'Forum', serif!important;
    

    
    /* Иконки меню в спокойном состоянии */
    /* рупор-уведомления */
    --button-small: url('https://fs.getcourse.ru/fileservice/file/download/a/876576/sc/163/h/f1ff23778d91d728169e53f7ed0a1f43.png');
    /* сайт */
    --item-cms: url('https://fs.getcourse.ru/fileservice/file/download/a/876576/sc/232/h/7ac9ed08a0f86afd0b14393a5a40356d.png');
    /* обучение */
    --item-teach: url('https://fs.getcourse.ru/fileservice/file/download/a/876576/sc/334/h/aaa699fbee754e39720ae12da8a3e03e.png');
    /* пользователи */
    --item-user: url('https://fs.getcourse.ru/fileservice/file/download/a/876576/sc/149/h/10d2936cd20aba4d3986af775f65264f.png');
    /* задачи */
    --item-tasks: url('https://fs.getcourse.ru/fileservice/file/download/a/876576/sc/58/h/925f91e878ecec82823cb1d141800591.png');
    /* сообщения */
    --item-notif: url('https://fs.getcourse.ru/fileservice/file/download/a/876576/sc/288/h/692992aa5e0bbfef3e5ba3d9305c1a49.png');
    /* продажи */
    --item-sales: url('https://fs.getcourse.ru/fileservice/file/download/a/876576/sc/22/h/ac01db52ca02049329732065aa12e846.png');
    /* приложение */
    --item-chatium: url('https://fs.getcourse.ru/fileservice/file/download/a/876576/sc/402/h/6f4fbcf8ac5c5ab37f67a9ee379ad228.png');
}
  




/* Боковая панель  */
.gc-account-leftbar, 
/* контейнер в боковой панели с  разделами меню */
.gc-account-leftbar .gc-account-user-menu {
    /* фон меню */
    background-color: #161616;


}

/*  Левая панель - Разделы с иконками (ссылки) */
/*  рупор - уведомления */
li.menu-item.menu-item-notifications_button_small a,
/*  сайт */
li.menu-item.menu-item-cms a,
/* обучение */
li.menu-item.menu-item-teach a,
/* пользователи */
li.menu-item.menu-item-user a,
/* задачи */
li.menu-item.menu-item-tasks a,
/* сообщения */
li.menu-item.menu-item-notifications a,
/* продажи */
li.menu-item.menu-item-sales a,
/* приложение */
li.menu-item.menu-item-chatium a {
    display: block;
    /* фон в состоянии покоя */
    background: var(--Mbackground2);
    /* оступы сверху слева-справа и снизу */
    margin: 12px auto 20px;
    /* размеры разделов под иконки */
    width: 54px;
    height: 54px;
    /* радиус скругления */
    border-radius: 10px;
    border: 1px solid var(--Mcolor4);
    transition: all 0.3s;
    */
}

/* Скрываем марафон для админов чтоб не мешал */
li.menu-item-marathon {
    display: none;
}

/*  Левая панель - убираем разделители между иконками-разделами */
.gc-account-leftbar .gc-account-user-menu li {
    border-bottom: none;
}

/* Разделы под иконки при наведении на разделы */
.gc-account-leftbar .gc-account-user-menu li:hover a,
.gc-account-leftbar .gc-account-user-menu li.active a, 
.gc-account-leftbar .gc-account-user-menu li.selected a {
    /* фон под иконками */
    background: var(--Mbackground3)!important;
}

/* Раздел с иконкой профиля - аватар */
li.menu-item-profile .menu-item-icon {
    /* радиус скругления */
    border-radius: 10px;
    /* размер изображения */
    width: 52px;
    height: 52px;
    /* граница - обводка иконки профиля */
    border: 3px solid var(--Mcolor4);
}

/* Левая панель - раздел с иконкой профиля (ссылка) */
li.menu-item.menu-item-profile a {
    /* прозрачный фон */
    background: transparent!important;
    transition: all 0.3s;
}

/* Раздел с аватаркой профиля при наведении/выборе */
li.menu-item.menu-item-profile a:hover,
li.menu-item.menu-item-profile.active a,
li.menu-item.menu-item-profile.selected a {
    background: none!important;
}

/* Системные иконки Меню - скрываем, чтобы поставить свои */
/*  рупор - уведомления */
li.menu-item.menu-item-notifications_button_small a img,
/*  сайт */
li.menu-item.menu-item-cms a img,
/* обучение */
li.menu-item.menu-item-teach a img,
/* пользователи */
li.menu-item.menu-item-user a img,
/* задачи */
li.menu-item.menu-item-tasks a img,
/* сообщения */
li.menu-item.menu-item-notifications a img,
/* продажи */
li.menu-item.menu-item-sales a img,
/* приложение */
li.menu-item.menu-item-chatium a img {
    display: none;
}

/* новые иконки через псевдоэлемент - позиционируем, задаём размер */
/*  сайт */
li.menu-item.menu-item-cms a::after,
/* обучение */
li.menu-item.menu-item-teach a::after,
/* пользователи */
li.menu-item.menu-item-user a::after,
/* задачи */
li.menu-item.menu-item-tasks a::after,
/* сообщения */
li.menu-item.menu-item-notifications a::after,
/* покупки */
li.menu-item.menu-item-sales a::after,
/* приложение */
li.menu-item.menu-item-chatium a::after {  
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    border-radius: 10px;
    /*  размер иконок */
    width: 29px;
    height: 29px;
}

/* ссылки на новые иконки к разделам меню - в состоянии покоя */
li.menu-item.menu-item-cms a::after {background-image: var(--item-cms);filter: brightness(0) saturate(100%) invert(11%) sepia(88%) saturate(6147%) hue-rotate(275deg) brightness(108%) contrast(122%) !important;}
li.menu-item.menu-item-teach a::after {background-image: var(--item-teach);filter: brightness(0) saturate(100%) invert(11%) sepia(88%) saturate(6147%) hue-rotate(275deg) brightness(108%) contrast(122%) !important;}
li.menu-item.menu-item-user a::after {background-image: var(--item-user);filter: brightness(0) saturate(100%) invert(11%) sepia(88%) saturate(6147%) hue-rotate(275deg) brightness(108%) contrast(122%) !important;}
li.menu-item.menu-item-tasks a::after {background-image: var(--item-tasks);filter: brightness(0) saturate(100%) invert(11%) sepia(88%) saturate(6147%) hue-rotate(275deg) brightness(108%) contrast(122%) !important;}
li.menu-item.menu-item-notifications a::after {background-image: var(--item-notif);filter: brightness(0) saturate(100%) invert(11%) sepia(88%) saturate(6147%) hue-rotate(275deg) brightness(108%) contrast(122%) !important;}
li.menu-item.menu-item-sales a::after {background-image: var(--item-sales);filter: brightness(0) saturate(100%) invert(11%) sepia(88%) saturate(6147%) hue-rotate(275deg) brightness(108%) contrast(122%) !important;}
li.menu-item.menu-item-chatium a::after {background-image: var(--item-chatium);filter: brightness(0) saturate(100%) invert(11%) sepia(88%) saturate(6147%) hue-rotate(275deg) brightness(108%) contrast(122%) !important;}

/* новая иконка - рупор - позиционируем, задаём цвет */
li.menu-item.menu-item-notifications_button_small a::after {
    content: ''; 
    position: absolute; 
    /*  ссылка на иконку рупора - в состоянии покоя */
    background-image: var(--button-small);
    /* позиционирование посередине по высоте и горизонтали */
    top: 50%; 
    left: 50%;  
    transform: translate(-50%, -50%); 
    background-size: contain; 
    background-repeat: no-repeat; 
    display: block;
    border: 0px solid var(--Mcolor1);
    /*  размер иконки */
    width: 24px;
    height: 24px;
filter: brightness(0) saturate(100%) invert(11%) sepia(88%) saturate(6147%) hue-rotate(275deg) brightness(108%) contrast(122%) !important;
}

/* Счетчик уведомлений в боковом меню - у рупора */
.gc-account-leftbar .gc-account-user-menu li.menu-item-notifications_button_small .notify-count {
    z-index: 2;
    font-family: var(--Mfont)!important; 
    font-size: 0.8em!important;
    font-weight: 700;
    text-align: center;
    /* цвет текста уведомлений */
    color: var(--Mwhite)!important;
    /* цвет фона уведомлений */
    background: var(--Mcolor4);
   /* скругление границы фона */
    border-radius: 6px;
}

/* Счетчик уведомлений в боковом меню - разделы */
/* сообщения */
.gc-account-leftbar .gc-account-user-menu li.menu-item-notifications .notify-count,
/* обучение */
.gc-account-leftbar .gc-account-user-menu li.menu-item-teach .notify-count,
/* покупки */
.gc-account-leftbar .gc-account-user-menu li.menu-item.menu-item-sales .notify-count {
    z-index: 2;
    font-family: var(--Mfont2)!important; 
    font-size: 0.8em!important;
    font-weight: 700;
    text-align: center;
    /* цвет текста уведомлений */
    color: var(--Mwhite);
    /* цвет фона уведомлений */
    background: var(--Mcolor2);
   /* скругление границы фона */
    border-radius: 6px;
   /* позиционирование */
    position: absolute;
    bottom: 38px;
    right: 4px;
    padding: 5px 0px;
}

/* Раскрывающееся меню - подменю */
.gc-account-leftbar .gc-account-user-submenu-bar {
    /* фон подменю */
    background: var(--Mbackground);
}

/* Заголовок подменю */
.gc-account-user-submenu-bar H3 {
    /* шрифт */
    font-family: var(--Mfont2);
    /* размер шрифта */
    font-size: 26px;
    /* толщина написания */
    font-weight: 500;
    /* цвет текста */
    color: var(--Mcolor1);
    /* нижнее подчеркивание */
    border-bottom: 1px solid var(--Mcolor1);
    padding-bottom: 20px;
    padding-left: 20px;
    margin-top: 30px;
    margin-bottom: 10px;
}

/* Разделы в подменю */
.gc-account-user-submenu-bar .gc-account-user-submenu li a {
    /* шрифт */
    font-family: var(--Mfont2); 
    /* размер шрифта */
    font-size: 16px;
    font-weight: 400;
    /* каждое слово с заглавной буквы */
    text-transform: capitalize;
    /* цвет текста */
    color: var(--Mcolor1);
    padding-left: 20px;
    transition: all 0.3s;
}

/* разделы в подменю при наведении */
.gc-account-user-submenu-bar .gc-account-user-submenu li a:hover {
    /* цвет фона */
    background-color: var(--Mcolor3);
    /* цвет текста */
    color: #9900FF;
}

/* Счетчик уведомлений в раскрывающемся меню */
.gc-account-leftbar .gc-account-user-submenu li .notify-count {
    font-family: var(--Mfont2)!important; 
    /* цвет текста */
    color: var(--Mblack);
   /* фон уведомлений в подменю */
    background:  var(--Mcolor2);
   /* скругление границы фона */
    border-radius: 6px;
}

/* раздел в меню с бонусными рублями, депозитом и монетами */
.user-balance {
    margin-top: 20px!important;
    margin-bottom: 10px;
    /* шрифт */
    font-family: var(--Mfont);     
    /* цвет текста */
    color: var(--Mblack);
}

/* Скрываем марафон для админов чтоб не мешал */
.menu-item-marathon {
    display: none;
}

/* Мобильная адаптация */ 
@media (max-width: 768px) {
    /* Нижняя плашка меню */ 
    .gc-account-leftbar .toggle-link {
        /* фон */ 
        background: var(--Mbackground);
    }
    /* Надпись Действие */     
    .gc-page-nav-items-menu a {
        /* шрифт текста */ 
        font-family: var(--Mfont2);
        /* цвет текста */ 
        color: var(--Mwhite);
        /* фон */ 
        background: var(--Mbackground);
    }
}

@media (max-width: 460px) {
    /* Заголовок подменю */
    .gc-account-user-submenu-bar h3 {
        font-size: 20px!important;
    }
    /* Разделы в раскрывающемся меню */
    .gc-account-user-submenu-bar .gc-account-user-submenu li a {
         font-size: 14px!important;
    }
}



/* Боковое меню - конец */

