.toplinks a {
    list-style-type: none;
    display: inline-block;
    margin: 0 5px 5px 0;
    background-color: #FFD700;
    color: #333c47;
    text-decoration: none;
    font-size: 14px;
    padding: 6px 10px;
    border-radius: 4px;
}

.toplinks {
    margin-bottom: 10px;
}

.bookmark-item {
    border: none;
    background-color: #333C47;
    width: 100%;
    display: flex;
    align-items: start;
}

.bookmark-item.active {
    background-color: #2b3647;
    display: flex;

}

.bookmark-item:hover {
    display: flex;
}

#branding {
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
}

#branding .branding-logo-link,
#branding picture {
    display: block;
    max-width: 100%;
}

#branding .branding-logo-img {
    max-width: 100%;
    height: auto;
}

@media only screen and (max-width: 480px) {
    .sidebar,
    .sidebar-popup {
        width: min(78vw, 220px);
    }

    .sidebar-header.sidebar-opened {
        transform: translate3d(min(78vw, 220px), 0, 0);
    }
}

.stock-tooltip-wrapper {
    position: relative;
    cursor: pointer;
}

.stock-tooltip-content {
    display: none;
    position: absolute;
    z-index: 9999;
    background: #333;
    color: #fff;
    padding: 6px 8px;
    border-radius: 4px;
    white-space: nowrap;
    top: 100%;
    left: 0;
    margin-top: 4px;
}

.stock-tooltip-wrapper:hover .stock-tooltip-content {
    display: block;
}

.button.grey {
    background-color: #ccc;
}

/* Dashboard widget header controls */
.dashboard-item-header:hover {
    background-color: #f4f6f9 !important;
}

.dashboard-item-header-drag,
.dashboard-item-header-title .dashboard-item-collapse,
.dashboard-item-header-title .dashboard-item-header-collapse-button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 32px !important;
    min-height: 32px !important;
    padding: 4px !important;
    border-radius: 6px;
    box-sizing: border-box;
}

.dashboard-item-header-drag {
    cursor: grab;
    line-height: 1 !important;
}

.dashboard-item-header-drag:hover,
.dashboard-item-header-title .dashboard-item-collapse:hover,
.dashboard-item-header-title .dashboard-item-header-collapse-button:hover,
.dashboard-item-header .ui-state-hover,
.dashboard-item-header .ui-state-focus {
    background-color: #eef2f7 !important;
    border: none !important;
    font-weight: inherit !important;
    color: inherit !important;
}