

/* ОФОРМЛЕНИЕ СТРАНИЦЫ С УРОКАМИ - начало */

:root {
    --color1: #DCA890;
    --color2: #fffbf8;
    --color3: #DCA890;
    --color4: #7C55C2;
    --white:  #ffffff;
    --black:  #363535;
    --font:  'body {
    --font-family: "Montserrat", sans-serif;
}';
}

/* Подключаем шрифты */
.stream-title, H1, H2, H3, H4, H5, H6, html .gc-account-leftbar H3, .page-header H1 {
    font-family: var(--font), body ,Mon tserrat , sans-serif!important;
    font-weight: 700; 
}

/* Устанавливаем фон заливкой цветом */
body {
    background-color: var(-—color2);
}

/* Убираем логотип */
.gc-account-logo {
    display: none!important;
}

/* Устанавливаем цвет ссылкам */
/* цвет ссылок в админке подтренинга */
.breadcrumbs a, .page-menu li a {color: var(--black); transition: all 0.3s;}
.breadcrumbs a:hover, .breadcrumbs a:active {color: var(--black)!important;}
/* все ссылки черного цвета */
/* a {color: var(--black)} */

/* Заголовок - название подтренинга */
/*.page-header H1 {
    font-size: 63px;
    color: var(--color1);
    letter-spacing: -0.5px;
    line-height: 1;
}*/

/* Собственный подзаголовок (ставим свой класс) */
.PreHeader {
    background: var(--color3);
    color: var(--white);
    font-family: var(--font);
    font-size: 27px;
    font-weight: 600;
    padding: 10px;
    text-transform: uppercase;
    border-radius: 6px;
    overflow: hidden !important;
    margin-bottom: 20px;
}

/* убираем фон и лишние отступы у списка уроков */ 
.LessonsList .lesson-list {
    background: transparent;
    padding: 0;
}

/* контент в плашке урока (таблица) занимает всю ширину
и укажем минимальную высоту уроков */ 
.LessonsList .lesson-list li table {
    width: 100%; 
    min-height: 100px;
} 

/* внутренние отступы у плашек уроков (ячеек) */ 
.LessonsList .lesson-list .item-main-td.item-with-image, 
.LessonsList .lesson-list .item-main-td {
    padding: 25px;
    height: auto; 
}

/* оформляем отдельный урок плашкой */
.LessonsList .lesson-list li {
    border-radius: 16px;
    border: 1px solid var(--color1);
    overflow: hidden;
    /* отступ снизу урока 15px */
    margin: 0 0 15px;
    transition: all 0.3s;
}

/* эффект при наведении на плашку урока (наведение в любом месте урока) */
.LessonsList .lesson-list li:hover {
    transform: translatex(5px);
}

/* скрываем слева иконку от Геткурс */ 
.LessonsList .lesson-list li .state-icon-block {
    display: none;
}

/* убираем область с иконкой Геткурс и боковой разделитель между ней и превью урока */ 
.LessonsList .lesson-list li .info {
    margin-left: 0;
    border-left: 0 !important;
}

/* оформляем иконку урока (превью) через ячейку превью */ 
.LessonsList .lesson-list li table td.item-image {
    /* размер контейнера с иконкой (превью) по ширине */
    width: 140px !important;
    /* размер иконки */
    background-size: 80px !important;
    background-position: center center !important;
    /* можно дополнить фоном превью */
    background-color: #DCA890 !important;
    position: relative;
}

/* добавляем место для фона у урока без иконки (превью) */ 
.LessonsList .lesson-list li:not(.with-image) {
    padding-left: 140px;
    position: relative;
}

/* добавляем фон цветом, если не загружена иконка (превью) */ 
.LessonsList .lesson-list li:not(.with-image)::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 140px;
    height: 100%;
    /* цвет фона */
    background-color: #DCA890;
}

/* оформляем плашку уроков - фон */
.LessonsList .lesson-list li .info,
/* недоступные уроки */
.LessonsList .lesson-list li.user-state-not_reached .info {
    margin-left: 0;
    /* цвет фона плашки */
    background: var(--color2);
}

/* оформляем название уроков */
.LessonsList .lesson-list .link.title,
/* недоступные уроки - оформляем название уроков */
.LessonsList .lesson-list li.user-state-not_reached .link {
    font-family: var(--font);
    font-weight: 400;
    font-size: 30px !important;
    line-height: 1;
    color: var(--color1);
    text-align: left;
    padding-left: 0px;
    margin-bottom: 10px;
    margin-right: 0px;
} 

