.map_wrapper{
  max-width:1440px;
  margin:auto;
  position:relative;
}
* {
  box-sizing: border-box;
}

.sidebar {
  position: absolute;
  width: 30%;
  height: 800px;    
  top: auto;
  margin-right:20px;
  left: 0;
  overflow: hidden;
  border-radius: 30px 30px 0 0;   
  border-bottom:none;
}

.map {
  position: absolute;
  left: 33.3333%;
  width: 65%;
  height:800px;
  top: 0;
  bottom: 0;
  border-radius:30px;
}

h1 {
  font-size: 22px;
  margin: 0 0 0 -2px;
  font-weight: 400;
  line-height: 20px;
  padding: 20px 2px;
}

a {
  color: #404040;
  text-decoration: none;
  transition: none!important;}
}

a:hover {
  color: #101010;
}

.heading {
  background: #fff;
  border-bottom: 1px solid #eee;
  min-height: 60px;
  line-height: 60px;
  padding: 0 40px;
  background-color: #538a30;
  color: #fff;
  text-transform: capitalize;
}

.listings {
  height: 100%;
  overflow: auto;
  padding-bottom: 60px;
}

.listings .item {
  display: block;
  border-bottom: 1px solid #4F5552;
  padding: 32px 32px 32px 40px;
  text-transform: capitalize;
}

.listings .item div{
  font-weight: 500;
  font-size: 17px;
  line-height: 140%;
  letter-spacing: 0%;
}

.listings .item:last-child {
  border-bottom: none;
}

.listings .item .title {
  display: block;
  font-weight: 700;
  text-transform: capitalize!important;
  font-size: 18px;
  line-height: 130%;
  letter-spacing: 0%;
}

.listings .item .title small {
  font-weight: 400;
  text-transform: capitalize;
}

.listings .item.active, .listings .item:hover, .listings .item:active, .listings .item .title:active {
  background-color: #F8F8F8;
}


.marker {
  border: none;
  cursor: pointer;
  height: 37px;
  width: 23px;
  background-image: url('https://45924031.fs1.hubspotusercontent-na1.net/hubfs/45924031/Location%20Logo.svg');
}

.user-icon {
  width: 20px;
  height: 20px;
  background-color: red;
  border-radius: 50%;
}


/* Marker tweaks */
.mapboxgl-popup {
  padding-bottom: 50px;
}

.mapboxgl-popup-close-button {
  display: none;
}

.mapboxgl-popup-content {

  padding: 0;
  width: 400px;
}

.mapboxgl-popup-content h3 {
  background: #538A30;
  color: #fff;
  margin: 0;
  padding: 10px;
  border-radius: 3px;
  font-weight: 700;
  margin-top: -15px;
  font-size:20px;
}

.mapboxgl-popup-content h4 {
  margin: 0;
  padding: 10px;
  font-weight: 400;
}

.mapboxgl-popup-content div {
  padding: 10px;
}

.mapboxgl-popup-anchor-top > .mapboxgl-popup-content {
  margin-top: 15px;
}

.mapboxgl-popup-anchor-top > .mapboxgl-popup-tip {
  border-bottom-color: #91c949;
}

.mapboxgl-ctrl-geocoder, .mapboxgl-ctrl-geocoder .mapboxgl-ctrl-geocoder--input, #geocoder, .geocoder {
  width:100%!important;
  margin:0 auto;
  max-width:none!important;}

.mapboxgl-ctrl-geocoder{
  background-color:transparent!important;}

.mapboxgl-ctrl-geocoder--input{
  background-color:#ffffff!important;}

.mapboxgl-ctrl-geocoder, .mapboxgl-ctrl-geocoder .suggestions {
  box-shadow: none!important;}

.pwr-cta--custom-01 .hs-submit, .pwr-cta--custom-01 [class*=cta_button]:not(.pwr-cta):not(.pwr-cta--hubspot-style) {
  box-shadow: none!important;
}
.map_wrapper .sidebar button#use-my-location {
  border-radius:50% 0% 0% 50%;
  max-width: 48px;
  min-width: 48px;
  padding: 9.5px;
  background: var(--clr-background-accent-dk);
}
.map_wrapper .sidebar button#use-my-location span {
  display: flex;
}

