@import "show_host_info.css";

body {
    background-color: #000;
    color: #FFF;
    font-family: monospace;
    margin: 0;
}

footer {
    text-align: center;
    font-size: small;
    font-style: italic;
}

a {
    color: #FFF;
    text-decoration: underline;
}

a.button {
    cursor: pointer;
}

button,
.button {
    display: inline-block;
    margin: 1px;
    padding: 1px 6px;

    font-family: Arial;
    font-size: 0.6em;
    color: #000;
    text-decoration: none;

    background-color: #efefef;
    border: 2px solid #efefef;
    border-radius: 2px;

}

button:focus-visible,
.button:focus-visible {
    outline-offset: 1px;
}

.bold {
    font-weight: bold;
}

.dbase-messages {
    list-style-type: none;
}

.dbase-messages .debug {
    color: black;
    background-color: white;
}

.dbase-messages .info {
    color: white;
}

.dbase-messages .success {
    color: lightgreen;
}

.dbase-messages .warning {
    color: yellow;
}

.dbase-messages .error {
    color: red;
}

.no-list {
    list-style-type: none;
    padding: 0;
}

h1 {
    text-align: center;
    margin-top: .67em;
    margin-bottom: 0;
}

h2 {
    text-align: center;
    margin-top: 0;
}

.menu-date {
    position: absolute;
    right: 0;
    font-size: large;
    margin-right: 2em;
    margin-top: .67em;
}

header {
    border: 1px;
    border-style: solid;
    margin-top: 5px;
    margin-left: 5px;
    margin-right: 5px;
}

header nav {
    margin: 1em;
}

main {
    border: 1px;
    border-style: solid;
    padding: .67em;
    margin-bottom: 5px;
    margin-left: 5px;
    margin-right: 5px;
    min-height: 20em;
    font-size: 1.5em;
}

.keys {
    background-color: #A8A8A8;
    color: black;
    margin-bottom: 1em;
    font-weight: bold;
    font-size: 1.4em;
}

code {
    font-family: monospace;
    background-color: #A8A8A8;
    color: black;
    padding: 0 3px;
}

/* Report output classes */

.report {
    white-space: pre;
    background-color: white;
    color: black;
    font: 12pt "Courier", monospace;
    line-height: 1;
}

.pagebreak {
    page-break-after: always;
}

.menu-group {
    display: inline-block;
    vertical-align: top;
    text-align: left;
}

.menu-group ul {
    list-style: none;
    padding-left: 0;
}

@media print {
    .hidden-print {
        display: none !important;
    }

    body {
        background-color: white;
        color: black;
    }
}

@page {
    size: letter portrait;
}

/* Invoice output */
@page {
    margin-top: 0.40in;
    margin-right: 0.50in;
    margin-bottom: 0.40in;
    margin-left: 0.30in;
}

select,
input[type="text"],
input[type="number"],
input[type="password"],
input[type="email"],
input[type="checkbox"],
textarea {
    margin-top: 1px;

    font-family: monospace;
    font-size: 1em;

    background-color: #00A8A8;
    border: 0;
    outline: none;
}

input[type="number"] {
    text-align: right;
}

select:focus,
input[type="text"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="checkbox"]:focus,
input[type="submit"]:focus {
    border: 2px solid white;
}

/* checkbox border doesn't work, so use outline */
.button,
button[type="button"]:focus,
input[type="checkbox"]:focus,
input[type="submit"]:focus,
button:focus {
    outline: 2px solid white;
}

input:disabled {
    color: white;
    background-color: #044;
}

a:focus {
    color: black;
    background-color: white;
    text-decoration: none;
}

.ui-datepicker-trigger {
    margin-left: 5px;
    margin-bottom: -2px;
}

.errorlist {
    color: #bb0000;
    list-style-type: none;
    padding: 0;
}

.errorlist li {
    margin: 1px;
    background-color: pink;
    border-radius: 4px;
    padding: 0px 6px;
}

.different {
    border: 1px solid magenta;
}

.log {
    width: 100%;
    height: 768px;
    white-space: pre;
    background-color: white;
    color: black;
    font: 12pt "Courier", monospace;
    line-height: 1;
    overflow: scroll;
}

/* Progress bars */
.ui-progressbar-value {
    background: blue;
}

.ui-progressbar {
    height: 0.5em;
}

/* Pagination */
ul.pagination {
    display: inline-block;
    padding: 0;
    margin: 15px 0;
}

ul.pagination li {
    display: inline;
    margin: 0;
}

ul.pagination a {
    padding: 8px 16px;
    margin: 0;
    text-decoration: none;
    border: 1px solid gray;
}

/* Edit Pages */
div.detail-labels-div label {
    width: 8em;
    display: inline-block;
}

.loadsheet-line-item-left,
.loadsheet-line-item-right,
.loadsheet-shipto,
.loadsheet-billto {
    float: left;
}

