﻿/*@font-face {
    font-family: 'RobotoLight';
}
body {
    font-family: 'RobotoLight' !important;
}*/
.body-content {
    padding-top: 80px;
    margin-bottom: 20px;
}

#info-panel {
    border-bottom: 1px solid #ddd;
    margin-top: -20px;
}

.info-group-inner-panel {
    /*min-height: 360px;*/
    border-right: 1px solid #ddd;
}

#info-group {
}

#useful-resources {
    border-top: 1px solid #ddd;
}

    #useful-resources p {
        margin: 0;
    }

    #useful-resources .links a {
        font-size: 15px;
        line-height: 60px;
        margin-right: 2%;
    }

        #useful-resources .links a:first-child {
            border-left: 1px solid #ddd;
            padding-left: 20px;
        }

    #useful-resources div {
    }

        #useful-resources div:first-child p {
            font-size: 20px;
            line-height: normal;
        }

#tag-block a {
    display: inline-block;
    padding: 10px;
    margin: 2px;
    background: #2196f3;
    color: white;
}

    #tag-block a:hover {
        text-decoration: none;
    }

.course-description, .additional-resources {
    display: flex;
    flex-direction: column;
}

.course-description {
    height: 360px;
    padding-right: 20px;
    justify-content: space-between;
}

.practicum-details {
    height: 77%;
    overflow-y: auto;
}

.additional-resources {
    justify-content: flex-end;
    margin: 20px 0 0 0;
}

    .course-description h1 {
        padding-top: 10px;
        font-size: 50px;
        margin-bottom: 10px;
        line-height: 1.1;
        font-weight: 500;
        color: #5a5a5a;
    }

    .course-description #tag-block {
        position: absolute;
        bottom: 0;
        margin-bottom: 20px;
    }

    .course-description p {
        font-size: 15px;
    }

.course-statistics {
    position: relative;
    padding: 0;
    height: 360px;
}

    .course-statistics .info-icons {
        padding-top: 30px;
        padding-bottom: 80px;
    }

    .course-statistics > div > div {
        height: 175px;
    }

    .course-statistics .start-wrapper {
        width: 100%;
        position: absolute;
        bottom: 0;
        text-align: center;
    }

    .course-statistics .start-button {
        display: inline-block;
        text-align: center;
        background: #4cc3b0;
        color: white;
        font-size: 30px;
        width: 255px;
        height: 65px;
        line-height: 65px;
        margin-bottom: 20px;
        text-decoration: none;
    }

.reset-button {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 0 7px;
    margin-top: 10px;
    font-family: "Arial Black";
    font-size: 19px;
    color: #c41313;
    background: #eee;
    border-width: 0px;
}

.course-statistics .progress-block p {
    margin: 5px 0 0;
    padding: 0 5px;
}

.course-statistics .progress-block span {
    float: right;
}

.course-statistics .progress-block > div {
    position: relative;
    width: 100%;
    height: 10px;
    margin-top: 20px;
    background-color: #eee;
}

    .course-statistics .progress-block > div > div {
        top: 0;
        position: absolute;
        display: inline-block;
        margin-bottom: 10px;
        min-width: 5%;
        max-width: 100%;
        height: 100%;
    }

.course-statistics #progress, .course-statistics #hints, .course-statistics #points {
    margin-bottom: 20px;
}

.logo {
    height: 140px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #fafafa;
    border: 6px solid #eee;
    max-width: 140px;
    padding: 0 5%;
    margin: 0 auto;
}

    .logo p {
        text-align: center;
        line-height: 115px;
        margin: 0;
    }

        .logo p img {
            max-width: 80px;
            width: 100%;
        }

#info-group .course-icon {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 360px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

    #info-group .course-icon img {
        width: 100%;
    }

.subscription-popup p {
    margin: 0;
}
/*-----------*/

.practicum-lesson-link {
    display: block;
    cursor: pointer;
    text-decoration: none;
}

#lessons-panel > div {
    position: relative;
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
    font-size: 20px;
    margin: 20px auto;
    padding: 0 20px;
    transition: .2s all ease-in-out;
    -moz-transition: .2s all ease-in-out;
    -webkit-transition: .2s all ease-in-out;
    -o-transition: .2s all ease-in-out;
}

    #lessons-panel > div:hover {
        background-color: #fafafa;
        cursor: pointer;
    }

#lessons-panel .lesson-num {
    display: inline-block;
    position: absolute;
    top: -10px;
    width: 40px;
    line-height: 55px;
    text-align: center;
    color: white;
    background: #646f75;
    height: 52px;
    margin-right: 20px;
}

#lessons-panel span {
    color: black;
    padding-top: 6px;
}

#lessons-panel .lesson-title {
    padding-left: 60px;
    max-width: 100%;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    font-size: 20px;
}

.lock-image {
    position: absolute;
    left: 0;
    right: 0;
    padding: 0 15px;
}

    .lock-image img {
        vertical-align: top;
    }

    .lock-image .subscription-popup {
        position: absolute;
        top: -50px;
        left: 60px;
        z-index: 1;
        padding: 10px;
        background: #fff;
        border: 1px solid #ddd;
    }

.triangle {
    border-top: 20px solid #646f75;
    position: absolute;
    top: 50px;
    width: 0;
    height: 0;
}

.triangle-topleft {
    border-right: 25px solid transparent;
}

.triangle-topright {
    right: 0;
    border-left: 25px solid transparent;
}
/*цвет панели зависимо от состояния прохождения урока*/
#lessons-panel div.passed ~ span {
    color: #0e9c57;
}

#lessons-panel > div > div.passed {
    background: #0e9c57;
}

    #lessons-panel > div > div.passed > .triangle {
        border-top: 20px solid #0e9c57;
    }

#lessons-panel div.in-progress ~ span {
    color: #ffc107;
}

#lessons-panel > div > div.in-progress {
    background: #ffc107;
}

    #lessons-panel > div > div.in-progress > .triangle {
        border-top: 20px solid #ffc107;
    }

@media screen and (max-width: 780px) {
    #lessons-panel > div {
        font-size: 20px;
    }

    #lessons-panel span {
        display: block;
        padding-left: 10px;
    }

    #lessons-panel .lesson-num {
        top: -5px;
        height: 57px;
    }

    .triangle {
        top: 55px;
    }
}

@media screen and (max-width: 770px) {
    .quantity {
        float: none !important;
        margin-left: 50px;
    }

    #info-group .course-icon {
        height: 250px;
    }
}

@media screen and (max-width: 996px) {
    .logo p {
        line-height: 125px;
    }

    .info-group-inner-panel {
        border-right: none;
    }

    .course-description {
        height: auto;
    }

        .course-description p {
            text-align: justify;
            padding-right: 10px;
        }

        .course-description #tag-block {
            position: static;
        }
}

@media screen and (max-width: 1440px) {
    .progress-block > p {
        font-size: 12px;
        padding: 0 !important;
    }
}

@media screen and (min-width: 1650px) {
    #useful-resources div:first-child p {
        line-height: 60px;
    }
}
/*@media screen and (max-width: 1400px) {
    .course-statistics .info-icons>div{
        width: 100%;
    }
}*/
