

/* Выделение пунктов меню */
.gc-account-leftbar .gc-account-user-menu li.selected a,
.gc-account-leftbar .gc-account-user-menu li.active a,
.gc-account-leftbar .gc-account-user-menu li a:hover {
    position: relative;
    border-radius: 5px;
    width: 60px !important;
    transition: background 0.15s ease-in-out, border-color 0.15s ease-in-out;
    background: transparent !important;
    border: 2px solid #D8D8D8;
}

.gc-account-user-menu li.active a:before, 
.gc-account-user-menu li.selected a:before,
.gc-account-user-menu li:hover a:before {
    color: #FFF !important;
}

/* Делает прозрачными места иконок + шрифт */
.gc-account-leftbar .gc-account-user-menu li a {
    background: inherit !important;
    font-family: 'Montserrat', sans-serif !important;
    font-style: normal;
    font-weight: 500;
    border: 2px solid transparent; /* Прозрачная рамка для резерва места */
    transition: background 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

/* Прячем старые иконки */
.menu-item-notifications_button_small img.menu-item-icon,
.menu-item-cms img.menu-item-icon,
.menu-item-user img.menu-item-icon,
.menu-item-tasks img.menu-item-icon,
.menu-item-teach img.menu-item-icon,
.menu-item-notifications img.menu-item-icon,
.menu-item-sales img.menu-item-icon,
.menu-item-chatium img.menu-item-icon{
    display: none !important;
}

/* При наведении */
.gc-account-leftbar .gc-account-user-menu li a:hover {
    background: #FFF;
}

/* Фоновое изображение */
.gc-account-leftbar, .gc-account-leftbar.expanded {
    background: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/301/h/607ed902a0e7ff8efe2c9a275ab826c8.jpg) top center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* Скругленная иконка пользователя */
.menu-item-profile img {
    border-radius: 100px;
    width: 52px !important;
    border: 2px solid #D8D8D8;
    padding: 0px;
    background: transparent;
    box-sizing: content-box;
}

/* Кружок Hover */
.menu-item-profile img:hover {
    background: transparent;
    border: 2px solid #D8D8D8;
}

/* Иконка сублогин */
.menu-item-profile .sub-icon img {
    width: 30px !important;
    height: 30px;
}

/* Фон панели на мобильной версии */
@media (max-width: 768px) {
    .gc-account-leftbar .gc-account-user-menu, .gc-account-leftbar .toggle-link {
        background: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/301/h/607ed902a0e7ff8efe2c9a275ab826c8.jpg) top center!important;
        background-size: cover;
        background-repeat: no-repeat;
        z-index: 0;
}}

.gc-page-nav-items-menu a {
    background: #314057!important;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 600;
}}



/* Подчеркивание между иконками */
.gc-account-leftbar .gc-account-user-menu li {
    border-bottom: none;
}

/* Убираем глюк раздвоения иконки */
a.subitem-link:after { display: none; }
a.subitem-link:before { display: none; }

/* Уведомления */
li.menu-item-notifications_button_small a:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/43/h/0791330e8d2bbf0970a7261088e017cf.svg) !important;
}
li.menu-item-notifications_button_small a:hover:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/43/h/0791330e8d2bbf0970a7261088e017cf.svg) !important;
}
li.menu-item-notifications_button_small a:focus:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/43/h/0791330e8d2bbf0970a7261088e017cf.svg) !important;
}

/* Сайт */
li.menu-item-cms a:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/149/h/4832d984aa1ab2e8e81ee461a91c6636.svg) !important; 
}
li.menu-item-cms a:hover:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/149/h/4832d984aa1ab2e8e81ee461a91c6636.svg) !important; 
}
li.menu-item-cms a:focus:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/149/h/4832d984aa1ab2e8e81ee461a91c6636.svg) !important; 
}
li.menu-item.menu-item-cms.active a:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/149/h/4832d984aa1ab2e8e81ee461a91c6636.svg) !important; 
}
li.menu-item.menu-item-cms.selected a:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/149/h/4832d984aa1ab2e8e81ee461a91c6636.svg) !important; 
}

