

/* Фон */
.gc-account-leftbar,
.gc-account-leftbar.expanded {
    background: #444388;
}


/* Прячем старые иконки */
.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,
.gc-account-leftbar .gc-account-user-menu li.active a,
.gc-account-leftbar .gc-account-user-menu li.selected a
{
    background: #FFF;
    transition: all 1.0s;
}


/* Центрируем содержимое по вертикали */
.gc-account-leftbar 
.gc-account-user-menu 
li.menu-item-search a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

li.menu-item-search img.menu-item-icon {
    height: 20px !important;
    width: auto;
}


/* Скругленная иконка пользователя */
.menu-item-profile img {
    border-radius: 100px;
    width: 52px!important;
    /*border: 1px solid #5EC3E9;*/
    padding: 0px;
    background: #FFF;
    box-sizing: content-box;
}


/* Кружок Hover */
.menu-item-profile img:hover {
    border: 2px solid #F2A72D;
}


/* Иконка сублогин */
.menu-item-profile .sub-icon img{
    width: 30px!important;
    height: 30px;
}


/* Делает прозрачными места иконок + шрифт */
.gc-account-leftbar .gc-account-user-menu li a {
    background:inherit;
    font-family: 'Montserrat', sans-serif;
    font-style: normal; 
}


/*  подчеркивание между иконками*/ 
.gc-account-leftbar .gc-account-user-menu li {
    border-bottom: none;
}


/*убиваем глюк раздвоения иконки*/
a.subitem-link:after {
    display:none;
}

a.subitem-link:before {
    display:none;
}


.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: #111027!important;
}


/* При наведении / активный пункт */
.gc-account-leftbar .gc-account-user-menu li a:hover,
.gc-account-leftbar .gc-account-user-menu li.active a,
.gc-account-leftbar .gc-account-user-menu li.selected a {
    background: #FFF;

    box-shadow:
        0 6px 10px rgba(25, 22, 65, 0.34),
        0 2px 4px rgba(25, 22, 65, 0.20);

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
}


/* Фон панели на мобильной версии */
@media (max-width: 768px) {

    .gc-account-leftbar .gc-account-user-menu,
    .gc-account-leftbar .toggle-link {
        background:#444388;
        z-index: 0;
    }

    .gc-page-nav-items-menu a {
        background: #444388;
        font-size: 16px;
        font-family: 'Montserrat', sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
    }}


@media (max-width: 768px) {

    .gc-account-leftbar .gc-account-user-menu {
        margin-bottom: 45px;
        background: #444388;
        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;
    }}


/* Уведомления */
li.menu-item-notifications_button_small a:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/338/h/21b4ac3a85dffb66cb4d29b0a997e53e.svg) !important;
}

li.menu-item-notifications_button_small a:hover:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/112/h/c51963601bf98fc6a8e325e865128f4a.svg) !important;
}

li.menu-item-notifications_button_small a:focus:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/112/h/c51963601bf98fc6a8e325e865128f4a.svg) !important;
}

li.menu-item-notifications_button_small.selected a:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/112/h/c51963601bf98fc6a8e325e865128f4a.svg) !important;
}


/* Сайт */
li.menu-item-cms a:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/453/h/a61293b3049512421563aa0f8705ee28.svg) !important;
}

li.menu-item-cms a:hover:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/158/h/61aa583aeb7d09a81013de97d979b685.svg) !important;
}

li.menu-item-cms a:focus:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/158/h/61aa583aeb7d09a81013de97d979b685.svg) !important;
}

li.menu-item.menu-item-cms.active a:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/158/h/61aa583aeb7d09a81013de97d979b685.svg) !important;
}

li.menu-item.menu-item-cms.selected a:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/158/h/61aa583aeb7d09a81013de97d979b685.svg) !important;
}


/* Обучение*/
li.menu-item-teach a:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/343/h/e121c6bfb1cefcaf56897a0387ed84c4.svg) !important;
}

li.menu-item-teach a:hover:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/225/h/23eb4fcbb25ba538bbc80ec274138262.svg) !important;
}

li.menu-item-teach a:focus:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/225/h/23eb4fcbb25ba538bbc80ec274138262.svg) !important;
}

li.menu-item.menu-item-teach.active a:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/225/h/23eb4fcbb25ba538bbc80ec274138262.svg) !important;
}

li.menu-item.menu-item-teach.selected a:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/225/h/23eb4fcbb25ba538bbc80ec274138262.svg) !important;
}


/* Пользователи */
li.menu-item.menu-item-user a:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/102/h/f5526bcd077db23a5262933c29b38f39.svg) !important;
}

li.menu-item.menu-item-user a:hover:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/66/h/7f31a1f4473915530d6aa97966695dfa.svg) !important;
}

