:root {
	--section-spacing: 40px;
}

h2 {
	font-size: 1.5em;
	font-weight: bold;
	margin-top: var(--section-spacing);
	width: 100%;
	flex-basis: 100%;
}
h3 {
	font-size: 20px;
	font-weight: bold;
	margin-top: calc(var(--section-spacing) / 2);
	width: 100%;
	flex-basis: 100%;
}
h3:first-of-type {
	margin-top: 0;
}
section {
	margin-bottom: var(--section-spacing);
}
section h2 {
	margin-top: 0;
}

blockquote::before {
	content: open-quote;
}
blockquote::after {
	content: close-quote;
}
.alternate {
	background-color: #F7F7F7;
}
.alternate h2 {
	margin-top: 0;
}
.content-left {
	padding: 16px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 30px;
}
.content-left > div {
	flex-basis: content;
	flex-grow: 0;
}
.content-left > div:first-of-type {
	flex-basis: 50%;
	flex-grow: 1;
}
.heroquote {
	background-image: url('data:image/svg+xml,<svg width="39" height="32" viewBox="0 0 39 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 16V31.5H15.6V16H7.8C7.8 16 7.8 8.25 15.6 8.25V0.5C15.6 0.5 0 0.5 0 16ZM39 8.25V0.5C39 0.5 23.4 0.5 23.4 16V31.5H39V16H31.2C31.2 16 31.2 8.25 39 8.25Z" fill="%23818080"/></svg>');
	background-repeat: no-repeat;
	padding-left: 60px;
	font-style: italic;
	margin: 40px auto;
	width: 100%;
	max-width: 600px;
}
.heroquote blockquote {
	margin-bottom: .6rem;
}
.quote-attribution {
	font-style: normal;
	font-weight: bold;
}
.quote-attribution::before {
	width: 88px;
	height: 16px;
	display: inline-block;
	margin-right: 0.5em;
	content: url('https://www.ereplacementparts.com/svg/five-star.svg');
}
.props {
	width: 336px;
	max-width: 100%;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin: 0 auto;
}
.props > div {
	width: 112px;
	text-align: center;
	color: #444444;
	font-weight: bold;
	white-space: nowrap;
	font-size: 0.8em;
	margin: 16px 0;
}
.props svg {
	width: 60px;
	height: 60px;
	display: block;
	margin: auto;
}
#example-diagram {
	display: block;
	margin: auto;
	max-width: 100%;
	height: 177px;
	object-fit: cover;
}
.site-benchmarks {
	display: flex;
	width: 100%;
	max-width: 775px;
	justify-content: space-evenly;
	margin: var(--section-spacing) auto;
	font-weight: bold;
	font-size: 12px;
	text-align: center;
}
.site-benchmarks svg {
	width: 40px;
	height: 40px;
	color: #444444;
	display: block;
	margin: auto;
}
.site-benchmarks strong {
	font-weight: bold;
	font-size: 22px;
	display: block;
}
.fancyYT img.ytp-thumbnail {
	width: 320px;
	height: 180px;
}
.tiled-quotes {
	--this-spacing: 16px;
	display: flex;
	flex-wrap: wrap;
	padding: var(--this-spacing);
	gap: var(--this-spacing);
}
.tiled-quotes div {
	background: white;
	border: 1px solid #D7DBE3;
	border-radius: 5px;
	padding: 20px;
	text-align: center;
}
.tiled-quotes .quote-attribution {
	margin-bottom: .5em;
}
.tiled-quotes .quote-attribution::before {
	width: 168px;
	height: 32px;
	display: block;
	margin: 0 auto 8px;
}
.tiled-quotes blockquote {
	margin-bottom: 0;
}
.sbs-image {
	display: grid;
	justify-content: center;
	justify-items: center;
	grid-template-columns: 1fr;
}
.brand-logos {
	--this-spacing: 20px;
	/* How many columns on the biggest viewport - determines size of items as well */
	--max-columns: 6;
	/*  Prevent off-by-one and clean up further calc()s */
	--column-spaces: calc(var(--max-columns) - 1);
	--blank-space: calc(var(--this-spacing) * var(--column-spaces) / var(--max-columns));
	/* Set to max out at desired numbers of columns and spacing */
	/* Content-safe-width set in stylesheet.css */
	--wide-page-width: 1200px;
	--content-safe-width: calc(var(--wide-page-width) - 2rem);
	--max-column-width: calc( (var(--content-safe-width) / var(--max-columns) ) - var(--blank-space) );
	display: grid;
	gap: var(--this-spacing);
	grid-template-columns: repeat(auto-fit, var(--max-column-width));
	/* Do not allow small viewports to show five columns; we want even rows */
	max-width: calc(var(--max-column-width) * min(5, var(--max-columns)));
	justify-items: center;
	justify-content: center;
	margin: auto;
}
.brand-logos img {
	width: var(--max-column-width);
	max-width: 100%;
	height: auto;
}
.brand-logos .brands-viewall {
	grid-column: 1 / -1;
	justify-self: end;
	text-align: right;
	color: blue;
	text-decoration: underline;
	font-weight: bold;

}
.brand-logos .brands-viewall:after {
	content: "";
	text-decoration: none !important;
	position: relative;
	top: .5em;
	left: 2px;
	display: inline-block;
	border: solid blue;
	border-width: 0 2px 2px 0;
	padding: 2px;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	vertical-align: top;
}
#oem-search {
	max-width: 600px;
	margin: auto;
}

