﻿.dashboard .userwidget .expand > a, 
.dashboard .userwidget .expandprofile .userwidget_item ul a span {
    display: block;
    background-image: url(/Environments/Dashboard/Base/Sprites/Sprite.png);
    background-repeat: no-repeat;
}

.dashboard .userwidget {
    background-color: white;
    float: right !important;
    width: 300px !important;
    height: 80px;
    position: relative;
    cursor: pointer;
}

    .dashboard .userwidget .image {
        padding-top: 20px;
        width: 35px;
    }

        .dashboard .userwidget .image img {
            border: solid 1px #a8a8a8;
            max-width: 33px;
            max-height: 33px;
        }

    .dashboard .userwidget .user {
        padding-top: 20px;
        line-height: 1;
    }

        .dashboard .userwidget .user .title {
            color: #858585;
            font-family: "RexBold";
            font-size: 1.2em;
        }

        .dashboard .userwidget .user .name {
            color: #858585;
            margin-top: 0.25em;
        }

    .dashboard .userwidget .expand {
        padding-top: 10px;
        float: right !important;
    }

        .dashboard .userwidget .expand > a {
            width: 60px;
            height: 48px;
            background-position: -70px -200px;
        }

        .dashboard .userwidget .expand > ul {
            position: absolute;
            display: none;
            right: 75px;
            top: 0;
            width: 0;
            white-space: nowrap;
        }

    .dashboard .userwidget .expandprofile {
        display: none;
        position: absolute;
        overflow: hidden;
        z-index: 100;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        cursor: initial;
        -webkit-box-shadow: 0px 5px 10px -5px #dddddd;
        /* Android 2.3+, iOS 4.0.2-4.2, Safari 3-4 */
        box-shadow: 0px 5px 10px -5px #dddddd;
        /* Chrome 6+, Firefox 4+, IE 9+, iOS 5+, Opera 10.50+ */
    }

        .dashboard .userwidget .expandprofile .userwidget_item {
            font-family: "RexBold";
            font-weight: normal;
            font-size: 14.2px;
            border-bottom: 1px solid #f2f2f2;
        }

            .dashboard .userwidget .expandprofile .userwidget_item.portal {
                background-color: #fbfbfb;
            }

                .dashboard .userwidget .expandprofile .userwidget_item.portal select,
                .dashboard .userwidget .expandprofile .userwidget_item.portal .select2-drop, .userwidget .expandprofile .userwidget_item.portal .select2-container {
                    font-family: "Arial";
                    font-size: 0.85em;
                }

            .dashboard .userwidget .expandprofile .userwidget_item.functions {
                border-bottom: none;
                padding-top: 0;
                padding-bottom: 0;
            }

            .dashboard .userwidget .expandprofile .userwidget_item.logout {
                background-color: #ff6b36;
                line-height: 1;
            }

                .dashboard .userwidget .expandprofile .userwidget_item.logout a {
                    color: #ffffff;
                }

            .dashboard .userwidget .expandprofile .userwidget_item a {
                display: block;
                text-decoration: none;
            }

            .dashboard .userwidget .expandprofile .userwidget_item ul {
                margin: 0;
                padding: 0;
                list-style: none;
            }

                .dashboard .userwidget .expandprofile .userwidget_item ul li {
                    border-bottom: 1px solid #f2f2f2;
                }

                .dashboard .userwidget .expandprofile .userwidget_item ul a {
                    display: block;
                    position: relative;
                    padding-left: 30px;
                    line-height: 1;
                }

                    .dashboard .userwidget .expandprofile .userwidget_item ul a:hover {
                        color: #39bced;
                    }

                    .dashboard .userwidget .expandprofile .userwidget_item ul a span {
                        background-position: -150px -690px;
                        width: 22px;
                        height: 22px;
                        position: absolute;
                        top: 4px;
                        left: 0px;
                    }

                .dashboard .userwidget .expandprofile .userwidget_item ul .support span {
                    background-position: -150px -738px;
                }

            .dashboard .userwidget .expandprofile .userwidget_item label {
                color: #5a5a5a;
                font-family: "RexBold";
                line-height: 1;
                font-weight: normal;
            }

    .dashboard .userwidget .portal {
        clear: both;
    }

        .dashboard .userwidget .portal select {
            width: 100%;
        }

    .dashboard .userwidget .image {
        -webkit-box-sizing: content-box;
        /* Safari/Chrome, other WebKit */
        -moz-box-sizing: content-box;
        /* Firefox, other Gecko */
        box-sizing: content-box;
        /* Opera/IE 8+ */
    }

    .dashboard .userwidget .image, 
    .dashboard .userwidget .expand, 
    .dashboard .userwidget .expandprofile .userwidget_item, 
    .dashboard .userwidget .portal, 
    .dashboard nav ul a {
        padding-left: 1.5em;
        padding-right: 1.5em;
    }

        .dashboard .userwidget .expandprofile .userwidget_item,
        .dashboard .userwidget .expandprofile .userwidget_item ul a,
        .dashboard nav ul a {
            padding-top: 0.75em;
            padding-bottom: 0.75em;
        }


        .dashboard .userwidget .expand > ul {
            margin: 0 !important;
            padding: 0 !important;
            list-style: none;
        }

            .dashboard .userwidget .expand > ul li {
                background-image: none !important;
                padding: 0 !important;
            }

/*
 * Userwidget for the portal
 */
.dashboard .userwidget_portal {
    height: 34px;
    padding-top: 6px;
    background-color: #f2f2f2;
}

    .dashboard .userwidget_portal .image {
        height: 25px;
        padding: 0 24px !important;
        box-sizing: content-box !important;
    }

        .dashboard .userwidget_portal .image img {
            height: 100%;
        }

    .dashboard .userwidget_portal .user {
        line-height: 1;
        padding-top: 0;
    }

        .dashboard .userwidget_portal .user .title {
            padding-top: 8px;
            font-size: 16px;
        }

    .dashboard .userwidget_portal .expand {
        position: absolute;
        right: 0;
        top: -10px;
    }

        .dashboard .userwidget_portal .expand > a {
            background-position: -77px -204px;
            height: 40px;
            width: 45px;
        }

    .dashboard .userwidget_portal .expandprofile {
        top: 40px;
    }