#avatar.sidebar_box {
    position: relative;
    margin-bottom: 1em;

    img {
        width: 100%;
    }
    div {
        position: absolute;
        width: 100%;
        left: 0;
        top: 50%;
        text-align: center;
        margin-top: -1em;
    }
}

.dashboard_select_instance {
    float: right;

    select {
        margin: 0;
    }
}

.dashboard_header_row {
    vertical-align: middle;
}

.dashboard_bio {
    margin-top: 1em;
}

ul.content_nav {
    width: 100%;
    list-style: none;
    background-color: $bg1;
    border-bottom: 1px solid $border;
    padding: 0;
    margin: 1em 0 0;

    > li {
        border-top: 1px dotted $border;

        a {
            text-align: center;
            padding: 0.5em;
            white-space: nowrap;
            color: $fg1;
            text-transform: uppercase;
            font-weight: bold;
            text-decoration: none;
            display: block;

            // don't loose vertical align when adding a bottom border
            border-top: 0.3em solid transparent;
            border-bottom: 0.3em solid transparent;
        }
        &.current a, a:hover, a:focus {
            border-bottom-color: $primary-color;
            color: $primary-color;
        }
    }
    // FIXME not accessible
    &:hover > li.current a:not(:hover) {
        border-bottom-color: transparent;
    }
}
@include desktop {
    ul.content_nav {
        display: table;

        > li {
            display: table-cell;
            border-top: none;
        }
    }
}

#groups-button {
    font-size: $small;
    margin-left: 0.8em;
}
#groups-form {
    padding: 1em 0 0;
}
