body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  opacity: 1 !important;
  margin: 0;
  font-family:
    Nunito Sans,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Roboto,
    Helvetica Neue,
    Arial,
    sans-serif,
    Apple Color Emoji,
    Segoe UI Emoji,
    Segoe UI Symbol;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.49;
  color: #31374a;
  background-color: #f5f7fa;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
table th,
table td {
  font-size: 0.75rem;
}
.logo_section img {
  width: 50px; /* 75px for rect and 50px for square */
}
.modal-header,
.modal-footer {
  background-color: #f5f7fa;
}
.content_row {
  position: relative;
  width: 100%;
  height: 90vh;
}
i {
  margin-right: 10px;
}
.top-nav {
  line-height: 3rem;
  height: 4rem;
  background-color: #fff;
}
.logo_section span {
}
.nav-link {
  color: #6c757d;
  border: 1px solid transparent;
  margin-bottom: 2px;
  border-radius: 10px;
  padding: 0.3rem 1rem;
}
.nav-link:focus-visible {
  outline: none;
}
.left_menu .nav-link:hover {
  border: 1px solid #c9cccf;
  /* font-weight: 600; */
}
.left_menu .active {
  color: #0a58ca;
}
hr {
  color: #c2c2c2;
}
.page_listing {
  margin: 10px;
  min-height: 500px;
  border: 1px solid #dee2e6 !important;
  border-radius: 10px;
  background-color: #fff;
  max-height: 600px;
  overflow: auto;
}
.list_head {
  color: #6c757d;
  border: 1px solid transparent;
  margin-bottom: 2px;
  border-radius: 10px;
  padding: 0.3rem 0.2rem;
  display: block;
  text-decoration: none;
  transition:
    color 0.15s ease-in-out,
    background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out;
}
.dataTables_wrapper {
  position: relative;
  margin: 15px 10px 10px 20px;
  clear: both;
  border: 1px solid #c9cccf;
  border-radius: 10px;
  overflow: auto;
  padding: 20px;
  background: #f5f7fa;
}
[type='search']:focus-visible {
  outline: none;
}
.frmc:focus {
  box-shadow: none;
}
.modal-footer {
  justify-content: center;
}
input,
select {
  font-weight: 700 !important;
}
.modal-body {
  min-height: 100px;
}
.form-select,
.frmc {
  font-size: 0.8rem;
}
.login_form img {
  width: 100px;
  margin: 0px auto;
}

#form_alert,
#otp_div {
  display: none;
}
.width50p {
  width: 50%;
  margin: 0px auto;
}
.page404 img {
  width: 100%;
}
.page404 .card {
  width: 30%;
}
.page404 {
  text-align: -webkit-center;
}
a {
  text-decoration: none;
}
.home {
  cursor: pointer;
}
.pointer {
  cursor: pointer;
}
#confirm_body {
  min-height: 50px !important;
}
.hide {
  display: none;
}
.separator {
  display: flex;
  align-items: center;
  text-align: center;
  color: #a2a7aa;
}

.separator::before,
.separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #dce0e4;
}

.separator:not(:empty)::before {
  margin-right: 0.25em;
}

.separator:not(:empty)::after {
  margin-left: 0.25em;
}
.modal-fullscreen .modal-body {
  background-color: #fff;
}
.toast img {
  width: 20px;
}

.file_control > .form-floating > img {
  position: absolute;
  width: 36px;
  top: 10px;
  right: 10px;
  cursor: pointer;
}
.left_menu {
  max-height: 85vh;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
  /* display: none; */
}

#preloader:before {
  content: '';
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #84c440;
  border-top-color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#data_table {
  display: none;
}
.dataTables_length {
  margin-top: 6px;
  margin-left: 10px;
}
.text_bold {
  font-weight: 900;
}
#toggle_menu {
  padding: 20px;
}
#pdfContainer {
  display: none;
}
canvas {
  width: 100%;
}
.relative {
  position: relative;
}
#create_challan {
  position: absolute;
  right: 0px;
  top: 0px;
  width: 30px;
  padding: 6px;
  cursor: pointer;
  color: #000;
  font-size: 18px;
  font-weight: bold;
}
/* General table styling */
table.dotted-table {
  width: 100% !important;
  border-collapse: collapse;
  text-align: left;
}

/* Dotted borders for table and cells */
table.dotted-table,
table.dotted-table th,
table.dotted-table td {
  border: 1px dotted black;
}

/* Header styling */
table.dotted-table th {
  background-color: #f4f4f4;
  font-weight: bold;
  padding: 10px;
}

/* Cell styling */
table.dotted-table td {
  padding: 8px;
}
#search_po_number {
  background: #f3ffe9;
}
.navigate_actions {
}
.opencard {
  cursor: pointer;
}
.navigate_actions .btn {
  font-size: 13px;
  margin-right: 10px;
}
.dashboard_cards .card h5 {
  font-size: 16px;
}
.toast-container {
  z-index: 1100; /* Higher than the modal's z-index (1055) */
}
.tcenter {
  text-align: center;
}
#material_edit {
  display: none;
  background: #4d4f52;
  z-index: 1000000;
  position: absolute;
  top: 8px;
  height: 170vh;
  right: 0px;
  width: 100%;
  text-align: end;
}
#parts_row i {
  cursor: pointer;
}
.quote_card .form-check-label {
  text-transform: uppercase;
}
.drillhole .form-check-label {
  padding-left: 30px !important;
  background-size: contain;
  background-repeat: no-repeat;
  background-position-x: left;
}
.drillhole {
  padding-left: 0px !important;
}
.freehole {
  background-image: url(../img/free.svg);
}
.tapping {
  background-image: url(../img/tapping.svg);
}
.rimmer {
  background-image: url(../img/rimmer.svg);
}
.counter {
  background-image: url(../img/counter.svg);
}

.drillholes .input-group-sm > .btn,
.drillholes .input-group-sm > .frmc,
.drillholes .input-group-sm > .form-select,
.drillholes .input-group-sm > .input-group-text {
  padding: 0.25rem 0.2rem;
  font-size: 11px;
  border-radius: 0.2rem;
}
#subpart_html .tcenter {
  text-align: start;
}
.image_upload {
  position: absolute;
  width: 36px;
  top: 10px;
  right: 10px;
  cursor: pointer;
}
tr.thursday {
  background: rgb(255 248 222) !important;
}
tr.absent {
  background: rgb(248 241 241);
}
tr.cadetblue {
  background: burlywood;
}
.layout_details span {
  font-weight: 600;
}

.layout_details .input-group-text {
  width: 50%;
}
.layout_details .form-control {
  font-weight: 600;
}
.layout_details .form-control:focus {
  box-shadow: none;
}
.layout_details .form-control[readonly] {
  background: #e9ecef;
  opacity: 1;
}
#part_lname {
  font-size: 13px;
  padding: 5px;
  color: blue;
  font-weight: bold;
}
