.action-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
}

.w-50 {
  width: 50%;
}

#ffl-map .gm-style .gm-style-iw-c,
.map-canvas .gm-style .gm-style-iw-c {
  border-radius: 8px;
  max-height: max-content !important;
  padding: 0;
  overflow: visible !important;
  z-index: 9;
  box-shadow: -3px 1px 14px -4px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 375px !important;
}

.gm-style .gm-style-iw-d {
  max-height: 100% !important;
  padding: 0;
  scroll-padding: 0;
  overflow: visible !important;
}
.gm-style-iw-chr {
  height: 0;
}
#ffl-map .gm-style .gm-style-iw-c [aria-label="Close"],
.map-canvas .gm-style .gm-style-iw-c [aria-label="Close"] {
  position: absolute;
  top: -20px !important;
  right: -20px !important;
  z-index: 999;
  margin: 5px !important;
  width: 40px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 4px 0 #00000040 !important;
  background-color: #ffffff !important;
  border-radius: 9999px;
  opacity: 1 !important;
}

#ffl-map .gm-style .gm-style-iw-c [aria-label="Close"] span,
.map-canvas .gm-style .gm-style-iw-c [aria-label="Close"] span {
  width: 18px !important;
  height: 18px !important;
  margin: 5px !important;
  display: none !important;
}

#ffl-map .gm-style .gm-style-iw-c [aria-label="Close"]:before,
.map-canvas .gm-style .gm-style-iw-c [aria-label="Close"]:before {
  content: "";
  margin: 0;
  width: 16px;
  height: 16px;
  display: inline-block;
  background-image: url('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13.9062 15.6562L8 9.75L2.09375 15.6562L0.34375 13.9062L6.25 8L0.34375 2.09375L2.09375 0.34375L8 6.25L13.9062 0.34375L15.6562 2.09375L9.75 8L15.6562 13.9062L13.9062 15.6562Z" fill="black"/></svg>');
  background-repeat: no-repeat no-repeat;
  background-position: center center;
  background-size: cover;
}
.map__primary-btn {
  font-size: 16px;
  font-weight: 700;
  padding: 0 20px;
  height: 35px;
  line-height: 35px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background-color: #0c1e46 !important;
  color: #ffffff !important;
  margin-bottom: 5px;
  outline: none;
  border: none;
  font-family: "Lato", sans-serif;
}
.info-container {
  width: 100%;
  max-width: 375px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border-radius: 4px;
  padding: 15px;
  cursor: default;
  position: relative;
}

.preferred-dealer {
  padding: 35px 15px 15px;
}

.review-row {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.decs-text {
  font-size: 14px;
  color: #010101;
  margin-right: 0.5rem;
  margin-left: 0.5rem;
  font-family: "lato", sans-serif;
}

.gray-text {
  font-size: 14px;
  color: #436175;
  font-family: "lato", sans-serif;
}

.name-label {
  font-size: 18px;
  color: #0c1e46;
  font-weight: 400;
  font-family: "lato", sans-serif;
  line-height: 24.02px;
  margin-top: 5px;
}

.address-label {
  font-size: 14px;
  color: #4a4a4a;
  font-family: "lato", sans-serif;
  line-height: 20.02px;
  margin-top: 5px;
}

.space-between {
  justify-content: space-between;
  align-items: center;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mr-0 {
  margin-right: 0 !important;
}

.mt-10 {
  margin-top: 10px;
}

.sm-gray-text {
  font-size: 14px;
  color: #00000099;
  font-family: "lato", sans-serif;
}

.align-end {
  align-items: flex-end !important;
}

.map-social-links {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.map-social-links > a {
  outline: none;
  margin-right: 0.5rem;
}

.preferred-label {
  display: flex;
  align-items: center;
  justify-content: start;
  position: absolute;
  left: 0;
  top: 0;
}

.preferred-label > span {
  display: flex;
  align-items: center;
  height: 25px;
  padding: 0 10px;
  background-color: #0c1e46;
  color: #ffffff;
  font-size: 12px;
  line-height: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.preferred-label:after {
  content: "";
  display: inline-block;
  height: 25px;
  width: 17px;
  background-image: url('data:image/svg+xml,<svg width="17" height="25" viewBox="0 0 17 25" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0 25H0.385223L9 12.5L0.385223 0H0V25Z" fill="%230C1E46"/><path fill-rule="evenodd" clip-rule="evenodd" d="M0 25H16.8761L9 12.5L16.8761 0H0V25Z" fill="%230C1E46" fill-opacity="0.7"/></svg>');
  background-size: cover;
  margin-left: -1px;
  background-repeat: no-repeat;
}

@media screen and (min-width: 1350px) and (max-width: 1550px) {
  #ffl-map .gm-style .gm-style-iw-c, .map-canvas .gm-style .gm-style-iw-c{
    max-width: 335px !important;
  }
  .miles-text {
    width: 67%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media screen and (max-width: 480px) {
  #ffl-map .gm-style .gm-style-iw-c,
  .map-canvas .gm-style .gm-style-iw-c {
    max-width: 300px !important;
  }

  .miles-text {
    width: 67%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
