/*
	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 */


/* Data Grid */
#data_grid .mvc-grid-table > table > thead > tr > th.hiddenheader > div > input.mvc-grid-value::placeholder {
  color: var(--grid_header_color) !important;
}

#data_grid tbody tr:hover,
#data_grid tfooter tr:hover {
  background-color: rgb(202,237,251); /*  #f0f0f0 */
  cursor:pointer;
}

#data_grid .mvc-grid-table > table > tbody > tr > td,
#data_grid .mvc-grid-table > table > tfoot > tr > td {
  border: 1px solid var(--grid_border_color);
  padding: 0.5em;
  padding-top: 0;
  padding-bottom: 0;
}

#data_grid .mvc-grid {
  font-size: .775rem;
}

#data_grid .pending_delete {
  background-color: lightcoral !important;
}
/* Data Grid */








.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;
}






















/* Upload Image Star */

#upload_image_drop_section {
  width: 100%;
  height: 100%;
  background-position: center center;
  background-color: white;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-image: none;
  display: inline-block;
  border-radius: .25rem;
  min-height: 5rem;
  padding: 0rem;
  position: relative;
  cursor: pointer;
}

.upload_image_drop_section_active, #upload_image_drop_section:hover {
  background-color: rgb(255,255,204) !important;
}

@media (max-width: 768px) {
  #upload_image_drop_section {
    aspect-ratio: 1 / 1;
  }
}

#upload_image_drop_section_border_container {
  border: 1px dashed rgba(198, 198, 198, 0.65);
  padding: 2rem;
  height: 100%;
  border-radius: .25rem;
  position: relative;
}

.upload_image_drop_section_active #upload_image_drop_section_border_container,
#upload_image_drop_section:hover #upload_image_drop_section_border_container {
  border: 5px dashed rgba(198, 198, 198, 0.65);
  border-radius: .5rem;
  padding: calc(2rem - 4px);
}

.upload_image_drop_section_filled #upload_image_drop_section_border_container {
  border: 0px dashed rgba(198, 198, 198, 0.65);
  border-radius: .5rem;
  padding: 2rem;
}


.upload_image_drop_section_icons {
  color: rgba(198, 198, 198, 0.65);
}

.upload_image_drop_section_filled .upload_image_drop_section_icons {
  opacity: 0.0;
}


.upload_image_drop_section_active .upload_image_drop_section_icons {
  color: #DFDFB2 !important;
}

#upload_image_drop_section:hover .upload_image_drop_section_icons,
.upload_image_drop_section_filled:hover .upload_image_drop_section_icons {
  opacity: 0.6;
}


#upload_image_link_text {
  color: gray;
  font-weight: 600;
  font-size: 1.1em;
  letter-spacing: -1px;
  margin-top: 30px;
  margin-bottom: 0;
  opacity: 0.65;
  position: absolute;
  bottom: 0%;
  left: 0%;
  text-align: center;
  width: 100%;
  padding-bottom: 2rem;
}

#upload_image_drop_section_link_browser {
  text-decoration: none;
  color: rgb(22,42,255);
  border-bottom: 3px dotted rgba(22, 22, 255, 0.85);
}

#upload_image_drop_section_link_browser:hover {
  color: rgb(0, 0, 255);
  border-bottom: 3px dotted rgba(0, 0, 255, 0.85);
}

#upload_image_delete_button {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  color: #fff;
  text-align: center;
  line-height: 1.5rem;
  margin-top: 0px;
  cursor: pointer;
  font-size: 0.75rem;
  position: absolute;
  top: -1rem;
  right: -0.90rem;
  box-shadow: 0px 0px 2px 1px rgba(0,0,0,0.2);
}
/* Upload Image End */