﻿html, body, table, td {
    font-family: Lato,Helvetica,Arial,Lucida,sans-serif;
    font-size: 10pt;
}

table {
    border-spacing: 0px;
    border-collapse: collapse;
    font-size: inherit;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
    font-weight: bold;
    display: block;
}

h1, .h1 {
    font-size: 14pt;
}

h2 {
    padding-top: 20px;
    font-size: 12pt;
}

.h2 {
    font-size: 12pt;
    display: inline;
}

h3, .h3 {
    font-size: 11pt;
}

h4, .h4 {
    font-size: 10pt;
    margin-bottom: 0px;
    padding-top: 12px;
}

th, .th, .th2 {
    background-color: #073A65;
    vertical-align: top;
    color: white;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    padding: 5px;
    white-space: nowrap;
    border: 1px solid gray;
}

tr.th2 th {
    color: white;
    background-color: #444444;
}

.normal th, th.normal {
    background-color: white;
    color: black;
    border: none
}

div h1, div h2, div h3, div h4, td h1, td h2, td h3, td h4 {
    margin-top: 0
}

.nav a {
    text-decoration: none;
}

.nav:hover {
    background-color: #E1E1E1;
}

.nav {
    background-color: White;
}

.navcell {
    background-color: #073A65;
    width: 120px;
    border: 1px solid white;
}

.navcurrent {
    background-color: #3366CC;
}

.blackborder {
    border: 1px solid black;
    display: inline-block;
}

span.blackborder:empty:before {
    content: "\200b";
}

#blackbar, #blackbar a {
    color: white;
}

#blackbar {
    padding-left: 20px;
    padding-right: 20px
}

.nav td {
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
}

.nav td a, a.navcell {
    color: White;
    text-decoration: none;
    vertical-align: middle;
    display: block;
    padding: 4px;
}

.nav td a:hover, a.navcell:hover {
    background-color: #3366CC;
    color: White;
}

.nav th {
    background-color: #1C537C;
    color: White;
    text-align: left;
    vertical-align: middle;
}

.window {
    border-left: 1px solid gray;
    border-top: 1px solid gray;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
    box-shadow: 4px 4px 4px #bbbbbb;
    -moz-box-shadow: 4px 4px 4px #bbbbbb;
    -webkit-box-shadow: 4px 4px 4px #bbbbbb;
    background-color: White;
}

.windowbar {
    background-color: #073A65;
    color: white;
    font-weight: bold;
    vertical-align: middle;
}

caption {
    text-align: left;
    font-weight: bold;
    font-size: 10pt;
    margin-top: 10px
}

.btn, .btngray, .btnblack, .btnred, .x_btn, .btnpurple {
    border: 1px solid black;
    color: white;
    margin: 0px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    padding: 2px 6px 2px 6px;
}

.btn, .x_btn {
    background-color: #52ABF3;
}

.btn[disabled] {
    color: white;
    background-color: #cccccc;
}

.btngray {
    background-color: #cccccc;
}

.btnblack {
    background-color: black;
}

.btnred {
    background-color: red;
}

.btnpurple {
    background-color: purple;
}

a:link, a:visited {
    color: #073A65
}

th a:link, th a:visited, .th a:link, .th a:visited {
    color: White;
    text-decoration: none
}

a.noline {
    text-decoration: none
}

a:hover {
    color: red
}

a.btn, a.btn:link, a.btn:visited, a.btn:hover, a.btngray, a.btnblack, a.btnred:visited, a.btnred:link, a.btnpurple, a.btnpurple:link, a.btnpurple:visited, a.btnpurple:hover {
    padding: 2px 6px 2px 6px;
    font-weight: 700;
    text-decoration: none;
    color: white;
    /*font-size: 13.3333px;*/
    height: 16px;
    border: 1px solid #808080;
    position: relative;
    top: 0px
}

a img {
    border: none;
    vertical-align: middle
}

.textboxcmd {
    position: relative;
    left: -12px;
    color: gray;
}

a.textboxcmd {
    text-decoration: none
}

