:root {
    --activeHighlightColor: #b0e0e6;
    --alternatingRowColor: #f3f3f3;
    --bodyBackgroundColor: #FFFFFF; /* for production version */
    --borderColor: #9f9f9f;
    --controlHighlightColor: #FFFFA0;
    --dialogBackgroundColor: #FFFFFF;
    --redColor: #FF0000;
    --superiorBlueColor: #053259;
    --textColor: #444444;
    --superiorGrayColor: #636466;
    --defaultFontSize: 12pt;
}

body {
    background-color: var(--bodyBackgroundColor); /* 11-19-2024 added by j.schinnerer */
    color: var(--superiorBlueColor);
    font-family: Verdana, arial, MS Sans Serif, sans-serif;
    font-size: var(--defaultFontSize);
    margin: 0;
    padding: 0;
}

input, select {
    font-size: var(--defaultFontSize);
}

a {
    color: var(--superiorBlueColor);
    cursor: pointer;
    text-decoration: none;
}  
a:hover {
    color: black;
}
a:active {
    color: var(--superiorBlueColor);
}

a.ViewPredefinedDateRanges {
    color: var(--superiorBlueColor);
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
}

a#HomeLink {
    text-decoration: none;
}

.error {
    color: var(--redColor);
    font-size: var(--defaultFontSize);
}

.selected {
    color: var(--activeHighlightColor);
}

.center {
    text-align: center;
}

.CheckAmountForZero {
    color: red;
}
.CheckAmountForZero.IsZero {
    color: green;
}

div#PayInvoicesDialog.ui-dialog-content {
    padding-top: 0;
    text-align: left;
    vertical-align: middle;
    width: auto;
}
div#PayInvoicesDialog.ui-dialog-content div#PaymentTotalDiv{
    font-size: 1.2em;
    font-weight: bold;
    padding-top: 5px;
}

div.SuperiorDialog div.ui-dialog-content {
    font-size: var(--defaultWidgetFontSize);
    padding-top: 0;
    text-align: center;
    vertical-align: middle;
    width: auto;
}
div.SuperiorDialog div.ui-dialog-content div#MessageDiv {
    padding-top: 10px;
    visibility: visible;
}
div.SuperiorDialog div.ui-dialog-content div#MessageDiv table {
    max-width: 100%;
}
    div.SuperiorDialog div.ui-dialog-content div#MessageDiv table td {
        white-space: pre-wrap;
    }
div.SuperiorDialog div.ui-dialog-content ul.ui-autocomplete {
    text-align: left;
}
div.SuperiorDialog div.ui-dialog-buttonpane {
    padding: 2px 0;
}
div.SuperiorDialog div.ui-dialog-buttonpane div.ui-dialog-buttonset {
    float: none;
    text-align: center;
}
div.SuperiorDialog div.ui-dialog-buttonpane div.ui-dialog-buttonset button {
    min-width: 0;
}
div.SuperiorDialog div.ui-dialog-buttonpane div.ui-dialog-buttonset button.fa {
    font-family: FontAwesome;
}
div.SuperiorDialog .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
    text-align: center;
    float: none;
}
div.SuperiorDialog div.ReportTableLabel {
    font-size: .9em;
    text-align: left;
}
div.SuperiorDialog table > thead > tr > th {
    white-space: nowrap;
}
div.SuperiorDialog table > tbody > tr {
    vertical-align: middle;
}
div.SuperiorDialog table.NoAlternateRowColor td, div.SuperiorDialog table.AlternateRowColor td {
    font-size: var(--defaultWidgetFontSize);
}

div.SectionHeader {
    color: var(--superiorBlueColor);
    float: none;
    font-size: 1.1em;
    padding-bottom: 5px;
    padding-top: 10px;
    text-align: left;
}

.DisplayNone {
    display: none;
}

div#PageHeader {
    display: none;
    left: 0;
    padding: 5px 5px 10px 5px;
    position: sticky;
    top: 0;
    z-index: 100;
}
div#PageHeader::after {
    background-color: var(--bodyBackgroundColor);
    content: '';
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}
div#PageHeader img {
    vertical-align: middle;
}
div#PageHeader table {
    width: 100%;
}
div#PageHeader table tr:first-child > td:nth-child(odd) {
    width: 5px;
}
div#PageHeader td {
    border: 0;
}

