.course .content-block, #progress {
    font-size: 15px;
    padding: 1rem;
    background: #fff;
    border: 1px solid #efefef
}

.course h2 {
    font-weight: 300;
    font-family: 'Roboto', sans-serif;
    margin-top: 1.5rem;
    margin-bottom: 1rem
}

.course p:last-child {
    margin-bottom: 0
}

.course li {
    margin-bottom: .5rem
}

.course li::marker {
    font-weight: 100
}

.course .content-block .desc {
    display: flex;
    flex-wrap: wrap
}

.course .content-block .desc .magnific-popup {
    display: block;
    overflow: hidden;
    flex-shrink: 0;
    width: 220px;
    height: 220px;
    margin-right: 1rem
}

.course .content-block .desc img {
    transition: 1.5s all linear;
    width: 100%
}

.course .content-block .desc .magnific-popup:hover img {
    transform: scale(1.2)
}

.course .content-block .description {
    margin-top: 1rem
}

.course .content-block .teacher {
    display: flex;
    align-items: center
}

.course .content-block .teacher img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-right: 1rem
}

.course .content-block .teacher .teacher-name a {
    font-size: 22px;
    font-weight: 400;
}

.course .content-block .teacher .teacher-name p {
    margin-top: .5rem
}

.ui-tabs .ui-tabs-panel {
    background: transparent;
    padding: 0
}

.ui-tabs .ui-tabs-panel.lessons .info-panel {
    font-size: 15px;
    padding: 1rem;
    background: #fff;
    border: 1px solid #efefef;
    margin-bottom: 1rem
}

.ui-tabs .ui-tabs-panel.lessons .info-panel p {
    margin: 0
}

#course-tabs {
    margin-top: 1.5rem
}

.panel-with-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-with-label .label {
    margin-left: 1rem;
}

@media (max-width: 992px) {
    .course .content-block .desc .info {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem
    }

    .course .content-block .desc .info .btnsmall {
        margin-top: 1.5rem
    }
}

.progressChartWrapper {
    height: 320px;
    display: block;
}

.test_errors {
    display: grid;
    margin-top: 2rem
}

.test_errors h2 {
    margin: 0 0 1.5rem;
    font-weight: 300;
    text-transform: uppercase;
}

.test_errors .test_error {
    border-bottom: 1px dashed #ddd;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.test_errors .test_error:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border: none;
}

.test_errors .test_error .form-group {
    padding-left: 20px;
}

.test_errors .test_error .stripe {
    /*text-decoration: line-through;*/
    color: #ff6384;
}

.test_errors .test_error .has-error .form-control {
    color: #ff6384;
    border-color: #ff6384;
}

.small-menu {
    font-size: 12px;
    margin: .5rem 0 1rem -.5rem;
}

.small-menu a {
    margin: .5rem
}

@media (max-width: 600px) {
    .panel-title.panel-with-label {
        font-size: 14px;
    }

    .panel-with-label .label {
        display: none;
    }

    .progressChartWrapper {
        height: 260px;
        display: block;
    }
}

.theme_actions {
    display: flex;
    align-items: center;
}

.theme_actions a {
    margin-left: 10px;
    color: #777;
    font-size: 12px;
}

.course_messages, .threads_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#messages {
    border: 1px solid #efefef;
    background: #fff;
}

.threads_header {
    background: #fff;
    padding: 1rem;
    border-bottom: 1px solid #efefef;
}

.threads_header .cell {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.threads_header .cell:nth-child(1) {
    margin-right: 1rem;
}

.threads_header .cell .title {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
}

.course_messages .threads {
    display: grid;
    width: 100%;
}

.course_messages .threads .thread {
    padding: 1rem;
    border-bottom: 1px solid #efefef;
    transition: .2s background;
    cursor: pointer;
}

.course_messages .threads .thread:hover {
    background: rgba(0, 0, 0, .1);
}

.course_messages .threads .thread:last-child {
    border: none;
}

.thread-date {
    color: #777;
    font-size: 80%;
    display: block;
    margin-bottom: 5px;
}

.thread-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
    color: #777;
    font-size: 70%;
}

.thread-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}