{# =============== updated css start ============= #}
.map_box_section .wrapper {
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}
.map_box_section .map_wrapper .sidebar .heading .geocoder {
  display: flex;
}
.map_box_section .map_wrapper .sidebar .heading {
  background-color: unset;
  padding: 0;
  border-bottom: unset;
}
.map_box_section .sidebar {
  background-color: #F8F8F8;
  border: 1px solid #E0E0E0;
  padding: 32px 32px 0px;
  border-radius: 22px;
  width: 31.25%;
  height: 635px;
}
.map_box_section .map_wrapper .sidebar .mapboxgl-ctrl-geocoder button:not(.mapboxgl-ctrl-geocoder--button) {
  left: unset;
  right: 0px;
  background: var(--clr-background-accent-dk);
  border-radius: 0% 50% 50% 0%;
  max-width: 48px;
  width: 100%;
  height: 45px;
  top: 0px;
}
.map_box_section .map_wrapper .sidebar button#use-my-location {
  border-radius:50% 0% 0% 50%;
  max-width: 48px;
  padding: 9.5px;
  background: var(--clr-background-accent-dk);
  margin-top: 0px;
}
.map_box_section .map_wrapper .sidebar button#use-my-location:after {
  content: unset;
}
.map_box_section .sidebar .listings {
  scrollbar-width: none;
  height: calc(100% - 177px);
  padding-bottom: 40px;
}
.map_box_section .sidebar .result_conta h6 {
  margin-bottom: 0px;
  font-size: 17px;
  letter-spacing: 0.5px;
  line-height: 1.35;
  color: #002E6E;
}
.map_box_section .map_wrapper .sidebar input.mapboxgl-ctrl-geocoder--input {
  max-width: calc(100% - 56px) !important;
  border-radius: 0px;
  box-shadow: 2px 4px 7px 0px #00000069 inset;
  border: 1px solid #E0E0E0 !important;
  margin-left: 4px;
  margin-right: 0px;
  padding: 14.5px 16px 8.5px !important;
}
body.wrapper-mac-adjust .map_box_section .map_wrapper .sidebar input.mapboxgl-ctrl-geocoder--input{
  padding: 9.5px 16px 13.5px !important;
}
.map_box_section .listings .item {
  border: 1px solid #E0E0E0;
  background-color: #ffffff;
  border-radius: 29px;
  margin-bottom: 16px;
  padding: 18px 32px 16px;
}
.map_box_section input.mapboxgl-ctrl-geocoder--input::placeholder {
  font-size: 17px;
  color: #828282;
}
.listings .item .accordion_header {
  position: relative;
}
.listings .item .accordion_header:before {
  content: "";
  background-color: var(--clr-primary);
  display: block;
  height: 2px;
  transition: all .3s ease-in-out;
  width: 14px;
  position: absolute;
  right: 0px;
  top: 7px;
}
.listings .item .accordion_header:after {
  content: "";
  position: absolute;
  -webkit-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
  transition: .3s ease-in-out;
  background-color: var(--clr-primary);
  display: block;
  height: 2px;
  transition: all .3s ease-in-out;
  width: 14px;
  right: 0;
  left: unset;
  top: 7px;
}
.listings .item.expanded .accordion_header:after {
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
  transition: .3s ease-in-out;
}
.listings .item .accordion_header {
  padding: 0px 20px 0 0;
  cursor: pointer;
}
.dealer_locator .accordion_description {
  height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.dealer_locator .item .accordion_description {
  transition: all 0.5s ease-in-out;
}
.dealer_locator .item.expanded .accordion_description {
  /* max-height dynamically set by JS */
  margin-top: 5px;
  padding-bottom:5px;
  transition: all 0.5s ease-in-out;
}
.map_box_section .map_wrapper .sidebar .toggle_button label {
  color: var(--clr-text-lt);
  font-size: 16px;
}
.map_box_section .result_conta {
  border-bottom: 1px solid #002E6E;
  margin-bottom: 32px;
  padding-bottom: 2px;
}
.map_box_section .map_wrapper .sidebar .listings .item button.pwr-cta_button {
  padding: 14px 28px 11px;
  background: #002E6E;
}
.map_box_section .listings .item .title {
  letter-spacing: 0.5px;
  color: #021B2D;
}
.map_box_section .listings .item .title:hover {
  color: var(--clr-background-accent-dk);
}
.map_box_section .listings .item.active .title {
  color: var(--clr-background-accent-dk);
}
.map_box_section .listings .item div {
  font-weight: 400;
}
.map_box_section .map {
  border-radius: 22px;
  width: 65.63%;
  left: 34.3333%;
  height: 635px;
}
.map_box_section .map_wrapper .sidebar .mapboxgl-ctrl-geocoder button.mapboxgl-ctrl-geocoder--button {
  right: 55px;
}
.map_box_section .heading_conta h2 {
  line-height: 1.3;
  letter-spacing: 0.5px;
  margin-bottom: 0;
}
.map_box_section .desc_conta p {
  margin-bottom: 0;
}
.map_box_section .heading_conta {
  margin-bottom: 15px;
}
.map_box_section .desc_conta {
  margin-bottom: 43px;
}
.map_box_section .mapboxgl-popup-content h3 {
  background-color: #007DB7;
}


/* Base radio styled like checkbox */
.toggle_button input[type="radio"] {
  width: 18px;
  height: 18px;
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid #007DB7;
  border-radius: 4px;
  background-color: #fff;
  position: relative;
  cursor: pointer;
}

/* Checked state */
.toggle_button input[type="radio"]:checked {
  background-color: #007DB7;
  border-color: #007DB7;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.53553 4.94975L1.41421 2.82843L0 4.24264L3.53553 7.77817L9.8995 1.41421L8.48528 0L3.53553 4.94975Z' fill='%23F7FBFF'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}
.map_box_section .map_wrapper .sidebar .toggle_button label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
  -webkit-column-gap: 3px;
  -moz-column-gap: 3px;
  column-gap: 3px;
}
.map_box_section .mapboxgl-ctrl-geocoder {
  min-width: unset;
}
.map_box_section .mapboxgl-popup-content p {
  font-family: var(--ff-base);
}
.map_box_section .mapboxgl-popup-content p a {
  word-wrap: break-word;
}
.map_box_section .map_wrapper .sidebar .listings .item button.pwr-cta_button {
  position: relative;
  z-index: 1;
  background: unset;
}

.map_box_section .map_wrapper .sidebar .listings .item button.pwr-cta_button:before {
  bottom: 0;
  content: "";
  display: block;
  left: 0;
  position: absolute;
  width: 100%;
  z-index: -1;
  background-color: #002e6e;
  top: 0;
}
.map_box_section .map_wrapper .sidebar .listings .item button.pwr-cta_button:after {
  bottom: 0;
  content: "";
  display: block;
  left: 0;
  position: absolute;
  width: 100%;
  z-index: -1;
  background-color: #007db7;
  height: 0%;
}

.map_box_section .map_wrapper .sidebar .listings .item button.pwr-cta_button:hover:after {
  height: 100%;
}



.wrapper-mac-adjust .map_box_section .map_wrapper .sidebar .listings .item button.pwr-cta_button,
.browser-safari .map_box_section .map_wrapper .sidebar .listings .item button.pwr-cta_button {
  padding: 14px 28px 16px;
}
.wrapper-mac-adjust .map_box_section .listings .item,
.browser-safari .map_box_section .listings .item {
  padding: 16px 32px 16px;
}
.wrapper-mac-adjust .listings .item .accordion_header:after,
.browser-safari .listings .item .accordion_header:after {
  top: 10px;
}
.wrapper-mac-adjust .listings .item .accordion_header:before,
.browser-safari .listings .item .accordion_header:before {
  top: 10px;
}


@media (min-width: 768px) and (max-width: 1024px) {
  .map_box_section .sidebar {
    width: 100%;
    height: 635px;
  }
  .map_box_section #map {
    width: 100%;
    left: unset;
    border-radius: 22px;
    margin-top: 39px;
  }
  .map_box_section .desc_conta {
    margin-bottom: 35px;
  }
}
@media (max-width: 767px) {
  .map_box_section .sidebar {
    width: 100%;
    height: 635px;
  }
  .map_box_section #map {
    width: 100%;
    left: unset;
    border-radius: 22px;
    margin-top: 39px;
  }
  .map_box_section .desc_conta {
    margin-bottom: 36px;
  }
  .map_box_section .map_wrapper .sidebar .listings .item button.pwr-cta_button {
    padding: 15px 28px 11px;
  }
  .map_box_section .map_wrapper .mapboxgl-popup-content {
    zoom: 0.8;
  }
}
@media (max-width: 540px) {
  .map_box_section .mapboxgl-popup-content {
    width: 320px;
  }
}
@media (max-width: 400px) {
  .map_box_section .sidebar {
    padding: 32px 15px 0px;
  }
  .map_box_section .mapboxgl-popup-content {
    /*     width: 270px; */
  }
  .map_box_section .listings .item {
    padding: 16px 20px 18px;
  }
}

