﻿#topic-chart
{
    height: 100%;

    font-size: 11px;
    line-height: 14px;    
}

#chart-top
{
    position: absolute;
    top: 0;
    width: 100%;    
}

#chart-bottom
{
    position: absolute;
    bottom: 0;
    width: 100%;    
}

#chart-container
{
    position: absolute;
    top: 28px;
    bottom: 28px;
    width: 100%;
    overflow: hidden;
    border-top: 1px solid #315479;
    border-bottom: 1px solid #315479;
    padding: 2px 0;
}

#chart-slider
{
    position: relative;
}

.chart-scroll-button
{
    margin: 2px;
    padding: 4px;
    text-align: center;    

    color: white;
    cursor: pointer;

    transition: background 0.2s ease;

    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMCAxMCI+PGNpcmNsZSBjeD0iNSIgY3k9IjUiIHI9IjUiIGZpbGw9IiMzMTU0NzkiLz48L3N2Zz4=') no-repeat 50% 0;
}

.dj_ie8 .chart-scroll-button {
    background: url('Images/circle.png') no-repeat 50% 0;   /* fallback */
}

#chart-scroll-up {
    padding: 4px 0 6px;
}

#chart-scroll-down {
    padding: 6px 0 4px;
}


.chart-topic
{
    background-color: #EEE;
    border-radius: 15px;
    margin: 2px;
    padding: 3px 0px 3px 10px;  
    cursor: default;

    animation-play-state: paused;
    -webkit-animation-play-state: paused;
}

#chart-slider.show .chart-topic {
    animation-play-state: running;
    -webkit-animation-play-state: running;
}

.chart-checkbox
{
    position: absolute;
    margin: 3px;
}

@keyframes topic-in {
    0% {
        transform: translate(100px, 0px);
        opacity: 0;
    }
    100% {
        transform: initial;
        opacity: initial;
    }
}

@-webkit-keyframes topic-in {
    0% {
        -webkit-transform: translate(100px, 0px);
        opacity: 0;
    }
    100% {
        -webkit-transform: initial;
        opacity: initial;
    }
}

.chart-percentage
{
    float: right;
    margin: 2px;
    color: #315479;
    font-weight: bold;
}

.chart-bar
{
    background-color: #315479;
    border: 2px solid #315479;
    border-radius: 8px 8px 8px 8px;
    margin: 0 40px 0 20px;
    overflow: hidden;
    position: relative;
}

.chart-disabled .chart-bar {
    background: #accbf1;
    border: 2px solid #accbf1;
    position: relative;
}

.chart-number {
    position: relative;
    left: 12px;
    top: 6px;
    margin-left: 5px;
    height: 0;
}

.chart-disabled .chart-caption {
    color: #315479;
    text-shadow: none;
    height: 20px;
    line-height: 20px;
}

.chart-disabled .chart-percentage
{
    font-weight: normal;
}

.chart-fill
{
    position: absolute;
    height: 100%;
    background-color: #88dc59;
    
    transition: width 1s ease 0s;
    -webkit-transition: width 1s ease 0s;    
}

.chart-caption
{
    padding: 1px 4px 0 4px;
    position: relative;
    
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: left;    

    color: white;
    text-shadow: 0px 0px 2px #315479;
}

