.user {
    &:not(.icon) {
        padding-top: 15px;
    }

    &.profile {
        .ui.card {
            .header,
            .username {
                display: block;
            }
            .badge-wrap {
                display: flex;
                justify-content: center;
                align-items: center;
                .badge-img-avatar {
                    width: 32px;
                    height: 32px;
                    margin-right: 5px;
                }
                .badge-more-icon {
                    width: 32px;
                    height: 32px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    border-radius: 50%;
                    border: 1px #f8f9fa solid;
                    background: #f8f9fa;
                }
            }
            .header {
                font-weight: 700;
                font-size: 1.3rem;
                margin-top: -0.2rem;
                line-height: 1.3rem;
            }

            .extra.content {
                padding: 0;

                ul {
                    margin: 0;
                    padding: 0;

                    li {
                        padding: 10px;
                        list-style: none;

                        &:not(:last-child) {
                            border-bottom: 1px solid #eaeaea;
                        }

                        .svg,
                        .fa {
                            margin-left: 1px;
                            margin-right: 5px;
                        }

                        &.follow {
                            .ui.button {
                                width: 100%;
                            }
                        }
                    }
                }
            }

            #profile-avatar {
                img {
                    width: 100%;
                }
                @media only screen and (max-width: 768px) {
                    height: 250px;
                    overflow: hidden;

                    img {
                        max-height: 768px;
                        max-width: 768px;
                    }
                }
            }

            @media only screen and (max-width: 768px) {
                width: 100%;
            }
        }

        .ui.repository.list {
            margin-top: 25px;
        }

        #loading-heatmap {
            margin-bottom: 1em;
        }
    }

    &.followers {
        .header.name {
            font-size: 20px;
            line-height: 24px;
            vertical-align: middle;
        }

        .follow {
            .ui.button {
                padding: 8px 15px;
            }
        }
    }

    &.notification {
        .svg {
            float: left;
            font-size: 2em;

            &.green {
                color: #21ba45;
            }

            &.red {
                color: #d01919;
            }

            &.purple {
                color: #a333c8;
            }

            &.blue {
                color: #2185d0;
            }
        }

        .content {
            float: left;
            margin-left: 7px;
        }

        table {
            form {
                display: inline-block;
            }

            button {
                padding: 3px 3px 3px 5px;
            }

            tr {
                cursor: pointer;
            }
        }
    }

    &.link-account:not(.icon) {
        padding-top: 15px;
        padding-bottom: 5px;
    }

    &.settings {
        .iconFloat {
            float: left;
        }
    }
}

.user-orgs {
    display: flex;
    flex-flow: row wrap;
    padding: 0;
    margin: -3px !important;

    li {
        display: flex;
        border-bottom: 0 !important;
        padding: 3px !important;
        width: 20%;
        max-width: 60px;
    }
}
.badge-achive {
    .bagde-section {
        color: #000;
        margin-top: 28px;
        border-bottom: 1px solid #dededf;
    }
    .bagde-section:last-child {
        color: #000;
        margin-top: 28px;
        border-bottom: none;
    }
    .badge-section-title {
        position: relative;
        font-size: 16px;
        line-height: 24px;
        padding-left: 8px;
        margin-bottom: 20px;
        display: flex;
        justify-content: space-between;
    }
    .badge-section-children {
        width: 100%;
    }
    .badge-honor-badge {
        margin-bottom: 25px;
    }
    .badge-honor-badge-basic {
        display: flex;
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .badge-honor-badge-basic-item {
        text-align: center;
        font-size: 12px;
        margin-right: 30px;
        color: #101010;
    }
    .is-not-pointer {
        cursor: pointer;
        pointer-events: none;
    }
    .badge-honor-badge-basic-img {
        width: 100px;
        height: 100px;
        margin-bottom: 10px;
    }
    .badge-honor-badge-basic-txt {
        line-height: 20px;
        width: 100px;
        word-break: break-all;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}