div#MainContent {
    display: none;
    left: 0;
    padding: 0 5px 5px 5px;
    z-index: 98;
}
    div#MainContent .Sticky {
        left: 0;
        position: sticky;
        top: 0;
        z-index: 98;
    }
        div#MainContent .Sticky::after {
            background-color: var(--bodyBackgroundColor);
            content: '';
            height: 100%;
            left: 0;
            position: absolute;
            top: 0;
            width: 100%;
            z-index: -1;
        }

.SuperiorDialog .Sticky {
    position: sticky;
    z-index: 1000;
}
    .SuperiorDialog .Sticky::after {
        background-color: var(--dialogBackgroundColor);
        content: '';
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
        z-index: -1;
    }

div.SuperiorDialog div#PredefinedDateRangesDialog.ui-dialog-content {
    text-align: center;
    vertical-align: middle;
}

div#PredefinedDateRangesDialog {
    margin: 2px;
    padding: 0;
}

div#PredefinedDateRangesDialog ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

div#PredefinedDateRangesDialog ul > li {
    visibility: visible;
}

div#PredefinedDateRangesDialog ul > li:hover {
    background-color: var(--alternatingRowColor);
}

div.ReportTableLabel {
    font-size: .8em;
    padding-bottom: 5px;
    padding-top: 5px;
}

i#ChangeAccount {
    color: var(--superiorBlueColor);
    cursor: pointer;
    margin-right: 5px;
}

.FieldLabel {
    font-weight: bold;
}

.Bold {
    font-weight: bold;
}

hr {
    text-align: left;
    width: 100%;
}

input#RegNumber + i.fa-chevron-down,
input.RegNumber + i.fa-chevron-down {
    font-size: .8em;
    margin-left: -1.4em;
    vertical-align: middle;
}
    input#RegNumber + i.fa-chevron-down.Disabled,
    input.RegNumber + i.fa-chevron-down.Disabled {
        opacity: 0.3;
    }

div.Link,
span.Link,
td.Link {
    color: var(--superiorBlueColor);
    cursor: pointer;
    text-decoration: underline;
}
    div.Link:hover,
    span.Link:hover,
    td.Link:hover {
        color: black;
        text-decoration: none;
    }

table {
    empty-cells: show;
    width: auto;
}
    table.AlternateRowColor, table.NoAlternateRowColor {
        border-collapse: separate;
        border-spacing: 0;
        border-width: 0;
        max-width: 100%;
    }
        table.NoAlternateRowColor thead tr:last-child th, table.NoAlternateRowColor tr:first-child th,
        table.AlternateRowColor thead tr:last-child th, table.AlternateRowColor tr:first-child th {
            background-color: var(--alternatingRowColor);
            color: var(--superiorBlueColor);
            font-size: 1.1em;
            vertical-align: bottom;
        }
        table.NoAlternateRowColor > thead > tr:last-child, table.AlternateRowColor > thead > tr:last-child {
            border-top: 1px solid var(--borderColor);
            vertical-align: bottom;
        }
        table.NoAlternateRowColor tbody tr.HighlightRow:hover, table.AlternateRowColor tbody tr.HighlightRow:hover {
            background-color: var(--activeHighlightColor);
        }
