/* CUSTOM */
.my-table.is-separate thead tr:first-child > .nk-tb-col:first-child {
    border-radius: 4px 0 0 0;
}
.my-table.is-separate thead tr:first-child > .nk-tb-col:last-child {
    border-radius: 0 4px 0 0;
}
.my-table.is-separate thead tr:last-child > .nk-tb-col:first-child {
    border-radius: 0 0 0 4px;
}
.my-table.is-separate thead tr:last-child > .nk-tb-col:last-child {
    border-radius: 0 0 4px 0;
}
  
/* .my-table:not(thead) th,
.my-table:not(thead) td {
     border-spacing: initial!important;
} */

/* .my-table.is-separate {
    border-collapse: separate!important;
    border-spacing: 0 50px!important;
  } */

/* .my-table.is-separate thead tr {
    border-spacing: 0!important;
} */

.my-table thead th {
    text-align: center;
    font-size: 1em!important;
	/* background: #ebeef2!important; */
}

.my-table > thead > tr > th , .my-table > tfoot > tr > th {
	vertical-align:middle;
}

.my-table td:last-child {
	text-align:center;
}

.table-detail td:first-child {
	font-weight: bold;
}
.table-detail td { 
	text-align: left!important; 
	vertical-align: top!important;
}

.table-detail .nk-tb-head .nk-tb-col,
.table-detail .nk-tb-head .sub-text,
.table-detail-no-bold .nk-tb-head .nk-tb-col, 
.table-detail-no-bold .nk-tb-head .sub-text {
  font-size: 11px;
}

.table-success,
.table-success > th,
.table-success > td {
  background-color: #c3e6cb;
}

.table-success th,
.table-success td,
.table-success thead th,
.table-success tbody + tbody {
  border-color: #8fd19e;
}

.table-hover .table-success:hover {
  background-color: #b1dfbb;
}

.table-hover .table-success:hover > td,
.table-hover .table-success:hover > th {
  background-color: #b1dfbb;
}

.table-info,
.table-info > th,
.table-info > td {
  background-color: #bee5eb;
}

.table-info th,
.table-info td,
.table-info thead th,
.table-info tbody + tbody {
  border-color: #86cfda;
}

.table-hover .table-info:hover {
  background-color: #abdde5;
}

.table-hover .table-info:hover > td,
.table-hover .table-info:hover > th {
  background-color: #abdde5;
}

.table-warning,
.table-warning > th,
.table-warning > td {
  background-color: #ffeeba;
}

.table-warning th,
.table-warning td,
.table-warning thead th,
.table-warning tbody + tbody {
  border-color: #ffdf7e;
}

.table-hover .table-warning:hover {
  background-color: #ffe8a1;
}

.table-hover .table-warning:hover > td,
.table-hover .table-warning:hover > th {
  background-color: #ffe8a1;
}

.table-danger,
.table-danger > th,
.table-danger > td {
  background-color: #f5c6cb;
}

.table-danger th,
.table-danger td,
.table-danger thead th,
.table-danger tbody + tbody {
  border-color: #ed969e;
}

.table-hover .table-danger:hover {
  background-color: #f1b0b7;
}

.table-hover .table-danger:hover > td,
.table-hover .table-danger:hover > th {
  background-color: #f1b0b7;
}

.modal-body .card {
    box-shadow: 0px 1px 6px 1px rgba(54, 74, 99, 0.1);
}

.invoice-bills .table th:last-child, .invoice-bills .table td:last-child {
    text-align: unset;
}
.invoice-desc {
    width: 100%;
}
@media (min-width: 576px) {
    .invoice-contact {
        width: 65%;
    }
    .invoice-desc {
        width: 40%;
    }
}
.invoice-desc ul span:last-child a {
    display: inline;
}

.invoice-desc ul span:first-child {
    min-width: 45%;
    max-width: 45%;
}
a {
    cursor: pointer;
}
.link-list li.active a {
    color: #854fff;
}

@media (min-width: 576px) {
    .modal-xxl {
        --bs-modal-width: 90%;
    }
}

.user-avatar, [class^=user-avatar]:not([class*=-group]) {
  background: #fff;
}

.form-select2-with-icon-left .form-icon {
    z-index: 1;
    top: 0px;
}
.form-select2-with-icon-left .select2-selection__rendered {
    padding-left: calc(1rem + 24px)!important;
}
.form-select2-with-icon-left .select2-container {
/* .form-select2-with-icon-left .select2-selection { */
    /* max-width: 180px!important; */
    /* max-width: 80%!important; */
}

.form-label-outlined {
    border-radius: 10px;
}

.custom-control-same-height .custom-control-sm {
    max-height: 2.25rem;
}

.card-icon:before {
    /* content: "\e9c5"; */
    content: "\e9da";
    font-family: "Nioicon";
    transition: 0.4s;
}
.card-title-group.collapsed .card-icon:before {
    /* content: "\e9da"; */
    content: "\e9c5";
}

