﻿label {
    font-weight: normal;
    margin-right: 20px;
}

body {
    margin-bottom: 40px;
}

/* Wijmo Controls */
.wj-combobox {
    width: 100px;
}

/*.wj-flexgrid {
    max-height: 500px;
}*/

    .wj-flexgrid .wj-cell {
        padding: 6px;
    }

        .wj-flexgrid .wj-cell:not(.wj-header) {
            border-bottom: none;
        }

/* ticker cell */
.ticker div {
    display: inline-block;
}

.ticker .chg {
    font-size: 75%;
    opacity: .75;
    text-align: center;
    width: 4em;
}

.ticker .glyph {
    font-size: 120%;
    text-align: center;
    width: 1em;
}

.ticker .spark {
    padding: 0 4px;
    width: 10em;
    height: 1em;
    opacity: .65;
}

    .ticker .spark svg {
        width: 100%;
        height: 100%;
        stroke: currentColor;
        stroke-width: 2px;
        overflow: visible;
    }

/* value going up */
.wj-cell:not(.wj-state-selected):not(.wj-state-multi-selected) .ticker.chg-up .chg,
.wj-cell:not(.wj-state-selected):not(.wj-state-multi-selected) .ticker.chg-up .glyph {
    color: green;
}

/* value going down */
.wj-cell:not(.wj-state-selected):not(.wj-state-multi-selected) .ticker.chg-down .chg,
.wj-cell:not(.wj-state-selected):not(.wj-state-multi-selected) .ticker.chg-down .glyph {
    color: red;
}

/* value not changing */
.ticker.chg-none .chg,
.ticker.chg-none .glyph {
    opacity: .25;
}

/* up/down 'flare' animations */
.ticker.flare-up:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    animation: 1s ease-out flare-up;
}

@keyframes flare-up {
    from {
        background: rgba(50, 255, 50, 0.5);
    }
}

.ticker.flare-down:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    animation: 1s ease-out flare-down;
}

@keyframes flare-down {
    from {
        background: rgba(255, 50, 50, 0.5);
    }
}