table.AlternateRowColor tbody tr:not(:hover):not(.highlighted):nth-child(odd) {
    background-color: white;
}
    table.AlternateRowColor tbody tr:not(:hover):not(.highlighted):nth-child(even) {
        background-color: var(--alternatingRowColor);
    }
        table.NoAlternateRowColor td, table.NoAlternateRowColor th, table.AlternateRowColor td, table.AlternateRowColor th {
            border-right: 1px solid var(--borderColor);
            padding-left: 2px;
            padding-right: 2px;
            white-space: normal;
            vertical-align: top;
        }
            table.NoAlternateRowColor td.noWrap, table.NoAlternateRowColor th.noWrap, table.AlternateRowColor td.noWrap, table.AlternateRowColor th.noWrap {
                white-space: nowrap;
            }
        table.NoAlternateRowColor td, table.AlternateRowColor td {
            font-size: var(--defaultFontSize);
        }
        table.NoAlternateRowColor > thead > tr:last-child > th:first-child,
        table.NoAlternateRowColor > tbody > tr > td:first-child, 
        table.AlternateRowColor > thead > tr:last-child > th:first-child,
        table.AlternateRowColor > tbody > tr > td:first-child {
            border-left: 1px solid var(--borderColor);
        }
        table.NoAlternateRowColor > tbody > tr:last-child > td, table.AlternateRowColor > tbody > tr:last-child > td {
            border-bottom: 1px solid var(--borderColor);
        }
        table.NoAlternateRowColor > thead > tr:last-child > th, table.AlternateRowColor > thead > tr:last-child > th {
            border-bottom: 1px solid var(--borderColor);
            border-top: 1px solid var(--borderColor);
        }
        table.AlternateRowColor > thead > tr:last-child > th {
            background-color: var(--alternatingRowColor);
        }
        table.NoAlternateRowColor:not(:has(thead)) > tbody > tr:first-child td, table.AlternateRowColor:not(:has(thead)) > tbody > tr:first-child td {
            border-top: 1px solid var(--borderColor);
        }
table.NoAlternateRowColor > tbody > tr > td {
    border-bottom: 1px solid var(--borderColor);
}

table.Filter {
    border-collapse: separate;
    border-spacing: 0;
}
    table.Filter > thead > tr:last-child > th:first-child,
    table.Filter > tbody > tr > td:first-child {
        border-left: 1px solid var(--borderColor);
    }
    table.Filter > tbody > tr:last-child > td {
        border-bottom: 1px solid var(--borderColor);
    }
    table.Filter > thead > tr:last-child > th {
        background-color: var(--alternatingRowColor);
        border-top: 1px solid var(--borderColor);
    }
    table.Filter > thead > tr#FilterRow > td {
        vertical-align: middle;
    }

table#ReportTable {
    display: none;
}
table#PayInvoicesTable > tbody > tr > td {
    vertical-align: middle;
}
table#PayInvoicesTable:not(.NoSort) > thead th:not(.NoSort),
table#ReportTable:not(.NoSort) > thead th:not(.NoSort) {
        color: var(--superiorBlueColor);
        cursor: pointer;
        text-decoration: underline;
    }
    table#PayInvoicesTable:not(.NoSort) > thead th:not(.NoSort):hover,
    table#ReportTable:not(.NoSort) > thead th:not(.NoSort):hover {
        text-decoration: none;
    }

table.HighlightRow tbody tr:hover {
    background-color: var(--activeHighlightColor);
}

table.SelectRow tbody tr:not(.Disabled):not(.ReadOnly):hover {
    cursor: pointer;
}
table.SelectRow tbody tr.Disabled, table.SelectRow tbody tr.Disabled td {
    opacity: .7;
}

td {
    padding: 1px 2px;
    text-align: left;
    white-space: nowrap;
}

    td#HeaderData {
        text-align: right;
        vertical-align: middle;
    }
    td#HeaderData > span#HeaderUserName {
        font-size: .9em;
    }

    td#PageTitle {
        color: var(--superiorBlueColor);
        font-size: 1.5em;
        text-align: center;
        vertical-align: middle;
    }

td.Disabled i {
    opacity: 0.3;
}

td.center {
    text-align: center;
}

td.left, th.left {
    text-align: left;
}

td.red, th.red {
    color: var(--redColor);
}

td.right, th.right {
    text-align: right;
}

td input[type='button'].ListButton {
    font-family: Arial, Helvetica, Verdana, sans-serif;
    font-size: var(--defaultFontSize);
    text-align: center;
    min-width: 35px;
    width: 35px;
}

td input[type='button'].ListButton:not(:disabled) {
    cursor: pointer;
}

th {
    text-align: left;
}

th.Sortable {
    cursor: pointer;
    text-decoration: underline;
}

th.Sortable:hover {
    text-decoration: none;
}

tr {
    vertical-align: top;
}
    tr.highlighted, td.highlighted, th.highlighted, div.highlighted {
        background-color: var(--controlHighlightColor);
    }
