/* Система избранных уроков */
.lesson-header-block {
    position: relative;
}

.lesson-list li {
    overflow: visible;
}

.lesson-list li > a {
    position: relative;
    z-index: 10;
}

/*li.menu-item-favorite a .notify-count {
bottom: inherit;
top: 10px !important;
left: inherit !important;
width: 22px;
background: linear-gradient(90deg, #F68071 0%, #F547B4 100%)
}*/

.lesson-list li > a .favIcon {
    position: absolute;
    top: 25px;
    right: 30px;    
    z-index: 100;
}


.lesson-list li > a .favIcon svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


#accordion_a .lesson-list li > a .favIcon {
    position: absolute;
    top: 50% !important;
    right: inherit;
    left: -30px !important;
    transform: translatey(-50%)!important;    
    z-index: 100;
}

#accordion_a .lesson-list li > a .favIcon svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.lesson-header-block .favIcon  {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;    
    background: #fff;
    border-radius: 100px;
}

.favIcon.active {
    background: #FFFFFF !important;
}

.lesson-header-block .favIcon svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

body:not(.chatium_body) li.menu-item.menu-item-favorite {
    cursor: pointer;
    margin-top:15px;
}

body:not(.chatium_body) li.menu-item.menu-item-favorite img {
    position: relative;
    top: 0;
}

body:not(.chatium_body) li.menu-item.menu-item-favorite .notify-count {
    bottom: 20px !important;
}

.gc-account-user-submenu-bar-favorite {
    width: 300px !important;
}

.gc-account-user-submenu-bar-favorite.gc-account-user-submenu-bar li {
    position: relative;
    margin: 0 0 10px !important;
}


.gc-account-user-submenu-bar-favorite .fav_empty::before {
    display: none;
}

.gc-account-user-submenu-bar-favorite li:last-child::after {
    display: none;
}

.gc-account-user-submenu-bar-favorite .subitem-link span {
    display: block;
    text-transform: none;
    letter-spacing: 0 !important;
}

.gc-account-user-submenu-bar-favorite .subitem-link .favModule {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .5px;
}

.gc-account-user-submenu-bar-favorite .fav_empty {
    padding: 10px 20px !important;
    font-style: italic;
    opacity: .5;
}

.gc-account-user-submenu-bar .gc-account-user-submenu li:has(.remove-link ) a {
    position: relative;
    padding-left: 40px;
}

.remove-link {
    position: absolute;
    top: 8px;
    left: 20px;    
    font-weight: 700;
    color: var(--color-2);    
    transition: all .3s;
    z-index: 15;
}

.remove-link:hover {
    cursor: pointer;
}

.chtium_main {
    display: block;
    margin: 4px;
    padding: 5px 10px;
    color: #fff !important;
    text-decoration: none !important;
    text-align: center;
    width: calc(100% - 8px);
    background: linear-gradient(90deg, #F68071 0%, #F547B4 100%);
    border-radius: 6px;
}

#accordion_a .xdget-lessonList {
    padding-left: 150px;
}

@media (max-width: 520px) {
    #accordion_a .xdget-lessonList {
        padding-left: 40px;
    }
}

@media (max-width: 520px) {
    .lesson-header-block .favIcon {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
    }
}

/* Сообщение */
#fav_msg {
    position: fixed;
    bottom: 30px;
    right: 130px;    
    padding: 10px 16px;
    border-radius: 4px;
    background: #ccc;    
    z-index: 1000;
}

#fav_msg.minus {
    color: #fff;
    background: #ff6161;
}

#fav_msg.plus {
    color: #fff;
    background: #33b472;
}

#fav_msg i {
    position: relative;
    top: 1px;
    margin-right: 10px;
}

#fav_msg.minus i {
    top: 0px;
}


#fav_msg .fav_msg_text {
    font-family: Montserrat, sans-serif;
    font-weight: 500;
}

@media (max-width: 769px) {
    #fav_msg {
        bottom: 80px;
        right: 20px;
    }
}

/* Избранные уроки */
.userInfo_block {
    margin-top: 30px;
    background: #fff;
    border-radius: var(--btn-radius);
    padding: 20px;

    margin-bottom: 20px;
}

.userInfo_block > .xdget-header {
    margin-bottom: 20px;
    font-family: var(--main-font);
    font-weight: 800;
    font-size: 20px;
    line-height: 115%;
    color: var(--accent-color);
    text-align: center;
}

.userInfo_block ul {
    padding: 0;
    list-style: none;
}

.userInfo_block ul li {
    margin-bottom: 8px;
    
    font-family: var(--main-font);
    border: 1px solid #e2e1ea;
    border-radius: var(--btn-radius);
    
    transition: all .3s;
}

.userInfo_block ul li:last-child {
    margin: 0;
}

.userInfo_block ul li:hover {
    border: 1px solid var(--accent-color);
    background: var(--accent-color);
    
}


.userInfo_block ul li a {
    display: block;
    padding: 6px 12px;
    color: var(--main-color);
    transition: all .3s;
}

.userInfo_block ul li:hover a {
    color: #fff;
    text-decoration: none;
}

.userInfo_block.mobile:not(.editable) {
    display: none;
}

@media (max-width: 700px) {
    .userInfo_block.desktop {
        display: none;
    }
    
    .userInfo_block.mobile:not(.editable) {
        display: block;
    }
}