.has-error .location-cards {
  border-color: #b94a48;
}

.location-cards {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px;
  margin-top: 15px;
  height: 500px;
  overflow: auto;
}

.location-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  list-style: none;
  margin-bottom: 5px;
  padding: 0;
  overflow: hidden;
}

.location-card:last-of-type {
  margin-bottom: 0;
}

.location-card-title {
  cursor: pointer;
  padding: 10px 4px;
  border-bottom: 1px solid #fff;
  transition: border-bottom 0.25s ease-out, padding-bottom 0.5s ease;
}

.location-card-title.expanded {
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.location-card-title span {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: text-bottom;
  white-space: nowrap;
}

.location-card-title .no-locations {
  margin-left: 8px;
  font-style: italic;
  font-weight: bold;
}

@media only screen and (min-width: 320px) {
  .location-card-title span {
    max-width: 160px;
  }
}

@media only screen and (min-width: 375px) {
  .location-card-title span {
    max-width: 220px;
  }
}

@media only screen and (min-width: 420px) {
  .location-card-title span {
    max-width: 260px;
  }
}

@media only screen and (min-width: 768px) {
  .location-card-title span {
    max-width: 550px;
  }
}

.location-card-title .fa-check-circle {
  color: #b2b2b2;
  font-size: 20px;
  padding: 4px 6px;
  margin-bottom: 0;
}

.location-card-title .fa-check-circle.checked {
  color: green;
}

.location-card-title .fa-info-circle {
  color: #999;
  cursor: pointer;
  font-size: 16px;
  padding: 6px;
}

.location-card-title .fa-chevron-down, .location-card-title .fa-chevron-up {
  padding: 6px;
}

.location-point-cards {
  overflow: hidden;
  padding: 0 10px 10px 10px;
}

.location-point-cards.ng-hide {
  padding: 0;
}

.location-point-card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  list-style: none;
  margin-bottom: 5px;
  padding: 10px 10px 6px 10px;
  overflow: hidden;
}

.location-point-card:last-of-type {
  margin-bottom: 0;
}

.location-point-card .fa-info-circle {
  color: #999;
  cursor: pointer;
  font-size: 16px;
  padding: 2px 4px;
}

.loading-overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loading-overlay i {
  font-size: 40px;
  color: #333;
}