tr.SelectRow:hover {
    cursor: pointer;
}

    tr.middle td {
        vertical-align: middle;
    }

.navy {
    color: navy;
}

.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl, .ui-corner-right, .ui-corner-tr, .ui-corner-bottom, .ui-corner-bl, .ui-corner-br {
    border-radius: 0;
}

.ui-dialog, .ui-dialog .ui-dialog-buttonpane {
    margin: 0;
    padding: 0;
}

div.ui-datepicker-header, table.ui-datepicker-calendar th, table.ui-datepicker-calendar td {
    font-size: .9em;
}

img.ui-datepicker-trigger {
    cursor: pointer;
    height: 22px;
    vertical-align: middle;
}

img[src='images/BannerLogo_280x60.png'] {
    width: 280px;
    height: 60px
}

body>table {
    width: auto;
}

td.k-file-size {
    font-size: var(--defaultFontSize);
    margin-left: 10px;
}

table.k-upload-files {
    border-style: none;
    line-height: 2;
    width: 100%;
}

table.k-upload-files td {
    border-style: none;
}

td.k-file-size {
    text-align: right;
}

tr.k-file {
    vertical-align: middle;
}

.FloatRight {
    float: right;
}

div#AccountDiv.Multiple {
    cursor: pointer;
    text-decoration: underline
}
    div#AccountDiv.Multiple:hover {
        background-color: var(--alternatingRowColor);
        text-decoration: none;
    }

i.TogglePassword {
    cursor: pointer;
    display: inline;
    font-size: 1.1em;
    margin-left: -30px;
    vertical-align: middle;
}

#MakePaymentMenuItem {
    background-color: var(--controlHighlightColor);
}

.SuperiorBlue {
    color: var(--superiorBlueColor);
}

.no-close .ui-dialog-titlebar-close {
    display: none;
}

div.NoRecordsLabel {
    color: var(--superiorBlueColor);
    padding-top: 5px;
    text-align: left;
}

div#InvoiceDetailDialog > #HeaderTable tr > td:nth-child(odd) {
    color: var(--superiorBlueColor);
}
div#InvoiceDetailDialog > table > tbody > tr > td > a {
    color: var(--superiorBlueColor);
    text-decoration: underline;
}
div#InvoiceDetailDialog > table > tbody > tr > td > a:hover {
    text-decoration: none;
}

div#InvoiceRequestDialog #EmailOptions > div > input {
    margin-left: 0;
    margin-top: 0;
}
div#InvoiceRequestDialog #EmailOptions > div:not(:last-child) {
    margin-bottom: 3px;
}
div#InvoiceRequestDialog #EmailOptions > div,
div#InvoiceRequestDialog #EmailOptions > div > input,
div#InvoiceRequestDialog #EmailOptions > div > span {
    vertical-align: middle;
}
div#InvoiceRequestDialog #EmailOtherValue {
    margin-left: 5px;
}

span#ChangeCriteria {
    cursor: pointer;
    font-size: .9em;
    font-weight: bold;
    text-decoration: underline;
}
span#ChangeCriteria:hover {
    text-decoration: none;
}

div#AccountDialog + div button.fa-floppy-o::before {
    font-size: 2em;
}

div#PayInvoicesPaymentDialog div {
    text-align: left;
}
    div#PayInvoicesPaymentDialog div#PayWith {
        color: var(--superiorBlueColor);
        font-weight: bold;
        padding-top: 5px;
        vertical-align: middle;
}
div#PayInvoicesPaymentDialog label {
    cursor: pointer;
}
div#PayInvoicesPaymentDialog label,
div#PayInvoicesPaymentDialog table > thead > th,
div#PayInvoicesPaymentDialog table > tbody > tr > td:first-child,
div#ReviewPaymentDialog table > tbody > tr > td:first-child {
    color: var(--superiorBlueColor);
    font-weight: bold;
    vertical-align: middle;
}
div#PayInvoicesPaymentDialog table {
    padding-left: 20px;
    padding-top: 10px;
}
div#PayInvoicesPaymentDialog input[type="radio"] {
    color: var(--superiorBlueColor);
    cursor: pointer;
    margin-top: 0;
    vertical-align: middle;
}
div#PayInvoicesPaymentDialog label.Disabled {
    cursor: default;
    font-weight: normal;
    opacity: .7;
}
div#PayInvoicesPaymentDialog input[type="radio"].Disabled {
    cursor: default;
}
div#VirtualCardMessage {
    padding-top: 10px;
    text-align: left;
}

