/* Customisations to Theme */
a {
  color: #28a745;
}
a:hover {
  color: #b8c7ce;
}
.btn.disabled {
  opacity: .15;
}
.btn-primary {
	background-color: #28a745;
	border-color: #28a745;
}
.btn-primary:hover {
	background-color: #218838;
  border-color: #1e7e34;
}
.card-primary.card-outline {
	border-top: 3px solid #28a745;
}
.toolbar {
	float: left;
}
#reports-table_length, #asset-table_length {
  float: left;
  padding: 2px 10px;
}
#asset-table_wrapper .dt-buttons {
  float: left;
  margin-left: 10px;
}
.ui-autocomplete {
    position:absolute;
    z-index:2000 !important
}
.ui-menu-item div{
  border-bottom: 1px solid #999999;
  padding: 8px;
}
.table-strikethrough {
  text-decoration: line-through;
}
/* Growing text areas */
/* https://css-tricks.com/the-cleanest-trick-for-autogrowing-textareas/ */
.grow-wrap {
  display: grid;
}
.grow-wrap::after {
  content: attr(data-replicated-value) " ";
  white-space: pre-wrap;
  visibility: hidden;
}
.grow-wrap > textarea {
  resize: none;
  overflow: hidden;
}
.grow-wrap > textarea,
.grow-wrap::after {
  border: 1px solid black;
  padding: 0.5rem;
  font: inherit;
  grid-area: 1 / 1 / 2 / 2;
}
/*Barcode Scanner*/
#sl-scanner-container {
  text-align: center;
}
div#sl-scanner-container > div#interactive > video {
  max-width: 500px;
  max-height: 80vh;
}
div#report-image {
  margin: 10px auto;
}
div#report-image img {
  object-fit: cover;
  max-width: 90%;
}
.document-viewer {
  width: 100%;
  height: 100vh;
}
/* Data tables */
div#files-table_filter {
  text-align: left;
}
div#files-table_filter label {
  width: calc(100% - 50px);
}
div#files-table_filter input.form-control {
  width: 100%;
}
i.list-button {
  margin-right: 12px;
}