.autocomplete {
  /*the container must be positioned relative:*/
  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;
}
.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9;
}
.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important;
  color: #ffffff;
}

.left {text-align: left !important;}
    /* Style the invoice */
      .invoice {
        border: 1px solid black;
        width: 90%;
        margin: 20px auto;
        padding: 10px;
        box-sizing: border-box;
      } 

      /* Style the table for printing */
      .invoice table {
        border-collapse: collapse;
        width: 100%;
      }
      .invoice td, .invoice th {
        border: 1px solid black;
        padding: 5px;
        box-sizing: border-box;
      }
      .invoice th {
        text-align: left;
      }
      
      /* Style the totals section for printing */
      .invoice .totals {
        border-top: 2px solid black;
        margin-top: 10px;
        padding-top: 10px;
      }
      .invoice .totals td {
        font-weight: bold;
      }
      
      /* Style the payment terms for printing */
      .invoice .payment-terms {
        margin-top: 20px;
        font-size: 0.9em;
      }

	.HoverRed:hover {
	  color: red;
	}
     
    .HoverGreen:hover {
	  color: green;
	}
      
    .HoverBlue:hover {
	  color: blue;
	}
      
    .link {cursor: pointer;}
    .warning {
    	color:red;
    }
    
    .strike {text-decoration: line-through;
    text-decoration-thickness: 2px;}
    
@media print {
	/* Hide non-essential elements when printing */
	nav, header, footer, .noprint, .sidebar{
	display: none !important;
	}
  /* Style the invoice */
      .invoice {
        page-break-inside: avoid;
        border: 0px solid black;
	}

	.bg-gradient-primary {
    	background-color: transparent !important;
    	background-image: none;
	}
}    



.btn-tight {
	padding: .1rem;
}