.filter {
    border: 1px solid black;
    padding: 10px 0 10px 0;
    background-color: whitesmoke;
    margin: auto;
   /* width: 100%;*/
}

.small, table.small tr, table.small th, table.small td {
    font-size: 8pt;
}

table.small th {
    background-color: #0b5999;
}

.medium {
    font-size: 9pt;
}

.center {
    text-align: center;
}

.bottomspace {
    margin-bottom: 20px;
}

.dealer-reports {
    max-width: 1500px;
    margin: 0 auto;
    color: #222;
}

.reports-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.reports-heading h1 {
    margin-bottom: 4px;
}

.reports-subtitle, .report-card-note, .report-kpi-note {
    color: #5b6570;
}

.reports-subtitle {
    margin: 0;
}

.reports-actions {
    display: flex;
    gap: 8px;
    padding-top: 8px;
}

.report-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid #073A65;
    margin-bottom: 16px;
}

.report-tab {
    display: inline-block;
    padding: 10px 16px;
    color: #073A65;
    background: #edf3f8;
    border: 1px solid #b8c9d8;
    border-bottom: 0;
    text-decoration: none;
    font-weight: bold;
}

.report-tab.active {
    color: white;
    background: #073A65;
}

.report-filter-panel {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px;
    margin-bottom: 18px;
    background: #f5f7f9;
    border: 1px solid #ccd5dd;
}

.report-filter {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 140px;
}

.report-filter label {
    color: #344452;
    font-size: 12px;
    font-weight: bold;
}

.report-filter select, .report-filter input[type="date"], .report-filter input[type="text"] {
    min-height: 32px;
    border: 1px solid #aab6c0;
    background: white;
}

.report-date-entry {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
}

.report-date-entry input[type="text"] {
    box-sizing: border-box;
    width: 112px;
    padding: 4px 7px;
}

.report-calendar-button {
    box-sizing: border-box;
    width: 32px;
    height: 32px;
    padding: 5px;
    border: 1px solid #8d9aa5;
    background: #edf1f4;
    cursor: pointer;
}

.report-calendar-button:hover,
.report-calendar-button:focus {
    background: #dce6ed;
    border-color: #476b85;
}

.report-calendar-button img {
    width: 16px;
    height: 16px;
}

.report-native-date-picker {
    position: fixed;
    left: -10000px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.report-filter-buttons {
    flex-direction: row;
    min-width: auto;
}

.report-filter-wide {
    flex: 1 0 100%;
}

.report-class-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #344452;
    font-size: 12px;
    font-weight: bold;
}

.report-class-actions {
    display: inline-flex;
    gap: 10px;
    font-weight: normal;
}

.report-class-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    padding: 8px 10px;
    background: white;
    border: 1px solid #aab6c0;
}

.report-class-list > span {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.report-class-list input {
    margin: 0 5px 0 0;
}

.report-filter-note {
    color: #5f6c76;
    font-size: 11px;
}

.report-order-search {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    margin: 0 0 14px;
    background: #f5f7f9;
    border: 1px solid #ccd5dd;
}

.report-order-search label {
    color: #344452;
    font-size: 12px;
    font-weight: bold;
}

.report-order-search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.report-order-search-input {
    flex: 1 1 420px;
    min-height: 32px;
    padding: 0 8px;
    border: 1px solid #aab6c0;
}

.report-message {
    display: block;
    margin: 8px 0;
}

.report-error {
    padding: 10px;
    color: #8a1f16;
    background: #fff2f0;
    border: 1px solid #e3aaa5;
}

.report-warning {
    padding: 10px;
    color: #6f4b00;
    background: #fff8df;
    border: 1px solid #d7bb65;
}

.report-kpi-strip {
    display: grid;
    grid-template-columns: minmax(260px, 420px);
    margin-bottom: 16px;
}

.report-kpi-strip-comparison {
    grid-template-columns: repeat(2, minmax(260px, 420px));
    gap: 16px;
}

.report-summary-layout {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    margin-bottom: 16px;
}

.report-kpi {
    display: flex;
    flex-direction: column;
    padding: 18px;
    border-left: 5px solid #0b5999;
    background: #f4f8fb;
    box-shadow: 0 1px 3px rgba(0,0,0,.14);
}

.report-kpi-label {
    color: #3e5263;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.report-kpi-value {
    color: #073A65;
    font-size: 32px;
    font-weight: bold;
    margin: 5px 0;
}

.report-kpi-note {
    font-size: 12px;
    line-height: 1.35;
}

.report-grid-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 16px;
}

