



/* ------------- 
content start - deletebanner
------------- */

.top-notification-wrapper > .common-banner-wrapper {
  display: none !important;
}
/* ------------- 
content finish - deletebanner
------------- */

/* ------------- 
content start - Поиск уроков по тренингу
------------- */

/* Виджет - поиск по урокам тренинга */
:root {
  --search-font: Montserrat, sans-serif;
  
  --search_border: #AAC4C980;
  --search_bg: #AAC4C920;
  
  --search_title_size: clamp(16px, 4vw, 20px);
  --search_title_color: #6B929A;
  
  --search_input_bg: #fff;
  
  --search_btn_font_size: 14px;
  --search_btn_color: #fff;
  --search_btn_bg: #6B929A;
  --search_btn_bg_hover: #AAC4C9;
  
  --search_result_shadow: rgba(0, 0, 0, .05);
  --search_result_border: #f1f1f1;
  --search_result_bg: #fff;
  
  --search_result_item_color: #222;
  --search_result_item_border: #ececec;
  --search_result_item_hover_color: #fff;
  --search_result_item_hover_bg: #6B929A;
}

.search__block {
    padding: 24px;
    background: var(--search_bg);
    border: 1px solid var(--search_border);
    border-radius: 10px;
}

.search__title {
    margin-bottom: 10px;
    font-family: var(--search-font);
    font-style: normal;
    font-weight: 400;
    font-size: var(--search_title_size);
    color: var(--search_title_color);
}

.search__form {
    margin-bottom: 12px;
}

.search__form input {
    padding: 12px 8px;
    width: 100%;
    border: 1px solid transparent;
    border-radius: 5px;
    background: var(--search_input_bg)
}

.search__button {
    padding: 4px 12px;
    
    font-family: var(--search-font);
    font-weight: 400;
    font-size: var(--search_btn_font_size);
    color: var(--search_btn_color);
    
    border: none;
    border-radius: 5px;
    background: var(--search_btn_bg);
    
    transition: all .3s;
}

.search__button:hover {
    background: var(--search_btn_bg_hover);
}

.search__result {  
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translatey(100%) translatex(-50%);
    z-index: 9999;
    
    padding: 16px;   
    max-height: 300px;
    width: calc(100% - 72px) !important;
    
    box-shadow: 0 0 10px 0 var(--search_result_shadow);
    border: 1px solid var(--search_result_border);
    border-radius: 10px;
    background: var(--search_result_bg);
    
    overflow: auto;
}

.search__result .result-item {
    margin-bottom: 4px;
}

.search__result .result-item a {
    display: block;
    padding: 4px 8px;
    font-family: var(--search-font);
    color: var(--search_result_item_color) !important;
    border: 1px solid var(--search_result_item_border);
    border-radius: 5px;
    
    transition: all .3s;
}

.search__result .result-item a:hover {
    text-decoration: none;
    color: var(--search_result_item_hover_color) !important;
    background: var(--search_result_item_hover_bg);
}
/* ------------- 
content finish - Поиск уроков по тренингу
------------- */

/* ------------- 
content start - История просмотренных уроков Виджет
------------- */