.loadsheet-shipto label,
.loadsheet-billto label {
    width: 8em;
    display: inline-block;
}

.loadsheet-line-item-right,
.loadsheet-billto {
    margin-left: 1em;
}

div.table-recv-container {
    width: 100%;
    height: 600px;
    overflow-y: auto;
}

div.table-receive-container-customer {
    width: 100%;
}

div.table-receive-container-customer > tbody {
    height: 60%;
    overflow-y: auto;
}

table.table-recv {
    width: 100%;
    border-collapse: collapse;
}

table.table-recv td,
table.table-recv th {
    padding: 0 5px;
}

table.table-recv th {
    border-bottom: 1px solid gray;
}

table.table-recv tr:nth-child(even) td {
    background-color: #222;
}

.table-recv > caption {
    text-align: left;
}

.table-recv > thead {
    /* Sticky the header to the top when scrolling */
    position: sticky;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;

    /* Style for sticky appearance */
    background-color: #000;
    box-shadow: inset 0 1px 0 lightgray, inset 0 -1px 0 lightgray;
}

.recv-header div:not(:first-child) {
    margin-left: 1em;
    margin-bottom: 1em;
}

.recv-header {
    display: flex;
    justify-content: space-between;
}

/* #table-close-without-receive caption {
    text-align: left;
} */

#bulk-receive-edit-form {
    display: block;
    margin: 2em;
}

#bulk-receive-edit-form > table {
    width: max-content;
    text-align: left;
    margin-top: 15px;
    margin-bottom: 15px;
}

div.container-close-without-receive {
    border: 2px solid lightgray;
    border-radius: 10px;
    width: 50%;
    margin: 2em;
}

.receive-data-header {
    width: 50%;
    margin-top: 15px;
    margin-bottom: 15px;
}

.aged-seq-zero {
    background-color: #333;
}

table.table-objects {
    width: 100%;
    border-collapse: collapse;
}

table.table-objects td,
table.table-objects th {
    padding: 0 5px;
}

table.table-objects th {
    border-bottom: 1px solid gray;
}

table.table-objects tr:nth-child(even) td {
    background-color: #222;
}

.objects-deactivated td {
    color: #999;
}

.objects-deactivated a {
    color: #999;
}

.needs-approval {
    border: 1px solid white;
}

table.invoice-estimate td:nth-child(n+2) {
    text-align: right;
}

/* Helper classes */
.float-right {
    float: right;
}

.float-left {
    float: left;
}

.float-clear {
    clear: both;
}

.v-align-top {
    vertical-align: top;
}

.display-inline {
    display: inline-block;
}

.border-gray {
    border: 1px solid gray;
}

.full-width {
    width: 100%;
}

.long {
    width: 20em;
}

.short {
    width: 6em;
}

.align-left {
    text-align: left;
}

.align-right {
    text-align: right;
}

.center {
    text-align: center;
}

.disabled {
    color: gray;
    cursor: no-drop;
}


.table {
    width: 100%;
    border-collapse: collapse;
}

.table td,
.table th {
    padding: 0 5px;
}

.table th {
    border-bottom: 1px solid gray;
}

.table tr:nth-child(even) {
    background-color: #464646;
}


/* Two-factor & auth element styles. */
#div-login {
    width: 80%;
    max-width: 500px;
    margin: auto;
}

@media screen and (min-width: 800px) {
    #div-login {
        width: 50%;
    }
}

#div-login h1 {
    padding-bottom: 20px;
}

#div-login .d-none {
    display: none !important;
}

#div-login p {
    width: 100%;
}

#div-login .qr-code-container {
    width: 100%;
    margin: auto;

    text-align: center;
}

#div-login button,
#div-login .button {
    margin-top: 10px;
}


.qr-code {
    margin: auto;

    background-color: #fff;
}

.two-factor-form li {
    list-style-type: none;
}

.two-factor-form input::-webkit-outer-spin-button,
.two-factor-form input::-webkit-inner-spin-button,
.two-factor-form input[type=number] {
    margin: 0;

    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: none;
}


/* PayPeriod styles. */
.notes-section {
    padding: 5px 10px 5px 10px;
    max-width: 50vw;

    border-top: 1px dotted #c0c0c0;
    border-bottom: 1px dotted #c0c0c0;
}


/* Other generalized element styles. */
.no-margin {
    margin: 0;
}

p.no-margin {
    padding-top: 5px;
    padding-bottom: 5px;
}

.horiz-space-between {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex: 1;
}

.vert-space-between {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.de-emphasized-text,
.de-emphasized-text p {
    color: gray;
    font-size: 90%;
}

small {
    font-size: 80%;
    color: #77a8a8;
    font-style: italic;
}

.invoice-button {
    background-color: transparent;
    border: 2px solid lightgray;
    outline: none;
    color: white;
    font-size: inherit;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.1s ease;
}

.invoice-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: bolder;
}

.invoice-button .invoice-year {
    color: gray;
}
