/*
	Website Name: D &amp; D Engines, Custom Website
	Designed by: Katherine Leonard, Car-Part.com
	Last updated: 20 Mar 2025
*/

/* Styling for responsive pages */
.container {
	max-width: 95%;
}

@media screen and (max-width: 1400px ) {
	#social {
		top: 2rem;
	}
	#social ul.social li {
		display: inline-block;
		font-size: 1.75rem;
	}
}
@media screen and ( max-width: 1199px ) {
	#mainMenu ul.nav {
		background-color: #fff;
		box-shadow: -3px 3px 3px rgba( 0,0,0,0.7 );
		color: #000;
		min-width: 20ch;
	}
	#mainMenu ul.nav li.desktop {
		display: none;
	}
	#mainMenu ul.nav li.mobile {
		display: block;
	}
	section.content, section.home {
		padding: 0 1rem 0 2rem;
	}
	#ftrNav {
		display: none;
	}
	#pgFooter .flex-parent-row {
		align-content: center;
		justify-content: center;
	}
	#pgFooter .center-col, #pgFooter .right-col {
		margin: 2rem auto;
	}
	#pgFooter .right-col {
		order: 0;
	}
	#pgFooter .center-col {
		order: 1;
	}
	#ftrSocial {
		display: none;
	}
}
@media screen and ( max-width: 999px ) {
	#highline.flex-parent-row, section .container.flex-parent-row, #pgFooter .container.flex-parent-row {
		flex-wrap: wrap;
		flex-direction: column;
	}
	#hero.home, #hero.search, #hero.contact, #map {
		background-attachment: scroll;
		background-position: center center;
		height: 40vw;
	}
	#hero.home h1 {
		font-size: 1.5rem;
	}
	section.home aside.flex-child-col {
		order: 0;
		width: auto;
		max-width: 340px;
		margin: auto;
	}
	section.home main.flex-child-col {
		order: 1;
		width: auto;
		max-width: 100%;
	}
	#hlAddr, #hlContact, #ftrBiz, #ftrDMV, #ftrContact {
		margin: .5rem auto;
		text-align: center;
	}
	#imgNav .flex-box {
		width: calc( 100vw - 2rem );
		margin: 0;
	}
	.two-col-text-image .left-col, .two-col-text-image .right-col {
		max-width: 90%;
		padding: 1rem;
	}
	.two-col-text-image .left-col iframe, .two-col-text-image .right-col iframe {
		display: block;
			width: 60vw;
			height: 40vw;
	}
}
@media screen and (max-width: 699px) {
	#social {
		top: 0;
		right: 1rem;
	}
	#social ul.social li {
		display: block;
		font-size: 1.75rem;
	}
	ul.two-col-feature li {
		flex-basis: 100%;
		max-width: 100%;
		padding-right: 0;
	}
	ul.three-col-feature li {
		flex-basis: 50%;
		max-width: calc( 50% - 2rem );
	}
}