/*
	padding: 1 2 3 4
	1:top
	2:right
	3:bottom
	4:left
*/
:root {
  --grid_border_color: #ced4da;
  --grid_header_color: #e9ecef;
}

* {
  font-family: "Source Sans Pro", "Roboto", Arial, sans-serif;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  font-family: Arial,Arial, Helvetica, sans-serif;
  font-size: 10pt;
}


/* Grid Tables */
.table > :not(:first-child) > :first-child > * {
  border-top-color: var(--grid_border_color);
}

.mb-15rem {
  margin-bottom: .15rem;
}

table {
  border: 1px solid var(--grid_border_color);
  /*border-collapse: collapse;*/
}

  table th {
    background-color: var(--grid_header_color);
    color: #333;
    font-weight: normal;
  }

  table th, table td, table tfoot tr td {
    padding: 5px;
    border: 1px solid var(--grid_border_color);
  }

  table, table table td {
    border: 0px solid var(--grid_border_color);
  }
/* Grid Tables */


/* Buttons */
.btn {
  font-size: inherit !important;
}

.btn-def-width {
  width: 70px;
}
/* Buttons */


/* Overlay message */
#overlay_alert_message, .overlay_alert_message {
  position: fixed;
  top: 2px;
  left: 0;
  width: 100%;
  z-index: 100;
}

#overlay_alert_message_inner, .overlay_alert_message_inner {
  margin: 0 auto;
}

#overlay_alert_text ul, .overlay_alert_text ul {
  margin-bottom: 0px !important;
}
/* Overlay message */


/* Estimate Data Parts Grid Table */
.mvc-grid-filter {
  background: rgba(0, 0, 0, 0) !important;
  color: lightgray !important;
}

.mvc-grid-header-mode .filterable {
  padding: 0 1.5em 0 0 !important;
}

.mvc-grid-header-mode .sortable .mvc-grid-value {
  padding-right: 1.5em !important;
}

.mvc-grid-excel-mode .filterable .mvc-grid-sort, .mvc-grid-header-mode .filterable .mvc-grid-sort {
  right: 1.5em !important;
}

.mvc-grid-table > table > thead > tr > th,
.mvc-grid-header-mode .mvc-grid-value {
  background-color: var(--grid_header_color) !important;
  background-clip: unset;
  color: #6c757d !important;
}

.mvc-grid-row-filters .mvc-grid-value::placeholder {
  color: #6c757d !important;
}

.mvc-grid-sort, .mvc-grid-filter {
  padding-left: 0px !important;
  padding-right: 0px !important;
  width: 1.5em !important;
}

#estimate_data_parts_grid_table.table th {
  background-color: var(--grid_header_color) !important;
  color: #6c757d !important;
}

#estimate_data_parts_grid_table.table th,
#estimate_data_parts_grid_table.table td,
#estimate_data_parts_grid_table.table tfoot tr td {
  padding: 2px !important;
}

#estimate_data_parts_grid_table.table {
  border-collapse: unset;
}

#estimate_data_parts_grid_table.table thead tr:not(:first-child) th,
#estimate_data_parts_grid_table.table tbody tr td {
  border-top-style: none;
}

  #estimate_data_parts_grid_table.table thead tr:last-child th,
  #estimate_data_parts_grid_table.table tbody tr:last-child td,
  #estimate_data_parts_grid_table.table tfoot tr:last-child td {
    border-bottom: 1px solid var(--grid_border_color) !important;
  }

#estimate_data_parts_grid_table.table tfoot tr:last-child td {
  border-top-style: none;
}

#estimate_data_parts_grid_table.table thead tr th,
#estimate_data_parts_grid_table.table tbody tr td,
#estimate_data_parts_grid_table.table tfoot tr td {
  border-right-style: none;
}

  #estimate_data_parts_grid_table.table thead tr th:last-child,
  #estimate_data_parts_grid_table.table tbody tr td:last-child,
  #estimate_data_parts_grid_table.table tfoot tr td:last-child {
    border-right: 1px solid var(--grid_border_color) !important;
  }

#estimate_data_parts_grid_table input[type=text] {
  border: 0px;
}