/* TODO: This is a combination of multiple search box styles - we should unify our search boxes when possible */
#oem-search #bigbox {
	padding: 6px 12px 12px;
	min-height: auto;
}
.part_finder_big form {
	display: flex;
}
#single-search-button-form input#keywords {
	margin-right: 0;
	border-radius: 5px 0 0 5px;
	border: 0 none;
	box-shadow: inset 1px 1px 2px 0 #9B9B9B;
	font-size: 16px !important;
	height: auto;
	flex-grow: 1;
}
#single-search-button-form input.search-parts-btn {
	border-radius: 0 5px 5px 0;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 16px !important;
	height: auto;
}
@media (min-width: 768px) { /*md viewport*/
	.heroquote blockquote {
		font-size: 1.2em;
	}
	.quote-attribution::before {
		width: 128px;
		height: 28px;
		vertical-align: middle;
	}
	.props {
		width: 800px;
	}
	.props > div {
		width: 20%;
		max-width: 160px;
		font-size: 1.1em;
	}
	.props svg {
		width: 88px;
		height: 88px;
	}
	#example-diagram {
		height: 249px;
	}
	.site-benchmarks {
		font-size: 18px;
	}
	.site-benchmarks strong {
		font-size: 32px;
	}
	.tiled-quotes {
		--this-spacing: 30px;
	}
	.tiled-quotes div {
		flex: 1;
	}
	.sbs-image {
		padding: 15px 20px 0;
		grid-template-columns: 115px 1fr;
		grid-template-rows: repeat(auto-fit, minmax(57px, 1fr));
		column-gap: var(--section-spacing);
	}
	.sbs-image > * {
		grid-column-start: 2;
	}
	.sbs-image > img {
		grid-row-start: 1;
		grid-row-end: 3;
		grid-column-start: 1;
		align-self: center;
	}
	.sbs-image h2 {
		align-self: end;
	}
	#oem-search #bigbox {
		padding: 20px;
	}
	#single-search-button-form input#keywords {
		margin-right: 0.4em;
		border-radius: 5px;
		border: revert;
		box-shadow: revert;
		height: 40px;
	}
	#single-search-button-form input.search-parts-btn {
		border-radius: 5px;
		text-transform: none;
		font-weight: normal;
		font-size: 20px !important;
		height: 40px;
	}
}
@media (min-width: 1200px) { /*xl viewport*/
	.brand-logos {
		max-width: 100%;
	}
}
