﻿

.gridWrap {
    display: grid;
    position: relative;
}

.fullTableWrap {
    min-height: 500px;
    margin-bottom: 50px;
}

.mainTableGrid {
    width: 100vw;
    border: 1px solid rgba(0,0,0,0.3);
    min-height: 300px;
    grid-template-columns: 26rem calc(100vw - 39rem);
    padding: 10px;
}

    .mainTableGrid .viewPort > .content {
        /*  font-size: 0.8rem; */
    }

    .leftBar {
        height: 300px;
        width: 26rem;
        overflow: auto;
    }

.leftBarContents {
    background: rgba(255,255,255,0.9);
    height: 3000px;
}

.viewPort {
    border: 1px solid blue;
    overflow: auto;
    height: 300px;
}

.topHeader {
    position: relative;
    overflow: hidden;
    min-height: 4rem;
}

.headerContentWrap {
}

.content {
    min-width: 3055px;
    height: 3000px;
    min-height: 800px;
    /*overflow: hidden;*/
}

.yearHeaderGrid {
    grid-template-columns: repeat(14, 56.4rem);
}

.yearHeadWrap {
    display: grid;
    grid-template-columns: repeat(12, 4.7rem); /* 12 columns */
    grid-template-rows: 2rem 2rem;
    height: 4rem;
}

.yearHead {
    grid-column: 1 / 13;
}

.yearHead{
    padding: 5px;
    position: relative;
}
    .yearHead .sticky {
        position: -webkit-sticky;
        position: sticky;
        left: 5px;
        font-weight: bold;
        font-size: 1.2rem;
        font-style: italic;
        max-width: 6rem;
    }

.monthHeader{
    padding: 3px 5px;
}

.yearHeadWrap.oddYear {
    background-color: rgba(142, 167, 128, 0.5);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.cell.oddYear {
    background-color: rgba(142, 167, 128, 0.2);
}

.dataSeries.gridWrap {
    grid-template-columns: repeat(250, 4.7rem); /*4.62rem*/
    border-bottom: 1px solid rgba(200, 200, 200, 0.2);
}

/* The grid for enclosing Series row */
.seriesRowLabel{
    background: rgba(200,200,200,0.8);
}

.dataOuterWrap:hover{
    background-color: rgba(214, 220, 86, 0.60);
}
.dataOuterWrap.active {
    background-color: rgba(214, 220, 86, 0.2);
}
    .dataOuterWrap.active .dataSeries.gridWrap {
        border-bottom: 1px solid rgba(128, 128, 128, 0.2);
    }


    .seriesRowLabel, .outerRow {
        margin-bottom: 3px;
        border-bottom: 1px solid rgba(50,50,50,0.5);
        font-size: 0.8rem;
        min-height: 110px;
    }

    .seriesRowLabel .description {
        padding: .2rem .3rem;
        font-weight: bold;
    }

.fixedDescriptionHeader{
    position:relative;
    height: 100%;
}
    .fixedDescriptionHeader > div{
        padding-top: 2.3rem;
        font-weight: bold;
    }

    .seriesWrap .rowLabel {
        padding: .2rem .3rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        cursor: cell;
        border-bottom: 1px solid rgba(200,200,200,0.4);
    }

        .seriesWrap .rowLabel:hover {
            background-color: rgba(255,255,255,0.5);
        }

        .seriesWrap .rowLabel.active {
            background-color: rgba(255,255,255,0.2);
            border-bottom: 1px solid rgba(255,255,255,0.5);
        }

            .cell {
                padding: .2rem .3rem;
                width: 4.7rem;
            }














/*        SOME OLDER STYLES */

.trendDataTable {
    font-size: 0.8rem;
		position: relative;
		margin-bottom: 60px;
}

.trendDataTable .dataRow {
		white-space: nowrap;
		border-bottom: 1px solid #aaa;
		margin-bottom: 4px;
	}


.notHide2009,
.notHide2010,
.notHide2011,
.notHide2012,
.notHide2013,
.notHide2014,
.notHide2015,
.notHide2016,
.notHide2017,
.notHide2018,
.notHide2019,
.notHide2020 
{
    display: none;
}

table.hide2009 .notHide2009,
table.hide2010 .notHide2010,
table.hide2011 .notHide2011,
table.hide2012 .notHide2012,
table.hide2013 .notHide2013,
table.hide2014 .notHide2014,
table.hide2015 .notHide2015,
table.hide2016 .notHide2016,
table.hide2017 .notHide2017,
table.hide2018 .notHide2018,
table.hide2019 .notHide2019,
table.hide2020 .notHide2020 {
    display: inherit;
}




table.hide2009 .hide2009,
table.hide2010 .hide2010,
table.hide2011 .hide2011,
table.hide2012 .hide2012,
table.hide2013 .hide2013,
table.hide2014 .hide2014,
table.hide2015 .hide2015,
table.hide2016 .hide2016,
table.hide2017 .hide2017,
table.hide2018 .hide2018,
table.hide2019 .hide2019,
table.hide2020 .hide2020 {
    visibility: collapse;
    width: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    border: 0;
    display: none;
}