﻿/***************************/
/*** usp materials dashboard ***/
/***************************/
html.dashboard.usp.materials.illinois {
    font-size: 2.75vmin;
    font-weight: 300;
}

@media only screen and (min-aspect-ratio: 90/90) and (max-aspect-ratio: 95/90) {
    html.dashboard.usp.materials.illinois {
        font-size: 1.5vmin;
    }
}

@media only screen and (min-aspect-ratio: 95/90) and (max-aspect-ratio: 100/90) {
    html.dashboard.usp.materials.illinois {
        font-size: 1.55vmin;
    }
}

@media only screen and (min-aspect-ratio: 100/90) and (max-aspect-ratio: 105/90) {
    html.dashboard.usp.materials.illinois {
        font-size: 1.65vmin;
    }
}

@media only screen and (min-aspect-ratio: 105/90) and (max-aspect-ratio: 110/90) {
    html.dashboard.usp.materials.illinois {
        font-size: 1.7vmin;
    }
}

@media only screen and (min-aspect-ratio: 110/90) and (max-aspect-ratio: 115/90) {
    html.dashboard.usp.materials.illinois {
        font-size: 1.8vmin;
    }
}

@media only screen and (min-aspect-ratio: 115/90) and (max-aspect-ratio: 120/90) {
    html.dashboard.usp.materials.illinois {
        font-size: 1.9vmin;
    }
}

@media only screen and (min-aspect-ratio: 120/90) and (max-aspect-ratio: 125/90) {
    html.dashboard.usp.materials.illinois {
        font-size: 2vmin;
    }
}

@media only screen and (min-aspect-ratio: 125/90) and (max-aspect-ratio: 130/90) {
    html.dashboard.usp.materials.illinois {
        font-size: 2.1vmin;
    }
}

@media only screen and (min-aspect-ratio: 130/90) and (max-aspect-ratio: 140/90) {
    html.dashboard.usp.materials.illinois {
        font-size: 2.2vmin;
    }
}

@media only screen and (min-aspect-ratio: 140/90) and (max-aspect-ratio: 145/90) {
    html.dashboard.usp.materials.illinois {
        font-size: 2.3vmin;
    }
}

@media only screen and (min-aspect-ratio: 145/90) and (max-aspect-ratio: 150/90) {
    html.dashboard.usp.materials.illinois {
        font-size: 2.4vmin;
    }
}

@media only screen and (min-aspect-ratio: 150/90) and (max-aspect-ratio: 155/90) {
    html.dashboard.usp.materials.illinois {
        font-size: 2.5vmin;
    }
}

@media (orientation: landscape) {
    html.dashboard.usp.materials.illinois .layout-grid {
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: repeat(36, 1fr);
    }
}

html.dashboard.usp.materials .panel.logo {
    text-align: center;
}
html.dashboard.usp.materials .panel.logo .panel-body {
    margin-bottom: 0;
}
html.dashboard.usp.materials .panel.logo img {
    width: 14rem;
}

@media (orientation: portrait) {
    html.dashboard.usp.materials .panel.logo {
        height: 4rem;
    }
}

@media (orientation: landscape) {
    html.dashboard.usp.materials .panel.logo {
        grid-column-start: 1;
        grid-column-end: 6;
        grid-row-start: 1;
        grid-row-end: 5;
    }
}

@media (orientation: landscape) {
    html.dashboard.usp.materials .panel.tanks-190p {
        grid-column-start: 1;
        grid-column-end: 6;
        grid-row-start: 5;
        grid-row-end: 21;
    }
}

@media (orientation: landscape) {
    html.dashboard.usp.materials .panel.tanks-200p {
        grid-column-start: 1;
        grid-column-end: 6;
        grid-row-start: 21;
        grid-row-end: 37;
    }
}

@media (orientation: landscape) {
    html.dashboard.usp.materials.illinois .panel.usp-denaturants {
        grid-column-start: 6;
        grid-column-end: 13;
        grid-row-start: 1;
        grid-row-end: 19;
    }
}

@media (orientation: portrait) {
    html.dashboard.usp.materials.illinois .panel.usp-denaturants {
        padding-bottom: 1rem;
    }
    html.dashboard.usp.materials.illinois .panel.usp-denaturants .panel-title {
        padding-bottom: 1rem;
    }
}

@media (orientation: landscape) {
    html.dashboard.usp.materials.illinois .panel.south-grain-storage {
        grid-column-start: 8;
        grid-column-end: 12;
        grid-row-start: 1;
        grid-row-end: 17;
    }
}
@media (orientation: portrait) {
    html.dashboard.usp.materials.illinois .panel.south-grain-storage {
        padding-bottom: 1rem;
    }
    html.dashboard.usp.materials.illinois .panel.south-grain-storage .panel-title {
        padding-bottom: 1rem;
    }
}

@media (orientation: landscape) {
    html.dashboard.usp.materials .panel.usp-storage {
        grid-column-start: 6;
        grid-column-end: 13;
        grid-row-start: 19;
        grid-row-end: 37;
    }
}
@media (orientation: portrait) {
    html.dashboard.usp.materials .panel.usp-storage {
        padding-bottom: 1rem;
    }
    html.dashboard.usp.materials .panel.usp-storage .panel-title {
        padding-bottom: 1rem;
    }
}

