/*
	Website Name: American Dismantling, Custom Website
	Designed by: Katherine Leonard, Car-Part.com
	Last updated: 19 June 2026
*/

/* Styling for responsive pages */
.container {
	max-width: 95%;
}

@media screen and ( max-width: 1199px ) {
	#pgHeader {
		background-size: cover;
		background-position: bottom;
		background-attachment: scroll;
		position: relative;
		z-index: 150;
	}
	#menuBtn {
		margin-right: .5rem;
	}
	#mainMenu ul.nav {
		background-color: #24368e;
		/* box-shadow: -3px 3px 3px rgba( 0,0,0,0.7 ); */
		color: #fff;
		min-width: 20ch;
		margin-right: 1rem;
		padding-right: 1rem;
        padding-top: 2rem;
	}
	#mainMenu ul.nav li.desktop, #hdrSearchBtn .btn, #boxNav, #hdrPhone, #hdrFreeDelivery, #hdrSearchBtn, .search-btns .desktop {
		display: none;
	}
	#hdrSearchBtn .btn.mobile, #mainMenu ul.nav li.mobile, .search-btns .mobile {
		display: block;
	}
	#mainMenu ul.nav li:hover {
		color: #f7941d;
	}
	section.content, section.home {
		padding: 0 1rem 0 2rem;
	}
    #salvageYard.content {
        padding: 0;
    }
    #partLists .flex-parent-row, #salvageYard .flex-parent-row, #pgFooter .flex-parent-row, #parts .flex-parent-row {
        flex-direction: column;
    }
    #salvageYard .flex-parent-row .two-even-col, #pgFooter .flex-parent-row, #parts .flex-parent-row main {
        width: 100%;
        flex-basis: auto;
        max-width: 100%;
    }
    #parts .flex-parent-row aside {
        margin: auto;
    }
    #salvageYard div.slides img, .parts-img img {
        width: 100%;
        height: auto;
    }
    ul.makes-list {
        grid-template-columns: repeat( 6, 1fr );
    }
    #ftrMap {
        width: 100%;
    }
    #ftrMap iframe {
        width: 100%;
        height: 35vw;
    }
    #ftrContact {
        padding: 1rem;
    }
}
@media screen and ( max-width: 999px ) {
    #logoBlock {
        max-width: 300px;
    }
    #freeDeliveryBadge img {
        max-width: 150px;        
    }
	#highline.flex-parent-row, section .container.flex-parent-row {
		flex-wrap: wrap;
		flex-direction: column;
	}
	#hero.home {
		height: 30vh;
	}
	#hero.contact {
		background-attachment: scroll;
		background-position: center center;
		height: 30vh;
	}
	#hero.home h1 {
		font-size: 2rem;
	}
	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%;
	}
	#about main, #about aside {
		margin: 1rem auto;
		width: auto;
	}
	#about main {
		max-width: 65ch;
	}
	#map {
		height: 50vh;
	}
	#hlAddr, #hlContact, #ftrBiz {
		margin: .5rem auto;
		text-align: center;
	}
	#imgNav {
		padding: 1rem;
	}
	#imgNav .flex-box {
		width: calc( 100vw - 5rem );
		height: 33vw;
		margin: 0 1rem 1rem;
	}
	#imgNav .desktop, #reviewBox { display: none ; }
	#imgNav .mobile { display: flex; }
    ul.makes-list {
        grid-template-columns: repeat( 4, 1fr );
    }
}
@media screen and ( max-width: 699px ) {
    ul.makes-list {
        grid-template-columns: repeat( 2, 1fr );
    }
}