/*!
  * Advantech Software styles.css
  * Copyright 2018-2024 Advantech Software Pty Ltd
  * Licensed under MIT (wwwroot/advantech/LICENSE)
  */
/* CSS Minifier https://www.toptal.com/developers/cssminifier */
:root {
    --bs-light-primary-rgb: 241, 250, 255;
}

@media (max-width: 991.98px) {
    body:not([data-kt-app-toolbar-fixed-mobile=true]) .app-toolbar {
        background-color: white !important;
    }
}

.card .card-header-sm {
    min-height: 40px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.toast-error {
    background-color: var(--bs-danger) !important;
}

.toast-success {
    background-color: var(--bs-success) !important;
}

.toast-warning {
    background-color: var(--bs-warning) !important;
}

.toast-info {
    background-color: var(--bs-info) !important;
}

@media screen and  (max-width: 768px) {
    .border-sm-none {
        --bs-border-width: 0px;
    }

    .border-sm-1 {
        --bs-border-width: 1px;
    }
}

@media screen and  (min-width: 769px) {
    .border-md-none {
        --bs-border-width: 0px !important;
    }

    .border-md-1 {
        --bs-border-width: 1px;
    }

    .card.card-md-stretch-30 {
        height: calc(30% - var(--bs-gutter-y));
    }

    .card.card-md-stretch-40 {
        height: calc(40% - var(--bs-gutter-y));
    }

    .card.card-md-stretch-60 {
        height: calc(60% - var(--bs-gutter-y));
    }

    .card.card-md-stretch-70 {
        height: calc(70% - var(--bs-gutter-y));
    }
}

@media screen and  (min-width: 992px) {
    .border-lg-none {
        --bs-border-width: 0px;
    }

    .border-lg-1 {
        --bs-border-width: 1px;
    }

    .card.card-lg-stretch-30 {
        height: calc(30% - var(--bs-gutter-y));
    }

    .card.card-lg-stretch-40 {
        height: calc(40% - var(--bs-gutter-y));
    }

    .card.card-lg-stretch-60 {
        height: calc(60% - var(--bs-gutter-y));
    }

    .card.card-lg-stretch-70 {
        height: calc(70% - var(--bs-gutter-y));
    }
}

@media screen and (min-width: 1200px) {

    .border-xl-none {
        --bs-border-width: 0px;
    }

    .border-xl-1 {
        --bs-border-width: 1px;
    }

    .card.card-xl-stretch-30 {
        height: calc(30% - var(--bs-gutter-y));
    }

    .card.card-xl-stretch-40 {
        height: calc(40% - var(--bs-gutter-y));
    }

    .card.card-xl-stretch-60 {
        height: calc(60% - var(--bs-gutter-y));
    }

    .card.card-xl-stretch-70 {
        height: calc(70% - var(--bs-gutter-y));
    }
}

@media screen and (min-width: 1400px) {

    .border-xxl-none {
        --bs-border-width: 0px;
    }

    .border-xxl-1 {
        --bs-border-width: 1px;
    }

    .card.card-xxl-stretch-30 {
        height: calc(30% - var(--bs-gutter-y));
    }

    .card.card-xxl-stretch-40 {
        height: calc(40% - var(--bs-gutter-y));
    }

    .card.card-xxl-stretch-60 {
        height: calc(60% - var(--bs-gutter-y));
    }

    .card.card-xxl-stretch-70 {
        height: calc(70% - var(--bs-gutter-y));
    }
}

.form-switch.form-switch-lg {
    
    min-height: 1.75em;
}
.form-switch.form-switch-sm .form-check-input {
  height: 1.5rem;
  width: 2.5rem;
}

.form-switch.form-switch-lg .form-check-input {
  height: 2.35rem;
  width: 4rem;
}

.form-switch.form-switch-lg .form-check-label {
    margin-left: 0.55em;
    margin-top: 0.3em;
}

/* INPUTS */
input[data-val-required]:not(input[type="checkbox"]):not(:disabled):not(input[type="radio"]),
textarea[data-val-required]:not(:disabled), select[data-val="true"] + .select2-container--default .select2-selection--single:not(:disabled), select[data-val=true] + .select2-container--bootstrap5 .select2-selection--single:not(:disabled) {
    border-left-color: red !important;
    border-left-style: solid !important;
    border-left-width: 3px !important;
    -webkit-border-top-left-radius: 0px !important;
    -webkit-border-bottom-left-radius: 0px !important;
    -moz-border-radius-topleft: 0px !important;
    -moz-border-radius-bottomleft: 0px !important;
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

input[data-val-required].form-control:focus, textarea[data-val-required].form-control:focus {
    border-left: 2px solid red !important;
}

.form-control, .form-select {
    border-color: var(--bs-gray-500) !important;
}

.input-group > .input-group-prepend > .form-control, .input-group > .input-group-prepend > .form-select,
.input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    /*border-top-left-radius: inherit !important;
    border-bottom-left-radius: inherit !important;
    background-color: inherit !important;*/
    /*border-top-right-radius: 0.475rem !important;
    border-bottom-right-radius: 0.475rem !important;
    border-color: var(--bs-gray-500) !important;*/
}

.input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating),
.input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n+3),
.input-group:not(.has-validation) > .form-floating:not(:last-child) > .form-control,
.input-group:not(.has-validation) > .form-floating:not(:last-child) > .form-select {
    border-color: var(--bs-gray-500) !important;
}

    .input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) > :not([data-lastpass-icon-root]) {
        border-right: 0px !important;
    }

