@import "../components/colors";
@import "../components/animation";
@import "../components/mixins";

.stm-lms-wrapper {
    padding-bottom: 70px;
}

.stm_lms_instructor_courses {
    .stm_lms_instructor_courses__single {
        width: 25%;
    }
}

.stm_lms_user_info_top {
    padding-bottom: 0;
    border-bottom: 0;
    align-items: flex-start;
    &__left {
        width: 60%;
        h1 {
            max-width: 100%;
            font-size: 38px;
        }
        h5 {
            font-size: 16px;
            font-weight: 400;
        }
    }
    &__right {
        width: 40%;
        padding-top: 5px;
        margin-left: auto;
        text-align: right;
        > * {
            display: inline-block;
            vertical-align: top;
        }
        .stm-lms-user_rating {
            margin: 0 25px 0 0;
        }
        .stm-lms-user_message_btn,
        .stm-lms-user_message_btn.public_messages {
            margin: 0;
            min-height: auto;
            .btn:not(.btn-cancel) {
                border-radius: 5px;
                background-color: #2fbe40 !important;
            }
        }
    }
    &__socials {
        margin-bottom: 30px;
        a {
            background-color: transparent !important;
            font-size: 20px;
            color: #8b919c;
            &:hover {
                color: #8b919c !important;
            }
        }
    }
}

.stm_lms_user_infoblock {
    padding: 60px 0 50px;
    margin: 0 0 56px;
    &:before {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        left: -9999px;
        right: -9999px;
        bottom: 56px;
        background-color: #f0f2f5;
    }
    .stm_lms_user_side {
        padding: 0;
        display: inline-block;
        text-align: center;
        .stm_lms_user_info_top__socials {
            text-align: center;
        }
        .stm-lms-user_avatar {
            img {
                border-radius: 10px;
            }
        }
    }
    .stm_lms_user_bio {
        padding-bottom: 0;
        border-bottom: 0;
        margin-bottom: 0;
        font-size: 16px;
        line-height: 28px;
        h3 {
            font-size: 18px;
            font-weight: 600;
        }
    }
}

@media(min-width: 1300px) {
    .stm_lms_user_infoblock {
        .col-md-3 {
            width: 20.5%;
        }
        .col-md-9 {
            width: 79.5%;
        }
    }
}

.stm_lms_courses {
    .stm_lms_courses__top {
        margin-bottom: 40px;
        h3 {
            font-size: 24px;
            font-weight: bold;
        }
    }
}

.stm_lms_edit_account,
.stm_lms_create_announcement {
    textarea,
    .form-control {
        background-color: #fff;
    }
    .stm_lms_edit_socials_list {
        background-color: #5676e7;
        label {
            color: #fff;
        }
    }
}

@media (max-width: 1024px) {
    .stm_lms_user_infoblock:before {
        bottom: 0;
    }
    .stm_lms_user_info_top {
        flex-wrap: wrap;
        &__left,
        &__right {
            width: 100%;
            text-align: left;
        }
        h1 {
            max-width: 100% !important;
        }
    }

}