* {
    box-sizing: border-box;
}

html {
    background: no-repeat center left fixed;
    background-size: cover;
    font-weight: 300;
    color: lightgrey;
    height: 100%;
    width: 100%;
    margin: 0;
}

body {
    padding-top: 5px;
    background: black;
    height: 100%;
    width: 100%;
    position: relative;
    color: gray;
    display: grid;
}

main {
    /*overflow-y: scroll;*/
}

p {
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: darkolivegreen;
    cursor: pointer;
}

    a :hover {
        color: lightgreen;
        background-color: dimgray;
        cursor: grab;
    }

h1,h2,h3,h4 {
    color:dimgrey;
    margin-top: 20px;
    margin-bottom: 10px;
}

h1 {
    font-size: 5vmin;
    background: linear-gradient( to left,darkgreen, midnightblue );
    color: white;
}

h3 {
    text-align:left;
    font-size:large;
    font-weight:bold;
}

    h3 :hover {
        cursor: zoom-in;
    }

h5 {
    margin-top: 20px;
    margin-bottom: 5px;
}

svg {
    display: block;
    max-height: unset;
    margin: 30px auto 20px auto;
}

label {
    text-align:left;
    width:100%;
}

input, select {
    max-width: 260px;
    text-align: right;
    font-size: 25pt;
    font-weight: bold;
    color: white;
    background-color: black; /*rgb(25, 25, 25);*/
    border:none;
    /*border: 1px solid;
    border-color: dimgray;    
    border-radius: 5px;
    opacity: unset;*/
    padding: 4px;
    margin: 1px;
}

button {
    margin-top: 10px;
}

.close {
    color: #aaaaaa;
    position: absolute;
    right: 20px;
}

    .close:hover,
    .close:focus {
        color: #000;
    }

article {
    text-align: left;
}

textarea {
    min-width: 100%;
    text-align: left;
    font-size: large;
    font-weight: 200;
    background-color: black;
    color: rgb(120,120,120);
    padding: 20px;
    border-color: #212121;
    scrollbar-color: gray rgb(50,50,50);
    margin: 5px auto 50px auto;
}

/* --- InverterSite-specific layout and component classes --- */
.StatsPanel {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.column-3 {
    padding: 20px;
    text-align: center;
}

.row-100pct {
    width: 100%;
}

.BillForm {
    width: fit-content;
    margin: 5px auto;
}

.BillRow {
    display: flex;
    align-items: flex-end;
    width: fit-content;
    margin: 5px auto;
}

.BillRowDCell {
    display: flex;
    align-items: flex-end;
    margin: 5px auto;
}

.BillLabel {
    font-size: 0.7em;
    width: 165px;
    text-align: left;
}

.BillDateCol {
    max-width: 220px;
    padding: 5px;
}

.BillDate {
    padding: 0;
    margin: 0;
    font-size: 1em;
    max-width: 130px;
    text-align: right;
}

.BillDays {
    padding: 0;
    margin: 0;
    font-size: 1em;
    max-width: 80px;
    text-align: right;
}

.BillkWh {
    padding: 0;
    margin: 0;
    font-size: 1em;
    max-width: 105px;
    text-align: right;
}

.BillCharge {
    padding: 0;
    margin: 0;
    font-size: 1em;
    max-width: 100px;
    text-align: right;
    margin-right: 25px;
}

.BillCurrency {
    font-size: 0.7em;
    width: 35px;
    text-align: left;
}

.BillUnits {
    font-size: 0.7em;
    width: 25px;
}

.explText {
    width: 150px;
    height: 20px;
    text-align: right;
}

.dataInputDIV {
    width: 250px;
    padding-top: 30px;
    margin-left: auto;
    margin-right: auto;
}
.dataInputDIV label {
    text-align: center;
}

.buttonPanel {
    display: flex;
    flex-direction: row;
    flex-flow: row;
    justify-items: left;
}

.RangePanel {
    width: 350px;
    display: inline-block;
}
.RangePanel p {
    text-align: left;
    font-size: medium;
    margin: 0;
    padding: 0;
}

.rangeSelector {
    padding: 5px;
    margin: 5px;
    background-color: rgb(50,50,50);
    color: darkgray;
    border: 1px solid rgb(100,100,100);

    border-radius: 10px;
}
.rangeSelected {
    background-color: darkslategray;
}

#LocationName {
    max-width: 100%;
    text-align: left;
    background-color: transparent;
    font-size: 28pt;
}