.input-group > .input-group-text:first-child {
    border-right: 0px !important;
}

.custom-select.form-select {
    border: inherit !important;
}

.select2.select2-container.last-child, .input-group:last-child {
    border-top-right-radius: 0.475rem !important;
    border-bottom-right-radius: 0.475rem !important;
}

.btn.btn-outline:not(.btn-outline-dashed) {
    border-color: var(--bs-gray-500);
}

.form-select {
    padding-top: 0.875em;
    padding-bottom: 0.875em;
}

.input-group-text {
    border-color: var(--bs-gray-500) !important;
}

.form-check-label {
    font-weight: 600;
    color: var(--bs-gray-800) !important;
}

.form-check:not(.form-check-solid) .form-check-input:not(:checked):indeterminate {
    background-color: var(--bs-primary) !important;
}

.form-check.form-check-solid > .form-check-input:not(:checked) {
    border: 1px solid var(--bs-gray-400) !important;
}

.form-check.form-check-solid .form-check-input:not(:checked) {
    background-color: var(--bs-white) !important;
}

.form-check:not(.form-check-solid) .form-check-input:not(:checked) {
    background-color: var(--bs-white);
}

.form-check.form-check-primary .form-check-input:checked {
    background-color: var(--bs-primary);
}

.form-check.form-check-secondary .form-check-input:checked {
    background-color: var(--bs-secondary);
}

table.dataTable .form-check-input:not(:form-switch) {
    width: 1.55rem;
    height: 1.55rem;
}

div.dt-container div.row:last-child {
    margin-top: 20px !important;
}

div.dt-container div.row:first-child {
    margin-bottom: 20px !important;
}

div.dt-container div.row:last-child > div.col-md-auto:first-child {
  display: flex;
  justify-content: flex-start;
  /*width: 100%;*/
  align-content: center;
}

div.dt-container div.row:last-child > div.col-md-auto:last-child {
  display: flex;
  justify-content: flex-end;
  /*width: 100%;*/
  align-content: center;
}

/*********** GOOGLE ADDRESS MAPS *************/
.pac-container {
    z-index: 1060;
}

/*!
  * Advantech Software datatables.css
  * Copyright 2018-2024 Advantech Software Pty Ltd
  * Licensed under MIT (wwwroot/advantech/LICENSE)
  */

/* CSS Minifier https://www.toptal.com/developers/cssminifier */
:root {
    
    --dt-row-selected: var(--bs-light-primary-rgb) !important;
    /*--dt-row-stripe: 223, 143, 159;
    --dt-row-hover: 253,156,183;
    --dt-column-ordering: 0,0,0;*/
    --dt-row-selected-text: var(--bs-dark) !important;
}


.dt-container {
    margin-top: 10px !important;
}

    .dt-container > .bottom {
        margin-top: 10px;
    }

