.base__outer-wrapper.page-heading{
  border-bottom-left-radius: 50px;
}
.page-heading .module-title{
  margin-bottom:16px;
}
.dealer-search-title {
  background-image:url('https://47418537.fs1.hubspotusercontent-na1.net/hubfs/47418537/website-assests/images/page_title_background.png');
  background-size:cover;
  background-color:var(--primary-2);
  height:200px;
  display:flex;
  align-items:center;
  padding: 0 36px;
  border-bottom-left-radius: 50px;
}

.dealer-search-title h2,h3,h4 {
  color:#ffffff;
}

.dealer-search-wrapper {
  display:flex;
  align-items:stretch;
}

.dealer-search-left {
  max-width:50%;
  width:50%;
}

.dealer-search-right {
  max-width:50%;
  width:50%;
  padding: 0px 80px;
  /* min-height:800px; */
  
}

.dealer-search-map {
  background:var(--tertiary-3);
  border-radius:15px;
  overflow:hidden;
  /* min-height:600px;
  height:600px;
  max-height:90vh; */
}
.dealer-search-contact-data{
  display:flex;
  gap:16px;
  margin-bottom:10px;
}

.dealer-search-contact-data img{
 height:24px;
}


.dealer-search-contact-data p{
 margin:0px;
}

.dealer-search-brief {
  line-height:24px;
  margin-top:16px;
}

.dealer-search-tag-wrapper {
  margin-top:16px;
}

.dealer-search-tag-wrapper span {
  display:inline-block;
  font-size:12px;
  font-weight:700;
  padding:4px 16px;
  background: var(--primary-1);
  border-radius:100px;
  margin-right: 8px;
  margin-bottom: 8px;
}

.dealer-search-tag {

}

.dealer-search-form {
  
}


.text-bold{
  font-weight:700 !important;
}

input#keyword_filter,select#category-filter {
  max-width:640px;
  /* -webkit-appearance:none;
  appearance:none; */
}


input#keyword_filter {
  margin:24px 0px;
}

input#keyword_filter::placeholder {
  opacity:1;
  font-weight:700;
  color:var(--primary-2);
}

.dealer-search-results-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  background:white;
  max-height: 800px;
  overflow-y:auto;
  margin-right:20px;
  background:#fcfcfc;
}

.dealer-search-result {
  border-radius:15px;
  padding:20px;
  border:1px solid var(--tertiary-2);
  /* margin-right:40px;
  margin-bottom:40px; */
  /* width:312px; */
  display:flex;
  flex-direction:column;
  background:white;
  
}

.dealer-search-result-info {
  padding:0px 0px 16px 0px;
  border-bottom:1px solid #d9d9d9;
}

.dealer-search-result-info p.business-name {
  font-weight:700;
  font-size:20px;
  margin-bottom:0px;
}

.dealer-search-result-info p.business-location {
  font-weight:700;
  color:var(--quaternary-3);
  margin-bottom:0px;
}


/* .dealer-search-result-products {
  margin:16px 0px 32px 0px;
  width:100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.dealer-search-result-product {
  background: var(--primary-1);
  border-radius:100px;
  margin-bottom: 8px;
  font-size:12px;
  font-weight:700;
  padding:4px 16px;
  width: fit-content;
} */

.dealer-search-result-products-wrapper {
  flex-grow:1;
}

.dealer-search-result-products {
  margin:16px 0px 32px 0px;
  width:100%;
  display: flex;
  flex-wrap:wrap;
  column-gap:8px;
}

.dealer-search-result-product {
  background: var(--primary-1);
  border-radius:100px;
  margin-bottom: 8px;
  font-size:12px;
  font-weight:700;
  padding:4px 16px;
  width: fit-content;
}


.clear_filter_wrapper {
  max-width:640px;
  text-align:right;
  margin-bottom:20px;
  display:flex;
  justify-content: space-between;
}


.button--small {
  display:none;
}

.clear-filters {
  text-decoration:underline !important;
}

@media screen and (max-width: 1440px) {
  .dealer-search-left,.dealer-search-right {
    /* padding: 60px 100px; */
  }
}

