﻿@font-face {
    font-family: 'SourceSansPro-Regular';
    src: url('../../fonts/Source-Sans-Pro/SourceSansPro-Regular.otf') format('opentype');
}

@font-face {
    font-family: 'SourceSansPro-Bold';
    src: url('../../fonts/Source-Sans-Pro/SourceSansPro-Bold.otf') format('opentype');
}

#headerContainer {
    background: rgb(243, 247, 249);
    padding: 40px 40px 20px 40px;
}

    #headerContainer h1 {
        font-size: 50px;
    }

    #headerContainer h2 {
        font-family: 'SourceSansPro-Regular';
    }

    #headerContainer label {
        text-transform: uppercase;
        font-size: 13px;
        font-weight: normal;
        font-family: 'SourceSansPro-Bold';
    }

    .inputContainer label, #headerContainer .inputContainer label {
        font-family: 'SourceSansPro-Regular';
        font-weight: normal;
        text-transform: none;
        font-size: 16px;
    }

#selectorRow {
    margin-top: 20px;
}

#view {
    min-width: 0;
    width: 100%;
    margin: 0;
}

#menu {
    background: rgb(243, 247, 249);
    padding: 20px 40px 0 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
}

#menuLinkContainer {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 0px;
}

    #menuLinkContainer div {
        padding: 15px 0;
    }

.menuLink, .menuLink:hover {
    color: #444;
    font-family: 'SourceSansPro-Bold';
    text-transform: uppercase;
    font-size: 18px;
    white-space: nowrap;
    letter-spacing: 0;
    margin: 0 20px 0 0;
}

#menuLinkContainer .menuLink.active {
    color: #444;
    border-bottom: 5px solid #fcc419;
    padding-bottom: 15px;
}

#top {
    position: absolute;
    top: 0;
}

#upBtn {
    padding: 2px 8px 6px 8px;
    color: #fff;
    background: #404040;
    position: fixed;
    bottom: 8px;
    right: 8px;
    text-align: center;
    opacity: 0.8;
    transition: all 0.5s ease;
    z-index: 100000;
}

.fa-spinner {
    font-size: 16px;
    -webkit-animation: spin-right 120s linear infinite;
    -moz-animation: spin-right 120s linear infinite;
    -o-animation: spin-right 120s linear infinite;
    animation: spin-right 120s linear infinite;
    animation-name: spin;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

#sectionContainer {
    margin: 40px;
}

.section {
    display: none;
}

    .section.active {
        display: block;
    }

.chartContainer {
    display: flex;
    flex-wrap: wrap;
    margin: 40px 0;
    padding: 20px;
}

    .chartContainer:nth-child(odd) {
        background: #f5f5f5;
    }

.chart-text {
    width: 400px;
    padding-right: 40px;
    margin-top: 20px;
}

.chartGraphContainer {
    width: calc(100% - 400px);
}

.chart-title {
    font-family: 'SourceSansPro-Bold';
    font-size: 26px;
    margin-bottom: 20px;
    color: #444;
}

.chart-subtitle {
    font-family: 'SourceSansPro-Bold';
    margin: 20px 0;
    color: #444;
}

.chart-source {
    font-size: 13px;
}

.selectorContainer {
    float: right;
    width: 272px;
}

    .selectorContainer label {
        font-size: 13px;
    }

.toggleBtn, .toggleBtn:hover {
    color: #444;
    cursor: pointer;
    font-family: 'SourceSansPro-Bold';
    text-decoration: none;
}

.chartTableContainer {
    max-height: 300px;
    overflow: auto;
}

.chartTable {
    width: 100%;
}

    .chartTable tr {
        border-bottom: 1px solid #444;
    }

    .chartTable .right {
        text-align: right;
    }

    .chartTable th {
        font-family: 'SourceSansPro-Bold';
        font-weight: normal;
        padding: 6px;
    }

    .chartTable td {
        padding: 6px;
        height: 67px;
        overflow: hidden;
    }

.chart .noData {
    text-align: center;
    font-size: 18px;
    margin: 100px 0;
}

.sectionNoData {
    text-align: center;
    margin: 100px 0;
    font-size: 20px;
}

#sectionHeader {
    font-family: 'SourceSansPro-Bold';
    font-size: 36px;
    text-transform: uppercase;
}

#headerNotes {
    margin-top: 20px;
    font-size: 14px;
}

#sectionDescription {
    font-size: 20px;
    margin-top: 10px;
}

@media only screen and (max-width:999px) {
    .chart-text, .chartGraphContainer {
        width: 100%
    }
}
