.exchange-col {
    flex: 1 0 29%;
}

.notification-col {
    flex: 1 0 33%;
}


.trade-live-col {
    flex: 1 0 38%;
}

@media screen and (max-width: 768px) {

    .exchange-col,
    .notification-col,
    .trade-live-col {
        flex: 1 0 100%;
    }

    .notification-page>.row {
        display: flex;
        flex-direction: column-reverse;
    }
}

.notification-page>.row>div {
    height: 100vh;
    overflow-y: scroll;
}

.img-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-placeholder);
    color: var(--color-white);
    font-size: 1.5rem;
    border-radius: 50%;
}

.total_value {
    display: flex;
    justify-content: flex-end;
    margin-top: 3px;
    column-gap: 10px;
}

.total_value span {
    font-style: italic;
}

.volume-percent {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.percent-gap {
    font-size: 12px;
}

.actions a:focus {
    text-decoration: none;
    outline: none
}

.binance_links {
    display: flex;
    align-items: center;
}

.binance_links a {
    color: var(--color-gold);
    display: block;
    padding: 4px;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.binance_links a:hover {
    color: var(--color-gold-hover);
}

.binance_links i {
    font-size: .8rem;
}

.binance_links small {
    color: var(--text-secondary);
    font-size: 12px;
}

.notifications {
    display: flex;
    flex-direction: column;
}

.notification {
    background: var(--bg-card);
    padding: .7rem;
    border-radius: 1rem;
    margin-top: .5rem;
    display: flex;
    border: 1px solid var(--border-color);
    position: relative;
}

.notification .notification-count {
    position: absolute;
    bottom: 6px;
    right: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.notification.candle-odd {
    background: var(--bg-candle-odd);
    border: 1px solid var(--border-candle-odd);
}

.notification.candle-0 {
    background: var(--bg-candle-0);
    border: 1px solid var(--border-candle-0);
}

/* .notification.candle-1 {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
} */

.notification-stats {
    margin-top: 8px;
    text-align: center;
}

.notification-stats .stat-current {
    font-size: 15px;
    font-weight: bold;
}

.notification-stats .stat-max,
.notification-stats .stat-min {
    font-size: 11px;
}

.notification-left {
    min-width: 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: .7rem;
}

.notification-left img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--text-primary);
}

.notification-left .img-placeholder {
    width: 50px;
    height: 50px;
}

.notification-left .time {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 12px;
    margin-top: .5rem;
}

.notification-left .binance_links {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 50px;
    margin-top: .4rem;
    text-align: center;
}

.notification-left .binance_links i {
    font-size: .7rem;
}

.notification-right {
    flex-grow: 1;
    overflow: hidden;
}

.notification-right .notification-header {
    margin-bottom: 0;
    font-size: 14px;
}

.notification-right .notification-header a {
    font-size: 13px;
}

.notification p.total_value {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 8px;
    margin-bottom: 0px;
}

.notification.candle-0 p.total_value:not(.waiting-new-data)>span:nth-child(5) .candle-invest,
.notification.candle-1 p.total_value:not(.waiting-new-data)>span:nth-child(4) .candle-invest,
.notification.candle-2 p.total_value:not(.waiting-new-data)>span:nth-child(3) .candle-invest,
.notification.candle-3 p.total_value:not(.waiting-new-data)>span:nth-child(2) .candle-invest,
.notification.candle-4 p.total_value:not(.waiting-new-data)>span:nth-child(1) .candle-invest {
    color: var(--color-gold-invest);
    font-weight: 700;
}

.notification.candle-1 p.total_value.waiting-new-data>span:nth-child(5) .candle-invest,
.notification.candle-2 p.total_value.waiting-new-data>span:nth-child(4) .candle-invest,
.notification.candle-3 p.total_value.waiting-new-data>span:nth-child(3) .candle-invest,
.notification.candle-4 p.total_value.waiting-new-data>span:nth-child(2) .candle-invest {
    color: var(--color-gold-invest);
    font-weight: 700;
}

.notification .percent-percent {
    font-size: 12px;
}

.notification .percent-gap {
    font-size: 11px;
}

.notification-right canvas {
    margin-top: 10px;
}

.notification-actions {
    position: absolute;
    right: .4rem;
    top: .4rem;
    display: none;
}

.notification-actions>div {
    cursor: pointer;
}

.notification:hover .notification-actions {
    display: block;
}