/**
 * Шапка профиля
 */


.user-profile {
    position: relative;
}

.user-profile-user {
    padding-right: 100px;
}


/* Аватар */
.user-profile-user-avatar {
	float: left;
	width: 70px;
	height: 70px;
	margin: 0 18px 0 0;
	border-radius: 50%;
}


/* Логин и имя */
.user-profile-user-body {
    float: left;
    padding-top: 16px;
}

.user-profile--has-name .user-profile-user-body {
    padding-top: 7px;
}

.user-profile-user-login {
    margin-bottom: 1px;
    font-size: 27px;
    line-height: 1.3em;
}

.user-profile-user-login,
.user-profile-user-login a {
    color: #000;
}

.user-profile-user-login a:hover {
    color: #d32f2f;
}

.user-profile-user-name {
    font-size: 15px;
    color: #adadad;
}

.user-profile-user-login,
.user-profile-user-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* Рейтинг */
.user-profile-rating {
    position: absolute;
    top: 20px;
    right: 15px;
    text-align: center;
}

.user-profile-rating-label {
    font-size: 10px;
    text-transform: lowercase;
    color: #adadad;
}

.user-profile-rating-value {
    height: 24px;
    padding: 0 10px;
    margin-bottom: 2px;
    font-size: 11px;
    line-height: 1em;
    text-align: center;
    line-height: 24px;
    background: #def7dc;
    color: #5fa459;
    border-radius: 5px;
    -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, .1) inset;
    box-shadow: 0 2px 3px rgba(0, 0, 0, .1) inset;
}

.user-profile-rating--negative .user-profile-rating-value {
    background: #ff8a8a;
    color: #da4242;
    -webkit-box-shadow: 0 2px 3px #e95e5e inset;
    box-shadow: 0 2px 3px #e95e5e inset;
}


/**
 * Responsive
 */
@media (max-width: 991px)  {
}

@media (max-width: 479px)  {
    .user-profile {
        text-align: center;
        margin-bottom: 15px;
    }

    .user-profile-user,
    .user-profile-user-avatar,
    .user-profile-user-body {
        float: none;
    }

    .user-profile-user-body {
        margin-bottom: 15px;
    }

    .user-profile-user {
        padding-right: 0;
    }

    .user-profile-user-avatar {
        width: 100px;
        height: 100px;
        margin-right: 0;
    }

    .user-profile-rating {
        position: static;
        text-align: inherit;
    }

    .user-profile-rating-value,
    .user-profile-rating-label {
        font-size: inherit;
        display: inline;
    }
}
