/*Estimate page CSS*/
.labelText {
  font-size: 15px;
  color: var(--falcon-input-color);
}

.valueText {
  font-size: 12px;
}

.barcode {
  font-size: 12px;
}

.nowrap-title {
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-box,
.close-icon,
.search-wrapper {
  position: relative;
  text-align: left;
  font-size: 15px;

}

.itemdecs {
  font-size: 11px;
}

.cross-icon svg {
  cursor: pointer;
  float: right;
  font-size: 1rem !important;
}

.close-icon {
  border: 1px solid transparent;
  background-color: transparent;
  display: inline-block;
  vertical-align: middle;
  outline: 0;
  cursor: pointer;
}

.close-icon:after {
  content: "X";
  display: block;
  width: 15px;
  height: 15px;
  position: absolute;
  background-color: #FA9595;
  z-index: 1;
  right: 20px;
  top: 5px;
  bottom: 0;
  margin: auto;
  padding: 2px;
  border-radius: 50%;
  text-align: center;
  color: white;
  font-weight: normal;
  font-size: 12px;
  box-shadow: 0 0 2px #E50F0F;
  cursor: pointer;
}

.search-box:not(:valid)~.close-icon {
  display: none;
}

.form-control1 {
  text-align: left;
  display: block;
  width: 100%;
  padding: .3125rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--falcon-input-color);
  background-color: var(--falcon-input-bg);
  background-clip: padding-box;
  border: 1px solid var(--falcon-input-border-color);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: .25rem;
  -webkit-box-shadow: var(--falcon-box-shadow-inset);
  box-shadow: var(--falcon-box-shadow-inset);
  -webkit-transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
  transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
  -o-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
}

.form-control1:focus {
  color: var(--falcon-input-color);
  background-color: var(--falcon-input-bg);
  border-color: var(--falcon-input-focus-border-color);
  outline: 0;
  -webkit-box-shadow: var(--falcon-box-shadow-inset), 0 0 0 .25rem rgba(44, 123, 229, .25);
  box-shadow: var(--falcon-box-shadow-inset), 0 0 0 .25rem rgba(44, 123, 229, .25);
}

.post-title {

  max-width: 100px;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* max-width: 500px;
  word-wrap: break-word; */
}

.post-title2 {
  max-width: 100px;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /* max-width: 500px;
  word-wrap: break-word; */
}

.data-edit {
  text-align: center;
}

a.btn.bg-gradient-primary.mb-0.ms-8.btn-float.btn-edit {
  background-color: red;
  color: white;
  padding-left: 8px;
  padding-right: 8px;
}

.data-edit {
  text-align: center;
}

.valuePadding {
  border: 1px inset #ccc;
}

.valuePadding input {
  border: none;
  padding: 0px;
  outline: none;
}

.wrapper .search-input {
  background: #fff;
  width: 100%;
  border-radius: 5px;
  position: relative;
  box-shadow: 0px 1px 5px 3px rgba(0, 0, 0, 0.12);
}

.search-input input {
  height: 40px;
  width: 100%;
  outline: none;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
}

.search-input.active input {
  border-radius: 5px 5px 0 0;
}

.search-input .autocom-box {
  padding: 0;
  opacity: 0;
  pointer-events: none;
  max-height: 280px;
  overflow-y: auto;
}

.search-input.active .autocom-box {
  padding: 10px 8px;
  opacity: 1;
  pointer-events: auto;
}

.autocom-box li {
  list-style: none;
  padding: 8px 12px;
  display: none;
  width: 100%;
  cursor: default;
  border-radius: 3px;
}

.search-input.active .autocom-box li {
  display: block;
}

.autocom-box li:hover {
  background: #efefef;
}

.search-input .icon {
  position: absolute;
  right: 0px;
  top: -8px;
  height: 55px;
  width: 55px;
  text-align: center;
  line-height: 55px;
  font-size: 20px;
  color: #644bff;
  cursor: pointer;
}

.table-item tr td:first-child {
  width: 55%;
  text-align: center;
}

.table-item tr td:nth-child(2) {
  width: 10%;
  text-align: center;
}

.table-item tr td:nth-child(3) {
  width: 20%;
  text-align: center;
}

.table-item tr td:nth-child(4) {
  width: 40%;
  text-align: center;
}

.table-item tr td:nth-child(5) {
  width: 40%;
  text-align: center;
}

.table-item tr td:nth-child(5) {
  width: 40%;
  text-align: center;
}

#mytable th {
  font-weight: bold;
  text-align: center;
}

button.btn.btn-falcon-default.btn-sm.me-2.btn-send-edit {
  color: white;
  background-color: #c94e20;
  border-radius: 5px;
}

.colour {
  color: red;
}

.btn-success-edit {
  background-color: #04aa6d !important;
  border-radius: 5px;
  font-size: 17px;
  font-family: "Source Sans Pro", sans-serif;
  padding: 6px 18px;
  color: white;
  border-color: white !important;
}

#view_type_sorting {
  font-family: "FontAwesome";
}

#view_type_sorting {
  font-family: "FontAwesome";
  font-size: 14px;
}

#view_type_sorting::before {
  vertical-align: middle;
}

.row-currency {
  float: left;
  /*width: 50%;*/
}

.label {
  float: left;
}

input.datatext {
  height: 25px;
  position: relative;
  left: 3px;
  display: inline !important;
}

select.contentselect {
  /* position: absolute;
  height: 29px;
  border-left: none; */
  /* border: cyan; */
  /* border-color: #d3d3ca !important; */
  border: none;
  background-color: var(--falcon-200);
  color: var(--falcon-input-color);
}

.input-group-select {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: .05rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--falcon-input-color);
  text-align: center;
  white-space: nowrap;
  background-color: var(--falcon-200);
  border: 1px solid var(--falcon-input-border-color);
  border-radius: .25rem;
}

