
/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

/* Боковая панель  */
.gc-account-leftbar, 
/* контейнер в боковой панели с  разделами меню */
.gc-account-leftbar {
     background: var(--Mbackground);
    background: var(--MbackgroundGrd) !important;
}
.gc-account-user-menu {
    background: transparent;
}

/*  Левая панель - Разделы с иконками (ссылки) */
/*лупа-поиск*/
li.menu-item.menu-item-search a,
/*  рупор - уведомления */
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 12px;
    width: 58px;
    height: 58px;
    border-radius: 10px;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

/*
li.menu-item.menu-item-search img {
    max-width: 100%;
    padding: 10px 4px 3px;
}
*/
/* Скрываем марафон для админов чтоб не мешал */
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;
}

/* Разделы под иконки при наведении на разделы */
.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: 100px;
    width: 52px;
    height: 52px;
    border: 3px solid var(--Mcolor1);
}

/* Левая панель - раздел с иконкой профиля (ссылка) */
li.menu-item.menu-item-profile a {
    background: transparent!important;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    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;
}
.gc-account-leftbar .gc-account-user-menu li.selected a::after,
li.menu-item.menu-item-search a:hover::after,
li.menu-item.menu-item-search.active a::after,
li.menu-item.menu-item-notifications_button_small a:hover::after,
li.menu-item.menu-item-notifications_button_small.active a::after,
li.menu-item.menu-item-cms a:hover::after,
li.menu-item.menu-item-cms.active a::after,
li.menu-item.menu-item-teach a:hover::after,
li.menu-item.menu-item-teach.active a::after,
li.menu-item.menu-item-user a:hover::after,
li.menu-item.menu-item-user.active a::after,
li.menu-item.menu-item-tasks a:hover::after,
li.menu-item.menu-item-tasks.active a::after,
li.menu-item.menu-item-notifications a:hover::after,
li.menu-item.menu-item-notifications.active a::after,
li.menu-item.menu-item-sales a:hover::after,
li.menu-item.menu-item-sales.active a::after,
li.menu-item.menu-item-chatium a:hover::after,
li.menu-item.menu-item-chatium.active a::after {
    -webkit-filter: var(--Mfilter2);
            filter: var(--Mfilter2);
}


/* Системные иконки Меню - скрываем, чтобы поставить свои */
/*  лупа - поиск */
li.menu-item.menu-item-search a img,
/*  рупор - уведомления */
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-search a::after,
/*  сайт */
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%;
    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    background-size: contain;
    background-repeat: no-repeat;
    display: block;
    width: 28px;
    height: 28px;
    -webkit-filter: invert(100%) sepia(5%) saturate(2421%) hue-rotate(152deg) brightness(88%) contrast(120%);
            filter: invert(100%) sepia(5%) saturate(2421%) hue-rotate(152deg) brightness(88%) contrast(120%);
}

/* ссылки на новые иконки к разделам меню - в состоянии покоя */
li.menu-item.menu-item-search a::after {background-image: var(--item-search); }
li.menu-item.menu-item-cms a::after {background-image: var(--item-cms); }
li.menu-item.menu-item-teach a::after {background-image: var(--item-teach);}
li.menu-item.menu-item-user a::after {background-image: var(--item-user);}
li.menu-item.menu-item-tasks a::after {background-image: var(--item-tasks);}
li.menu-item.menu-item-notifications a::after {background-image: var(--item-notif);}
li.menu-item.menu-item-sales a::after {background-image: var(--item-sales);}
li.menu-item.menu-item-chatium a::after {background-image: var(--item-chatium);}


/* новая иконка - рупор - позиционируем, задаём цвет */
li.menu-item.menu-item-notifications_button_small a::after {
    content: ''; 
    position: absolute; 
    background-image: var(--button-small);
    top: 50%; 
    left: 50%;  
    -webkit-transform: translate(-50%, -50%);  
        -ms-transform: translate(-50%, -50%);  
            transform: translate(-50%, -50%); 
    background-size: contain; 
    background-repeat: no-repeat; 
    display: block;
    width: 24px;
    height: 24px;
    -webkit-filter: invert(100%) sepia(5%) saturate(2421%) hue-rotate(152deg) brightness(88%) contrast(120%);
            filter: invert(100%) sepia(5%) saturate(2421%) hue-rotate(152deg) brightness(88%) contrast(120%);
}