/* оформляем описание уроков */
.LessonsList .lesson-list .description {
    color: var(--black);
    padding-left: 0px!important;
    width: 100%;
}

/* убираем сообщения в списке уроков (о монетах, о необходимости пройти урок */ 
.LessonsList .lesson-list li.divider {
    display: none;
}

/* делаем серыми уроки, которые недоступны из-за расписания или стоп-уроков */ 
li.user-state-not_reached .info,
.lesson-list li.user-state-not_reached:not(.with-image)::before {
    /* убираем цветность*/
    filter: saturate(0);
}

/* делаем серыми уроки, которые недоступны из-за расписания или стоп-уроков */ 
.LessonsList li.user-state-not_reached .info,
.LessonsList .lesson-list li.user-state-not_reached:not(.with-image)::before {
    /* убираем цветность*/
    filter: saturate(0);
}

/* системные надписи к урокам */ 
.LessonsList .lesson-list .user-state-label {
    display: inline-block!important;
    font-weight: 400;
    line-height: 1;
    background: var(--color4);
    color: var(--white);
    border-radius: 6px;
    padding: 5px 7px;
    margin-bottom: 5px;
    transition: all 0.3s; 
}


/* адаптация под мобильные устройства */ 
@media (max-width: 640px) {
    /* название подтренинга */ 
    .page-header H1 {
        font-size: 36px;
    }
    /* название уроков */ 
    .LessonsList .lesson-list .link.title {
        font-size: 24px!important;
    }
    /* уменьшаем отступы у текстового контента */
    .LessonsList .lesson-list li .info .vmiddle {
        margin-left: 0;
        padding-right: 0;
    }
    /* внутренние отступы у ячейки с текстовым контентом */ 
    .LessonsList .lesson-list .item-main-td.item-with-image,
    .LessonsList .lesson-list .item-main-td {
        padding: 15px 20px;
    }
    /* системные надписи на уроках */ 
    .LessonsList .lesson-list .user-state-label {
        font-size: 12px;
    }
}

/* найти ширину экрана, с которой пропадают превью у GetCourse */ 
@media (max-width: 520px) {
    /* скрываем псевдоэлемент */ 
    .LessonsList .lesson-list li:not(.with-image)::before {
        display: none;
    }
    /* убираем отведенное место под псевдоэлемент */ 
    .LessonsList .lesson-list li:not(.with-image) {
        padding-left: 0;
    }
}

/* ОФОРМЛЕНИЕ СТРАНИЦЫ С УРОКАМИ - конец */

/* Тренинги - баннер */
.al_support {
 margin-bottom: 20px;

 background: #FFFFFF;
 border: 1px solid #dca890;

 background: #FFFFFF;
 box-shadow: 0px 0px 22px rgba(255, 130, 130, 0.1);
 border-radius: 16px;
}

.al_support .html-content {

 padding: 25px 25px 15px;
 
 text-align: left;
 color: #000;
 
 border-radius: 5px;
}

.al_s-heading {
 font-weight: 400;
 font-size: 18px;
 line-height: 120%;
}

.al_s-time {
 margin-bottom: 20px;
 
 font-weight: 700;
 font-size: 24px;
 line-height: 120%;
 color: #df6c9b;
}

.al_s-msg {
 font-weight: 300;
 font-size: 14px;
 line-height: 120%;
}

.al_s-btn a {
 display: block;
 margin: 40px 0 0;
 padding: 15px;
 
 font-weight: 700;
 font-size: 16px;
 line-height: 120%;
 color: #fff;
 text-align: center;
 
 background: #df6c9b;
 border-radius: 5px; 
 
 transition: all .3s;
}

.al_s-btn a:hover {
 text-decoration: none;
 
 background: #e34242;
}

.al_sb-heading {
 font-weight: 400;
 font-size: 18px;
 line-height: 120%;
 color: #38393B;
 text-align: center;
}

.al_sb-btns {
 display: flex;
 flex-wrap: wrap;
 justify-content: center;
 
 padding: 25px 0;
}

.al_sb-btns img {
 margin: 0 10px;
 
 transition: all .3s;
}

.al_sb-btns img:hover {
 transform: translatey(-5px);
}

