

/* Установка шрифта */
@import url('https://fs.getcourse.ru/fileservice/file/download/a/640465/sc/250/h/3bc2ad62c991ee0d9e6154fb9f603d85.css');

html, .text, p {
	font-family: 'Ubuntu', sans-serif !important;  
}

/* Задаем флекс таблице с карточками */
.stream-table {
    margin-left: -1-0px!important;
}

.stream-table tbody {
  display:flex;
  flex-wrap: wrap;
}


/* Настраиваем оболочку карточек */
.stream-table tbody tr {
  position:relative;
  flex:0 0 calc(50% - 20px);
  border-radius: 25px;
  overflow: hidden;
  margin: 10px;
  transition: all 0.3s;
  height: 160px; 
  background: radial-gradient(100% 100% at 50% 0%, #48A9BF 0%, #2F86C6 100%);
}

.stream-table tr td {
    cursor: pointer;
    padding-top: 30px!important;
    padding-right: 30px!important;
    padding-bottom: 20px!important;
    padding-left: 30px!important;
    height: 70px;
}


/***растягиваем ссылку на всю плитку***/
.cards tbody tr {
    display: flex;
}

.cards tbody tr > td {
    position: relative;
    width: 100%;
    height: 100%;
}

.cards tbody tr > td > a {
    position: relative;
    width: 100%;
    height: 100%;
}



/***убираенм серое при наведении***/
.stream-table tr td:hover {
    background: transparent!important;
}


/* заголовок */
.cards .stream-title {
  font-family: 'Ubuntu',sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 28px;
  line-height: 101%;
  display: flex;
  align-items: center;
  color: #FFFFFF;
}

/* скрываемкол-во уроков */
.cards td a > div {
    display: none;
}



/***Анимация***/
/* Увеличиваем при наведении курсора */
.stream-table tbody tr:hover {
  transform:scale(1.015);
  box-shadow: 0px 20px 25px rgba(0, 0, 0, 0.12);
}




/* Адаптируем карточки под разные разрешения */
@media (max-width:1200px) {
  .stream-table tbody tr {
    flex:0 0 calc(50% - 20px);
  }
}

@media (max-width:1000px) {
  .stream-table tbody tr {
    flex:0 0 calc(50% - 20px);
  }
}

@media (max-width:850px) {
  .stream-table tbody tr {
    flex:0 0 calc(50% - 20px);
  }
      .stream-table tbody tr {
    height:345px;
  }
}

@media (max-width:510px) {
  .stream-table tbody tr {
      flex:0 0 100%;
  }
}






/*** уроки ***/

/* ОБЩЕЕ */

/*************/
/****убираем уголки********/
.lesson-list td.item-image {
  border-radius: 10px;
}

.user-state-bg {
  background:transparent;
}

.lesson-list li .info {
  border-radius: 10px!important;
  background: radial-gradient(196.45% 2614.81% at 1.32% 7.1%, #45A8BA 0%, #358AC8 10%, #2F86C6 100%) !important;
  margin-left: 0px!important;
}


/********/

/* убираем фон и лишние отступы у списка уроков  */
.lesson-list {
    background: transparent!important;
    padding: 0;
}

/* высота*/
.lesson-list li .item-a,
.lesson-list li .info,
.lesson-list tr {
    min-height: 100%;
    position: relative;
}
.lesson-list li {
	box-shadow: (0px 3px 25px rgba(0, 0, 0, 0.05));
    transition:0.3s all;
    border-radius: 10px;
}
.lesson-list li:hover {
   box-shadow: (0px 20px 25px rgba(0, 0, 0, 0.12));
   transform:scale(1.01);
   border-radius: 10px!important; 
}


/* убрать синий фон */
.lesson-list li .item-a {
    background: transparent!important;
}

/* убираем уголки */
.lesson-list li .item-a, .lesson-list li .info .lesson-list tr {
    border-radius: 0 10px 10px 0!important;
}

/* граница вокруг отдельного урока */
.lesson-list li {
    border: none;
    margin: 0 0 10px;
}

/* граница выполенного урока */
.lesson-list li.user-state-accomplished {
    border: 1px solid #3188C6;
}

/* убираем скругления слева */
.lesson-list li .item-a {
    border-radius: 0;
}

/* убираем сообщения с ошибками, которые сломали бы вид */
.lesson-list li.divider {
    display: none;
}

/* скрываем блок с иконкой GetCourse */
.lesson-list li .state-icon-block {
    display: none;
}

/* убираем лишнюю полоску и отступ иконки GetCourse */
.lesson-list li .info {
    margin-left: 0;
    border-left: 0 !important;
}

/* Фон выполненного урока */
.lesson-list li.user-state-accomplished .info {
    background: transparent;
}


/* ЗАГОЛОВОК */
.lesson-list li .title {
    font-family: 'Ubuntu',sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 23px;
    line-height: 110%;
    display: flex;
    align-items: center;
    color: #ffffff;

    margin-bottom: 10px;
    margin-left: 50px;
}

.lesson-list li:not(.user-state-not_reached) a:hover .title {
    color: #00FFDB; /* цвет при наведении */
}

/* ОПИСАНИЕ */
.lesson-list .description {
    color: #ffffff!important;
    width: 90%;
    font-family: 'Montserrat', sans-serif;
    margin-left: 50px;
}

/* скрываем дату выхода урока */
.lesson-list li.user-state-reached .user-state-label {
    display: none!important;
}
.lesson-list li:hover .user-state-label {
    display: block;
    background-color: #00000099; 
    color: #ffffff;
}

/* Стилизуем системные надписи к урокам */
.lesson-list .user-state-label {
    font-weight: 400;
    border: 1px solid #fff;
    display: inline-block;
    padding: 5px;
    margin-left: 45px;
    margin-bottom: 5px;
    line-height: 1;
    transition: all 0.3s;
    border-radius: 10px;
}


/* задание ожидает проверки */
.lesson-list .user-state-answered .user-state-label {
    color: #fff;
    border-color: #fff;
}
.lesson-list li.user-state-answered:hover .user-state-label {
    background-color: #7ea4b3;
}

/* задание выполнено */
.lesson-list .user-state-accomplished .user-state-label {
    color: #fff;
    border-color: #fff;
}
.lesson-list li.user-state-accomplished:hover .user-state-label {
    background-color: #53a28d99;
}

/* стоп-урок */
.lesson-list .user-state-need_accomplish .user-state-label {
    color: #fff;
    border-color: #fff;
}
.lesson-list li.user-state-need_accomplish:hover .user-state-label {
    background-color: #fc4f2b;
}

/* недоступен */
.lesson-list .user-state-label.has-start-at,
.lesson-list .user-state-not_reached .user-state-label {
    border-color: #fff;
    color: #fff;
}
.lesson-list li.user-state-label:hover .user-state-label {
    background-color: #fc4f2b;
    border-color: #fc4f2b;
}

/* есть задание */
.lesson-list .user-state-has_mission .user-state-label {
    border-color: #fff;
    color: #fff;
}
.lesson-list li.user-state-has_mission:hover .user-state-label {
    background-color: #ff9657;
}



/* Анимация уроков */
.lesson-list li .item-a {
    transition: 0.3s linear box-shadow  !important;
}
.lesson-list li .item-a:hover {
    box-shadow: #A2B5B266 0 10px 30px 0 !important;
    transition: 0.3s linear box-shadow !important;
}

.lesson-list li {
    overflow: visible !important;
}
.lesson-list li a {
    overflow: hidden !important;
}


.lesson-list li.with-image .state-icon-block {
    display: none;
}



/* настраиваем адаптивность */
@media (max-width: 767px) {
    .lesson-list li .info .vmiddle {
        margin-left: 0;
        padding-right: 0;
    }
    .lesson-list .item-main-td.item-with-image,
    .lesson-list .item-main-td {
        padding: 15px 20px;
    }
    .lesson-list li:not(.with-image) {
        padding-left: 0;
    }
    .lesson-list li:not(.with-image)::before {
        display: none;
    }
    .lesson-list .user-state-label {
        font-size: 12px;
    }
    .lesson-list li .title {
        font-size: 20px;
        margin-left: 25px;
    }
    .lesson-list .description {
    	color: #ffffff!important;
    	margin-left: 25px;
}
    .page-menu li {
        width: calc(50% - 15px); /* аккуратно выравниваем меню для админов */
    }
  
}






/*** урок внутри ***/

/*Стилизация верхней части урока*/
.lesson-header-block {
  background: radial-gradient(100% 100% at 50% 0%, #48A9BF 0%, #2F86C6 100%)!important;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.05);
  border-radius: 25px;
  color:#fff!important;
  padding: 0px 25px!important;
}

.lesson-header-block h2 {
  font-family: 'Ubuntu',sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 30px;
  line-height: 110%;
  top:25px;
  text-align: center;
  color: #FFFFFF!important;
  position: relative;
  margin-bottom:40px;
  margin-top: 10px;
}

.lesson-navigation td {
    position:relative;
}

.text-right {
  font-family: 'Ubuntu',sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  line-height: 16px;
  text-align: right;
  color: #ffffff;
  }

.text-center.hidden-xs span {
  font-family: 'Ubuntu',sans-serif;
  font-weight: 400;
  font-size: 10px;
  line-height: 12px;
  text-align: center;
  color: #ffffff;
}
.lesson-navigation td .hidden-xs {
  font-family: 'Ubuntu',sans-serif;
  font-size: 10px;
  line-height: 12px;
  color: #ffffff;
}
.lesson-navigation td a {
  font-family: 'Ubuntu',sans-serif;
  font-size: 13px;
  line-height: 16px;
  color: #ffffff;
}

.lesson-navigation td .hidden-xs {
  display:none;
}


/* стрелки */
.text-right:after {
  content: "";
  background: url('https://fs.getcourse.ru/fileservice/file/download/a/111079/sc/29/h/1097c1e3d28b414282437da141ae08c1.png')no-repeat;
  background-size: contain!important;
  width: 16px;
  height: 16px;
  display:block;
  position:absolute;
  top:11px;
  right:0px;
  font-size: 13px;
  line-height: 16px;
}

.lesson-navigation td:first-child:before{
  content: "";
  background: url('https://fs.getcourse.ru/fileservice/file/download/a/111079/sc/55/h/8092ceb2b5d26627de8e3279d1964012.png')no-repeat;
  background-size: contain!important;
   width: 16px;
  height: 16px;
  top:11px;
  left:0px;
  font-size: 13px;
  line-height: 16px;
  position:absolute;
}

@media (max-width:767px) {
.lesson-navigation td:first-child:before, .text-right:after {
  top:5px;
  }
    .lesson-header-block h2 {
  font-family: 'Ubuntu',sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 22px!important;
  line-height: 110%;
  top:25px;
  text-align: center;
  color: #FFFFFF!important;
  position: relative;
  margin-bottom:30px;
  margin-top: 10px;
}
}


.user-state-has_mission, .user-state-need_accomplish{
  font-family: 'Ubuntu',sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
  color: #ffffff;
}