@media screen and (max-width: 1200px) {
  .dealer-search-left,.dealer-search-right {
    /* padding: 60px 80px; */
  }
}

@media screen and (max-width: 1024px) {
  .dealer-search-wrapper {
    flex-direction:column;
    align-items:center;
  }
  .dealer-search-left,.dealer-search-right {
    /* padding: 60px 80px; */
    max-width:100%;
    width:100%;
  }
  .dealer-search-left {
    height:calc((100vh - 116px)/2);
    padding:0px !important;;
  }
  .js-map-key {
    min-height:calc((100vh - 116px)/2) !important;
  }
  .dealer-search-right {
    margin-top:40px; 
    padding: 0px;
  }
  input#keyword_filter,select#category-filter,.clear_filter_wrapper {
    max-width:100%;
    width:100% !important;
  }
}

@media screen and (max-width: 768px) {
  .dealer-search-left {
    height:calc((80vh - 116px)/2);
    padding:0px !important;
    position: sticky;
    top: 120px;
    z-index:20;
  }
  .js-map-key {
    min-height:calc((80vh - 116px)/2) !important;
  }

  .dealer-search-results-wrapper {
    grid-template-columns: auto;
    margin-right:0px;
  }
  .dealer-search-results-wrapper {
    row-gap:25px;
  }
}

@media screen and (max-width: 425px) {
  .dealer-search-left,.dealer-search-right {
    padding: 40px;
  }
  .dealer-search-right {
    margin-top: 0px;
    padding:30px 0 0 0;
  }
  .dealer-search-result-info {
    padding:0px;
  }
  .dealer-search-result {
   
  }
  .dealer-search-results-wrapper {
    row-gap:15px;
  }
  .dealer-search-result-info p.business-name {
    font-size:17px;
  }
  .dealer-search-result-products {
    column-gap: 15px;
    row-gap: 5px;
    margin: 16px 0 16px;
  }

}

@media (min-width: 1024px) and (max-width: 1562px) {
  .dealer-search-results-wrapper {
    grid-template-columns:auto
  }
  .dealer-search-result {
  
  }
}

/*
//////////////////////////////////////////
Google Map Module Styles
//////////////////////////////////////////
*/

.js-map-key {
  height:100%;
  /* max-height:850px; */
  min-height:850px;

}

.gm-style iframe + div { border:none!important; } /* hides focus border */

.map__google-map {
  border-radius: 0;
  height: 100%;
  min-height: 100%;
}

.map__google-map button::before {
  content:none;
}


.map__locations--hidden {
  display: none;
}

.map__infowindow-wrapper {
  word-wrap: break-word;
  max-height: 100%;
  padding: 0 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: flex-start;
  position: relative;
  z-index: 0;
  min-width: 200px;
  margin-right: 20px;
}

.map__infowindow-direction a {
    margin-top: 0;
}

.map__infowindow-title {
  font-weight: 800;
  width: 90%;
  text-decoration: none;
  font-size: 1rem;
  text-transform: uppercase;
  line-height: 1.1;
  
}

.map__infowindow-body {
   
  margin-bottom: auto;
    
}

.map__infowindow-operatingHours {
   
  margin-bottom: auto;
    
}


.poi-info-window div, 
.poi-info-window a {
   
}

.map__infowindow-cta-container {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* override google maps infowindow class styling */
.gm-style-iw {
  padding: 0px !important;
  max-width: 280px !important;
}
  
.gm-style-iw-d {
  padding: 0px !important;
}
  
.gm-ui-hover-effect {
  background-color: #000000 !important;
  min-height: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  width: 20px !important;
  right: 16px !important;
  top: 16px !important;
}

.gm-ui-hover-effect>span {
  background-color: #ffffff !important;
  margin: auto !important;
  width: 20px !important;
  height: 20px !important;
}

.gm-control-active {
  min-height: auto !important;
  min-width: auto !important;
}

.poi-info-window.gm-style {
  padding: 16px 24px 16px 16px;
}

.map__infowindow-email a, .map__infowindow-phone a {
  text-decoration:none;
  color: var(--primary-1) !important;
}