.page-menu {
 position: relative;
 z-index: 100;
}



/* ТРЕНИНГ */
.new-trainings {
  width: 100%;
  margin-bottom: 50px;
}
.new-trainings__title {
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 44px;
  letter-spacing: -0.02em;
  color: #000000;
  margin-bottom: 24px;
}
.new-trainings__content {
  background: #f8fafb;
  border-radius: 24px;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.new-trainings .new-training {
  text-decoration: none;
  background: #ffffff;
  box-shadow: 0px 0px 16px rgba(222, 233, 238, 0.47);
  border-radius: 16px;
  min-height: 180px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.new-trainings .new-training:hover, .new-trainings .new-training:active, .new-trainings .new-training:link, .new-trainings .new-training:visited {
  text-decoration: none;
}
.new-trainings .new-training__title {
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: #000000;
  margin-bottom: 24px;
}
.new-trainings .new-training__state {
  background: #69a5ff;
  border-radius: 8px;
  margin-top: auto;
  display: inline-block;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
  color: #ffffff;
  padding: 6px 10px;
}

/* МОДУЛИ */
.new-modules {
  width: 100%;
  margin-bottom: 50px;
}
.new-modules .html-content {
  height: 100%;
}
.new-modules__title {
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 44px;
  letter-spacing: -0.02em;
  color: #000000;
  margin-bottom: 24px;
}
.new-modules__content {
  background: #f8fafb;
  border-radius: 24px;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.new-modules .new-module {
  text-decoration: none;
  background: #ffffff;
  box-shadow: 0px 0px 16px rgba(222, 233, 238, 0.47);
  border-radius: 16px;
  min-height: 180px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
    height: 100%;
}
.new-modules .new-module:hover, .new-modules .new-module:active, .new-modules .new-module:link, .new-modules .new-module:visited {
  text-decoration: none;
}
.new-modules .new-module__number {
  background: #7C55C2;
  border-radius: 8px;
  margin-bottom: 24px;
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
  color: #ffffff;
  padding: 8px 14px;
}
.new-modules .new-module__title {
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: #000000;
  margin-top: auto;
  max-width: 65%;
  margin-bottom: 8px;
}
.new-modules .new-module__descr {
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.01em;
  color: #505050;
  opacity: 0.8;
  max-width: 65%;
}
.new-modules .new-module__img {
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
}
/* стили для собственных модулей */
.xdget-trainingList .stream-table {
    margin: 0;
}
.stream-table tbody {
  background: #FFF3F1;
  border-radius: 24px;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.xdget-trainingList .stream-table tr td {
    padding: 0;
    width: 100%;
    display: block;
    height: auto;
}
.stream-table tr a {
    text-decoration: none;
    background: #ffffff;
    box-shadow: 0px 0px 16px rgba(222, 233, 238, 0.47);
    border-radius: 16px;
    min-height: 180px;
    padding: 16px;
    display: flex !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    height: 100%;
}
.stream-table .stream-title {
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #000000;
    margin-top: auto;
    margin-bottom: 8px;
    z-index: 10;
    max-width: 65%;
}
.stream-table tr a div {
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 14px;
    letter-spacing: 0.01em;
    color: #505050;
    opacity: 0.8;
    position: relative;
    z-index: 10;
    max-width: 65%;
}
#styled-modules .new-module__number {
    background: #7C55C2;
    border-radius: 8px;
    margin-bottom: 24px;
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -0.02em;
    color: #ffffff;
    padding: 8px 14px;
}
.stream-table tr[data-training-id="11111111111"] a::before {
    content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
    width: 160px;
    height: 160px;
    background: url('https://fs.getcourse.ru/fileservice/file/download/a/642528/sc/324/h/f8b7d0ef0678db9959d7f4b97c3dad94.png') no-repeat center;
  background-size: contain;
}
.stream-table tr[data-training-id="11111111111"] a::before {
    content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
    width: 160px;
    height: 160px;
    background: url('https://fs.getcourse.ru/fileservice/file/download/a/642528/sc/153/h/aa897d8d0c712291a7775f23db5c265e.png') no-repeat center;
  background-size: contain;
}
.stream-table tr[data-training-id="11111111111"] a::before {
    content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
    width: 160px;
    height: 160px;
    background: url('https://fs.getcourse.ru/fileservice/file/download/a/627010/sc/152/h/054b6a0553ea4e8766f583d7b8cea524.png') no-repeat center;
  background-size: contain;
}
.stream-table tr[data-training-id="713442631"] a::before {
    content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
    width: 160px;
    height: 160px;
    background: url('https://fs.getcourse.ru/fileservice/file/download/a/627010/sc/100/h/d00927615f3ae5e80a7e9ce18b417840.png') no-repeat center;
  background-size: contain;
}
.stream-table tr[data-training-id="713442634"] a::before {
    content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
    width: 160px;
    height: 160px;
    background: url('https://fs.getcourse.ru/fileservice/file/download/a/627010/sc/157/h/ca080df09d2872fe9f4a55dd71434973.png') no-repeat center;
  background-size: contain;
}
.stream-table tr[data-training-id="713442635"] a::before {
    content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
    width: 160px;
    height: 160px;
    background: url('https://fs.getcourse.ru/fileservice/file/download/a/627010/sc/222/h/d6147e1fecb0ac7c1131317c460d6af5.png') no-repeat center;
  background-size: contain;
}

/* сгенерированные модули */
#generated-modules.new-modules__content {
    background: #f8fafb;
    border-radius: 24px;
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

#generated-modules a[data-training-id="713442627"]::before {
    content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
    width: 160px;
    height: 160px;
    background: url('https://fs.getcourse.ru/fileservice/file/download/a/627010/sc/486/h/a630c65145760789bd6b83a4c8927758.png') no-repeat center;
  background-size: contain;
}
#generated-modules a[data-training-id="713442624"]::before {
    content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
    width: 160px;
    height: 160px;
    background: url('https://fs.getcourse.ru/fileservice/file/download/a/627010/sc/304/h/fdcf7b46802df7ed3236e18935afe62e.png') no-repeat center;
  background-size: contain;
}
#generated-modules a[data-training-id="713442626"]::before {
    content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
    width: 160px;
    height: 160px;
    background: url('https://fs.getcourse.ru/fileservice/file/download/a/627010/sc/152/h/054b6a0553ea4e8766f583d7b8cea524.png') no-repeat center;
  background-size: contain;
}
#generated-modules a[data-training-id="713442631"]::before {
    content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
    width: 160px;
    height: 160px;
    background: url('https://fs.getcourse.ru/fileservice/file/download/a/627010/sc/100/h/d00927615f3ae5e80a7e9ce18b417840.png') no-repeat center;
  background-size: contain;
}
#generated-modules a[data-training-id="713442634"]::before {
    content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
    width: 160px;
    height: 160px;
    background: url('https://fs.getcourse.ru/fileservice/file/download/a/627010/sc/157/h/ca080df09d2872fe9f4a55dd71434973.png') no-repeat center;
  background-size: contain;
}
#generated-modules a[data-training-id="713442635"]::before {
    content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
    width: 160px;
    height: 160px;
    background: url('https://fs.getcourse.ru/fileservice/file/download/a/627010/sc/222/h/d6147e1fecb0ac7c1131317c460d6af5.png') no-repeat center;
  background-size: contain;
}