.report-card {
    padding: 16px;
    margin-bottom: 16px;
    background: white;
    border: 1px solid #ccd5dd;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.report-card h2 {
    color: #073A65;
    margin: 0 0 4px;
}

.report-card-note {
    margin: 0 0 12px;
    font-size: 12px;
}

.report-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.report-chart-compare {
    flex: 0 0 auto;
    color: #334b5d;
    font-size: 12px;
    white-space: nowrap;
}

.report-chart-compare input {
    margin-right: 5px;
    vertical-align: middle;
}

.report-chart {
    width: 100%;
    overflow-x: auto;
}

.report-chart svg {
    display: block;
    width: 100%;
    min-width: 520px;
    height: auto;
}

.report-chart text {
    fill: #5b6570;
    font-size: 12px;
}

.chart-axis {
    stroke: #4e5d68;
    stroke-width: 1;
}

.chart-grid {
    stroke: #dce3e9;
    stroke-width: 1;
}

.chart-line {
    fill: none;
    stroke: #0b5999;
    stroke-width: 3;
}

.chart-point {
    fill: white;
    stroke: #0b5999;
    stroke-width: 3;
}

.chart-line-comparison {
    stroke: #d87900;
    stroke-dasharray: 8 5;
}

.chart-point-comparison {
    stroke: #d87900;
}

.chart-max {
    text-anchor: end;
}

.report-chart-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    color: #4f5d68;
    font-size: 12px;
}

.report-chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.report-chart-legend i {
    display: inline-block;
    width: 24px;
    border-top: 3px solid #0b5999;
}

.report-chart-legend .chart-legend-comparison {
    border-color: #d87900;
    border-top-style: dashed;
}

.report-opportunities-empty {
    padding: 20px 12px;
}

.report-trend-scope {
    display: inline-block;
    padding: 4px 9px;
    margin: 6px 0 8px;
    color: #31536d;
    background: #e8f1f7;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
}

.report-trends-panel {
    padding: 16px 18px;
    background: linear-gradient(135deg, #fff 0%, #f4f8fb 100%);
    border: 2px solid #0b5999;
    box-shadow: 0 2px 6px rgba(7,58,101,.14);
}

.report-trends-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 11px;
    margin-bottom: 4px;
    border-bottom: 1px solid #cfdee9;
}

.report-trends-title {
    flex: 0 0 auto;
}

.report-trends-kicker {
    display: block;
    margin-bottom: 2px;
    color: #587086;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.report-trends-heading h2 {
    margin: 0;
    color: #073A65;
    font-size: 21px;
    line-height: 1.1;
}

.report-trends-heading p {
    max-width: 650px;
    margin: 0;
    color: #51616d;
    font-size: 12px;
    line-height: 1.4;
}

.report-trend-primary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 12px;
    border-left: 4px solid #0b5999;
    background: #f4f8fb;
}

.report-trend-primary.report-trend-positive {
    border-left-color: #37805a;
    background: #f5fbf7;
}

.report-trend-primary.report-trend-opportunity {
    border-left-color: #b9892e;
    background: #fffaf0;
}

.report-trend-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    margin-top: 7px;
    border-top: 1px solid #dce3e8;
}

.report-trend-row {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 9px 12px 4px;
    border-right: 1px solid #dce3e8;
}

.report-trend-row:last-child {
    border-right: 0;
}

.report-trend-copy {
    min-width: 0;
}

