.widget.header-account {
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
}

.widget.header-account:hover {
    background: rgba(0, 0, 0, 0.1);
}

.widget.header-account div.unirow {
    margin: 6px 0;
}

.widget.header-account div.unirow > * {
    width: 130px;
}

.sym-open-warn {
    background: #bb0000 !important;
}

.sym-open-warn:hover {
    background: #c64444 !important;
}

.widget.account {
    width: calc(8 * var(--block-width) - var(--base-margin));
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.widget.account > h2 {
    font-size: 1.2em;
}

.widget.account > .name {
    flex-grow: 2;
}

.widget.account > .name > .exchange {
    font-weight: bold;
    font-size: 10px;
}

.widget.account > .badge {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 110px;
    height: 52px;
    padding: 6px;
    box-sizing: border-box;
    border: 2px solid transparent;
    overflow: hidden;
    transition: background .2s;
}

.widget.account > .btn-eye {
    margin-left: 16px;
}

.widget.account .badge:hover {
    background: var(--list-line-background-color);
}

.widget.account > .badge.pos_qty {
    width: 50px;
}

.widget.account > .badge.pos_qty.lit {
    border: 2px solid red;
}

.widget.account > .badge > .title {
    font-family: var(--small-font-family);
    font-size: var(--small-font-size);
    font-weight: bold;
    text-transform: uppercase;
}

.widget.account > .badge > .value_usd {
    font-family: 'Roboto Mono', sans-serif;
    font-size: 10px;
    white-space: nowrap;
}

.widget.account > .badge > .value {
    font-family: 'Roboto Mono', sans-serif;
    font-size: 12px;
    white-space: nowrap;
}

.widget.account > .caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.widget.account > .caption > .letter {
    font-size: 1.2em;
    font-weight: 600;
}

.widget.account > .caption > .subtitle {
    font-size: 0.6em;
    font-weight: 600;
}

.widget.account .tool-button.eye {
    background: url(/core/icons/info-circle-dark.svg) no-repeat center;
    background-size: 16px 16px;
}

.widget.account .tool-button.eye:hover {
    background: url(/core/icons/info-circle-dark.svg) no-repeat center;
    background-size: 16px 16px;
}

.widget.header-account .tool-button.info {
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 3px;
    background: url(/core/icons/info-circle-light.svg) no-repeat center;
    background-size: 20px 20px;
    transition: background-color .2s;
    margin: 0 16px;
}

.widget.header-account .tool-button.info:hover {
    background: url(/core/icons/info-circle-light.svg) no-repeat center;
    background-size: 20px 20px;
    background-color: rgba(255, 255, 255, .2);
}

.widget.account > .popup, .widget.header-account > .popup {
    position: fixed;
    width: 800px;
    min-height: 100px;
    background: #fff;
    color: #000;
    left: 128px;
    top: 256px;
    border-radius: 5px;
    box-shadow: silver 0 0 3px;
    border: 1px solid transparent;
    transition: border-color .2s;
    visibility: hidden;
    display: flex;
    flex-direction: column;
}

.widget.account > .popup:hover, .widget.header-account > .popup:hover {
    border-color: rgba(0, 139, 139, 0.3);
}

.widget.account > .popup > .caption, .widget.header-account > .popup > .caption {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: #f3f3f3;
    transition: background-color .2s;
}

.widget.account > .popup > .caption:hover, .widget.header-account > .popup > .caption:hover {
    background: #f7f7f7;
}

.widget.account > .popup > .table, .widget.header-account > .popup > .table {
    font-size: .8em;
    align-items: stretch;
    margin: 16px;
    flex-grow: 2;
    justify-content: space-between;
}

.widget.account > .popup > .table > .unicol, .widget.header-account > .popup > .table > .unicol {
    border-style: solid;
    border-width: 0 1px;
    border-color: transparent;
    align-items: stretch;
    justify-content: flex-start;
    transition: border-color .2s;
    align-self: stretch;
    flex-grow: 1;
}

.widget.account > .popup > .table > .unicol:hover, .widget.header-account > .popup > .table > .unicol:hover {
    border-color: silver;
}

.widget.account > .popup > .table > .unicol > b {
    text-align: center;
    padding: 0 6px;
}

.widget.header-account > .popup > .table > .unicol > .caption {
    text-align: center;
    padding: 0 6px;
    font-weight: bold;
}