table.dataTable {
    font-size: 1rem;
}

    table.dataTable thead th > span.dt-column-title, table.dataTable tfoot th {
        font-weight: bold;
    }

    table.dataTable > thead > tr > th > span.dt-column-title {
        /*text-transform: uppercase !important;*/
        font-size: 1rem;
    }

    table.dataTable > thead > tr > th
    {
        vertical-align: top;
    }

    /* Removing padding - SS 2024-07-25 */
    table.dataTable > thead > tr > th,
    table.dataTable > thead > tr > td,
    table.table-striped tbody tr:last-child > td { 
        border-bottom: 1px solid rgba(0, 0, 0, 0.3) !important;
    }

    table.dataTable > tfoot > tr > th,
    table.dataTable > tfoot > tr > td {
        border-top: 1px solid rgba(0, 0, 0, 0.3) !important;
        padding: 10px 10px 6px 10px;
    }

.dt-buttons > button {
    margin-right: 4px !important;
}

@media screen and (max-width: 767px) {
    div.dt-buttons {
        width: auto;
        margin-top: 5px;
    }
}

table.dataTable.row-border > tbody > tr > *, table.dataTable.display > tbody > tr > * {
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

table.dataTable.row-border > tbody > tr:first-child > *, table.dataTable.display > tbody > tr:first-child > * {
    border-top: none;
}

table.dataTable.row-border > tbody > tr.selected + tr.selected > td, table.dataTable.display > tbody > tr.selected + tr.selected > td {
    border-top-color: rgba(13, 110, 253, 0.65);
    border-top-color: rgba(var(--dt-row-selected), 0.65);
}

table.dataTable.cell-border > tbody > tr > * {
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    border-right: 1px solid rgba(0, 0, 0, 0.15);
}

    table.dataTable.cell-border > tbody > tr > *:first-child {
        border-left: 1px solid rgba(0, 0, 0, 0.15);
    }

table.dataTable.cell-border > tbody > tr:first-child > * {
    border-top: 1px solid rgba(0, 0, 0, 0.3);
}

table.dataTable.order-column > tbody tr > .sorting_1,
table.dataTable.order-column > tbody tr > .sorting_2,
table.dataTable.order-column > tbody tr > .sorting_3, table.dataTable.display > tbody tr > .sorting_1,
table.dataTable.display > tbody tr > .sorting_2,
table.dataTable.display > tbody tr > .sorting_3 {
    box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.019);
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-column-ordering), 0.019);
}

table.dataTable.order-column > tbody tr.selected > .sorting_1,
table.dataTable.order-column > tbody tr.selected > .sorting_2,
table.dataTable.order-column > tbody tr.selected > .sorting_3, table.dataTable.display > tbody tr.selected > .sorting_1,
table.dataTable.display > tbody tr.selected > .sorting_2,
table.dataTable.display > tbody tr.selected > .sorting_3 {
    box-shadow: inset 0 0 0 9999px rgba(13, 110, 253, 0.919);
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-selected), 0.919);
}

table.dataTable.display.table-striped > tbody > tr:nth-child(odd) > .sorting_1, table.dataTable.order-column.stripe > tbody > tr:nth-child(odd) > .sorting_1 {
    box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.054);
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-column-ordering), 0.054);
}

table.dataTable.display.table-striped > tbody > tr:nth-child(odd) > .sorting_2, table.dataTable.order-column.stripe > tbody > tr:nth-child(odd) > .sorting_2 {
    box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.047);
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-column-ordering), 0.047);
}

table.dataTable.display.table-striped > tbody > tr:nth-child(odd) > .sorting_3, table.dataTable.order-column.stripe > tbody > tr:nth-child(odd) > .sorting_3 {
    box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.039);
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-column-ordering), 0.039);
}

table.dataTable.display.table-striped > tbody > tr:nth-child(odd).selected > .sorting_1, table.dataTable.order-column.stripe > tbody > tr:nth-child(odd).selected > .sorting_1 {
    box-shadow: inset 0 0 0 9999px rgba(13, 110, 253, 0.954);
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-selected), 0.954);
}

table.dataTable.display.table-striped > tbody > tr:nth-child(odd).selected > .sorting_2, table.dataTable.order-column.stripe > tbody > tr:nth-child(odd).selected > .sorting_2 {
    box-shadow: inset 0 0 0 9999px rgba(13, 110, 253, 0.947);
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-selected), 0.947);
}