li.menu-item.menu-item-user a:focus:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/66/h/7f31a1f4473915530d6aa97966695dfa.svg) !important;
}

li.menu-item.menu-item-user.active a:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/66/h/7f31a1f4473915530d6aa97966695dfa.svg) !important;
}

li.menu-item.menu-item-user.selected a:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/66/h/7f31a1f4473915530d6aa97966695dfa.svg) !important;
}


/* Задачи */
li.menu-item-tasks a:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/102/h/c60dc38dd1d0c44693b77497b071828a.svg) !important;
}

li.menu-item-tasks a:hover:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/236/h/42c793a412528fc6deac24ac23f9ad64.svg) !important;
}

li.menu-item-tasks a:focus:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/236/h/42c793a412528fc6deac24ac23f9ad64.svg) !important;
}

li.menu-item.menu-item-tasks.active a:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/236/h/42c793a412528fc6deac24ac23f9ad64.svg) !important;
}

li.menu-item-tasks.selected a:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/236/h/42c793a412528fc6deac24ac23f9ad64.svg) !important;
}


/* Сообщения */
li.menu-item.menu-item-notifications a:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/204/h/f747869f1e8228af0fb065bc3566eca1.svg) !important;
}

li.menu-item.menu-item-notifications a:hover:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/9/h/187070e9d667bd898040051ce880e40c.svg) !important;
}

li.menu-item.menu-item-notifications a:focus:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/9/h/187070e9d667bd898040051ce880e40c.svg) !important;
}

li.menu-item.menu-item-notifications.active a:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/9/h/187070e9d667bd898040051ce880e40c.svg) !important;
}

li.menu-item.menu-item-notifications.selected a:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/9/h/187070e9d667bd898040051ce880e40c.svg) !important;
}


/* Продажи */
li.menu-item-sales a:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/120/h/8d594ecc33839897b085d07390fd43ea.svg) !important;
}

li.menu-item-sales a:focus:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/9/h/0335a2e493737691fdfc5610ec940692.svg) !important;
}

li.menu-item-sales a:hover:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/9/h/0335a2e493737691fdfc5610ec940692.svg) !important;
}

li.menu-item.menu-item-sales.active a:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/9/h/0335a2e493737691fdfc5610ec940692.svg) !important;
}

li.menu-item.menu-item-sales.selected a:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/9/h/0335a2e493737691fdfc5610ec940692.svg) !important;
}


/*Чатиум */
li.menu-item-chatium a:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/190/h/ec4153f6cf93118fa9bea2342900b8a7.svg) !important;
}

li.menu-item-chatium a:focus:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/333/h/6d09f0c4cdb9622c2bf06cf0d0e7c8a9.svg) !important;
}

li.menu-item-chatium a:hover:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/333/h/6d09f0c4cdb9622c2bf06cf0d0e7c8a9.svg) !important;
}

li.menu-item-chatium.active a:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/333/h/6d09f0c4cdb9622c2bf06cf0d0e7c8a9.svg) !important;
}

li.menu-item-chatium.selected a:after {
    content:url(https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/333/h/6d09f0c4cdb9622c2bf06cf0d0e7c8a9.svg) !important;
}


/* ПОКАЧИВАНИЕ ИКОНОК */

/* SVG-иконки через :after */
.gc-account-user-menu
.menu-item:not(.menu-item-profile):not(.menu-item-notifications_button_small):not(.menu-item-search)
a:hover:after {
    -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-search
a:hover
img.menu-item-icon {
    -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-notifications_button_small
a:hover:after {
    -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;
}


/* Само покачивание */
@-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);
    }}


.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;
    font-weight: 600;
    position: relative;
    margin: -1px -10px 0; 
    color: #FFF;
    font-size:10px;
}

.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-course a:before {
    content: "Мои курсы";
}

.gc-account-user-menu li.menu-item-kurator a:before {
    content: "Ответы";
}

.gc-account-user-menu li.menu-item-club 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-chatium a:before{
    content: "Приложение";
}

/* переносим подпись вниз элемента */
.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: #F2A72D!important;
    transform: translateY(-0.5px);
    min-width: 30px;
    min-height: 20px;
    width: auto;
    height: auto;
    padding: 8px;
    color: #FFF;
    border-radius: 60px;
    font-size: 14px;
    font-weight: 600 !important;
    border: 1px solid rgba(185, 138, 46, 0.4);
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
    bottom: calc(100% - 30px) !important;
    right: -20px !important;
    z-index: 1;
}


.gc-account-leftbar .gc-account-user-submenu .notify-count {
    right: 0px !important;
    bottom: calc(50% - 15px) !important;
}


