/* fonts */
@import url('https://fonts.googleapis.com/css?family=Roboto');

/* base styles */
body {
    font-family: 'Roboto', sans-serif;
    background: #FAFAFA;
    color: #212121;
    user-select: none;
    overflow-x: hidden;
    margin: 0px;
}

/* cards styles */
.card {
    position: relative;
    display: block;
    width: calc(100% - 20px);
    text-align: center;
    max-width: 950px;
    border: 5px solid #EEEEEE;
    border-radius: 20px;
    box-shadow: 0px 0px 10px #EEEEEE;
    margin-left: auto;
    margin-right: auto;
}

.card.header {
    margin-top: 8px;
    margin-bottom: 5px;
}

.card.chart {
    margin-bottom: 5px;
}

.header.title {
    display: block;
    padding: 10px 10px 1px 10px;
    font-size: 16pt;
    font-weight: 600;
}

.header.title > sup {
    padding: 2px 5px 2px 5px;
    margin-left: 3px;
    font-size: 8pt;
    font-weight: 400;
    border-radius: 20px;
    color: #FFFFFF;
    background: #424242;
    
}

.header.subtitle {
    display: block;
    padding: 1px 10px 10px 10px;
    font-size: 12pt;
    font-weight: 400;
    color: #616161;
}

.card.chart {
    overflow-x: hidden;
    overflow-y: hidden;
    transition: 500ms;
}

@media (max-width: 985px) {
    .card.chart {
        height: calc((100vw - 20px) / 1.813);
    }
}

@media (min-width: 985px) {
    .card.chart {
        height: 492px;
    }
}

.chart.loading {
    display: block;
    width: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 90;
}

.card.chart > .chart.img {
    width: 100%;
    opacity: 0;
    transition: 500ms;
}

.card.chart.view {
    height: 492px;
    overflow-x: auto;
    overflow-y: hidden;
}

.card.chart.view > .chart.img {
    width: 894px;
    
}

.chart.img {
    position: relative;
    z-index: 100;
}

div.footer {
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    background: #E0E0E0;
}

.footer.version {
    color: #757575;
    font-weight: 400;
    font-size: 10pt;
}

.footer.source {
    display: block;
    color: #757575;
    font-weight: 400;
    font-size: 10pt;
}