/* Продолжить изучение */
.widget_lessonLastWatched {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background-color: #ffffff !important;
    border-radius: 20px;
    border: rgba(107, 122, 141, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    
    /* background-image: url('путь-к-картинке.png'); */
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
}

.widget_lessonLastWatched * {
    box-sizing: border-box;
    font-family: 'Geologica', sans-serif !important;
}

.widget_lessonLastWatched .widget__header {
    font-size: 18px;
    font-weight: 600;
    color: #1E1E1E;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.widget_lessonLastWatched .widget__content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.widget_lessonLastWatched .widget__content li {
    margin-bottom: 10px !important;
    background-color: #E8F8FA;
    border-radius: 12px;
    padding: 16px !important;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.widget_lessonLastWatched .widget__content li:hover {
    background-color: #D1F2F6;
}

.widget_lessonLastWatched .widget__content li:active {
    transform: scale(0.99);
}

.widget_lessonLastWatched .widget__content li a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    gap: 4px;
}

.widget_lessonLastWatched .html-content ul li a::after {
    display: none;
}

.widget_lessonLastWatched .watched_title {
    font-size: 15px;
    font-weight: 600;
    color: #1E1E1E;
    line-height: 1.3;
}

.widget_lessonLastWatched li:hover .watched_title {
    color: #0B7C86;
}

.widget_lessonLastWatched .watched_module {
    font-size: 13px;
    font-weight: 300;
    color: #6B7A8D;
    line-height: 1.4;
}

.widget_lessonLastWatched .little_btn {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #0B7C86;
    background-color: rgba(11, 124, 134, 0.1);
    padding: 6px 12px;
    border-radius: 8px;
    border: none !important;
    align-self: flex-start;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.widget_lessonLastWatched .little_btn:hover {
    background-color: #0B7C86;
    color: #ffffff !important;
}

@media (max-width: 380px) {
    .widget_lessonLastWatched {
        padding: 16px;
    }
    
    .widget_lessonLastWatched .widget__content li {
        padding: 12px;
    }
}

/* Виджет "ранее вы изучали" */
.widget_lessonLastWatched {
    display: flex;
    flex-direction: column;
    padding: 24px;
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    box-sizing: border-box;
    
    /* background-image: url('путь-к-картинке.png'); */
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
}

.widget_lessonLastWatched * {
    box-sizing: border-box;
    font-family: 'Geologica', sans-serif !important;
}

.widget_lessonLastWatched .widget__header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: #1E1E1E;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.widget_lessonLastWatched .widget__header::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.75 8.74494V14.3186C0.75 16.166 2.88419 17.3337 4.62083 16.4365L7.31808 15.0431M0.75 5.54493V3.17125C0.75 1.32388 2.88419 0.15615 4.62082 1.05332L15.4099 6.627C17.1967 7.55013 17.1967 9.93974 15.4099 10.8629L10.0153 13.6497' stroke='%230B7C86' stroke-width='1.5' stroke-linecap='round' /%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.widget_lessonLastWatched .widget__content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.widget_lessonLastWatched .widget__content li {
    background-color: #E8F8FA;
    border-radius: 12px;
    padding: 16px !important;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.widget_lessonLastWatched .widget__content li:hover {
    background-color: #D1F2F6;
}

.widget_lessonLastWatched .widget__content li:active {
    transform: scale(0.99);
}

.widget_lessonLastWatched .widget__content li a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    gap: 4px;
}

.widget_lessonLastWatched .watched_title {
    font-size: 15px;
    font-weight: 600;
    color: #0B7C86;
    line-height: 1.3;
}

.widget_lessonLastWatched .watched_module {
    font-size: 13px;
    font-weight: 300;
    color: #6B7A8D;
    line-height: 1.4;
}

/* Скрываем кнопку "Перейти", так как её нет на макете */
.widget_lessonLastWatched .little_btn {
    display: none;
}

@media (max-width: 380px) {
    .widget_lessonLastWatched {
        padding: 16px;
    }
    
    .widget_lessonLastWatched .widget__content li {
        padding: 12px;
    }
}
/* ------------- 
content finish - История просмотренных уроков Виджет
------------- */

/* ------------- 
content start - Избранные уроки - оформление
------------- */

body:not(.chatium_body) li.menu-item.menu-item-favorite {
    cursor: pointer;
}

body:not(.chatium_body) li.menu-item.menu-item-favorite img {
    position: relative;
    top: -2px;
}

.gc-account-user-submenu-bar-favorite {
    width: 300px !important;
}

.gc-account-user-submenu-bar-favorite li {
    position: relative;
    margin-bottom: 30px !important;
    padding-right: 30px !important;
}

.gc-account-user-submenu-bar-favorite .gc-account-user-submenu li::before {
    background: #E4E2DC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M8.33332 9.43795V5.66667M8.33332 5.66667H4.56209M8.33332 5.66667L2.75736 11.2427M5.82879 12.8852C7.72692 13.2612 9.77165 12.7136 11.2427 11.2427C13.5858 8.89948 13.5858 5.10051 11.2427 2.75736C8.89946 0.414212 5.1005 0.414212 2.75736 2.75736C1.28638 4.22835 0.738853 6.27308 1.11477 8.17121' stroke='%232D2C2A' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center right !important;
    background-position-x: calc(100% - 10px) !important;
}

.gc-account-user-submenu-bar-favorite .fav_empty::before {
    display: none;
}

.gc-account-user-submenu-bar-favorite li::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 20px;
    width: 40px;
    height: 1px;
    background: #A6AA93;
}

.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;
    color: #a6a6a6;
    font-weight: 400;
    letter-spacing: .5px;
}

.gc-account-user-submenu-bar-favorite .fav_empty {
    padding: 10px 20px !important;
    font-style: italic;
    opacity: .5;
}

/* Сообщение */
#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;
    }
    
   .favIcon {
    position: absolute;
    top: 20px;
    right: 20px;
}
    }   
  
}

.ls-main .lesson-header-block {
    position: relative;
}

.ls-main .lesson-title-value a.favIcon,
.ls-main .lesson-header-block a.favIcon {
    position: absolute;
    top: 6px;
    right: 0;
    
    display: inline-block;
    width: 26px;
    height: 26px;
    margin: 0 0 0 12px;
    vertical-align: middle;
    opacity: 0.9;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.ls-main .lesson-header-block a.favIcon:hover {
    opacity: 1;
    transform: scale(1.06);
}

.ls-main .lesson-header-block a.favIcon svg,
.ls-main .lesson-title-value a.favIcon svg {
    display: block;
    width: 26px;
    height: 26px;
}

.ls-main .lesson-header-block a.favIcon svg *,
.ls-main .lesson-title-value a.favIcon svg * {
    fill: none !important;
    stroke: #0b7c86 !important;
}

.ls-main .lesson-header-block a.favIcon.active svg *,
.ls-main .lesson-title-value a.favIcon.active svg * {
    fill: #22F6FD !important;
    stroke: #22F6FD !important;
}
/* ------------- 
content finish - Избранные уроки - оформление
------------- */
