﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 35px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /* line-height: 40px;  Vertically center the text there */
    background-color: #dee2e6;
    color: #000 !important;
}

    .footer .col {
        padding-top: 5px;
    }

/*Custom*/

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.img-cell {
    height: 20px;
}

.img-logo {
    height: 30px;
}

.custom-item {
    position: relative;
    min-height: 30px;
}

    .custom-item .item-name {
        padding-left: 0px;
        text-indent: 0;
        line-height: 30px;
        font-size: 15px;
        width: 100%;
        font-style: normal;
    }

    .custom-item .item-description {
        padding-left: 0px;
        text-indent: 0;
        line-height: 30px;
        font-size: 15px;
        width: 100%;
        font-style: italic;
    }

.profile-img {
    height: 120px;
    width: 90px;
    border: 1px solid #d2d3d5;
    border-radius: 0%;
}

.avatar {
    height: 30px;
    width: 40px;
    border: 0px solid #d2d3d5;
    border-radius: 50%;
}

.note {
    font-size: 10pt;
    color: #484848;
    margin-left: 9px;
}

    .note > span {
        font-weight: 700
    }

.file-popup-content {
    text-align: center;
}

    .file-popup-content .popup-image {
        height: 100%;
        max-width: 100%;
    }

.json-content {
    height: 200px;
    border: solid;
    border-width: 1px;
    border-color: black
}

.bg {
    /* The image used */
    background-image: url("/Upload/Background/Logo.png");
    /* Full height */
    height: 100%;
    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
}

.scale #txtScale {
    font-size: 40px !important;
    font-weight: bold;
}

.scale-col {
    padding-left: 1px;
    padding-right: 1px;
}

.scale-col-1 {
    padding-right: 5px;
}

.card-body-scale {
    padding: 1px 1px 5px 1px;
}

.scale-row {
    width: 100%;
}

#btnSaveBaudRateConfig {
    float: left;
    margin-top: 10px;
}

#btnSaveScale > .dx-button-content {
    padding: 6px 1px 6px 1px !important;
}

#btnResetScale > .dx-button-content {
    padding: 6px 1px 6px 1px !important;
}

div:has(> div#btnSaveScale) {
    padding-top: 7px;
}

div.dx-first-row:has(div.dx-field-item-content > div#sbScaleType) {
    padding-left: 0px;
    padding-right: 5px;
}

div.dx-first-row:has(div.dx-field-item-content > div#sbVehicle) {
    padding-left: 0px;
    padding-right: 5px;
}
div.dx-first-row:has(div.dx-field-item-content > div#txtVehicleLoad) {
    padding-left: 0px;
    padding-right: 5px;
}
div.dx-first-row:has(div.dx-field-item-content > div#sbCustomer) {
    padding-left: 0px;
    padding-right: 5px;
}

div.dx-first-row:has(div.dx-field-item-content > div#sbProduct) {
    padding-left: 0px;
    padding-right: 5px;
}
div.dx-first-row:has(div.dx-field-item-content > div#sbExcavator) {
    padding-left: 0px;
    padding-right: 0px;
}

div.dx-first-row:has(div.dx-field-item-content > div#btnSaveScale) {
    padding-left: 0px;
    padding-right: 0px;
}

#imgScale {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.print-exten {
    color: #dc3545 !important;
}

/*======================== CUSTOM ========================*/
.dx-datagrid-action {
    background-color: #337ab7;
    color: #FFF;
}

.dx-datagrid-drag-action {
    background-color: #337ab7;
    color: #FFF;
}


.dx-header-filter-empty {
    color: #FFF !important;
}

.dx-treelist-table .dx-header-row {
    background-color: #337ab7 !important;
    color: #FFF !important;
}

.dx-header-row .dx-cell-focus-disabled {
    background-color: #337ab7 !important;
    color: #FFF !important;
}

#grid {
    font-size: 13px;
}


