﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.9em;
    height: 100%;
}

@media (min-width: 992px) {
    html, body {
        font-size: 0.97em;
    }
}

#app, .page, main, article {
    height: 100%;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0L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MjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: #1b6ec2;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}

.transaction-details {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    max-height: 50vh;
    height: 50vh;
    overflow-x: hidden;
    overflow-y: hidden;
}

.ScrollY {
    overflow-y: scroll !important;
}

.ClipX {
    overflow-x: clip !important;
}

/* Sleek modern scrollbar styling */
.scrollable-sleek {
    scrollbar-width: thin; /* Firefox - thin scrollbar */
    scrollbar-color: #888 transparent; /* Firefox - thumb and track colors */
}

    /* WebKit browsers (Chrome, Safari, Edge) */
    .scrollable-sleek::-webkit-scrollbar {
        width: 8px; /* Narrow scrollbar width */
    }

    .scrollable-sleek::-webkit-scrollbar-track {
        background: transparent; /* Invisible track */
        border-radius: 10px;
    }

    .scrollable-sleek::-webkit-scrollbar-thumb {
        background: #888; /* Gray thumb */
        border-radius: 10px;
        transition: background 0.3s ease;
    }

        .scrollable-sleek::-webkit-scrollbar-thumb:hover {
            background: #555; /* Darker gray on hover */
        }


.TransactionSummary {
    height: 100%;
}

.clickable{
    cursor: pointer;
}

.TransactionSummaryContent {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.RowDataPadded > div > div {
    margin-bottom: 1.25em;
}

.underline-title {
    border-bottom: 2px solid black;
}

.noImageFound {
    background-color: lightgray;
    color: darkgray;
    width: 100%;
    height: 100%;
}
.TransactionSummaryPlateNumber {
    width: 7em;
}

.TransactionSummaryLprState {
    width: 3em;
}

/* WIM Display 
----------------------------------------------------------*/
.wimContainer {
    margin: 15px 0 0;
}

.wimViolation {
    font-weight: bold;
    color: #b8170f;
}

.wimDisplay {
}

.wimDisplay ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wimDisplay li {
    padding: 4px;
    position: relative;
}

.wimDisplay li:nth-child(2n+1) {
    background: #b1d0ef;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
}

.tandemOffset, .tandemViolation {
    color: #fff;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    padding: 4px 6px;
    position: absolute;
    top: 12px;
    right: 30px;
    z-index: 10;
}

.tandemOffset {
    background: #3576a0;
}

.tandemViolation {
    background: #b8170f;
}

.tasOk {
    color: green !important;
}

.tasFlat {
    color: red !important;
}

.tasNa {
    color: darkgray !important;
}

.table-tas th {
    text-align: center;
}

.table-tas td {
    display: table-cell;
    text-align: center;
}

.DetailSummaryContainer {
    width: 100%;
    overflow-wrap: break-word;
}

.DetailContentContainer {
    width: 100%;
}

@media (min-width: 992px) {
    .DetailSummaryContainer {
        width: auto;
        max-width: 33%;
    }

    .DetailContentContainer {
        width: auto;
        max-width: 100%;
    }
}

#navLogo {
    height: 7vh;
    max-width: fit-content;
}

@media (min-width: 992px) {
    #navLogo {
        height: 7vh;
        max-width: fit-content;
    }
}

hr.dotted {
    border: 1px solid #929292;
    border-collapse: collapse;
    height: 1px;
}

.fullRightContainer {
    float: left;
    display: block;
    width: 46%;
    margin: 0 0 0 .3125em;
}

.rightContainer {
    float: left;
    display: block;
    width: 32.41%;
    margin: 0 0 0 .3125em;
}

.mainReport {
    background: #fff;
    padding: .625em;
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    padding-bottom: 60px;
}

.dumpSectionContainer h4, .dumpContentContainerSpan h4 {
    border-bottom: 1px solid #929292;
    padding: 15px 0 .1875em;
    margin: .5em 0 .1875em;
}

.dumpSectionContainer {
    clear: both;
    padding: 0 0 .9375em;
}

.dumpSectionContainer .small {
    font-size: .9em;
}

.dumpSectionContainerLeft {
    display: block;
    float: left;
    width: 33.79%;
}

.dumpContentContainer {
    margin: 0 .3125em .9375em .5em;
}

.dumpContentContainerSpan {
    display: block;
    width: 83.58%;
    float: right;
}

/*1212/1450*/
.dumpContentContainerSpan .leftContainer {
    margin: 0 .3125em 0 0;
}

.dumpContentContainerSpan .rightContainer {
}

.dumpSectionContainer table {
    border: 1px solid #c0c0c0;
    background: #fff;
    margin: 0;
}

.dumpSectionContainer table table {
    width: auto;
}

.dumpSectionContainer th {
    background: #183156;
    color: #fff;
}

.dumpSectionContainer tr:nth-child(2n+2) {
    background: #ecf0f5;
}

.dumpNcicSectionContainer table {
    border: 1px solid #c0c0c0;
    background: #fff;
    margin: 0;
    padding: 0;
}