/*новые уроки */
.new-lessons {
  width: 100%;
  margin-bottom: 50px;
}
.new-lessons__title {
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 44px;
  letter-spacing: -0.02em;
  color: #000000;
  margin-bottom: 24px;
}
.new-lessons__content {
  background: #f8fafb;
  border-radius: 24px;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.new-lessons .new-lesson {
  text-decoration: none;
  background: #ffffff;
  box-shadow: 0px 0px 16px rgba(222, 233, 238, 0.47);
  border-radius: 16px;
  min-height: 284px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
}
.new-lessons .new-lesson:hover, .new-lessons .new-lesson:active, .new-lessons .new-lesson:link, .new-lessons .new-lesson:visited {
  text-decoration: none;
}
.new-lessons .new-lesson__number {
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
  color: #ffffff;
  background: #69a5ff;
  border-radius: 8px;
  padding: 8px 14px;
  margin-bottom: 10px;
}
.new-lessons .new-lesson__state {
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
  border-radius: 8px;
  padding: 8px 14px;
  position: absolute;
  top: 16px;
  right: 16px;
}
.new-lessons .new-lesson__title {
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 19px;
  color: #000000;
  margin-top: auto;
  margin-bottom: 8px;
}
.new-lessons .new-lesson__descr {
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: 0.01em;
  color: #505050;
  opacity: 0.8;
  margin-bottom: 14px;
}
.new-lessons .new-lesson__button {
  background: #69a5ff;
  border-radius: 8px;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 19px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  width: 100%;
  padding: 16px;
  height: 50px;
}
.new-lessons .new-lesson__button-time {
  font-style: normal;
  font-weight: 300;
  font-size: 9px;
  line-height: 11px;
  color: #edf4ff;
}
.new-lessons .new-lesson.user-state-has_mission .new-lesson__state {
  color: #000000;
  background: #c9ddeb;
}
.new-lessons .new-lesson.user-state-reached .new-lesson__state {
  color: #000000;
  background: #c9ddeb;
}
.new-lessons .new-lesson.user-state-not_reached .new-lesson__number,
.new-lessons .new-lesson.user-state-not_reached .new-lesson__title,
.new-lessons .new-lesson.user-state-not_reached .new-lesson__descr {
  opacity: 0.5;
}
.new-lessons .new-lesson.user-state-not_reached .new-lesson__state {
  color: #ffffff;
  background: #2d2d2d;
}
.new-lessons .new-lesson.user-state-not_reached .new-lesson__button {
  background: #2d2d2d;
}
.new-lessons .new-lesson.user-state-answered .new-lesson__state {
  color: #000000;
  background: #ffea9e;
}
.new-lessons .new-lesson.user-state-accomplished .new-lesson__state {
  color: #000000;
  background: #b8f0be;
}
.new-lessons .new-lesson.user-state-need_accomplish .new-lesson__state {
  color: #000000;
  background: #ffcaca;
}

/* поиск */
.custom-search {
  --search-bg: #fff3f1;
  --url-image-bg: url(https://fs.getcourse.ru/fileservice/file/download/a/627010/sc/436/h/2bdeec4dc4cc1a538796c15fe9aaef08.svg);
  --color-search-text: #000000;
  --color-search-placeholder: #505050;
  --page-bg: #ffffff;
  width: 100%;
  max-width: 694px;
  margin-bottom: 50px;
  position: relative;
}

.custom-search__input {
  background-color: var(--search-bg);
  background-image: var(--url-image-bg);
  background-position: left 20px center;
  background-repeat: no-repeat;
  width: 100%;
  height: 48px;
  border-radius: 16px;
  border: none;
  padding: 22px;
  padding-left: 52px;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  color: var(--color-search-text);
}

.custom-search__input::-moz-placeholder {
  color: var(--color-search-placeholder);
}

.custom-search__input::placeholder {
  color: var(--color-search-placeholder);
}

.custom-search__search-results-wrap {
  position: absolute;
  top: 74px;
  left: 0;
  right: 0;
  background: var(--search-bg);
  border-radius: 16px;
  z-index: 100020;
  padding: 16px;
}

.custom-search__search-results {
  height: auto;
  max-height: 400px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--page-bg) var(--search-bg);
  padding-right: 5px;
}

.custom-search__search-results::-webkit-scrollbar {
  width: 6px;
  background-color: var(--search-bg);
}

.custom-search_search-results::-webkit-scrollbar-thumb {
  background-color: var(--page-bg);
  border-radius: 9em;
}

.custom-search__search-subtitle {
  display: block;
  line-height: 150%;
  color: var(--color-search-text);
  font-style: normal;
  font-weight: normal;
  font-size: 12px;
  line-height: 140%;
  margin-top: 0px;
  margin-bottom: 10px;
  opacity: 0.5;
}

.custom-search__search-subtitle:not(:first-child) {
  margin-top: 20px;
}

.custom-search__search-item {
  display: flex;
  flex-direction: column;
  font-family: "SF UI Display", sans-serif;
  font-weight: bold;
  font-size: 16px;
  line-height: 100%;
  margin-top: 0px;
  margin-bottom: 15px;
  color: var(--color-search-text);
}

.custom-search__search-item:hover,
.custom-search__search-item:active,
.custom-search__search-item:link,
.custom-search__search-item:visited {
  color: var(--color-search-text);
  text-decoration: none;
}

.custom-search__search-item-descr {
  display: block;
  font-weight: normal;
  color: var(--color-search-text);
  opacity: 0.5;
  font-size: 12px;
  line-height: 100%;
  margin-top: 4px;
}

/* прогресс пользователя*/
.user-progress {
  width: 100%;
  padding: 24px;
  margin-bottom: 48px;
}
.user-progress__title {
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 26px;
  letter-spacing: -0.02em;
  color: #000000;
  margin-bottom: 18px;
}
.user-progress__course {
  background: #DCA890;
  border-radius: 8px;
  padding: 16px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
}
.user-progress__course:not(:last-child) {
  margin-bottom: 16px;
}
.user-progress__scale {
  position: relative;
  width: 52px;
  height: 52px;
}
.user-progress__scale svg {
  transform: rotate(-90deg);
}
.user-progress__scale-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-style: normal;
  font-weight: 700;
  font-size: 12px;
  line-height: 13px;
  letter-spacing: -0.02em;
  color: #000000;
}
.user-progress__course-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  font-style: normal;
  font-weight: 700;
  font-size: 20px;
  line-height: 22px;
  letter-spacing: -0.02em;
  color: #000000;
}
.user-progress__course-points {
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 14px;
  letter-spacing: -0.02em;
  color: #505050;
  margin-top: 4px;
}