.dx-datagrid-export-button .dx-icon-export-to {
    font: 18px/18px DXIcons;
    width: 18px;
    height: 18px;
    background-position: 0 0;
    background-size: 18px 18px;
    padding: 0;
    text-align: center;
}

    .dx-datagrid-export-button .dx-icon-export-to::before {
        content: "";
    }

.dx-datagrid-export-button .dx-icon-export-excel-button {
    font: 18px/18px DXIcons;
    width: 18px;
    height: 18px;
    background-position: 0 0;
    background-size: 18px 18px;
    padding: 0;
    text-align: center;
}

    .dx-datagrid-export-button .dx-icon-export-excel-button::before {
        content: "";
    }

.dx-datebox-datetime .dx-dropdowneditor-icon::before {
    content: "\f026" !important;
}

.dx-datagrid-header-panel .dx-toolbar {
    margin-bottom: 2px;
}

.dx-datagrid-filter-panel {
    padding: 4px;
}

.dx-pager, .dx-pagination {
    padding-top: 4px;
    padding-bottom: 4px;
}

.dx-datagrid-group-panel .dx-group-panel-item {
    color: #FFF !important;
}

.dx-datagrid-group-panel .dx-sort {
    color: #FFF !important;
}

.breadcrumb {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 5px 5px;
    padding-left: 15px;
    margin-bottom: 1rem;
    list-style: none;
    background-color: #e9ecef;
    border-radius: 0.25rem;
    font-size: 13px;
    margin-bottom: 2px;
}

.dx-treeview-node .dx-checkbox {
    position: absolute;
    margin: 0;
}

.dx-treeview-node {
    padding-left: 0px !important;
}

.dx-treeview-item-content {
    margin-left: 30px !important;
}

.dx-treeview-item {
    display: block;
    cursor: pointer;
    padding: 5px 6px;
    min-height: 32px;
}

.container-form-custom {
    margin-bottom: 45px;
}

.dx-tabpanel-tabs {
    width: 100%;
}

    .dx-tabpanel-tabs .dx-tabs {
        height: 100%;
    }

.dx-tabpanel-container {
    width: 100%;
    height: 100%;
}

.dx-tabpanel > .dx-tabpanel-tabs .dx-tabs {
    display: block;
    border: none;
    background-color: #f7f7f7;
    color: #ddd;
    -webkit-box-shadow: inset 0 -1px #ddd,inset 0 1px,inset -1px 0,inset 1px 0;
    box-shadow: inset 0 -1px #ddd,inset 0 1px,inset -1px 0,inset 1px 0;
}

    .dx-tabpanel > .dx-tabpanel-tabs .dx-tabs .dx-tab {
        color: #ddd;
    }

        .dx-tabpanel > .dx-tabpanel-tabs .dx-tabs .dx-tab .dx-tab-content {
            color: #333;
        }

        .dx-tabpanel > .dx-tabpanel-tabs .dx-tabs .dx-tab::after,
        .dx-tabpanel > .dx-tabpanel-tabs .dx-tabs .dx-tab::before {
            content: none;
        }

    .dx-tabpanel > .dx-tabpanel-tabs .dx-tabs .dx-tabs-nav-button {
        color: #ddd;
    }

.dx-tabpanel > .dx-tabpanel-tabs .dx-tab {
    /*width: 140px;*/
    -webkit-box-shadow: inset 0 1px,inset 0 -1px #ddd;
    box-shadow: inset 0 1px,inset 0 -1px #ddd;
}

.dx-tabpanel > .dx-tabpanel-tabs .dx-tabs-scrollable {
    margin-top: 0;
    margin-bottom: 0;
    height: 100%;
}

    .dx-tabpanel > .dx-tabpanel-tabs .dx-tabs-scrollable .dx-tabs-wrapper {
        display: block;
        border: none;
    }

.dx-tabpanel:not(.dx-empty-collection) .dx-multiview-wrapper {
    border-top: none;
}