/* Обучение */
li.menu-item-teach a:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/69/h/c89865f063811319e9f31e89ba20ef46.svg) !important; 
}
li.menu-item-teach a:hover:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/69/h/c89865f063811319e9f31e89ba20ef46.svg) !important; 
}
li.menu-item-teach a:focus:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/69/h/c89865f063811319e9f31e89ba20ef46.svg) !important; 
}
li.menu-item.menu-item-teach.active a:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/69/h/c89865f063811319e9f31e89ba20ef46.svg) !important; 
}
li.menu-item.menu-item-teach.selected a:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/69/h/c89865f063811319e9f31e89ba20ef46.svg) !important; 
}

/* Пользователи-ученики */
li.menu-item.menu-item-user a:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/58/h/6029a1dbb0fd4684a7064f43595f8528.svg) !important; 
}
li.menu-item.menu-item-user a:hover:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/58/h/6029a1dbb0fd4684a7064f43595f8528.svg) !important; 
}
li.menu-item.menu-item-user a:focus:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/58/h/6029a1dbb0fd4684a7064f43595f8528.svg) !important; 
}
li.menu-item.menu-item-user.active a:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/58/h/6029a1dbb0fd4684a7064f43595f8528.svg) !important; 
}
li.menu-item.menu-item-user.selected a:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/58/h/6029a1dbb0fd4684a7064f43595f8528.svg) !important; 
}

/* Задачи */
li.menu-item-tasks a:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/97/h/9fbcc66590b31531512ba9b33388f54c.svg) !important; 
}
li.menu-item-tasks a:hover:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/97/h/9fbcc66590b31531512ba9b33388f54c.svg) !important; 
}
li.menu-item-tasks a:focus:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/97/h/9fbcc66590b31531512ba9b33388f54c.svg) !important; 
}
li.menu-item.menu-item-tasks.active a:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/97/h/9fbcc66590b31531512ba9b33388f54c.svg) !important; 
}
li.menu-item.menu-item-tasks.selected a:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/97/h/9fbcc66590b31531512ba9b33388f54c.svg) !important; 
}

/* Сообщения */
li.menu-item.menu-item-notifications a:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/205/h/68d6033beea4b7936f6c97a47eb4722b.svg) !important; 
}
li.menu-item.menu-item-notifications a:hover:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/205/h/68d6033beea4b7936f6c97a47eb4722b.svg) !important; 
}
li.menu-item.menu-item-notifications a:focus:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/205/h/68d6033beea4b7936f6c97a47eb4722b.svg) !important; 
}
li.menu-item.menu-item-notifications.active a:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/205/h/68d6033beea4b7936f6c97a47eb4722b.svg) !important; 
}
li.menu-item.menu-item-notifications.selected a:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/205/h/68d6033beea4b7936f6c97a47eb4722b.svg) !important; 
}

/* Продажи */
li.menu-item-sales a:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/186/h/f8cd07343fde77231600a4c47e52afe0.svg) !important; 
}
li.menu-item-sales a:focus:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/186/h/f8cd07343fde77231600a4c47e52afe0.svg) !important; 
}
li.menu-item-sales a:hover:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/186/h/f8cd07343fde77231600a4c47e52afe0.svg) !important; 
}
li.menu-item.menu-item-sales.active a:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/186/h/f8cd07343fde77231600a4c47e52afe0.svg) !important; 
}
li.menu-item.menu-item-sales.selected a:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/186/h/f8cd07343fde77231600a4c47e52afe0.svg) !important; 
}