/*календарь?????*/

/* связи */
.links {
  --links-color-bg: #ffffff;
  --links-color-name: #000000;
  --links-max-width: 340px;
  --links-color-item-bg: #deebfe;
  --links-color-item-text: #000000;
  --links-color-icon-bg: #ffffff;
  --links-url-news: url(../assets/icons24x24-2.svg);
  --links-url-chat: url(../assets/icons24x24-3.svg);
  --links-url-bot: url(../assets/icons24x24-4.svg);
  background-color: var(--links-color-bg);
  padding: 24px;
  border-radius: 20px;
  width: 100%;
  width: var(--links-max-width);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: 0 auto;
  margin-bottom: 24px;
  position: relative;
}

.links__item {
  background: var(--links-color-item-bg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 16px;
  text-decoration: none;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 19px;
  color: var(--links-color-item-text);
}

.links__item:not(:last-child) {
  margin-bottom: 16px;
}

.links__item:hover,
.links__item:active,
.links__item:link,
.links__item:visited {
  color: var(--links-color-item-text);
  text-decoration: none;
}

.links__item::before {
  width: 24px;
  height: 24px;
  margin-right: 16px;
  background: var(--links-color-icon-bg) no-repeat center;
  border-radius: 8px;
  display: block;
  content: "";
}

.links__item_news::before {
  background-image: var(--links-url-news);
}

.links__item_chat::before {
  background-image: var(--links-url-chat);
}

.links__item_bot::before {
  background-image: var(--links-url-bot);
}

/* новое-прогресс*/
.new-progress {
  width: 100%;
  padding: 0 24px;
    max-width: 450px;
    margin: 0 auto 70px;
}
.new-progress__title {
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 29px;
  color: #000000;
  margin-bottom: 30px;
}
.new-progress__wrap {
  display: grid;
  width: 100%;
  grid-template-columns: 124px 1fr;
  gap: 20px;
}
.new-progress__scale {
  position: relative;
  width: 124px;
  height: 124px;
}
.new-progress__scale svg {
  transform: rotate(-90deg);
}
.new-progress__scale-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-style: normal;
  font-weight: 600;
  font-size: 32px;
  line-height: 38px;
  color: #000000;
}
.new-progress__data {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
}
.new-progress__done, .new-progress__left {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  line-height: 19px;
  color: #000000;
  margin-bottom: 4px;
}
.new-progress__done-points {
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #69a5ff;
  border-radius: 4px;
  padding: 4px 10px;
}
.new-progress__left-points {
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #deebfe;
  color: #505050;
  border-radius: 4px;
  padding: 4px 10px;
}


