﻿.page-section {
    color: black;
}

h1.page-main-title__blue {
    margin-bottom: 20px;
}

.page-section {
    margin-bottom: 20px;
}

.page .section-header{
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 500;
}
.top-block {
    display: flex;
    margin-bottom: 40px;
    padding: 16px 22px;
    background: #F4F4F4;
    border-radius: 5px;
    align-items: center;
    width: fit-content;
}

.user-data-left {
    flex-shrink: 0;
    margin-right: 20px;   
}

.user-foto-wrapper{
    border-radius: 5px;
    overflow: hidden;
    width: 80px;
    height: 80px;
    background: #bbb;
    margin-right: 25px;
}

.user-foto-wrapper img{
    display: block;
}

.user-data-right{
    padding-right: 16px;
}

.page .user-data-item {
    margin-bottom: 15px;
}

.page .user-data-item:last-child {
    margin-bottom: 0;
}

.user-data-item dt, .user-data-item dd {
    display: inline;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.4;
}

.user-data-item dt{
    font-weight: 500;
}

.edit-profile-link{
    text-decoration: underline;
}

.achives-section{
    padding-left: 16px;
    border-left: 2px solid #fff;
}

.achives-wrapper > a, .achives-wrapper > img {
    display: inline-block;
    vertical-align: top;
    width: 56px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.achives-wrapper img {
    height: auto!important;
}

.profile-table {
    border-top: 1px solid #f0f0f0;
    border-left: 1px solid #f0f0f0;
    width: 100%;
}

.profile-item td {
    border-right: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    padding: 8px 25px;
    vertical-align: middle;
}

.profile-item .course-name {
    font-weight: 500;
    font-size: 14px;
}

.profile-item .entity-link-button {
    display: flex;
    align-items: center;
    border: 1px solid #383E43;
    border-radius: 7px;
    justify-content: center;
    padding: 10px;
    color: #383E43!important;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.entity-link-button span {
    margin-right: 10px;
}

.entity-link-button svg{
    fill: #383E43;
}

.profile-item .entity-link-button.cert-link-button {
    color: #FF6505 !important;
    border-color: #FF6505;
    transition: 300ms;
}

.profile-item .entity-link-button.cert-link-button svg{
    fill: #FF6505;
}

.profile-item .entity-link-button:hover,
.profile-item .entity-link-button:focus{
    color: white!important;
    background: #383E43;
    transition: 300ms;
}

.profile-item .entity-link-button.cert-link-button:hover,
.profile-item .entity-link-button.cert-link-button:focus {
    background: #FF6505;
}

.profile-item .entity-link-button:hover svg,
.profile-item .entity-link-button:focus svg {
    fill: white;
}

.profile-item .link-wrapper {
    width: 222px;
}

.link-wrapper .no-content {
    display: block;
    text-align: center;
    font-size: 14px;
    color: #444;
}

@media (max-width: 650px) {
    .top-block {
        flex-wrap: wrap;
        width: 100%;
    }

    .user-data-left {
        margin-bottom: 10px;
    }

    .achives-section {
        width: 100%;
        border-left: 0;
        padding: 16px 0 0 0;
        border-top: 2px solid #fff;
        margin-top: 16px
    }

    .profile-table {
        display: block;
        border: none;
    }

    .profile-item {
        display: flex;
        flex-wrap: wrap;
        border: 1px solid #f0f0f0;
        margin-bottom: 20px;
        border-radius: 5px;
    }

        .profile-item td {
            display: block;
            border: none;
        }

        .profile-item .course-name {
            width: 100%;
        }

        .profile-item .link-wrapper {
            width: 50%;
        }
}

@media (max-width: 400px) {
    .profile-item td {
        padding: 10px;
    }

    .profile-item .link-wrapper {
        padding: 5px;
    }
}
/*Конкурсы*/
.page .completitions-list{
    padding: 0;
}

.page .completitions-item {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    margin: 0 0 4px 0;    
}

.page .completitions-item>svg{
    margin-right: 10px; 
    position: relative;
    top: 2px;
}

.page .completitions-item > a{
    text-decoration: underline;
}

.my_history{
    margin-bottom: 18px;
}

.my_history .history {
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.read_full a {
    display: flex;
    align-items: center;
    border: 1px solid #004677;
    border-radius: 7px;
    justify-content: center;
    padding: 10px;
    color: #004677 !important;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-decoration: none;
    width: 146px;
}

.read_full a::after {
    display: block;
    margin-left: 10px;
    content: '\276F';
}

.read_full a:hover{
    background:#004677;
    color: white!important;
}

.page .tests-list {
    padding: 0;
}

.page .tests-item {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    color: #1260B0;
    margin: 0 0 10px 0;
}

.page .tests-item a:hover{
    text-decoration: underline;
}







