﻿
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

html {
    box-sizing: border-box;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: Arial;
    margin: 0;
    padding: 10px;
    line-height: 1.15;
    background: #fff;
    color: #000;
}

[is-admin='true'] {
    padding: 20px;
}

.admin-area {
    margin-bottom: 20px;
    padding: 20px;
    border: solid 2px #999;
}

.g-flex {
    display: flex;
}

.chart-heading {
    text-align: center;
}

.chart-title {
    text-align: center;
    font-size: 24px;
    font-family: 'Arial';
    font-weight: bold;
}

.chart-sentiment {
    text-align: right;
    font-size: 20px;
    font-family: 'Arial';
    font-weight: bold;
}

.chart-splithi {
    width: auto;
    height: 430px;
}

.chart-splitlow-wrapper {
    display: flex;
}

.chart-splitlow {
    width: 85%;
    height: 130px;
}

.chart-sentiment-good {
    color: #28de58;
    text-align: right;
}

.sentiment-avg {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
    font-size: 14px;
    text-align: center;
    width: 15%;
    height: 80px;
}

.sentiment-avg--small {
    font-size: 11px;
}

.sentiment-avg__icon {
    font-size: 20px;
}

.sentiment-avg__percent {
    font-size: 24px;
    font-weight: bold;
}

.sentiment-avg__positive {
    font-weight: bold;
}

.sentiment-avg__icon--positive {
    color: #28de58;
}

.sentiment-avg__icon--neutral {
    color: #b5b1b1;
}

.sentiment-avg__icon--negative {
    color: #f5252c;
}

#sentiment-icon {
    /*display: flex;
    float: right;
    color: #fff;
    text-shadow: 1px 1px 1px #ccc;
    font-size: 1.5em;*/
    width: 30px;
    height: 30px;
}

[is-admin='true'] .chart-area {
    width: 500px;
    height: 500px;
    margin: 10px auto;
}

.admin-link {
    cursor: pointer;
}

.table-title{
    font-weight:bold;
    font-size:16px;
}
.table-subtitle{
    font-size:14px;
}

.table-area {
    display: inline-block;
    border: solid 1px #aaa;
    width: 675px;
}

.table-row {
    clear: both;
    border-bottom: solid 1px #aaa;
}

    .table-row.table-row--header .table-col.table-col--label {
        text-align: center;
    }

.table-col {
    display: inline-block;
    width: 50px;
    font-size: 12px;
    border-right: solid 1px #aaa;
    text-align: right;
    padding: 2px 4px;
}

.table-col--wide {
    width: 200px;
}

.table-col.table-col--label {
    text-align: left;
}

table, tr, td {
    border-spacing: 0px;
}

table{
    width:100%;
    margin-top:10px;
}

.table-header{
    font-size:18px;
    margin-bottom:8px;
    text-align:center;
}

.tr--header{
    font-weight:bold;
}

td {
    border: 1px solid #aaa;
    padding: 2px 4px;
    font-size: 13px;
    text-align: right;
}

    td.td--itemlabel {
        text-align: left;
    }

td.td--varlabel {
    text-align: center;
}



.data-container {
    height: 100%;
    width: 100%;
}

[mq-source='v7datacenter'] {
    width: 675px;
    height: 495px;
}


mq-chart canvas {
    width: 100% !important;
    height: 100% !important;
}

[mq-source='v7datacenter'] mq-chart canvas {
    width: 675px !important;
    height: 630px !important;
}