table.dataTable.display.table-striped > tbody > tr:nth-child(odd).selected > .sorting_3, table.dataTable.order-column.stripe > tbody > tr:nth-child(odd).selected > .sorting_3 {
    box-shadow: inset 0 0 0 9999px rgba(13, 110, 253, 0.939);
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-selected), 0.939);
}

table.dataTable.display.table-striped > tbody > tr.even > .sorting_1, table.dataTable.order-column.stripe > tbody > tr.even > .sorting_1 {
    box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.019);
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-column-ordering), 0.019);
}

table.dataTable.display.table-striped > tbody > tr.even > .sorting_2, table.dataTable.order-column.stripe > tbody > tr.even > .sorting_2 {
    box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.011);
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-column-ordering), 0.011);
}

table.dataTable.display.table-striped > tbody > tr.even > .sorting_3, table.dataTable.order-column.stripe > tbody > tr.even > .sorting_3 {
    box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.003);
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-column-ordering), 0.003);
}

table.dataTable.display.table-striped > tbody > tr.even.selected > .sorting_1, table.dataTable.order-column.stripe > tbody > tr.even.selected > .sorting_1 {
    box-shadow: inset 0 0 0 9999px rgba(13, 110, 253, 0.919);
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-selected), 0.919);
}

table.dataTable.display.table-striped > tbody > tr.even.selected > .sorting_2, table.dataTable.order-column.stripe > tbody > tr.even.selected > .sorting_2 {
    box-shadow: inset 0 0 0 9999px rgba(13, 110, 253, 0.911);
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-selected), 0.911);
}

table.dataTable.display.table-striped > tbody > tr.even.selected > .sorting_3, table.dataTable.order-column.stripe > tbody > tr.even.selected > .sorting_3 {
    box-shadow: inset 0 0 0 9999px rgba(13, 110, 253, 0.903);
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-selected), 0.903);
}

table.dataTable.display.table-striped tbody tr:hover > .sorting_1, table.dataTable.order-column.hover tbody tr:hover > .sorting_1 {
    box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.082);
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-hover), 0.082);
}

table.dataTable.display.table-striped tbody tr:hover > .sorting_2, table.dataTable.order-column.hover tbody tr:hover > .sorting_2 {
    box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.074);
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-hover), 0.074);
}

table.dataTable.display.table-striped tbody tr:hover > .sorting_3, table.dataTable.order-column.hover tbody tr:hover > .sorting_3 {
    box-shadow: inset 0 0 0 9999px rgba(0, 0, 0, 0.062);
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-hover), 0.062);
}

table.dataTable.display.table-striped tbody tr:hover.selected > .sorting_1, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_1 {
    box-shadow: inset 0 0 0 9999px rgba(13, 110, 253, 0.982);
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-selected), 0.982);
}

table.dataTable.display.table-striped tbody tr:hover.selected > .sorting_2, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_2 {
    box-shadow: inset 0 0 0 9999px rgba(13, 110, 253, 0.974);
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-selected), 0.974);
}

table.dataTable.display.table-striped tbody tr:hover.selected > .sorting_3, table.dataTable.order-column.hover tbody tr:hover.selected > .sorting_3 {
    box-shadow: inset 0 0 0 9999px rgba(13, 110, 253, 0.962);
    box-shadow: inset 0 0 0 9999px rgba(var(--dt-row-selected), 0.962);
}