{# =============== updated css end ============= #}




@media (max-width: 1028px) {
  .mapboxgl-ctrl-geocoder {
    width: 100%!important;
    max-width:none!important;}
  .mapboxgl-ctrl-geocoder--icon-search {
    display:none!important;
  }
  .sidebar{
    position:relative;
    width:100%;
  }
  #map{
    position:relative;
    margin-top:20px;
    width: 100%;
    left: unset;
    border-radius: 22px;
  }
  .mapboxgl-ctrl-geocoder--icon-search {
    top: 19px;
    right: 23px;
    left:unset!important;}
  .map_box_section .sidebar {
    width: 100%;
  }
}
@media (min-width: 1028px) {
  .mapboxgl-ctrl-geocoder--icon-search {
    display:none!important;
  }
}





/* Additional CSS */
.map_wrapper .sidebar .toggle_button{
  line-height: normal;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  row-gap: 12px;
}
.map_wrapper .sidebar .toggle_button label{
  cursor:pointer;
}
.map_wrapper .sidebar .toggle_button input{
  position:relative;
  left:auto;
  width: 16px;
  height: 16px;
}
input.mapboxgl-ctrl-geocoder--input{
  height:45px !important;
  padding-left:58px !important;
  padding-top:10.5px !important;
  padding-bottom:10.5px !important;
}
.map_wrapper .sidebar .mapboxgl-ctrl-geocoder button:not(.mapboxgl-ctrl-geocoder--button){
  background: linear-gradient(180deg, #538A30 -42.59%, #2D302C 77.48%);
  width:38px;
  height:38px;
  position:absolute;
  top:3.5px;
  left:4px;
  border:none;
  border-radius:50%;
  cursor:pointer;
}
.map_wrapper .sidebar .mapboxgl-ctrl-geocoder button.mapboxgl-ctrl-geocoder--button{
  top:12px;
  background:none;
}
.map_wrapper .sidebar .listings button.pwr-cta_button,
.map_wrapper .sidebar button#use-my-location{
  margin-top:16px;
  background: linear-gradient(179.1deg, #538A30 -70.33%, #2D302C 99.22%);
  padding:10px 60.5px 12px;
  width: 100%;
  cursor:pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-weight: 500;
}
.map_wrapper .sidebar .listings button.pwr-cta_button::before,
.map_wrapper .sidebar button#use-my-location::before{
  display:none;
}
.mapboxgl-ctrl-geocoder .mapboxgl-ctrl-geocoder--pin-right .mapboxgl-ctrl-geocoder--icon{
  top:12px;
}
.map_wrapper .sidebar input.mapboxgl-ctrl-geocoder--input{
  border:none !important;
  box-shadow: 3px 4px 9px 14.49px rgb(0 0 0 / 14%) inset;
}
.map_wrapper .sidebar .mapboxgl-ctrl-geocoder ul.suggestions.force-hide {
  display: none !important;
}
.map_wrapper .sidebar .listings button.pwr-cta_button{
  cursor:pointer;
}
.map_wrapper .sidebar .listings .item button.pwr-cta_button{
  width:auto;
}

@media(max-width:767px){
  body .map_wrapper .sidebar .listings .item button.pwr-cta_button,
  .map_wrapper .sidebar button#use-my-location{
    padding-left:10.5px;
    padding-right:10.5px;
    font-size:14px;
    gap:12px;
  }
  body .map_wrapper .sidebar .mapboxgl-ctrl-geocoder {
    min-width: auto;
  }
  body .map_wrapper .sidebar .heading{
    padding:0 20px;
  }
  body .listings .item{
    padding:20px;
  }
  .map_wrapper .sidebar .mapboxgl-ctrl-geocoder button.mapboxgl-ctrl-geocoder--button{
    top:6px;
  }
}