/* Скругляем выделение иконки */
.gc-account-leftbar .gc-account-user-menu li a {
    position: relative;
    border-radius: 10px;
    width: 60px !important;
    height: 60px !important;
    transition: background 0.15s ease-in-out;
}


/* Расстояние между иконками */
.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 {
    position: absolute;
    top: 0;
    left: 70px;
    width: 210px!important;
    height: 100%;
    background: #FFF;
}


.gc-account-leftbar .gc-account-user-submenu-bar-notifications_button_small {
    width: 340px!important;
}


/*Прокрутка, глюк GetFusion
.gc-account-user-submenu-bar.gc-account-user-submenu-bar-profile{
overflow-x: hidden!important;
}
*/


.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;
    font-weight: 500!important;
    font-style: normal;
    font-size: 20px;
    line-height: 95%;
    padding-left: 20px;
    color: #111027!important;
}


/*Суб меню с заглавной*/
.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;
    font-style: normal;
    font-weight: 500;
    font-size: 30px;
    line-height: 40px;
    color: #574CA4;
    margin-bottom: 10px;
}


.gc-account-leftbar .gc-account-user-submenu-bar {
    display: flex;
    flex-direction: column;
}


/* Новая иконка поиск */
.gc-account-leftbar 
.gc-account-user-menu 
li.menu-item-search a {
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 !important;
}


/* Анимация выбора меню */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }}


/* Пункт меню */
.gc-account-user-submenu-bar .gc-account-user-submenu li {
    position: relative;
    overflow: visible;
}


/* Текст */
.gc-account-user-submenu-bar .gc-account-user-submenu li a {
    position: relative !important;
    z-index: 2;

    transition:
        color .4s ease,
        text-shadow .4s ease;
}


/* Blur-подсветка */
.gc-account-user-submenu-bar .gc-account-user-submenu li::after {
    content: "";

    position: absolute;

    /* Область заметно выше самой строки */
    top: -10px;
    bottom: -10px;
    left: 0;
    right: 0;

    background:
        radial-gradient(
            ellipse at center,
            rgba(75, 71, 143, .30) 0%,
            rgba(75, 71, 143, .22) 35%,
            rgba(75, 71, 143, .12) 65%,
            rgba(75, 71, 143, 0) 100%
        );

    border-radius: 0;
    opacity: 0;
    transform: scaleY(.35);
    filter: blur(18px);

    transition:
        opacity .45s ease,
        transform .55s cubic-bezier(.22, 1, .36, 1),
        filter .55s cubic-bezier(.22, 1, .36, 1);

    z-index: 0;
    pointer-events: none;
}


/* Hover */
.gc-account-user-submenu-bar .gc-account-user-submenu li:hover::after {
    opacity: 1;
    transform: scaleY(1);

    /* Blur специально остаётся сильным */
    filter: blur(7px);
}


/* Текст */
.gc-account-user-submenu-bar .gc-account-user-submenu li:hover a {
    color: #403C82 !important;
    background: transparent !important;
    text-decoration: none;

    text-shadow:
        0 0 12px rgba(75, 71, 143, .12);
}


/* Анимация логотипа в субменю */
.gc-account-leftbar .gc-account-user-submenu-bar:after {
    content: "";
    display: block;
    height: 65px;

    background-image: url("https://fs.getcourse.ru/fileservice/file/download/a/917398/sc/388/h/85b4b278e17daae6ffa8f4335aea12ff.svg");
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center center;

    margin-top: auto;
    margin-bottom: 20px;

    opacity: 0;

    animation:
        fadeIn 2s ease-in forwards,
        logoSwing 1.2s ease-in-out 2s forwards;
}


/* Появление */
@keyframes fadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }}





/* ИКОНКА ПОИСКА */

/* Обычное состояние — белая */
.gc-account-leftbar
.gc-account-user-menu
li.menu-item-search
img.menu-item-icon {
    height: 20px !important;
    width: auto;
    filter: none;

    transition:
        filter .3s ease,
        transform .3s ease;
}


/* При наведении / выборе — фиолетовая */
.gc-account-leftbar
.gc-account-user-menu
li.menu-item-search:hover
img.menu-item-icon,

.gc-account-leftbar
.gc-account-user-menu
li.menu-item-search.active
img.menu-item-icon,

.gc-account-leftbar
.gc-account-user-menu
li.menu-item-search.selected
img.menu-item-icon,

.gc-account-leftbar
.gc-account-user-menu
li.menu-item-search a:focus
img.menu-item-icon {
    filter:
        brightness(0)
        saturate(100%)
        invert(27%)
        sepia(18%)
        saturate(2082%)
        hue-rotate(204deg)
        brightness(91%)
        contrast(89%);

    transform: scale(1.06);
}