/***************** DataTables Bootstrap 5 Checkboxes ***************/
.form-check-input_dt-check-input {
    --bs-form-check-bg: var(--bs-light-primary);
    width: 1.75rem;
    height: 1.75rem;
    margin-top: -0.125rem;
    vertical-align: top;
    background-color: var(--bs-form-check-bg);
    background-image: var(--bs-form-check-bg-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid var(--bs-gray-400);
    appearance: none;
    print-color-adjust: exact;
    border-radius: 0.45em;
}

.form-check-input_dt-check-input:checked[type=checkbox] {
  --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 11' width='13' height='11' fill='none'%3e%3cpath d='M11.0426 1.02893C11.3258 0.695792 11.8254 0.655283 12.1585 0.938451C12.4917 1.22162 12.5322 1.72124 12.249 2.05437L5.51985 9.97104C5.23224 10.3094 4.72261 10.3451 4.3907 10.05L0.828197 6.88335C0.50141 6.59288 0.471975 6.09249 0.762452 5.7657C1.05293 5.43891 1.55332 5.40948 1.88011 5.69995L4.83765 8.32889L11.0426 1.02893Z' fill='%23ffffff'/%3e%3c/svg%3e");
}

.form-check-input_dt-check-input:checked {
    background-color: var(--bs-primary);
    border-color: var(--bs-light-primary);
}

div.dt-button-collection .dt-button-active:after {
    content: "\f00c";
    font-family: "Font Awesome 6 Pro";
}

/************* BOOTSTRAP 5 CHECKBOXES with new Datatables 2.x ************/
table.dataTable input.dt-select-checkbox {
    --bs-form-check-bg: var(--bs-light-primary);
    width: 1.75rem;
    height: 1.75rem;
    margin-top: -.125rem;
    vertical-align: top;
    background-color: var(--bs-form-check-bg);
    background-image: var(--bs-form-check-bg-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid var(--bs-gray-400);
    appearance: none;
}

table.dataTable input.dt-select-checkbox:checked:after {
    --bs-form-check-bg: var(--bs-primary);
    print-color-adjust: exact;
    border-radius: .45em;
    content: "\f00c" !important;
    font-family: 'Font Awesome 6 Pro';
    margin-top: 0px !important;
    margin-left: 2px;
    color: #ffffff;
}

table.dataTable > tbody > tr.selected input.dt-select-checkbox:checked {
    background-color: var(--bs-primary);
}

table.dataTable input.dt-select-checkbox:indeterminate:after {
    top: 9px !important;
    left: 9px !important;
    background-color: var(--bs-primary);
}

table.dataTable input.dt-select-checkbox:not(:indeterminate):not(:checked) {
    background-color:white;
}
table.dataTable input.dt-select-checkbox:not(:indeterminate):checked {
    background-color: var(--bs-primary);
}

/*!
  * Advantech Software select2-input.js
  * Copyright 2018-2024 Advantech Software Pty Ltd
  * Licensed under MIT (wwwroot/advantech/LICENSE)
  */
/* CSS Minifier https://www.toptal.com/developers/cssminifier */

.select2-container .select2-selection--single .select2-selection__clear {
    position: absolute !important;
}

.select2-group {
    display: table;
}

.select2-group > .select2-container {
    display: table;
    table-layout: fixed;
    position: relative;
    z-index: 2;
    width: 100%;
    margin-bottom: 0;
}

.select2-group .select2-selection__rendered,
.select2-group .form-control:first-child,
.select2-group-addon:first-child,
.select2-group-btn:first-child > .btn,
.select2-group-btn:first-child > .btn-group > .btn,
.select2-group-btn:first-child > .dropdown-toggle,
.select2-group-btn:last-child > .btn-group:not(:last-child) > .btn,
.select2-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.select2-group .form-control,
.select2-group .input-group-addon,
.input-group-btn,
.select2-group .input-group-prepend,
.select2-group > .input-group-prepend > .input-group-text,
.select2-group > .input-group-append,
.select2-group > .input-group-append > .input-group-text {
    display: table-cell;
    vertical-align: top;
}

.select2-group > .form-control:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.select2-group > .form-control:not(:first-child) {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.select2-group > .select2-hidden-accessible:not(:first-child):not(:last-child) + .select2-container:last-child > .selection > .select2-selection,
.select2-group > .select2-hidden-accessible:not(:first-child):not(:last-child) + .select2-container:last-child > .selection > .select2-selection.form-control {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

/*.select2-group > .select2-container--default .select2-selection--single .select2-selection__rendered {
    border-radius: 0;
}*/

/*.select2-group > .select2-container--default .select2-selection--multiple, .select2-group > .select2-container--default .select2-selection--single {
   border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}*/

select[readonly].select2-hidden-accessible + .select2-container {
    pointer-events: none;
    touch-action: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection {
    background: var(--bs-light);
    box-shadow: none;
}

select[readonly].select2-hidden-accessible + .select2-container .select2-selection__arrow, select[readonly].select2-hidden-accessible + .select2-container .select2-selection__clear {
    display: none;
}
