
/* Nav bar */
.dropdown-item {
  padding: 5px 10px;
  cursor: pointer;
}
.dropdown-item:hover {
  background-color: #555;
}


/* Results grid */
.lot {
  width: calc((100%/5) - 18px);
  min-width: 250px;
}

.card-img-top {
  object-fit: contain;
  margin: auto;
  cursor: pointer;
}

.favourite {
  top: 5px;
  left: 5px;
  background-color: #dc3545;
  z-index: 10;
}

.favourited {
  background-color: #28a745;
}

.ignore-lot {
  top: 5px;
  right: 5px;
  background-color: #6c757d;
  font-size: .6rem;
  width: 30px;
  height: 30px;
}

.ignored-lot {
  background-color: #28a745;
}

.new {
  background-color: var(--bs-primary-bg-subtle);
}

#back-to-top {
  display: none; /* Initially hidden */
  position: fixed;
  bottom: 20px;
  left: 20px;
  border-radius: 50%;
  z-index: 1000;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-size: 20px;
}

#back-to-top:hover {
  background-color: #0056b3;
}


/* Global styling */
.one-line {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  max-height: 1.5em;
  line-height: 1.5em;
}

.two-lines {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  max-height: 3em;
  line-height: 1.5em;
}

.custom-button {
  padding: 8px;
  border-radius: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.small-button {
  width: 30px;
  height: 30px;
  font-size: .7rem;
}

.big-button {
  width: 40px;
  height: 40px;
  font-size: 1.25rem;
}

.close {
  top: -15px;
  right: -15px;
  background-color: #dc3545;
}

a, a:hover {
  text-decoration: none !important;
}

.input-icon {
  position: absolute !important;
  right: 15px; 
  top: 50%;
  transform: translateY(-50%);
  z-index: 5 !important;
  pointer-events: auto;
}

.mt-04 {
  margin-top: .4rem !important;
}

.clickable {
  cursor: pointer;
}