﻿p {
    font-size: 12pt;
}

hr {
    margin-top: 20px;
    color: red;
    background-color: red;
}

h2 {
    margin-top: 40px;
}

.XTab2 {
    max-width: initial;
    margin-top: 40px;
}

.XTab2 tr:hover {
    background-color: #ffffc0;
}

.XTab2 td, .XTab2 th {
    text-align: center;
    border-right: 1px solid lightgray
}

.XTab2 td.endcap, .XTab2 th.endcap {
    border-right: initial;
}

.XTab2 td.high {
    background-color: #C8F6C8;
}

.XTab2 td.vhigh {
    background-color: green;
    color: white;
}

.XTab2 td.low {
    background-color: #FFDAE0;
}

.XTab2 td.vlow {
    background-color: darkred;
    color: white;
}

tr.partial, tr.partial a {
    color: #888;
    font-style: italic;
}

.pct {
    font-weight: bold;
}

.vhigh a, .vlow a {
    color: yellow !important;
    font-weight: bold;
}

.XTab2 .all {
    background-color: white;
}

.XTab2 .all td {
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid black;
}

.bartab {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    max-width: 100%;
}

.bartab .year {
    font-weight: bold;
}

.bartab .year td {
    padding-bottom: 10px;
}

.bartab td:first-child {
    font-weight: bold;
    text-align: left;
}

.bartab td {
    text-align: center;
    vertical-align: bottom;
    padding: 0 3px;
}

.bar {
    margin: 0 auto;
    width: 100%;
}

td.info {
    text-align: left;
    font-weight: bold;
}

/* These colors should match those defined in Base.cs */

.ws {
    background-color: red;
}

.wc {
    background-color: firebrick;
}

.mc {
    background-color: orange;
}

.bartab .partial {
    opacity: 0.5;
}

#hint {
    display: none;
}

#legend {
    font-size: 14px;
}

    #legend span {
        height: 16px;
        width: 20px;
        display: inline-block;
        margin: 2px 6px 0 0;
    }


@media (max-width: 900px) {
    .XTab2 {
        width: 100%;
    }
    
    td.info {
        display: none;
    }

    .bartab td:first-child {
        display: none;
    }

    .bartab .year {
        font-weight: normal;
    }

    .bartab td {
        padding: 0 2px;
    }

    #legend {
        font-size: 12px;
    }

        #legend span {
            height: 13px;
            width: 15px;
            display: inline-block;
            margin-top: 2px;
        }
}

@media (max-width: 570px) {
    .wCount {
        display: none;
    }

    .pct {
        font-weight: normal;
    }

    .bartab tr.info {
        display: none;
    }

    .bartab td {
        padding: 0 1px;
    }

    #hint {
        display: block;
    }
}