﻿body {
    box-sizing: border-box;
    position: relative;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    padding: 0px;    
    margin: 0px;
}

#headerDiv {
    position: fixed;
    left: 0px;
    width: 100%;
    height: 60px;    
    color: #f8f8f8;
    background: rgb(0,86,87);
    z-index: 1;    
}

#viewDiv {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
}

#loading {
    position: absolute;
    left: 50%;
    top: 40%;
}

#srDiv {
    background-color: transparent;
    color: gray;
    box-shadow: none;
    line-height: 2px;
    text-align: center;
}

#createMapDiv, #programDescDiv {
    width: 350px;
    background-color: white;
    padding: 10px;
}

#createMapDiv, #programDescDiv h1 {
    font-size: 14px;
}

#createMapDiv, #programDescDiv calcite-block label {
    line-height: 25px;
}

#acronymText {
    margin: 10px 0 0 0;
    line-height: 90%;
}

#program-definition {
    overflow: auto;
    height: 32em;
}

@media screen and (max-height: 700px) {
    #program-definition {
        overflow: auto;
        height: 15em;
    }
}

#footerDiv {
    position: absolute;
    left: 40%;
    bottom: 20px;
    background-color: transparent;
    color: gray;
    box-shadow: none;
}

#infoDiv {
    width: 300px;
    background-color: white;
    padding: 10px;
}

#infoDiv calcite-link {
    padding-left: 10px;
}

#printDiv {
    width: 170px;
    background-color: white;
    padding: 10px;
}

#tableDiv {
    width: 500px;
    background-color: white;
    padding: 10px;
    overflow: auto;
    height: 520px;
}

#dateTableDiv {
    width: 1000px;
    background-color: white;
    padding: 10px;
    overflow: auto;
    height: 510px;
}

#dateTableDiv-wide {
    width: 1300px;
    background-color: white;
    padding: 10px;
    overflow: auto;
    height: 510px;
}

#export-btn {
    margin-right: 7px;
    margin-top: 7px;
    margin-bottom: 7px;
    float: right;
}

/* Standard Table Styles */
table {
    width: 100%;
    margin: 1em 0;
    border-collapse: collapse;
    border: 0.1em solid #d6d6d6;
}

caption {
    text-align: left;
    font-style: italic;
    font-weight: bolder;
    font-size: medium;
    padding: 0.25em 0.5em 0.5em 0.5em;
}

th,
td {
    padding: 0.25em 0.5em 0.25em 1em;
    vertical-align: text-top;
    text-align: left;
    text-indent: -0.5em;
}

th {
    vertical-align: bottom;
    background-color: #16517e;
    text-align: left !important;
    color: #fff;
}

tr:nth-child(even) th[scope="row"] {
    background-color: #f2f2f2;
}

tr:nth-child(odd) th[scope="row"] {
    background-color: #fff;
}

tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.05);
}

tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Responsive Table */
[role="region"][aria-labelledby][tabindex] {
    overflow: auto;
    border: 0.1em solid #d6d6d6;
}

[role="region"][aria-labelledby][tabindex]:focus {
    box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.5);
    outline: 0.1em solid rgba(0, 0, 0, 0.1);
}

[role="region"][aria-labelledby][tabindex] table {
    margin: 0;
    border: none;
}

#print-portrait-indicator {
    position: absolute;
    background: rgba(255, 51, 0, 0.1);
    border: 2px dashed rgb(255, 51, 0);
}

.calcite-controls-with-buttons {
    display: flex;
    align-items: center;
}

#fipsi-commodityYear {
    margin-right: 5px;
    width: -webkit-fill-available;
}

#prevYearButton {
    margin-right: 5px;
}