.report-trend-badge {
    display: inline-block;
    padding: 3px 7px;
    margin-bottom: 4px;
    color: #775715;
    background: #fff1cb;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.report-trend-positive .report-trend-badge {
    color: #245f41;
    background: #dff2e7;
}

.report-trend-neutral .report-trend-badge {
    color: #174f78;
    background: #dfeefa;
}

.report-trend-primary h3,
.report-trend-row h3 {
    display: inline;
    margin: 0 0 0 5px;
    color: #173d5b;
    font-size: 15px;
}

.report-trend-primary p,
.report-trend-row p {
    margin: 4px 0;
    font-size: 12px;
    line-height: 1.35;
}

.report-trend-evidence {
    color: #66747e;
    font-size: 11px;
}

.report-trend-link {
    flex: 0 0 auto;
    margin-top: 5px;
    color: #07518d;
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap;
}

.report-trend-method {
    margin: 7px 0 0;
    color: #65727c;
    font-size: 11px;
}

.report-trend-more {
    margin-top: 12px;
    border: 1px solid #9db8cc;
    background: #fff;
}

.report-trend-more summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 14px;
    color: white;
    background: #0b5999;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    list-style-position: inside;
}

.report-trend-more summary:hover,
.report-trend-more summary:focus {
    background: #073f70;
}

.report-trend-more summary strong {
    padding: 3px 8px;
    color: #073a65;
    background: #fff;
    border-radius: 11px;
    font-size: 10px;
    text-transform: uppercase;
}

.report-trend-expanded-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 0;
}

.report-trend-expanded {
    padding: 12px 14px;
    border-bottom: 1px solid #dce3e8;
}

.category-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 3px;
}

.category-label span,
.category-drilldown {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-drilldown {
    color: #073a65;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #aab8c3;
    text-underline-offset: 2px;
}

.category-drilldown:hover,
.category-drilldown:focus {
    color: #0b5999;
    text-decoration-color: currentColor;
}

.category-track {
    height: 9px;
    background: #e6ebef;
}

.category-track span {
    display: block;
    height: 100%;
    background: #b9892e;
}

.category-negative .category-track span {
    background: #9a5c3b;
}

.category-negative strong {
    color: #8a422f;
}

.report-detail-context {
    margin: 0 0 18px;
    color: #526370;
}

.report-detail-back {
    display: inline-block;
    margin: -8px 0 18px;
}

.report-detail-compare {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0 12px;
    color: #314b60;
    font-size: 12px;
}

.report-detail-compare label {
    font-weight: bold;
}

.report-detail-serials,
.report-detail-note {
    min-width: 180px;
    max-width: 360px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.report-table-card {
    overflow-x: auto;
}

.report-table th {
    padding: 7px 9px;
    color: white;
    background: #073A65;
    white-space: nowrap;
}

.report-table td {
    padding: 6px 9px;
    border-bottom: 1px solid #dde3e8;
}

.report-table tr:nth-child(even) td {
    background: #f7f9fa;
}

.report-empty {
    padding: 32px 12px;
    color: #687681;
    text-align: center;
    background: #f7f9fa;
}

.ar-status-card {
    max-width: 850px;
    padding: 24px;
}

.ar-report-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    border-top: 4px solid #0b5999;
}

.ar-report-heading .report-status-badge {
    margin-bottom: 7px;
}

.ar-company-filter {
    min-width: 280px;
}

.ar-company-filter select {
    width: 100%;
}

.ar-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.ar-kpi {
    min-height: 95px;
}

.ar-aging-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.ar-aging-bucket {
    display: flex;
    flex-direction: column;
    padding: 12px;
    background: #edf3f8;
    border-top: 3px solid #0b5999;
}

.ar-aging-bucket span {
    color: #51616d;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.ar-aging-bucket strong {
    margin: 5px 0 2px;
    color: #073A65;
    font-size: 18px;
}

.ar-aging-bucket small {
    color: #687681;
}

.ar-source-note {
    margin-top: 12px;
}

.report-status-badge {
    display: inline-block;
    padding: 4px 8px;
    margin-bottom: 10px;
    color: #6e5018;
    background: #fff2cf;
    border: 1px solid #d9b65f;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.aging-preview {
    display: grid;
    grid-template-columns: repeat(5, minmax(90px, 1fr));
    gap: 8px;
    margin-top: 18px;
}

.aging-preview span {
    padding: 12px 8px;
    text-align: center;
    background: #edf3f8;
    border-top: 3px solid #0b5999;
    font-weight: bold;
}

@media (max-width: 900px) {
    .reports-heading, .report-grid-layout, .report-summary-layout, .ar-report-heading {
        display: block;
    }

    .report-kpi-strip-comparison {
        grid-template-columns: minmax(260px, 420px);
    }

    .report-kpi {
        margin-bottom: 16px;
    }

    .report-trends-heading {
        display: block;
    }

    .report-trends-heading p {
        margin-top: 7px;
    }

    .reports-actions {
        margin-bottom: 12px;
    }

    .report-tabs {
        overflow-x: auto;
    }

    .report-tab {
        white-space: nowrap;
    }

    .aging-preview {
        grid-template-columns: 1fr;
    }

    .ar-kpi-grid, .ar-aging-grid {
        grid-template-columns: 1fr;
    }

    .report-trend-expanded-list {
        grid-template-columns: 1fr;
    }

    .ar-company-filter {
        min-width: 0;
        margin-top: 14px;
    }
}

@media print {
    #blackbar, .report-tabs, .report-filter-panel, .reports-actions {
        display: none !important;
    }

    .dealer-reports, .report-card {
        max-width: none;
        box-shadow: none;
    }

    .report-table {
        font-size: 10px;
    }
}