/* Чатиум */
li.menu-item.menu-item-chatium a:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/283/h/f314d16cfba5b352ae143754d6df29ec.svg) !important; 
}
li.menu-item.menu-item-chatium a:focus:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/283/h/f314d16cfba5b352ae143754d6df29ec.svg) !important; 
}
li.menu-item.menu-item-chatiumn a:hover:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/283/h/f314d16cfba5b352ae143754d6df29ec.svg) !important; 
}
li.menu-item.menu-item-chatium.active a:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/283/h/f314d16cfba5b352ae143754d6df29ec.svg) !important; 
}
li.menu-item.menu-item-chatium.selected a:after { 
    content: url(https://fs.getcourse.ru/fileservice/file/download/a/813408/sc/283/h/f314d16cfba5b352ae143754d6df29ec.svg) !important; 
}

.gc-account-user-menu li a:before {
    display: block;
    text-align: center;
    max-width: calc(100% + 20px);
    min-height: 1em;
    width: calc(100% + 20px);
    overflow: hidden;
    position: relative;
    margin: 0px -10px 0; 
    color: #FFF;
    font-size: 9px;
}

.gc-account-user-menu li.menu-item-cms a:before {
    content: "Сайт";
}

.gc-account-user-menu li.menu-item-teach a:before {
    content: "Обучение";
}

.gc-account-user-menu li.menu-item-user a:before {
    content: "Ученики";
}

.gc-account-user-menu li.menu-item-tasks a:before {
    content: "Задачи";
}

.gc-account-user-menu li.menu-item-notifications a:before {
    content: "Сообщения";
}

.gc-account-user-menu li.menu-item-sales a:before {
    content: "Покупки";
}

.gc-account-user-menu li.menu-item.menu-item-chatium a:before {
    content: "Mobile";
}

/* Переносим подпись вниз элемента */
.gc-account-user-menu li:not(.menu-item-profile):not(.menu-item-notifications_button_small) a,
.gc-account-user-menu li:not(.menu-item-profile):not(.menu-item-notifications_button_small).active a, 
.gc-account-user-menu li:not(.menu-item-profile):not(.menu-item-notifications_button_small).selected a {
    background-position: 50% 30% !important;
    display: flex !important;
    flex-direction: column-reverse !important;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    text-decoration: none;
}

/* Notification-count (счетчик сообщений на иконках меню) */
.gc-account-leftbar .notify-count {
    background: #C68e17;
    min-width: 30px;
    min-height: 20px;
    width: auto;
    height: auto;
    padding: 8px;
    line-height: 1;
    color: #FFF;
    border-radius: 60px;
    font-size: 12px;
    bottom: calc(100% - 27px) !important;
    right: -20px !important;
    z-index: 1;
}

/* Зеленый счетчик */
#gcAccountUserMenu > div > ul > li.menu-item.menu-item-notifications > a > span {
    background: #c68e17;
}

.gc-account-leftbar .gc-account-user-submenu .notify-count {
    right: -13px !important;
    bottom: calc(50% - 12px) !important;
}

/* Скругляем иконки */
.gc-account-leftbar .gc-account-user-menu li a {
    position: relative;
    border-radius: 5px;
    width: 60px !important;
    height: 60px !important;
}

/* Расстояние между иконками */
.gc-account-leftbar .gc-account-user-menu li {
    padding: 5px;
    margin: 0;
}

/* Пододвигаем колокольчик */
li.menu-item.menu-item-notifications_button_small a {
    height: 30px !important;
    border-radius: 5px;
}

/* Настройка субменю */
.gc-account-leftbar .gc-account-user-submenu-bar {

    background: #fafafa;
}

.gc-account-user-submenu-bar .gc-account-user-submenu li a {
    padding-top: 9px;
    padding-bottom: 9px;
    text-transform: lowercase;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 500 !important;
    font-style: normal;
    font-size: 20px;
    line-height: 85%;
    padding-left: 20px;
    color: #372A22;
}

/* Субменю с заглавной */
.gc-account-user-submenu-bar .gc-account-user-submenu li a::first-letter {
    text-transform: uppercase;
}

.custom-menu .gc-account-user-submenu-bar .gc-account-user-submenu a:first-letter {
    text-transform: uppercase;
}