.dx-tabpanel > .dx-tabpanel-tabs .dx-tab.dx-tab-selected {
    -webkit-box-shadow: inset 0 1px #ddd,inset -1px 0 #ddd,inset 1px 0 #ddd;
    box-shadow: inset 0 1px #ddd,inset -1px 0 #ddd,inset 1px 0 #ddd;
}

    .dx-tabpanel > .dx-tabpanel-tabs .dx-tab.dx-tab-active .dx-tab-content,
    .dx-tabpanel > .dx-tabpanel-tabs .dx-tab.dx-tab-selected .dx-tab-content {
        color: #333;
    }

.dx-tabpanel > .dx-tabpanel-tabs .dx-tabs-expanded .dx-tab:not(.dx-tab-selected):first-of-type {
    -webkit-box-shadow: inset 0 -1px #ddd,inset 1px 0,inset 0 1px;
    box-shadow: inset 0 -1px #ddd,inset 1px 0,inset 0 1px;
}

.dx-rtl .dx-tabpanel > .dx-tabpanel-tabs .dx-tabs-expanded .dx-tab:not(.dx-tab-selected):first-of-type,
.dx-rtl.dx-tabpanel > .dx-tabpanel-tabs .dx-tabs-expanded .dx-tab:not(.dx-tab-selected):first-of-type,
.dx-tabpanel > .dx-tabpanel-tabs .dx-tabs-stretched .dx-tab:not(.dx-tab-selected):last-of-type {
    -webkit-box-shadow: inset 0 -1px #ddd,inset -1px 0,inset 0 1px;
    box-shadow: inset 0 -1px #ddd,inset -1px 0,inset 0 1px;
}

.dx-rtl .dx-tabpanel > .dx-tabpanel-tabs .dx-tabs-stretched .dx-tab:not(.dx-tab-selected):last-of-type,
.dx-rtl.dx-tabpanel > .dx-tabpanel-tabs .dx-tabs-stretched .dx-tab:not(.dx-tab-selected):last-of-type,
.dx-tabpanel > .dx-tabpanel-tabs .dx-tabs-nav-button-left {
    -webkit-box-shadow: inset 0 -1px #ddd,inset 1px 0,inset 0 1px;
    box-shadow: inset 0 -1px #ddd,inset 1px 0,inset 0 1px;
}

.dx-tabpanel > .dx-tabpanel-tabs .dx-tabs-nav-button-right {
    -webkit-box-shadow: inset 0 -1px #ddd,inset 0 1px,inset -1px 0;
    box-shadow: inset 0 -1px #ddd,inset 0 1px,inset -1px 0;
}

.dx-tabpanel > .dx-tabpanel-container > .dx-multiview-wrapper {
    border-color: #ddd;
}

.dx-tabpanel.dx-state-focused > .dx-tabpanel-tabs .dx-tabs {
    -webkit-box-shadow: inset 0 -1px #337ab7,inset 0 1px,inset -1px 0,inset 1px 0;
    box-shadow: inset 0 -1px #337ab7,inset 0 1px,inset -1px 0,inset 1px 0;
}

.dx-tabpanel.dx-state-focused > .dx-tabpanel-tabs .dx-tab {
    -webkit-box-shadow: inset 0 1px,inset 0 -1px #337ab7;
    box-shadow: inset 0 1px,inset 0 -1px #337ab7;
}

    .dx-tabpanel.dx-state-focused > .dx-tabpanel-tabs .dx-tab.dx-tab-selected {
        -webkit-box-shadow: inset 0 1px #337ab7,inset -1px 0 #337ab7,inset 1px 0 #337ab7;
        box-shadow: inset 0 1px #337ab7,inset -1px 0 #337ab7,inset 1px 0 #337ab7;
    }

        .dx-tabpanel.dx-state-focused > .dx-tabpanel-tabs .dx-tab.dx-tab-active .dx-tab-content,
        .dx-tabpanel.dx-state-focused > .dx-tabpanel-tabs .dx-tab.dx-tab-selected .dx-tab-content {
            color: #333;
        }