.graybox {
    position: absolute;
    z-index: 999;
    background-color: Gray;
    opacity: 0.4;
    text-align: center;
    color: White;
    font-weight: bold;
    vertical-align: middle;
    font-size: 24pt;
    text-shadow: 4px 4px 4px #000000;
    -moz-text-shadow: 4px 4px 4px #000000;
    -webkit-text-shadow: 4px 4px 4px #000000;
    filter: alpha(opacity=40);
    vertical-align: middle;
}

.popup {
    position: absolute;
    background-color: whitesmoke;
}

table.layouttest, table.layouttest td, table.layouttest th {
    border: 1px solid red;
}

.gridlines, .gridtight {
    /*border: 1px solid black;*/
    border-collapse: collapse;
    text-shadow: none;
    border-spacing: 0
}

.gridalt {
    background-color: Whitesmoke
}

.gridalt2 {
    background-color: #ebebeb
}

.addon, .addon1 {
    background-color: #e0f0fe
}

.addon2 {
    background-color: #c1e2fe
}

.addon3 {
    background-color: #a2d2fc
}

.addon4 {
    background-color: #83c4fc
}

.griddark {
    background-color: #888888
}

.gridblue {
    background-color: #52ABF3
}

.gridpurple {
    background-color: #bb8ff1
}

.gridgreen {
    background-color: limegreen;
}

.gridlines > tbody > tr:hover, .gridtight > tbody > tr:hover {
    background-color: #eeeeee
}

.gridlines th {
    border: 1px solid #c0c0c0;
}

.gridlines td {
    border: 1px solid #a0a0a0;
    padding: 0px;
}

.accent {
    background-color: lightslategray;
    color: white;
    border: 1px solid black;
}

div[data-valsummary] {
    color: red
}

span[data-val] {
    color: red;
}

a.btnbogo, a.btnbogoact {
    text-decoration: none;
}

.btnbogo, .btnbogoact {
    padding: 10px;
    border: 1px solid gray;
    border-radius: 25px;
    box-shadow: 4px 4px 4px #bbbbbb;
    -moz-box-shadow: 4px 4px 4px #bbbbbb;
    -webkit-box-shadow: 4px 4px 4px #bbbbbb;
}

.btnbogo {
    background-color: #9ddbff;
}

.btnbogoact {
    background-color: springgreen;
}