@media (orientation: landscape) {
    html.dashboard.usp.materials.illinois .panel.north-plant-status {
        grid-column-start: 4;
        grid-column-end: 8;
        grid-row-start: 32;
        grid-row-end: 37;
    }
}

@media (orientation: landscape) {
    html.dashboard.usp.materials.illinois .panel.south-plant-status {
        grid-column-start: 8;
        grid-column-end: 12;
        grid-row-start: 32;
        grid-row-end: 37;
    }
}

html.dashboard.usp.materials.illinois .panel.north-plant-status .figure-container .figure .unit {
    font-size: 0.4rem;
}
html.dashboard.usp.materials.illinois .panel.south-plant-status .figure-container .figure .unit {
    font-size: 0.4rem;
}

html.dashboard.usp.materials.illinois .tank-with-level-indicator.tf-14632 .tank {
    height: 10rem;
    width: 11rem;
}
html.dashboard.usp.materials.illinois .tank-with-level-indicator.tf-14634 .tank {
    height: 9rem;
    width: 6rem;
}
html.dashboard.usp.materials.illinois .tank-with-level-indicator.tf-14636 .tank {
    height: 6rem;
    width: 4rem;
}
html.dashboard.usp.materials.illinois .tank-with-level-indicator.tf-14638 .tank {
    height: 5rem;
    width: 3.5rem;
}
html.dashboard.usp.materials.illinois .tank-with-level-indicator.tf-14640 .tank {
    height: 4rem;
    width: 3rem;
}


html.dashboard.usp.materials.illinois .tank-with-level-indicator.tf-14581 .tank {
    height: 6rem;
    width: 4rem;
}
html.dashboard.usp.materials.illinois .tank-with-level-indicator.tf-14583 .tank {
    height: 6rem;
    width: 4rem;
}
html.dashboard.usp.materials.illinois .tank-with-level-indicator.tf-14585 .tank {
    height: 6rem;
    width: 4rem;
}
html.dashboard.usp.materials.illinois .tank-with-level-indicator.tf-14593 .tank {
    height: 12rem;
    width: 7.75rem;
}
html.dashboard.usp.materials.illinois .tank-with-level-indicator.tf-14595 .tank {
    height: 12rem;
    width: 7.75rem;
}

@media (orientation: landscape) {
    html.dashboard.usp.materials .tank-container .tank-group-1,
    html.dashboard.usp.materials.illinois .tank-container .tank-group-2 {
        display: flex;
        align-items: flex-end;
    }
}

@media (orientation: portrait) {
    html.dashboard.usp.materials .tank-container .tank-group-1,
    html.dashboard.usp.materials .tank-container .tank-group-2 {
        margin-right: 0.25rem;
    }
}

@media (orientation: portrait) {
    html.dashboard.usp.materials .tank-container .tank-group-1,
    html.dashboard.usp.materials .tank-container .tank-group-2,
    html.dashboard.usp.materials .tank-container .tank-group-3 {
        display: flex;
        flex-direction: column;
        height: 25rem;
        justify-content: space-between;
    }
}

html.dashboard.usp.materials .figure-container {
    flex-direction: row;
    display: flex;
    justify-content: center;
    margin-bottom: auto;
    flex-wrap: wrap;
    padding-bottom: .75rem;
}

html.dashboard.usp.materials .figure-container .figure {
    flex: 0 0 7rem;
}

html.dashboard.usp.materials .figure-container .figure .title {
    text-align: center;
}

html.dashboard.usp.materials .figure-container .figure .rate {
    position: relative;
    text-align: center;
    margin: .5rem 0 .25rem;
    text-shadow: black 0.05rem 0.05rem 0.05rem;
    color: #59A8D3;
    font-size: 1.4rem;
}

html.dashboard.usp.materials .figure-container .figure .unit {
    text-align: center;
}

html.dashboard.usp.materials.illinois .panel.usp-denaturants .figure-container.delivery-count-container,
html.dashboard.usp.materials.illinois .panel.south-grain-storage .figure-container.delivery-count-container {
    position: absolute;
    top: 2.2rem;
    left: 4rem;
}

html.dashboard.usp.materials.illinois .panel.usp-denaturants .tank-with-level-indicator .footer {
    min-height: 0.8rem;
    font-size: 0.45rem;
}

html.dashboard.usp.materials.illinois .panel.usp-denaturants .figure-container.delivery-count-container .figure .unit,
html.dashboard.usp.materials.illinois .panel.south-grain-storage .figure-container.delivery-count-container .figure .unit {
    font-size: .8rem;
}

html.dashboard.usp.materials.illinois .panel.usp-denaturants .figure-container.delivery-count-container .figure .rate,
html.dashboard.usp.materials.illinois .panel.south-grain-storage .figure-container.delivery-count-container .figure .rate
{
    color: #ddbd1f;
}