/* новый тариф */
.new-rate {
  width: 100%;
  margin-bottom: 64px;
  padding: 0 24px;
   max-width: 450px;
    margin: 0 auto 70px;
}
.new-rate__title {
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 29px;
  color: #000000;
  margin-bottom: 16px;
}
.new-rate__content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}
.new-rate__img {
  width: 52px;
  height: 52px;
  /*background: url(https://fs.getcourse.ru/fileservice/file/download/a/627010/sc/279/h/fba7c3fa4bad6732b17a724f208a358d.png) no-repeat center;*/
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  margin-right: 24px;
}
.new-rate__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.new-rate__name {
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: #000000;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.new-rate__link {
  text-decoration: none;
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  line-height: 19px;
  color: #69a5ff;
  margin-top: 4px;
  display: block;
}
.new-rate__link:hover, .new-rate__link:active, .new-rate__link:link, .new-rate__link:visited {
  text-decoration: none;
}

/* новинка-бонус */
.new-bonus {
  --nb-color-bg: #DCA890;
  --nb-color-title: #ffffff;
  --nb-color-link: #deebfe;
  --nb-color-bonus-bg: #ffffff;
  --nb-color-bonus-text: #DCA890;
  --nb-color-bonus-units: #505050;
  width: 100%;
  height: 98px;
  background: var(--nb-color-bg);
  border-radius: 20px;
  max-width: 420px;
  margin: 0 auto;
  margin-bottom: 20px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}