@media print {
    div .ui-tooltip, .ScreenOnly, div.ReportTableLabel {
        display: none;
        visibility: hidden;
    }
}

/* Spinner */
@keyframes spinner-line-fade {
    0%, 100% {
        opacity: 0; /* minimum opacity */
    }

    1% {
        opacity: 1;
    }
}

/* ToTopButton */
a.ToTopButton {
    background-color: #e3e3e3;
    border-radius: 25%;
    bottom: 10px;
    color: #fff;
    font-size: 40px;
    font-weight: 600;
    height: 50px;
    opacity: 0.70;
    position: fixed;
    right: 10px;
    text-align: center;
    width: 50px;
    z-index: 99;
}

a.ToTopButton.hide {
    display: none;
}

a.ToTopButton:hover {
    opacity: 1.0;
}

a.DialogToTopButton {
    background-color: #e3e3e3;
    border-radius: 25%;
    color: #fff;
    float: right;
    height: 29px;
    margin: 0.4em;
    opacity: 0.70;
    width: 29px;
    z-index: 99;
}

a.DialogToTopButton.hide {
    display: none;
}

a.DialogToTopButton:hover {
    opacity: 1.0;
}

.ui-autocomplete {
    overflow-y: auto;
    overflow-x: hidden; /* prevent horizontal scrollbar */
    padding-right: 20px; /* add padding to account for vertical scrollbar */
}

.ui-tooltip {
    max-width: 500px;
    white-space: pre;
}

#menu .alignRight {
    margin-left: auto;
}
#menu .alignRight > a {
    border-left-width: 1px;
}
li#HelpMenuItem span.k-menu-expand-arrow {
    display: none;
}

i.fa-eye, i.fa-eye-slash {
    cursor: pointer;
    display: inline;
    font-size: 1.1em;
    margin-left: -30px;
    vertical-align: middle;
}
td#PasswordMessage {
    font-size: .8em;
}
td.MinWidth {
    white-space: nowrap;
    width: 5px;
}

div#DialogNotification {
    width: 100%;
}

div#ReviewPaymentDialog > div:first-child {
    padding-bottom: 10px;
    padding-top: 5px;
    text-align: left;
}

div#ReviewPaymentDialog > hr {
    margin-right: 5px;
}

/* Help Dialog */
.ui-widget:has(div#HelpDialog) {
    font-size: var(--defaultFontSize);
}
div#HelpDialog {
    text-align: left;
}
div#HelpDialog > div:nth-child(2) {
    margin-top: 10px;
}
div#HelpDialog > div:not(:last-child):not(.Bold) {
    margin-bottom: 5px;
}
div#HelpDialog > div.HelpTitle {
    display: none;
}

/* Old Classes */
.bannerrow {
    font-size: 2em;
    font-weight: 400;
}

.titlerow {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
}

.revtitle {
    font-size: 1.6em;
    font-weight: 400;
    color: var(--bodyBackgroundColor);
    background-color: var(--superiorBlueColor);
}

.intrevrow {
    font-weight: 400;
    color: var(--bodyBackgroundColor);
    background-color: var(--superiorBlueColor);
}

a.intrevrow {
    color: #ffffff;
}

.introw {
    font-weight: 600;
}

.datarow {
    font-weight: 400;
}

.datacells {
    font-weight: 400;
    background-color: #cccccc
}

.error {
    font-size: 1.2em;
    font-weight: 600;
    color: #990000
}

a.link {
    font-size: 1.2em;
    font-weight: 400;
    color: #ffffff
}

a.visited {
    font-size: 1.2em;
    font-weight: 400;
    color: #6699cc
}

a.active {
    font-size: 1.2em;
    font-weight: 400;
    color: #3300FF
}

.notes {
    font-size: .8em;
    font-weight: 600;
}