.dx-tabpanel.dx-state-focused > .dx-tabpanel-tabs .dx-tabs-expanded .dx-tab:not(.dx-tab-selected):first-of-type {
    -webkit-box-shadow: inset 0 -1px #337ab7,inset 1px 0,inset 0 1px;
    box-shadow: inset 0 -1px #337ab7,inset 1px 0,inset 0 1px;
}

.dx-rtl .dx-tabpanel.dx-state-focused > .dx-tabpanel-tabs .dx-tabs-expanded .dx-tab:not(.dx-tab-selected):first-of-type,
.dx-rtl.dx-tabpanel.dx-state-focused > .dx-tabpanel-tabs .dx-tabs-expanded .dx-tab:not(.dx-tab-selected):first-of-type,
.dx-tabpanel.dx-state-focused > .dx-tabpanel-tabs .dx-tabs-stretched .dx-tab:not(.dx-tab-selected):last-of-type {
    -webkit-box-shadow: inset 0 -1px #337ab7,inset -1px 0,inset 0 1px;
    box-shadow: inset 0 -1px #337ab7,inset -1px 0,inset 0 1px;
}

.dx-rtl .dx-tabpanel.dx-state-focused > .dx-tabpanel-tabs .dx-tabs-stretched .dx-tab:not(.dx-tab-selected):last-of-type,
.dx-rtl.dx-tabpanel.dx-state-focused > .dx-tabpanel-tabs .dx-tabs-stretched .dx-tab:not(.dx-tab-selected):last-of-type,
.dx-tabpanel.dx-state-focused > .dx-tabpanel-tabs .dx-tabs-nav-button-left {
    -webkit-box-shadow: inset 0 -1px #337ab7,inset 1px 0,inset 0 1px;
    box-shadow: inset 0 -1px #337ab7,inset 1px 0,inset 0 1px;
}

.dx-tabpanel.dx-state-focused > .dx-tabpanel-tabs .dx-tabs-nav-button-right {
    -webkit-box-shadow: inset 0 -1px #337ab7,inset 0 1px,inset -1px 0;
    box-shadow: inset 0 -1px #337ab7,inset 0 1px,inset -1px 0;
}

.dx-tabpanel.dx-state-focused > .dx-tabpanel-container > .dx-multiview-wrapper {
    border-color: #337ab7;
}

.dx-tabpanel .dx-multiview-wrapper {
    border: 1px solid #ddd;
}

.lable-outstanding span {
    font-weight: bold;
    color: #337ab7 !important;
}

.lable-outstanding input {
    font-weight: bold;
    color: #337ab7 !important;
}

.lable-outstanding textarea {
    font-weight: bold;
    color: #337ab7 !important;
}

.lable-outstanding-red span {
    font-weight: bold;
    color: #bf1e2e !important;
}

.lable-outstanding-red input {
    font-weight: bold;
    color: #bf1e2e !important;
}

.lable-outstanding-red textarea {
    font-weight: bold;
    color: #bf1e2e !important;
}

.lable-outstanding-red div {
    font-weight: bold;
    color: #bf1e2e !important;
}

.lable-outstanding-red-small div div span {
    font-weight: bold;
    color: #bf1e2e !important;
    font-size: 14px !important;
}

.display-none {
    display: none !important;
}

.webkit-align-items-center {
    -webkit-align-items: center !important;
}

    .webkit-align-items-center label {
        height: 100%;
    }
.tab-scale {
    padding-top: 2px !important;
}
.dx-multiview-item-content:has(> div .tab-scale1) {
    padding: 0px !important;
}
.dx-multiview-item-content:has(> div .tab-scale2) {
    padding: 0px !important;
}