.tb-odr-head th {
    font-size: 12px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: unset;
}

ol.list-number {
    list-style-type: decimal!important;
    margin: unset!important;
    padding-left: 15px!important;
}
ol.list-number li {
    list-style: decimal!important
}
.list-custom li {
    line-height: 1rem;
}
.list-custom li:before {
    line-height: 1rem;
}

@media (max-width: 575px) {
  div.dataTables_wrapper div.dataTables_info {
    text-align: center!important;
  }
}

.pagination-goto {
  text-transform: none!important;
}

.list.list-error-custom li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1rem;
}
.list.list-error-custom li:before {
  position: absolute;
  left: 0;
  font-size: 14px;
  line-height: 1rem;
  font-family: "Nioicon";
  content: "\e980";
}

.custom-check-success .custom-control-pro.no-control .custom-control-input:checked ~ .custom-control-label {
  border-color: #1ee0ac;
  color: #1ee0ac;
}
.custom-check-success .custom-control-pro.no-control .custom-control-input:not(:disabled):active ~ .custom-control-label {
  border-color: #1ee0ac;
  color: #1ee0ac;
}

.custom-check-danger .custom-control-pro.no-control .custom-control-input:checked ~ .custom-control-label {
  border-color: #e85347;
  color: #e85347;
}
.custom-check-danger .custom-control-pro.no-control .custom-control-input:not(:disabled):active ~ .custom-control-label {
  border-color: #e85347;
  color: #e85347;
  color: #e85347;
}

.toast-success .toast-progress {
    background-color: #1ee0ac!important;
}
.toast-error .toast-progress {
    background-color: #e85347!important;
}
.toast-info .toast-progress {
    background-color: #09c2de!important;
}
.toast-warning .toast-progress {
    background-color: #f4bd0e!important;
}

.form-group.is-invalid .invalid-feedback {
  display: block;
}

.card-footer .bg-none {
    background-color: transparent!important;
}

.card-footer.bg-none {
    background-color: transparent!important;
}

.navbar-brand-custom {
    max-height: 36px;
}
.nk-sidebar.is-compact:not(:hover) .navbar-brand-custom {
    opacity: 0;
    transition: opacity 0.2s linear;
}


/* File Input */
.kv-avatar .krajee-default.file-preview-frame,.kv-avatar .krajee-default.file-preview-frame:hover {
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    text-align: center;
}
.kv-avatar {
    display: inline-block;
}
.kv-avatar .file-input {
    display: table-cell;
    width: 213px;
}
.kv-reqd {
    color: red;
    font-family: monospace;
    font-weight: normal;
}

/* Select2 : Error */
.has-error .select2-selection, .is-invalid .select2-selection,
.has-error .note-editor.note-frame, .note-editor.note-airframe,
.is-invalid .note-editor.note-frame, .note-editor.note-airframe,
.is-invalid .input-group-text {
    border-color: #e85347 !important;
}

.is-invalid .custom-control-pro .custom-control-label {
    border-color: #e85347 !important;
}


.text-transform-none { text-transform: none!important; }
.dd-handle { 
    min-height: 30px!important; 
    height: auto!important; 
}



* Leaflet */
/* .leaflet-control-layers-overlays { overflow:scroll!important; } */
.leaflet-control-layers-overlays label span ,
.leaflet-control-layers-base label span { 
    font-weight: normal; 
}
.leaflet-control-layers-group-name {
    font-weight: bold!important;
}

/* Map Leaflet */
.grid-print-container {
  grid-template: auto 1fr auto / 1fr;
  background-color: white;
}
.grid-map-print {
  grid-row: 2;
}

.grid-print-container > .title,
.grid-print-container > .sub-content {
  color: black;
}
.grid-print-container > .title {
  grid-row: 1;
  justify-self: center;
  text-align: center;
  color: grey;
  box-sizing: border-box;
  margin-top: 0;
  padding: 15px;
}
.grid-print-container > .sub-content {
  grid-row: 5;
  padding-left: 10px;
  text-align: center;
  color: grey;
  box-sizing: border-box;
}

[leaflet-browser-print-pages] {
  display: none;
}
.pages-print-container [leaflet-browser-print-pages] {
  display: block;
}

.info.legend {
  padding: 6px 8px;
  font: 10px/12px Arial, Helvetica, sans-serif;
  font-weight: bold;
  background: rgba(255,255,255,0.8);
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  border-radius: 5px;
}
.info h4 { margin: 0 0 5px; color: #777; }
.legend { text-align: left; line-height: 10px; color: #555; }
.legend > * {
  display: flex;
  margin-bottom: 5px;
}
.legend i { width: 10px; height: 10px; float: left; margin-right: 8px; opacity: 1; }

.leaflet-tooltip-pane .text {
  color: #000000;
  font-weight: bold;
  background: transparent;
  border:0;
  box-shadow: none;
  font-size:0.8em;
}

.leaflet-sidebar {
    top: 0;
}

/* Lightbox */
.mfp-img {
    background-color: #fff;
}