/* Счетчик уведомлений в боковом меню - у рупора */
.gc-account-leftbar .gc-account-user-menu li.menu-item-notifications_button_small .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;
}

/* Счетчик уведомлений в боковом меню - разделы */
/* сообщения */
.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-tasks .notify-count,
/* покупки */
.gc-account-leftbar .gc-account-user-menu li.menu-item.menu-item-sales .notify-count,
/* приложение */
.gc-account-leftbar .gc-account-user-menu li.menu-item.menu-item-chatium .notify-count{
    z-index: 2;
    font-family: var(--Mfont2)!important; 
    font-size: 1em !important;
    letter-spacing: 0.9px;
    font-weight: 700;
    text-align: center;
    color: var(--Mwhite);
    background: var(--Mcolor2);
    border-radius: 6px;
    position: absolute;
    bottom: 38px;
    right: 4px;
    padding: 5px 0px;
    height: 20px;
}

/* Надписи через псевдоэлемент - позиционируем, задаём цвет */
li.menu-item.menu-item-search a::before,
li.menu-item.menu-item-cms a::before,
li.menu-item.menu-item-teach a::before,
li.menu-item.menu-item-user a::before,
li.menu-item.menu-item-tasks a::before,
li.menu-item.menu-item-notifications a::before,
li.menu-item.menu-item-sales a::before,
li.menu-item.menu-item-chatium a::before {  
    position: absolute;
    top: 41px;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
    font-family: var(--Mfont2)!important; 
    /* размер шрифта */
    font-size: 12px;
    /* цвет текста */
    color: var(--Mcolor1);
    /* задержка для плавности анимации */
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

/* Надписи через псевдоэлемент для каждого раздела 
li.menu-item.menu-item-search a::before {content: 'Поиск';}
li.menu-item.menu-item-cms a::before {content: 'Cайт';}
li.menu-item.menu-item-teach a::before {content: 'Обучение';}
li.menu-item.menu-item-user a::before {content: 'Ученики';}
li.menu-item.menu-item-tasks a::before {content: 'Задачи';}
li.menu-item.menu-item-notifications a::before {content: 'Сообщения';}
li.menu-item.menu-item-sales a::before {content: 'Покупки';}
li.menu-item.menu-item-chatium a::before {content: 'Mobile';}
*/
/* Цвет надписей под иконками при выборе/нажатии */
.gc-account-user-menu li:hover a::before,
.gc-account-user-menu li.selected a::before,
.gc-account-user-menu li.active a::before {
    font-family: var(--Mfont2)!important; 
    color: var(--Mheader);
}

/* Раскрывающееся меню - подменю */
.gc-account-leftbar .gc-account-user-submenu-bar {
    /* фон подменю */
    background: var(--Mbackground4);
}

/* Заголовок подменю */
.gc-account-user-submenu-bar H3 {
    font-family: var(--Mfont);
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 0.9px;
    color: var(--Mheader);
    border-bottom: 1px solid var(--Mheader);
    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(--Mblack);
    padding-left: 20px;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

/* разделы в подменю при наведении */
.gc-account-user-submenu-bar .gc-account-user-submenu li a:hover {
    background-color: var(--Mcolor3);
    color: var(--Mheader);
}

/* Счетчик уведомлений в раскрывающемся меню */
.gc-account-leftbar .gc-account-user-submenu li .notify-count {
    font-family: var(--Mfont2)!important; 
    color: var(--Mwhite);
    background: var(--Mcolor2);
    border-radius: 6px;
}

/* раздел в меню с бонусными рублями, депозитом и монетами */
.user-balance {
    margin-top: 20px!important;
    margin-bottom: 10px;
    font-family: var(--Mfont2);     
    color: var(--Mblack2);
}

/* Скрываем марафон для админов чтоб не мешал */
.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(--Mfont);
        color: var(--Mwhite);
        background: var(--Mbackground);
        letter-spacing: 0.1em;
    }
    
    .gc-page-nav-items-menu a.toggler-item {
    display: block;
    text-align: center;
	}
}

@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;
    }
}

/* БОКОВОЕ МЕНЮ - конец */