#fulladdress span {
  margin: 6px;
  letter-spacing: 0px;
  font-weight: 400;
}

#salepersonaddress span {
  margin: 6px;
  letter-spacing: 0px;
  font-weight: 400;
}

/*the container must be positioned relative:*/
.autocomplete {
  position: relative;
  display: inline-block;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}

/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9;
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: DodgerBlue !important;
  color: #ffffff;
}

select {
  /* -webkit-appearance: none; */
  /*webkit browsers */
  /* -moz-appearance: none; */
  /*Firefox */
  /* appearance: none; */
  /* modern browsers */
  border-radius: 0;
}

#hideValuesOnSelect {
  display: none;
}

.address-edit {
  margin-bottom: 1rem;
  font-style: normal;
  line-height: inherit;
  margin-top: 20px;
  font-weight: 400;
}

span#billingaddress {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

span#shippingaddress {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

span#salespersonaddress {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#auto-complete-container {
  display: block;
  position: relative;
}

.ui-autocomplete {
  position: absolute !important;
}

.ui-autocomplete {
  list-style: none;
  padding: 0;
  max-width: 500px !important;

}

.ui-autocomplete li {
  padding: 5px 10px;
  background-color: var(--falcon-input-bg);
  border: 1px solid #dddddd;
  cursor: pointer;
}

.itemInput {
  max-height: 30px !important;
}

.ui-autocomplete {
  z-index: 1;
  text-align: left;
}

select#tax {
  width: 100px;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position-x: 100%;
  background-position-y: 5px;
  /* border: 1px solid #dfdfdf; */
  /* border-radius: 2px; */
  /* margin-right: 2rem; */
  /* padding: 1rem; */
  padding-right: 1rem;
}

input#linetotal {
  width: 100px;
  border: 1px solid #dfdfdf;
  border-radius: 2px;
}

.total td:nth-child(2) {
  /* background: #ccc; */
  width: 250px;
}

select.form-control.select.customer-select {
  width: 86%;
}

input.linetotal {
  width: 100px;
}

.row.row-pagination {
  justify-content: center;
}

.lineDiscount {
  display: none;
}

.lineItemDiscount .lineDiscount {
  display: contents !important;
}

.disc {
  min-width: 50px !important;
}

.w-115 {
  width: 115%;
}

.card.mb-3.subtotal-card {
  /* width: 800px; */
  margin-left: 20px;
}

.linediscountdatatext {
  height: 25px;
  position: relative;
  left: 3px;
  display: inline !important;
}

.linediscountselect {
  position: absolute;
  height: 25px;
  /* border-left: none; */
  /* border: cyan; */
  border-color: #d3d3ca !important;
  left: 68px;
  
  /* margin: 10px; */
}

.ui-helper-hidden-accessible {
  display: none !important;
}

/* Sales order */

.orders tr th {
  padding: 15px;
}

.discountStyle {
  margin-right: 23px;
  margin-left: 9px;
  /* align-items: center; */
  margin-top: 12px;
}

/* Sales invoices */
h3.fs--2.mb-0.text-nowrap.outstandingamount {
  font-size: 12px !important;
}

h6.mb-0.outstanding {
  font-size: 12px;
  line-height: 15px;
  color: grey;
}

/* Sales challan */

select.form-control.select.customer-select {
  width: 100%;
}

.amount {
  padding-right: 0rem !important;
}

h6.fw-bold.selectCustomer {
  display: inline-block;
  margin-bottom: 0.5rem !important;
}

span.addCustomer {
  float: right;

  margin-right: 5px;
  margin-bottom: 0.5rem;
}

.addCustomer a {
  color: green !important;
}

.addCustomer a:hover {
  text-decoration: none;
}

span.txtAdd {
  font-weight: bold;
  font-size: 13.8px;
  color: green;
  margin-right: 5px;
}

.container {
  max-width: 98%;
}

.select2-selection__rendered {
  padding: .15rem 3rem .15rem 1rem !important;
  -moz-padding-start: calc(1rem - 3px);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
}

.select2-selection {
  height: 100% !important;
  color: var(--falcon-input-color);
  background-color: var(--falcon-input-bg);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%234d5969' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 12px;
  border: 1px solid var(--falcon-input-border-color) !important;
  border-radius: .25rem !important;
  -webkit-box-shadow: var(--falcon-box-shadow-inset);
  box-shadow: var(--falcon-box-shadow-inset);
  -webkit-transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
  transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
  -o-transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.select2-selection__arrow {
  display: none;
}

.select2-container {
  width: 100% !important;
}

.select2-results__option {
  color: var(--falcon-headings-color);
}

.remove-form-style {
  padding: 0 !important;
  /* background-color: var(--falcon-input-color); */
  background-position: right 0rem center !important;
  border: none !important;
  box-shadow: none !important;
}

.select2-dropdown, .select2-selection, .select2-search--dropdown, .select2-search__field{
  background-color: var(--falcon-input-bg) !important;
}

.select2-selection__rendered{
  color: var(--falcon-input-color) !important;
}

.customer-table {
  display: block;
}
.customer-cards {
  display: none;
}

/* On screens smaller than 1024px, hide the table and show the cards */
@media (max-width: 1024px) {
  .customer-table {
    display: none;
  }
  .customer-cards {
    display: block; /* Show cards on small screens */
  }

  /* Optional styling for cards on small screens */
  .card {
    border: 1px solid #ddd;
    margin: 10px 0;
    padding: 15px;
    border-radius: 5px;
    background-color: white;
  }
  .card-body-responsive {
    margin: 10px 0;
  }
  .mt-1 {
    margin-top: 1;
  }

}