#estimate_data_parts_grid_table tbody tr:hover td:not(:focus),
#estimate_data_parts_grid_table tfoot tr:hover td:not(:focus),
#estimate_data_parts_grid_table tbody tr:hover input[type="text"]:not(:focus),
#estimate_data_parts_grid_table tfoot tr:hover input[type="text"]:not(:focus) {
  background-color: rgb(202,237,251) !important; /*  #f0f0f0 */
}

#estimate_data_parts_grid_table tbody tr:hover input[type="text"]:disabled,
#estimate_data_parts_grid_table tfoot tr:hover input[type="text"]:disabled {
  background-color: rgb(185,210,229) !important;
}

#estimate_data_parts_grid_table tbody tr:hover td:focus-within,
#estimate_data_parts_grid_table tfoot tr:hover td:focus-within {
  background-color: white !important;
}

#estimate_data_parts_grid_table tbody tr input[type="text"]:focus,
#estimate_data_parts_grid_table tfoot tr input[type="text"]:focus,
input.form-control[type="text"]:focus,
textarea.form-control:focus {
  background-color: rgb(255,255,204) !important;
}


#estimate_data_parts_grid_table .btn {
  line-height: 1.4 !important;
}

#estimate_data_parts_grid_table {
  margin-bottom: 3px !important;
}

.estimate_data_priceperitem_list_item {
  padding: 3px 0.2em 3px 0em !important;
}
/* Estimate Data Parts Grid Table */











.ui-widget {
  font-size: .775rem !important;
}

.form-control-sm {
  padding-top: .0rem;
  padding-bottom: .0rem;
  min-height: .0rem;
  font-size: .775rem;
  height: fit-content;
}

.ui-autodisplay {
  position: absolute;
  font-size: .775rem !important;
}

.ui-autodisplay .ui-menu-item {
  cursor: default !important;
}

.ui-menu-item .ui-menu-item-wrapper.ui-state-active {
  background: #6693bc !important;
  color: #ffffff !important;
}



.invalid-tooltip {
  font-size: .675rem !important;
  line-height: var(--bs-body-font-size) !important;
  padding-bottom: .15rem !important;
}

.datepicker * {
  font-size: .675rem !important;
}


#txtPricePerItemSuggestions .ui-menu-item {
  line-height: 0rem !important;
}

#txtPricePerItemSuggestions .ui-menu-item {
  font-size: .675rem !important;
}


input[type="button"]:disabled, input[type="reset"]:disabled, input[type="submit"]:disabled, button:disabled,
input[type="button"].disabled, input[type="reset"].disabled, input[type="submit"].disabled, button.disabled {
  pointer-events: auto !important;
  cursor: not-allowed !important;
}

.navbar-nav .nav-link {
  padding: .375rem .75rem !important;
}

.fs-xxs {
  font-size:.575rem;
}



/* Button Highlight Start */
.suc_highlight {
  background-color: transparent;
  -webkit-animation-name: suc_highlight_animate; /* Chrome, Safari, Opera */
  -webkit-animation-duration: 10s; /* Chrome, Safari, Opera */
  animation-name: suc_highlight_animate;
  animation-duration: 10s;
}

/* Chrome, Safari, Opera */
@-webkit-keyframes suc_highlight_animate {
    0%   {background-color: #198754;color:white;}
    100% {background-color: transparent;}
}

/* Standard syntax */
@keyframes suc_highlight_animate {
    0%   {background-color: #198754;color:white;}
    100% {background-color: transparent;}
}


.err_highlight {
  background-color: transparent;
  -webkit-animation-name: err_highlight_animate; /* Chrome, Safari, Opera */
  -webkit-animation-duration: 10s; /* Chrome, Safari, Opera */
  animation-name: err_highlight_animate;
  animation-duration: 10s;
}

/* Chrome, Safari, Opera */
@-webkit-keyframes err_highlight_animate {
    0%   {background-color: #dc3545;color:white;}
    100% {background-color: transparent;}
}

/* Standard syntax */
@keyframes err_highlight_animate {
    0%   {background-color: #dc3545;color:white;}
    100% {background-color: transparent;}
}
/* Button Highlight End */