

/*************** Основная тема ***************/

/* ШАПКА ГЛАВНОЙ СТРАНИЦЫ */
.np_shapka_bchp9_main, .np_shapka_bchp9_lk {
    position: relative;
    display: flex;
    align-items: center;
    height: 180px;
    margin-bottom: 20px;
    border-radius: 30px;
}
.np_shapka_bchp9_main .xdget-image.width-fit, .np_shapka_bchp9_lk .xdget-image.width-fit {
    position: absolute;
    z-index: 0;  
}
.np_shapka_bchp9_main .xdget-image.width-fit img, .np_shapka_bchp9_lk .xdget-image.width-fit img {
    border-radius: 30px;
}
.np_shapka_bchp9_main h2, .np_shapka_bchp9_lk h2 {
    z-index: 10;
    padding-left: 40px;
}

/* СПИСОК МОДУЛЕЙ */
.stream-table tr a {
    display: grid!important;
    grid-template-columns: auto 3fr;
    grid-template-rows: auto 6fr;
    gap: 0px 5px;
    grid-auto-flow: row;
    grid-template-areas:
        "image title "
        "image descr";
}
.stream-table b {
    display: none;
}
.stream-table tr .stream-title { 
    grid-area: title; 
}
.stream-table tr a > div:last-child { 
    grid-area: descr;
    font-size: 15px;
}
.stream-table tr a {
    color: inherit;
    flex-basis: 100%;
    height: 100%;
}
.stream-table .stream-title {
    color: #393939;
    font-weight:600 !important;
    font-size: 20px;
    line-height: 1.1;
}

.stream-table tr {
    background-color: #fff;
    display: block;
    margin: 0px 20px 20px 20px;
    padding: 0;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: calc(100% - 20px);
    height: auto;
    width: 100%;
    border: 1px solid #C9D7F8;
    border-radius: 15px;
}
.stream-table tr {
    transition: ease 0.5s;
}
.stream-table tr:hover {
    transform: translate(10px);
    box-shadow: -10px 0px 0px #B9BECD;
}
.stream-table tr td:hover {
    background: inherit;  
}

@media (max-width: 640px) {
    .stream-table tr {
        border-radius: 15px;
    }
}
/* КНОПКИ */
.np_buttons {
    margin-bottom: 15px;
}
.np_buttons button {
    width: 100%;
    height: 50px;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 130%;
    color: #294488;
    border-radius: 15px;
    transition: ease 0.5s;
}
.np_buttons button:hover {
    transform: translateY(-10px);
}
.np_buttons button.np_btn_violet:hover {
    box-shadow: 0px 8px 0px #C0BDFB70;
}
.np_buttons button.np_btn_blue:hover {
    box-shadow: 0px 8px 0px #C9D7F880;
}
.np_buttons button.np_btn_green:hover {
    box-shadow: 0px 8px 0px #A7E2E360;
}

/**** ДОСТУП К КУРСУ и РАСПИСАНИЕ УРОКОВ ****/
.np_dostup, .np_schedule, .np_progress  {
    border-radius: 30px;
    margin-bottom: 20px;
}
.np_dostup .xdget-html, .np_schedule .xdget-html, .np_progress .xdget-html {
    border-radius: 30px 30px 0 0;
}
.np_dostup .standard-form {
    border-radius: 0 0 30px 30px;
    background: none;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 130%;
    text-align: center;
    color: #294488;
}
.np_dostup .text-muted {
    font-style: normal;
    font-weight: 600;
    font-size: 22px;
    line-height: 130%;
    color: #294488;
    margin-top: 10px;
}
.np_dostup .html-content, .np_schedule .html-content, .np_progress .html-content:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;

}
.np_dostup .html-content p, .np_schedule .html-content p, .np_progress .html-content:first-child p {
    margin: 0;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 130%;
    color: #294488;
}
.np_schedule h3 {display: none}
.np_schedule .schedule-block {
    border-radius: 0 0 30px 30px;
    background: none !important;
    padding-bottom: 0;
}
.schedule-block .day {
    margin-left: 40px;
    position: relative;
}
.schedule-block .day:before {
    content: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle opacity='0.3' cx='15' cy='15' r='15' fill='%23D9D9D9'/%3E%3C/svg%3E%0A");
    position: absolute;
    left: -40px;
}
.schedule-block .day-label {
    padding-left: 10px;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 130%;
    color: #000000;
}
.schedule-block .day .record {
    overflow: hidden;
    padding-left: 10px;
}
.schedule-block .time {
    float: none;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 130%;
    color: #000000;
}
.schedule-block .event {
    margin-left: 0px;
    padding-bottom: 10px;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 130%;
    color: #000000;
    display: flex;
    flex-direction: column;
}
.schedule-block .event a {
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 120%;
    color: #000000;
    padding-bottom: 8px;
}
.schedule-block .event br {display: none}

