.drop-down-profile {
    position: relative;
    margin: 1.6rem 3rem 1.6rem 0;
    cursor: pointer;
    display: flex;
    align-items: center;

    &.open {
        .user-name .icon-arrow {
            transform: rotate(-180deg);
        }
    }

    .icon-user-profile {
        float: left;
        font-size: 3.2rem;
        margin-right: 1rem;
        color: $color-main;
    }

    .user-container {
        display: flex;
        flex-direction: column;
    }

    .user-name {
        color: #fff;
        text-transform: uppercase;
        font-family: $font-title;
        white-space: nowrap;
        margin: 0;
        font-size: 1.4rem;
        float: left;
        font-weight: 600;
        display: flex;
        align-items: center;
        text-align: right;

        .name {
            flex-grow: 1;
        }

        .icon-arrow {
            margin-left: 1rem;
            display: inline-block;
            color: $color-main;
            font-size: 0.9rem;
            transition: transform 0.2s ease-in-out;
        }

    }

    .user-desc {
        font-size: 1rem;
        text-transform: uppercase;
        display: block;
        color: $color-main;
        font-weight: 700;
    }

    .user-options {
        position: absolute;
        background: #fff;
        min-width: 22rem;
        top: 5rem;
        right: -1rem;
        box-shadow: 0 0 1rem -0.4rem #000;
        border-radius: 0.3rem;
        z-index: 2;

        &:before {
            content: '';
            top: -1.1rem;
            right: 2.6rem;
            position: absolute;
            @include triangle(2rem, $color-snow-extra-dark, up);
        }

        &:after {
            content: '';
            top: -1rem;
            right: 2.6rem;
            position: absolute;
            @include triangle(2rem, #fff, up);
        }

        ul {
            list-style-type: none;
            margin: 0;
            padding: 2rem;

            li {

                &:hover {
                    i, a {
                        color: $color-main;
                    }
                }
            }

            i {
                color: $color-featured;
                font-size: 1.6rem;
                vertical-align: text-bottom;

                &.icon-config {
                    font-size: 1.8rem;
                    position: relative;
                    margin-left: -0.4rem;
                    left: 0.4rem;
                }

                &.icon-info {
                    position: relative;
                    margin-left: -0.1rem;
                    left: 0.2rem;
                    top: -0.2rem;
                }

                &.icon-add-user {
                    font-size: 2.2rem;
                    position: relative;
                    margin-left: -0.7rem;
                    left: 0.4rem;
                }

                &.icon-padlock {
                    font-size: 2rem;
                    position: relative;
                    margin-left: -0.7rem;
                    left: 0.4rem;
                }
            }

            a {
                color: $color-steel;
                text-decoration: none;
                font-size: 1.4rem;
                line-height: 4rem;
                margin-left: 1.2rem;
                transition: color 0.2s ease-in-out;

            }
        }
    }

    .drop-down-profile-footer {
        width: 100%;
        background: $color-snow-dark;
        color: $color-featured;
        padding: 0.3rem 2rem;
        border-bottom-left-radius: 0.3rem;
        border-bottom-right-radius: 0.3rem;
        font-weight: 600;

        a {
            text-decoration: none;
            text-transform: uppercase;
            font-family: $font-title;
            color: $color-featured;
            font-size: 1.4rem;
            line-height: 4rem;
            display: block;
            transition: color 0.2s ease-in-out;

            &:hover {
                color: $color-main;
            }
        }

        i.icon-logout {
            font-size: 2rem;
            margin-right: 0.8rem;
            vertical-align: text-bottom;
        }

        .version {
            font-family: $font-title;
            font-size: 1rem;
            color: $color-steel;
            text-transform: uppercase;
            float: right;
            margin-bottom: 0;
        }
    }
}