.dumpNcicSectionContainer table td {
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.dumpNcicSectionContainer table table {
    width: auto;
    margin: 0;
    padding: 0;
}

.dumpNcicSectionContainer table table td {
    padding: .3125em;
    margin: 0;
}

.dumpNcicSectionContainer th {
    background: #484348;
    color: #fff;
}

.dumpContentContainerTable {
    float: left;
    clear: both;
    margin: 10px 0 0;
}

.blueLine {
    border-left: 3px solid #2270a3;
    padding: 0 0 0 .3125em;
    margin: 0 0 .625em;
}

.greenLine {
    border-left: 3px solid #82a84d;
    padding: 0 0 0 .3125em;
    margin: .625em 0 0;
}

.dump-field .carrierComplianceList {
    width: 280px;
}

.dump-field.ifta {
    width: 280px;
}

.dumpSectionContainer .dump-field.ifta {
    float: left;
}

.dump-label {
    font-weight: bold;
    color: #1F1F1F;
}

.dump-box {
    clear: both;
    position: relative;
    padding: 0 0 5px;
}

.dump-box ul {
    margin: 0;
    padding: 0;
}

.dump-box li {
    list-style: none;
}

.dump-label-wrapper {
    float: left;
    margin: 5px 15px;
}

.dump-label-wrapper-long {
    max-width: 315px;
}

.dumpContentContainer .dump-label {
    float: left;
    padding: 0 .3125em 0 0;
    display: block;
    min-width: 45%;
}

.dump-box-scroll {
    overflow-y: scroll;
    height: 360px;
}

.dump-box .wrapping-list li {
    float: left;
    width: 100px;
    margin-right: 50px;
}

.wrapping-list .jsaw-state {
    float: left;
}

.wrapping-list .jsaw-weight {
    text-align: right;
}

.dump-box .wrapping-list-decal li {
    float: left;
    width: 120px;
    margin-right: 20px;
}

.wrapping-list-decal-scroll {
    overflow-y: scroll;
    height: 200px;
    width: 300px;
}

.dumpContentContainer .dump-label {
    width: auto;
    min-width: 100%;
}

.dumpContentContainer .last .dump-label {
    min-width: 10%;
}

.mainReport .dump-label, .mainReport .last .dump-label {
    width: auto;
    min-width: 45%;
}

.dump-field {
    page-break-after: always;
}

.dump-field:after {
    content: " ";
}

.dumpContentContainer .dump-field {
    padding: 0 0 .3125em;
}

.dump-field .carrierComplianceList {
    width: 280px;
}

.dump-field.ifta {
    width: 280px;
}

.dumpSectionContainer .dump-field.ifta {
    float: left;
}

.dump-field-container {
    width: 18.75em;
    float: left;
    padding: 0 .3125em 0 0;
    margin: 0 7px 0 0;
}

.dump-field-title, .dump-field-titleAlt, .safetyInfoBox {
    width: 16.57em;
    display: block;
    background: #b9d6f4;
    color: #080808;
    float: left;
    border: 1px solid #012b46;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    padding: .3125em;
    font-weight: bold;
}

.dump-field-padding.permits {
    margin: 0;
    float: left;
    width: 100%;
}

.dump-field-title.dump-field-full-width {
    display: block;
    width: 100%;
}

.dump-field-title.dump-field-default {
    display: none;
}

.transactionImage {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 7.92em;
    max-width: 18em;
}

.summaryImage {
    height: 80% !important;
}

.summaryColContent {
    height: 20% !important;
}

.img-transaction {
    display: block;
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

.overviewImg {
    display: block;
    min-height: 7.92em;
    height: 7.92em;
    width: 9em !important;
}

.overviewImg > .img-transaction {
    display: block;
    min-height: 7.92em;
    height: 7.92em;
    width: 9em !important;
}

.ScrollingScreenItem {
    border: 3px solid #808080;
    border-radius: 3px;
}

.SV-carousel {
    display: block;
    width: 80%;
    height: 50%;
    margin-left: auto;
    margin-right: auto;
}

.LoadingSummary {
    width: 100%;
    height: 100%;
    z-index: 999998;
    background-color: rgba(0, 0, 0, 0.3);
    position: fixed;
}

.spinner-center {
    position: fixed;
    z-index: 999999;
    top: 70%;
    left: 50%;
    height: 3em;
    width: 3em;
}

.roundBoxDropShadow {
    border-radius: 0.5em;
    box-shadow: 5px 5px 5px grey;
}

.disabled-link {
    cursor: default;
    color: #6c757d;
}

.expanded-details {
    background-color: #f8f9fa;
}

.expanded-content {
    padding: 1rem;
    width: 100%;
    overflow: hidden;
}

.image-container {
    width: 100%;
    overflow-x: auto;
}

.transaction-images {
    display: flex;
    gap: 1rem;
    padding: 0.5rem;
}

.transaction-image {
    max-height: 10vh;
    width: auto;
    object-fit: contain;
}

.loading-image {
    height: 10vh;
    width: 20vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    border-radius: 4px;
}
.noImageFound-activitySearch {
    background-color: lightgray;
    color: darkgray;
    width: 100%;
    height: 100%;
    max-width: 20vw;
}

.btn-circle {
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.428571429;
    border-radius: 15px;
}

.btn-circle.btn-lg {
    width: 50px;
    height: 50px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.33;
    border-radius: 25px;
}

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    font-size: 24px;
    line-height: 1.33;
    border-radius: 35px;
}


/* use negative margins to accommodate wider button text */

.btn-circle span {
    margin: 0 -2rem;
}

.striped-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.striped-list li {
    padding: 8px 12px !important;
    margin: 0 !important;
    border-bottom: 1px solid #eee !important;  /* Light border for separation */
}

.striped-list li:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.05) !important;
}