.new-bonus__title {
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 29px;
  color: var(--nb-color-title);
}
.new-bonus__link {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  line-height: 14px;
  color: var(--nb-color-link);
  margin-top: 4px;
}
.new-bonus__link:hover,
.new-bonus__link:active,
.new-bonus__link:link,
.new-bonus__link:visited {
  text-decoration: none;
  color: var(--nb-color-link);
}
.new-bonus__link svg {
  margin-left: 4px;
}
.new-bonus__link svg path {
  fill: var(--nb-color-link);
}
.new-bonus__count {
  width: 137px;
  height: 137px;
  background-color: var(--nb-color-bonus-bg);
  border-radius: 137px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 24px;
  line-height: 28px;
  color: var(--nb-color-bonus-text);
  font-weight: 800;
  right: -13px;
  top: 50%;
  transform: translate(0, -50%);
  position: absolute;
}
.new-bonus__units {
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 14px;
  color: var(--nb-color-bonus-units);
  text-align: center;
}

/* поддержка */
.new-support {
  width: calc(100% - 48px);
  background: #69a5ff;
  border-radius: 20px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 24px;
  margin-bottom: 44px;
}
.new-support__title {
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 29px;
  color: #ffffff;
  margin-right: 16px;
}
.new-support__time {
  font-style: normal;
  font-weight: 300;
  font-size: 12px;
  line-height: 14px;
  color: #deebfe;
  margin-top: 4px;
  display: block;
}
.new-support__contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}
.new-support__contacts a {
  display: block;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  text-decoration: none;
  margin-left: 8px;
}
.new-support__contacts a:hover, .new-support__contacts a:active, .new-support__contacts a:link, .new-support__contacts a:visited {
  text-decoration: none;
}
.new-support__link-1 {
  background: url(../assets/fb_messenger-2.svg) no-repeat center;
}
.new-support__link-3 {
  background: url(../assets/telegram-2.svg) no-repeat center;
}
.new-support__link-2 {
  background: url(../assets/whatsapp.svg) no-repeat center;
}

.new-access {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.new-access__scale {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  margin-left: 24px;
}
.new-access__title {
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  line-height: 29px;
  color: #000000;
}
.new-access__data {
  display: flex;
  width: 100%;
  margin-top: 8px;
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  line-height: 19px;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.new-access__time {
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  color: #505050;
  background: #deebfe;
  border-radius: 4px;
  padding: 4px 10px;
  margin-left: auto;
}
@media(max-width: 1280px) {
    .new-modules__content,
    .stream-table tbody,
    #generated-modules.new-modules__content {
      grid-template-columns: repeat(1, 1fr);
    }
}
@media (max-width: 1200px) {
    #new-trainings.new-trainings__content,
    .new-trainings__content,
    .stream-table tbody {
      grid-template-columns: repeat(1, 1fr);
    }
}
@media (max-width: 1100px) {
    #custom-container {
        display: flex;
        flex-direction: column;
    }
    #main-content {
        order: 2;
    }
    #sidebar {
        width: 100% !important;
        order: 1;
    }
    #open-dashboard {
      display: flex;
    }
    .new-modules__content,
    .stream-table tbody,
    #generated-modules.new-modules__content {
      grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .new-modules__content,
    .stream-table tbody,
    #generated-modules.new-modules__content {
      grid-template-columns: repeat(1, 1fr);
    }
    .new-modules__title {
        font-size: 30px;
        line-height: 34px;
    }
}
@media (max-width: 568px) {
    #main-content,
    #sidebar {
        padding: 0;
    }
}
@media(max-width: 480px) {
    .new-progress__wrap {
        grid-template-rows: 124px 1fr;
        grid-template-columns: 1fr;
    }
    .new-progress__scale {
        margin: 0 auto;
    }
    .new-mentor__content {
        flex-wrap: wrap;
    }
    .new-mentor__contacts {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        margin-left: 76px;
        margin-top: 10px;
    }
    .new-mentor__contacts a {
        margin-right: 8px;
    }
    .new-mentor {
        padding: 0;
    }
    .new-rate {
        padding: 0;
    }
}

