
/* bmg-autocomplete */
/*the container must be positioned relative:*/
.bmg-autocomplete {
  position: relative;
  display: inline-block;
}
/*
input {
  border: 1px solid transparent;
  background-color: #f1f1f1;
  padding: 10px;
  font-size: 16px;
}

input[type=text] {
  background-color: #f1f1f1;
  width: 100%;
}

input[type=submit] {
  background-color: DodgerBlue;
  color: #fff;
  cursor: pointer;
}*/

.bmg-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;
}

/*.bmg-autocomplete-items div {*/
/*  display: inline-block;*/
/*}*/

.bmg-autocomplete-items .bmg-autocomplete-image {
	height: 54px;
	width: 54%;
	object-fit: contain;
}

.bmg-autocomplete-items .bmg-autocomplete-item {
  padding: 10px;
  cursor: pointer;
  background-color: #fff; 
  border-bottom: 1px solid #d4d4d4;
  color:#000;
}

/*when hovering an item:*/
.bmg-autocomplete-items .bmg-autocomplete-item :hover {
  background-color: #e9e9e9; 
}

/*when navigating through the items using the arrow keys:*/
.bmg-autocomplete-active {
  background-color: DodgerBlue !important; 
  color: #ffffff; 
}

.bmg-autocomplete-items {
  max-height: calc(100vh - 80px);
  overflow: auto;
}
@media (max-width: 992px) {
  .bmg-autocomplete-items {
      max-height: calc(100vh - 120px);
  }
}
