@font-face {
	font-family:"Industry";
	src:url("../fonts/Industry-Book.woff2") format("woff2"),
			url("../fonts/Industry-Book.woff") format("woff");
	font-style:normal;
	font-weight:400;
}
@font-face {
	font-family:"Industry";
	src:url("../fonts/Industry-BookItalic.woff2") format("woff2"),
			url("../fonts/Industry-BookItalic.woff") format("woff");
	font-style: italic;
	font-weight:400;
}
@font-face {
	font-family:"Industry";
	src:url("../fonts/Industry-Demi.woff2") format("woff2"),
			url("../fonts/Industry-Demi.woff") format("woff");
	font-style:normal;
	font-weight:500;
}
@font-face {
	font-family:"Industry";
	src:url("../fonts/Industry-Ultra.woff2") format("woff2"),
			url("../fonts/Industry-Ultra.woff") format("woff");
	font-style:normal;
	font-weight:800;
}
@font-face {
	font-family:"Gotham";
	src:url("../fonts/Gotham-Black.woff2") format("woff2"),
			url("../fonts/Gotham-Black.woff") format("woff");
	font-style:normal;
	font-weight:800;
}
@font-face {
	font-family:"Gotham";
	src:url("../fonts/Gotham-Book.woff2") format("woff2"),
			url("../fonts/Gotham-Book.woff") format("woff");
	font-style:normal;
	font-weight:400;
}
@font-face {
	font-family:"Gotham";
	src:url("../fonts/Gotham-Light.woff2") format("woff2"),
			url("../fonts/Gotham-Light.woff") format("woff");
	font-style:normal;
	font-weight:300;
}
@font-face {
	font-family:"Gotham";
	src:url("../fonts/Gotham-Medium.woff2") format("woff2"),
			url("../fonts/Gotham-Medium.woff") format("woff");
	font-style:normal;
	font-weight: 500;
}

html,
body {
  -webkit-text-size-adjust: 100%;
  height: 100%;
  font-family: 'Gotham', system-ui, BlinkMacSystemFont, -apple-system, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.33;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
	box-sizing: border-box;
}

*, *:before, *:after {
	box-sizing: inherit;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  display: flex;
}


h1 {
	font-family: "Industry", sans-serif;
	font-size: 2.725rem;
}

h2 {
	font-family: "Industry", sans-serif;
	margin-top: -0.4rem;
	margin-bottom: 1.25rem;
}

h3 {
	font-family: "Industry", sans-serif;
	margin-bottom: 1rem;
  margin-top: 0;
  font-size: 2.125rem;
  margin-bottom: 0;
}

h4 {
	font-family: "Industry", sans-serif;
}

h5 {
	font-family: "Industry", sans-serif;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

strong {
  font-weight: 500;
}

img {
  max-width: 100%;
  height: auto;
}

.text-gray {
  color: #4a4948;
}

a {
  color: #db1d24;
  font-family: Industry, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

input {
  width: 100%;
  padding: 1rem;
  color: #141414;
  -webkit-appearance: none;
  font-size: 1rem;
  appearance: none;
  border-width: 0;
  background-color: #f1f1f1;
  border-radius: .25rem;
}

button {
  font-size: 0.9rem;
  transition: background .4s;
  background-color: #db1d24;
  color: #fff;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border-radius: .25rem;
  border: 0;
  font-weight: 700;
}

#container {
  flex-grow: 1;
  height: 100vh;
}

.empty-map {
  padding: 2rem;
}

.search-form-container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

.search-form-container input {
  width: 100%;
}

.dealer-locator {
  display: flex;
  width: 100%;
  min-height: 100vh;
  padding: 0;
  justify-content: center;
  flex-direction: column-reverse;
  @media (min-width: 840px) {
    height: 100vh;
    flex-direction: row;
  }
}

.dealer-list-container {
	background-color: #ffffff;
	padding: 32px;
  max-height: 100%;
  overflow: scroll;
  width: 100%;

  @media (min-width: 840px) {
    width: 50%;
  }
  @media (min-width: 1200px) {
    width: 33.33%;
  }
}

.map-container {
	background-color: #f1f1f1;
	padding: 0;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;

  @media (min-width: 840px) {
    width: 50%;
  }
  @media (min-width: 1200px) {
    width: 66.77%;
  }
}

.dealer-row {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid #f1f1f1;
}

.dealer-info__title {
  font-size: 1.05rem;
  cursor: pointer;
}

.dealer-info__address {
  font-size: 0.9rem;
  margin: 4px 0;
}

.dealer-info__phone,
.dealer-info__website,
.dealer-info__direction {
  font-size: 0.9rem;
  margin: 6px 0;
}

.dealer-info__phone a,
.dealer-info__website a,
.dealer-info__direction a {
  font-size: 0.9rem;
}

.dealer-info {
  width: calc(calc(5/12) * 100%);
}

.dealer-type-photo {
  width: calc(calc(7/12) * 100%);
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 2rem;
  @media (min-width: 768px) {
    flex-direction: row;
  }
}

.dealer-photo {
  width: 100%;
  @media (min-width: 1920px) {
    width: calc(calc(5/12) * 100%);
  }
}

.product-offering {
  margin: 8px 0;
}

.dealer-tag {
	padding: 0.5rem 1rem;
	background: #222222;
	border-radius: 40px;
	text-align: center;
	font-family: "Industry";
	font-weight: 600;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	color: white;
	font-size: 0.85rem;
	width: max-content;
}

.dealer-tag:before {
  content: '';
  background: url(../images/logo-white-transparent.png) center center no-repeat;
  background-size: contain;
  width: 20px;
  height: 20px;
  display: block;
  margin-right: 6px;
}

.dealer-tag.masterBuilder {
	background: #c83631;
	color: white;
}

.dealer-tag.proBuilder {
	background: rgb(197, 165, 95);
	color: white;
}

.dealer-tag.authorizedBuilder {
	background: #8FB0A8;
	color: white;
}

.gm-style img {
	max-width: 100% !important;
}

#smartcap-map {
	width: 100% !important;
  @media (min-width: 840px) {
		height: 100% !important;
  }
}



/* Responsive behavior for smaller screens */
@media (max-width: 840px) {
	.dealer-list-container,
	.map-container {
		grid-column: span 12;
	}

  .mobile-only {
    display: block;
  }

  .desktop-only {
    display: none;
  }
}


@media (min-width: 840px) {
  .mobile-only {
    display: none;
  }
  .desktop-only {
    display: block;
  }
}

.popup-info a {
  margin-top: 8px;
  font-weight: 500;
  display: block;
}

.popup-info .phone-number {
  font-size: 1rem;
  font-weight: 500;
}


.link-arrow-right {
	font-weight: 500;
	display: inline-block;
}

.link-arrow-right:after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background: url(../images/chevron-right-red.svg) center center no-repeat;
  background-size: contain;
  top: 2px;
  position: relative;
}
