main {
  min-height: calc(100vh - 340px);
}

.find-dealer-title {
  margin-top: 71px;
  padding: 3rem 0 2rem 0;
}

@media screen and (min-width: 900px) {
  .find-dealer-title {
    padding: 6rem 0 4rem 0;
  }
}

.find-dealer-title .title {
  font-size: 2.625rem;
  line-height: 1.13;
  margin: 0 0 1rem 0;
}

@media screen and (min-width: 900px) {
  .find-dealer-section .title {
    font-size: 3rem;
  }
}

@media screen and (min-width: 1400px) {
  .find-dealer-section .title {
    font-size: 3.375rem;
    line-height: 1.13;
  }
}

.find-dealer-section .secondary-title p {
  font-size: 1.25rem;
  margin: 0 0 1rem 0;
  font-weight: 400;
  line-height: 1.75;
}

.find-dealer-search .book-button,
.dealer-card .book-button {
  display: inline-block;
  width: 100%;
  max-width: 250px;
  text-align: center;
  border: solid 1px #006c83;
  background: #006c83;
  color: #fff;
  padding: 1.0001rem 2rem;
  font-size: 18px;
  font-weight: 400;
  white-space: nowrap;
  -webkit-transition: all 400ms linear;
  transition: all 400ms linear;
  line-height: 1;
  text-decoration: none;
}

.find-dealer-search .book-button:hover,
.dealer-card .book-button:hover {
  background: #fff;
  color: #006c83;
}

.find-dealer-search .reverse {
  background: #fff;
  color: #006c83;
}

.find-dealer-search .reverse:hover {
  border: solid 1px #006c83;
  background: #006c83;
  color: white;
}

.find-dealer-search input {
  height: 52px;
}

.find-dealer-search p {
  font-size: 1.25rem;
  margin: 0 0 1rem 0;
  font-weight: 400;
  line-height: 1.75;
}

.dealership-result {
  width: 100%;
  height: 100%;
  background-color: #eeefef;
  padding: 4rem 0;
  flex-grow: 1;
}

.dealership-result .map {
  min-height: 300px;
}

@media screen and (min-width: 1024px) {
  .dealership-result .map {
    height: 600px;
  }
}

.dealer-card {
  background: #fff;
  padding: 2rem;
  margin-bottom: 2rem;
}

.dealer-card .book-button {
  width: 100%;
  min-width: 100%;
}

.dealer-card h5 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem 0;
}

.dealer-card p {
  font-size: 1.25rem;
  font-weight: 400;
  margin: 0;
  line-height: 1.24;
}

.dealer-card .contact-details {
  border-top: solid 1px #eeefef;
  padding: 1rem 0 2rem 0;
}

.dealer-card .title {
  padding: 0 0 1rem 0;
}

.dealer-card .sales-services p {
  margin: 0 0 1rem 0;
}

.dealerships {
  height: 535px;
  overflow-y: scroll;
}

.dealerships h2 {
  font-size: 1.875rem;
}

.program-banner {
  background-image: url("https://saicmaxus.co.uk/wp-content/uploads/2023/03/book-your-test-drive-today-1.jpg");
  background-size: cover;
  background-position: center;
  padding: 8rem 0;
  position: relative;
}

.program-banner .gradient {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(255, 255, 255, 0);
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 33%,
    rgba(0, 0, 0, 0.8) 100%
  );
}

.program-banner .book-button {
  display: inline-block;
  width: 100%;
  max-width: 250px;
  text-align: center;
  border: solid 1px #fff;
  background: #fff;
  color: #000;
  padding: 1.0001rem 2rem;
  font-size: 18px;
  font-weight: 400;
  white-space: nowrap;
  -webkit-transition: all 400ms linear;
  transition: all 400ms linear;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.program-banner .book-button:hover {
  background: none;
  color: #fff;
}

.program-banner h3 {
  color: white;
}

.program-banner p {
  color: white;
}

.marker-icon {
  width: 64px;
  height: 64px;
  border: 3px solid #0087af;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4px;
}

.info-popup {
  display: flex;
  flex-direction: column;
}

.info-popup h1 {
  font-size: 18px;
  margin-bottom: 3px;
}

.info-popup h1:hover {
  color: #0087af;
}

.info-popup p {
  font-size: 15px;
  line-height: 20px;
  margin-bottom: 0.5rem;
}

.info-popup a {
  background-color: #0087af;
  border-color: #0087af;
  color: white !important;
  text-decoration: none;
  color: white;
  border-radius: 50rem;
  padding: 8px 16px;
  width: fit-content;
}

.list-result {
  position: absolute;
  top: 52px;
  left: 0;
  list-style-type: none;
  margin: 0;
  padding: 0;
  z-index: 99999;
  width: 100%;
}

.list-result li {
  padding: 4px 8px;
  background-color: white;
  cursor: pointer;
}

.list-result li:hover {
  background-color: #0087af;
  color: white;
}

.hide {
  display: none;
}