/* ДВЕ КНОПКИ В РЯД - начало */

/* Контейнер с кнопками */
.form-2buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 10px;
    margin-bottom: 25px;
}

/* Оформляем кнопки */
.form-2buttons .chat-btn {
    position: relative;
    flex: 1 1 30%;
    min-height: 60px;
    font-family: var(--font);
    letter-spacing: 1.3px;
    font-size: 18px;
    color: #fff;
    background: #DCA890;
    border-radius: 20px;
    transition: all .3s;
    font-weight: bold;
   border: 1px solid var(--color1);
}

.form-2buttons .chat-btn:hover {
    background: #fff3f1;
    color: #000;
}

/* мобильная адаптация */
@media (max-width: 420px) {
    .form-2buttons .chat-btn {
        flex: 1 1 100%;
    }
}

/* ДВЕ КНОПКИ В РЯД - конец */

/* ВИДЖЕТ ПРОДЛЕНИЯ ПОКУПКИ - начало */

:root {
    --Tcolor1: #54ad32;
    --Tcolor2: #DCA890;
    --Tcolor3: #DCA890;
    --Twhite:  #fef3f1;
    --Tblack:  #0d0d0d;
    /*--background: rgba(143,194,216, 0.2);*/
    --Tbackground: #fef3f1;
    --Tfont:  'Montserrat';
}


/* Виджет продления покупки - оформление */
.xdget-block .xdget-productTiming {
    /* растягиваем на всю ширину (для узких экранов) */
    max-width: 100%;
    font-family: 'Montserrat', Roboto, sans-serif;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
    color: var(--Tblack)!important;
    background-color: var(--Tbackground);
   
    border-radius: 16px;
    margin-bottom: 25px;
}

/* Виджет продления покупки - акцент на датах доступа */
.xdget-block .xdget-productTiming .text-muted {
    font-family: var(--Tfont), 'Montserrat', Roboto, sans-serif !important;
    font-weight: 600; 
    font-size: 18px;
    color: var(--Tcolor2);
    margin-top: 20px;  
    /* если добавлено предложение на продление*/
    margin-bottom: 20px;  
}

/* Виджет продления покупки - красная надпись об окончании покупки через пару дней */
.user-product-block b {
    color: var(--Tcolor3)!important;
}

/* Если добавлено предложение на продление - Кнопка Продлить доступ */
.xdget-block .xdget-productTiming .user-product-block a.dotted-link {
    font-family: 'Montserrat', Roboto, sans-serif !important;
    color: var(--Tcolor3);
    border-bottom: 1px dotted var(--Tcolor3);
    transition: all .3s;
}

.xdget-block .xdget-productTiming .user-product-block a.dotted-link:hover {
    color: var(--Tcolor2);
    border-bottom: 1px dotted var(--Tcolor2);
}

/*  Если добавлено предложение на продление - контейнер с предложением */
.user-product-block .prolong-offers {
    font-family: 'Montserrat', Roboto, sans-serif !important;
    color: var(--Tblack);    
}

/*  Если добавлено предложение на продление - количество дней продления */
.user-product-block .prolong-offers div {
    font-family: var(--Tfont), 'Montserrat', Roboto, sans-serif !important; 
    color: var(--Tcolor3);
}

/*  Если добавлено предложение на продление - кнопка Продлить */
.user-product-block .btn.btn-success.btn-prolongate {
    background: var(--Tcolor3);
    color: var(--Tblack);
    border-radius: 6px;
    border: none;
    padding: 10px 20px;
    transition: all .3s;
}

.user-product-block .btn.btn-success.btn-prolongate:hover {
    background: var(--Tcolor2);
    color: var(--Twhite);
}

.standard-form {
    background: #fef3f1!important;
    padding: 20px;
    max-width: 500px;
}

/* ВИДЖЕТ ПРОДЛЕНИЯ ПОКУПКИ - конец */