/*** ВТОРОЙ ЭКРАН ***/
/**** СПИСОК УРОКОВ ****/
.lesson-list {
    background: none;
    padding: 0;
}
.lesson-list li:not(.divider) {
    margin: 0 0 20px;
    border: 1px solid #C9D7F8;
    border-radius: 15px;
    transition: ease 0.4s;
    position: relative;
}
.lesson-list li:not(.divider):hover {
    transform: translate(10px);
    box-shadow: -10px 0px 0px #B9BECD;
}
.lesson-list li:after {  
    position: absolute;
    top: 0;
    right: 0;
    width: 45px;
    height: 100%;
    font-family: 'FontAwesome';
    font-size: 25px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lesson-list li.user-state-has_mission:after {
    content: '\f040';  
    background: #67A8F4;
}
.lesson-list li.user-state-need_accomplish:after {
    content: '\f12a';  
    background: #CF5757;
}
.lesson-list li.user-state-reached:after {
    content: '\f13e';  
    background: #57CF72;
}
.lesson-list li.user-state-accomplished:after {
    content: '\f00c';  
    background: #57CF72;
}
.lesson-list li.user-state-not_reached:after {
    content: '\f023';  
    background: #D9D9D9;
}
.lesson-list li.user-state-answered:after {
    content: '\f110';  
    background: #9A9A9A;
}
.lesson-list li .state-icon-block {
    display: none;
}
.user-state-has_mission .user-state-bg,
.user-state-need_accomplish .user-state-bg,
.lesson-list li.user-state-reached .info,
.user-state-accomplished .user-state-bg, .user-state-not_reached .user-state-bg, .lesson-list li.user-state-not_reached .info, .user-state-answered .user-state-bg {
    background: none;
    border: none;
}
.lesson-list li .info {
    margin-left: 25px;
}
.lesson-list li .info .vmiddle div:not(.title):not(.description):not(.has-start-at):not(.user-state-label-ex) {
    display: none;
}

@media screen and (max-width: 510px) {
    /* Фикс прокрутки и отступов в чатиуме */
    .gc-main-content.with-left-menu .container,
    .xdget-container,
    .xdget-row.row {
        margin: 0;
        padding: 0;
    }

    .xdget-root,
    .breadcrumbs,
    .page-header {
        padding: 0 15px;
    }
    .stream-table tbody {
        display: flex;
        flex-direction: column;
    }
    .np_shapka_bchp9_main {
        border-radius: 15px;
        background: url(https://fs.getcourse.ru/fileservice/file/download/a/299113/sc/147/h/599b3981524c962a31f3ba50fbbfb347.png);
        background-position-x: -510px;
        background-size: cover;
        height: 150px;
    }
    .np_shapka_bchp9_lk {
        border-radius: 15px;
        background: url(https://fs.getcourse.ru/fileservice/file/download/a/299113/sc/155/h/fc4b67e8ca6177c3675ef68168b40a20.png);
        background-position: right top;
        background-size: cover;
        height: 150px;
    }
    .np_shapka_bchp9_main .xdget-image.width-fit, .np_shapka_bchp9_lk .xdget-image.width-fit {
        display: none;
    }
    .np_shapka_bchp9_main h2, .np_shapka_bchp9_lk h2 {
        z-index: 10;
        padding-left: 25px;
        padding-right: 25px;
        font-size: 2em
    }
    .np_buttons button {
        font-size: 18px;
        margin-bottom: 12px
    }

    .stream-table .stream-title {
        font-size: 18px;
    }
    .stream-table tr a > div:last-child { 
        font-size: 14px;
    }
    .stream-table b {
        display: none;
    }
    .lesson-list li .vmiddle {
        margin-left: 0px !important;
    }
    .lesson-list li .title {
        font-size: 18px;
        line-height: 24px;
    }
}

