/*Navigation*/

.nav {
    margin: 18px 0;
}

.nav-list {
    &--small {
        .nav-list__item__icon {
            float: none;
        }
        .nav-list__item__submenu,
        .nav-list__item__text {
            display: none;
        }
    }
    &__item {
        font-weight: 600;
        letter-spacing: 0.22px;
        color: #84898c;
        &__icon {
            width: 36px;
            height: 36px;
            margin: 18px 0;
            display: inline-block;
            float: left;
            margin-right: 12px;
            &--learn {
                background-image: url('../images/icon-learn.svg');
            }
            &--vote {
                background-image: url('../images/icon-vote.svg');
            }
            &--movies {
                background-image: url('../images/icon-movies.svg');
            }
            &--book {
                background-image: url('../images/icon-book.svg');
            }
        }
        &__text {
            display: inline-block;
            font-size: 18px;
            padding: 18px 0;
            line-height: 36px;
            color: #84898c;
            a {
                text-decoration: none;
            }
        }
        &__submenu {
            padding-left: 69px;
            &__submenu-item {
                font-size: 15px;
                font-weight: 400;
                line-height: 24px;
                padding: 12px 0;
                color: #666e74;
                /* Text style for 'Ścieżka ni' */
                letter-spacing: 0.6px;
                a {
                    color: #666e74;
                    text-decoration: none;
                }
                &.active {
                    font-weight: 600;
                    a {
                        text-decoration: none;
                        color: $main-blue;
                    }
                    &:before {
                        display: block;
                        position: absolute;
                        left: 58px;
                        content: ' ';
                        background: url('../images/icon-right-arrow.svg') no-repeat center;
                        background-size: 10px 10px;
                        height: 24px;
                        width: 28px;
                    }
                }
            }
        }
    }
}

.active a .nav-list__item__text {
    color: $main-blue;
}

.active {
    .nav-list__item__icon--learn {
        background-image: url('../images/icon-learn-blue.svg');
    }
    .nav-list__item__icon--vote {
        background-image: url('../images/icon-vote-blue.svg');
    }
    .nav-list__item__icon--movies {
        background-image: url('../images/icon-movies-blue.svg');
    }
    .nav-list__item__icon--book {
        background-image: url('../images/icon-book-blue.svg');
    }
}


/* END of Navigation*/


/* Timeline*/

.timeline {
    &__list {
        padding: 42px 0;
        &--full {
            position: absolute;
            left: 15px;
            .timeline__list__item__text {
                display: inline-block;
                padding: 3px 15px 3px 30px;
                width: 300px;
                height: 18px;
                opacity: 0.8;
                color: #50575c;
                line-height: 18px;
                font-size: 13px;
                font-weight: 500;
                letter-spacing: 0.2px;
            }
        }
        &__item {
            position: relative;
            width: 2px;
            margin: 0 auto;
            padding-top: 0;
            background-color: #e0e0e0;
            height: 110px;
            &:first-child {
                // height: 94px;
            }
            &:last-child {
                height: 0;
                &::before {
                    // margin: 0;
                }
                .timeline__list__item__text {
                    padding-top: 0;
                    position: absolute;
                    top: 3px;
                }
            }
            &__icon {
                width: 24px;
                height: 24px;
                position: absolute;
                left: -11px;
                margin: 0;
                cursor: not-allowed;
                cursor: pointer;
                border: 1px solid #ddd;
                border-radius: 100%;
                background: #fff;
            }
            &::before {
                content: '';
                position: absolute;
                left: 50%;
                top: 0;
                margin: 6px 0;
                transform: translateX(-50%);
                width: 12px;
                height: 12px;
                border-radius: 50%;
                background: #c9c9c9;
                z-index: 10;
            }
            &--blocked {
                height: 110px;
                .timeline__list__item__icon {
                    background: #fff url('../images/icon-state-blocked3x.svg') no-repeat center;
                    background-size: 12px;
                    cursor: pointer;
                    z-index: 20;
                }
            }
            &--first_upload {
                .timeline__list__item__icon {
                    background: #fff url('../images/icon-state-first-upload3x.svg') no-repeat center;
                    background-size: 12px;
                    cursor: pointer;
                    z-index: 20;
                }
            }
            &--before_mentor_rate {
                .timeline__list__item__icon {
                    background: #fff url('../images/icon-state-before-mentor-rate3x.svg') no-repeat center;
                    background-size: 12px;
                    cursor: pointer;
                    z-index: 20;
                }
            }
            &--before_exercises {
                height: 110px;
                .timeline__list__item__icon {
                    background: #fff url('../images/icon-state-before-exercises2x.png') no-repeat center;
                    background-size: 12px;
                    cursor: pointer;
                    z-index: 20;
                }
            }
            &--second_upload {
                .timeline__list__item__icon {
                    background: #fff url('../images/icon-state-second-upload3x.svg') no-repeat center;
                    background-size: 12px;
                    cursor: pointer;
                    z-index: 20;
                }
            }
            &--completed {
                .timeline__list__item__icon {
                    background: #fff url('../images/icon-state-completed3x.svg') no-repeat center;
                    background-size: 12px;
                    cursor: pointer;
                    z-index: 20;
                }
            }
        }
    }
}

.timeline__list__item__text {
    display: none;
}


/* END of Timeline*/