.gc-account-user-submenu-bar h3 {
    font-family: 'Montserrat', sans-serif !important;
    font-style: bold;
    font-weight: 600;
    font-size: 26px;
    line-height: 40px;
    color: #372A22;
    margin-bottom: 20px;
}

.gc-account-leftbar .gc-account-user-submenu-bar {
    display: flex;
    flex-direction: column;
}

.gc-account-leftbar .gc-account-user-submenu-bar:after {
    content: "";
    display: block;
    height: 45px;
    background: url("") center / contain no-repeat;
    margin-top: auto;
    margin-bottom: 30px;
}

/* Анимация выбора меню */
.gc-account-user-submenu-bar .gc-account-user-submenu li {
    position: relative;
}

.gc-account-user-submenu-bar .gc-account-user-submenu li a {
    position: relative !important;
    z-index: 9999;
    transition: all 1.3s;
}

.gc-account-user-submenu-bar .gc-account-user-submenu li::after {
    content: "";
    width: 0%;
    height: 100%;
    position: absolute;
    background: silver;
    top: 0;
    left: 0;
    transition: all .5s;
    z-index: 0;
}

.gc-account-user-submenu-bar .gc-account-user-submenu li a:hover {
    background: transparent;
    color: #fff;
    z-index: 1;
    text-decoration: none;
}

.gc-account-user-submenu-bar .gc-account-user-submenu li:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .gc-account-leftbar .gc-account-user-menu {
        margin-bottom: 45px;
        background: #000;
        width: 70px;
        height: 100%;
    }
    .gc-main-content.with-left-menu {
        margin-left: 0;
    }
}

@media (max-width: 576px) {
    .gc-account-leftbar .gc-account-user-submenu-bar-notifications_button_small {
        width: calc(100vw - 70px);
        overflow: auto;
    }
}

@media (max-width: 768px) {
    .gc-account-leftbar .gc-account-user-menu li {
        border-bottom: none;
    }
}

/* Шейк меню */
.gc-account-user-menu .menu-item a:hover img {
    -webkit-animation: shake-top 0.8s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
    animation: shake-top 0.8s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
}

.gc-account-user-menu .menu-item a:hover:after,
.gc-account-user-menu .menu-item a:hover:before, 
.menu-item-prolongation a:hover img,
.menu-item.new-chatium-icon a:hover img {
    -webkit-animation: shake-top 0.8s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
    animation: shake-top 0.8s cubic-bezier(0.455, 0.030, 0.515, 0.955) both;
}

.notify-count {
    z-index: 1;
}

@-webkit-keyframes shake-top {
    0%, 100% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transform-origin: 50% 0;
        transform-origin: 50% 0;
    }
    10% {
        -webkit-transform: rotate(2deg);
        transform: rotate(2deg);
    }
    20%, 40%, 60% {
        -webkit-transform: rotate(-4deg);
        transform: rotate(-4deg);
    }
    30%, 50%, 70% {
        -webkit-transform: rotate(4deg);
        transform: rotate(4deg);
    }
    80% {
        -webkit-transform: rotate(-2deg);
        transform: rotate(-2deg);
    }
    90% {
        -webkit-transform: rotate(2deg);
        transform: rotate(2deg);
    }
}

@keyframes shake-top {
    0%, 100% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transform-origin: 50% 0;
        transform-origin: 50% 0;
    }
    10% {
        -webkit-transform: rotate(2deg);
        transform: rotate(2deg);
    }
    20%, 40%, 60% {
        -webkit-transform: rotate(-4deg);
        transform: rotate(-4deg);
    }
    30%, 50%, 70% {
        -webkit-transform: rotate(4deg);
        transform: rotate(4deg);
    }
    80% {
        -webkit-transform: rotate(-2deg);
        transform: rotate(-2deg);
    }
    90% {
        -webkit-transform: rotate(2deg);
        transform: rotate(2deg);
    }
}