#WaitingSVG {
    animation: 2s linear infinite svg-animation;
    max-width: 100px;
}

@keyframes svg-animation {
    0% { transform: rotateZ(0deg); }
    100% { transform: rotateZ(360deg); }
}

circle {
    display: block;
    fill: transparent;
    stroke: #2f3d4c;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 280;
    stroke-width: 10px;
    transform-origin: 50% 50%;
}   

@keyframes circle-animation {
    0%, 25% {
        stroke-dashoffset: 280;
        transform: rotate(0);
    }
    50%, 75% {
        stroke-dashoffset: 75;
        transform: rotate(45deg);
    }
    100% {
        stroke-dashoffset: 280;
        transform: rotate(360deg);
    }
}

/* --- Utility classes only if they override or are unique --- */
.hidden {
    display: none;
}
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}
.gray, .grey { color: gray; }
.dimgray { color: dimgray; }
.lightgrey { color: lightgrey; }
.lightgreen { color: lightgreen; }
.black { color: black; }

/* --- Footer override if needed --- */
.footer {
    color: rgb(80,80,80);
}

/* --- Media Queries --- */
@media screen and (max-width: 1600px) {
    .StatsPanel { flex-direction: column; }
    .row-100pct { display: block; }
    .column-3 { width: 100%; }
    .BillRow { align-items: flex-start; margin: 5px auto; }
}
@media screen and (max-width: 1000px) {
    .BillRow { display: flex; }
}
@media screen and (max-width: 500px) {
    .BillRow { display: block; }
    #LocationName { width: 100%; }
}

@media print {
    body {
        font-size: 10pt;
        color: black;
        background: white;
        transform-origin: top left;
    }
    main { margin-top: 0px; }
    nav, footer, button, .noPrint { display: none; }
    svg { margin: 0px auto 0px auto; }
    text {
        fill: rgb(50,50,50);
        stroke: black;
        font-size: 2.5vmin;
        font-weight: 100;
    }
    h1 {
        font-size: xx-large;
        margin-top: 0px;
        margin-bottom: 10px;
        padding: 0px;
        background: none;
    }
    h2 {
        font-size: x-large;
        margin-top: 0px;
        margin-bottom: 10px;
        padding: 0px;
    }
    input, .keyStat { font-size: x-large; }
    textarea {
        padding: 2px;
        color: black;
        border-color: none;
    }
    .page-block { margin: 0 0 5px 0; width: 100%; }
    .row { display: block; }
    .column-10, .column-25, .column-30, .column-33, .column-50, .column-66 { width: 100%; }
    .column-2, .column-3, .column-4, .column-23rds { width: 100%; }
    .bodyLight .column-3 { width: 100%; }
    .flex-row { width: 100%; display: inline-block; }
    .bodyLight .commentaryContainer { font-size: 14px; min-height: 150px; height: fit-content; }
    .dataInputDIV label {
        color:black;
    }
    .page-break { break-before: page; page-break-before: always; }
    #LocationName {
        color: black;
        font-size: xx-large;
        padding: 3px;
        margin: 0px auto 30px auto;
        border: 1px solid grey;
        border-radius: 6px;
    }
    .InverterSiteLogo { display: none; }
}
@page {
    size: A4 portrait;
    margin-top: 0.1in;
    margin-left: 0.1in;
    margin-right: 0.1in;
    margin-bottom: 0.1in;
}