/*
	Website Name: Mayfair Auto Wreckers, Custom Website
	Designed by: Katherine Leonard, Car-Part.com
	Last updated: 14 Aug 2024
*/

html {
	font-size: 18px;
}
body {
	background-color: #111;
	color: #fff;
	font-family: "Noto Sans", "Open Sans", "Helvetica Neue", Helvetica, Verdana, sans-serif;
}

#pgHeader {
	background-color: #a00;
	color: #fff;
	box-shadow: 0 1px 6px #000;
	position: relative;
}
#highline {
	background-color: #000;
	color: #fff;
	padding: .5rem;
}

#logoBlock {
	display: block;
	margin: auto;
	padding: .5rem;
}
#logoBlock a {
	text-decoration: none;
}
.logo {
	display: block;
		max-width: 300px;
	margin: auto;
	text-align: center;
}
.logo img {
	display: block;
		width: 100%;
		height: auto;
	margin: auto;
}
#logoBlock h1 {
	display: block;
	font-family: "Noto Sans", "Open Sans", "Helvetica Neue", Helvetica, Verdana, sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	text-align: center;
}
.nydmv {
	display: none;	/* To display, change "none" to "inherit" */
}
#logoBlock .nydmv {
	font-style: italic;
	margin: 1rem auto;
}

#hdrPh, #hdrTxt {
	font-size: 1.25rem;
	font-weight: 700;
}
#hdrPh {
	margin-right: 1rem;
}
#hdrContact {
	padding: 1rem;
	text-align: right;
}
#hdrContact div.btn {
	background-color: #333;
	border-radius: .25rem;
	color: #fff;
	display: inline-block;
	font-family: "Noto Sans", "Open Sans", "Helvetica Neue", Helvetica, Verdana, sans-serif;
	text-transform: uppercase;
}
#hdrContact div.btn:hover {
	background-color: #600;
}
#hdrContact address {
	font-weight: 700;
	padding-top: 1rem;
	text-align: center;
}
#hdrContact h1 {
	font-style: italic;
	margin: 1rem auto 0;
	max-width: 45ch;
	text-align: center;
}

#social {
	color: transparent;
	position: fixed;
		top: calc( 50% - 4rem );	/* The vertical offset should be the number of icons to be shown times 2; e.g. FB, Instagram, and eBay icons showing should be ( 50% - 6rem ); */
		left: 0;
	z-index: 503;
}

#mainMenu {
	background-color: #333;
	color: #fff;
	font-family: "Noto Sans", "Open Sans", "Helvetica Neue", Helvetica, Verdana, sans-serif;
	font-weight: 700;
	text-align: center;
	text-shadow: none;
}
#mainMenu a {
	text-decoration: none;
}
#mainMenu ul.nav li.mobile, #ftrMenu ul.nav li.mobile {
	display: none;
}
#mainMenu ul li:hover {
	background-color: #c00;
	color: #fff;
}
#menuBtn:hover, #menuBtn.active, #mainMenu ul li:hover {
}
#mainMenu ul li.menu-parent:hover {
}
#mainMenu ul li.menu-parent ul {
	background-color: #c00;
	display: none;
	margin: 1em 0 0 -1em;
	text-align: left;
}
#mainMenu ul li.menu-parent ul li {
	display: block;
	color: #fff;
}
#mainMenu ul li.menu-parent span.menu-parent::after {
	content: "\25BE ";
}
#mainMenu ul li.menu-parent:hover ul, #mainMenu ul ul.submenu {
	display: block;
	position: absolute;
}
#menuBtn:hover, #menuBtn.active, #mainMenu ul li:hover {
	background-color: #c00;
	color: #fff;
	text-shadow: 1px 1px 1px #000;
}
#mainMenu ul li.menu-parent ul li:hover {
	background-color: #c00;
	color: #fff;
}
#menuBtn span.hamburger {
	background-color: #fff;
}


section .container {
	padding: 1rem;
}

#hero {
	background-color: rgba( 0,0,0,.3);
	background-position: center center;
	background-size: cover;
	background-blend-mode: overlay;
	position: relative;
}
#hero.search {
	background-image: url( "../graphics/chad-kirchoff-xe-e69j6-Ds-unsplash.jpg" );
	background-position: center center;
	height: 15vw;
}
#hero.contact {
	background-image: url( "../graphics/iStock_000056442344_Full.jpg" );
	background-position: center center;
	height: 25vw;
}
#hero.about {
	background-image: url( "../graphics/about-header.jpg" );
	background-position: center center;
	height: 35vw;
}
#hero.sellCar {
	background-image: url( "../graphics/suvkeyscash.jpg" );
	background-position: center center;
	height: 25vw;
}
#hero .container {
	padding: 4rem 0;
}
#hero h1 {
	color: #fff;
	font-family: Oswald, "Noto Sans", "Open Sans", "Helvetica Neue", Helvetica, Verdana, sans-serif;
	font-size: 3rem;
	font-weight: 700;
	text-align: center;
	text-shadow: .05em .05em 0 rgba( 0,0,0,.7);
}
#hero.home {
	background-color: #fff;
	display: block;
		width: 100%;
		height: 35vw;
	position: relative;
}
/* #hero.home .hero-overlay {
	background-color: rgba( 0,0,0,0.5 );
	display: block;
		width: 100%;
		height: 35vw;
	position: absolute;
		z-index: 1;
}*/
#hero.home figure {
	display: block;
		width: 100%;
		height: 35vw;
	position: relative;
}
#hero.home figure.slide_1 {
	background: linear-gradient( 135deg, rgba( 0, 64, 128, 0.5 ), rgba( 128, 0, 0, 0.7 )), url( "../graphics/storefront.jpg" );
	background-position: center center;
	background-size: 100% auto;
	background-blend-mode: overlay;
}
#hero.home figure.slide_2 {
	background: linear-gradient( 135deg, rgba( 0, 64, 128, 0.5 ), rgba( 128, 0, 0, 0.7 )), url( "../graphics/engines.jpg" );
	background-position: center center;
	background-size: 100% auto;
	background-blend-mode: darken;
}
#hero.home figure.slide_3 {
	background: linear-gradient( 135deg, rgba( 255, 64, 64, 0.9 ), rgba( 64, 128, 255, 0.9 )), url( "../graphics/transmissions.jpg" );
	background-position: center center;
	background-size: 100% auto;
	background-blend-mode: overlay;
}
#hero.home figure figcaption {
	background-color: rgba( 64,0,0,0.5 );
	display: block;
		max-width: 25vw;
	position: absolute;
		z-index: 15;
	left: 15vw;
	bottom: 15vw;
	padding: 1rem;
}
#hero.home figure figcaption h1 {
	font-size: 1.5rem;
	padding-bottom: 1rem;
	text-align: left;
}
#hero.home figure figcaption p {
	line-height: 1.5em;
}

#map {
	display: block;
		width: 100%;
		height: 25vw;
}
#map iframe {
	width: 100%;
	height: 100%;
}


#imgNav {
	background-color: #a00;
	padding: 2rem 0;
	text-align: center;
}
#imgNavContainer.flex-parent-row {
	display: flex;
		width: calc( 1200px + 5rem);
	text-align: center;
	margin: auto;
}
#imgNav a {
	text-decoration: none;
}
#imgNav a.flex-child-col {
}
#imgNav .flex-box {
	background-color: #fff;
	background-position: center center;
	background-size: cover;
	width: calc( 400px - 2rem);
	height: 200px;
	margin-bottom: 2rem;
	position: relative;
		z-index: 10;
}
#imgNav .flex-box:hover {
	background-color: rgba( 0,0,0,.5);
	background-blend-mode: overlay;
}
#imgNav h1 {
	background-color: #000;
	color: #fff;
	display: block;
		width: 100%;
	font-weight: 700;
	padding: .5em 0;
	position: absolute;
		bottom: -2rem;
	text-transform: uppercase;
}
#basicSearchBox {
	background-image: url( "../graphics/iStock-1150507732.jpg" );
}
#sellBox {
	background-image: url( "../graphics/suvkeyscash.jpg" );
}
#contactBox {
	background-image: url( "../graphics/iStock_000056442344_Full.jpg" );
}


section.light {
	background-color: #fff;
	color: #000;
}
section.dark {
	background-color: #900;
	color: #fff;
	padding: 1rem;
}
h1.pg-title {
	font-family: "Noto Sans", "Open Sans", "Helvetica Neue", Helvetica, Verdana, sans-serif;
	font-weight: 700;
	margin-bottom: 1rem;
}


section.home .container.flex-parent-row {
	align-items: baseline;
}

section.home aside.flex-child-col, section.about aside.flex-child-col {
	width: 300px;
	margin: 0 0 1rem 1rem;
}
section.home aside .sb-box {
	padding: 1rem;
}
section.home aside .sb-box h1 {
	font-family: "Noto Sans", "Open Sans", "Helvetica Neue", Helvetica, Verdana, sans-serif;
	font-weight: 700;
	margin: -1rem;
	margin-bottom: 1rem;
	padding: 1rem;
}
section.home aside .sb-border {
	border: 2px solid #333;
}
section.home aside .sb-border h1, section.home aside div.btn {
	background-color: #a00;
	color: #fff;
}

#bizHours h1 {
	padding: .5rem;
	text-align: center;
}
ul.hours, ul.hours li, ul.phones, ul.phones li {
	clear: both;
	display: block;
}
ul.hours li {
	line-height: 1.5rem;
}
ul.hours:after, ul.phones:after {
	clear: both;
	content: "";
	display: table;
}
#bizPhones, #bizAddr {
	font-size: 1.25rem;
	font-weight: 700;
	text-align: center;
}
#eBayBtn {
	font-size: 1.5rem;
	margin-top: 2rem;
	text-align: center;
}
#eBayBtn:hover {
	background-color: #c00;
}


section.home main.flex-child-col, section.about main.flex-child-col {
	width: calc( 100% - 340px - 6rem );
	margin: 0 0 1rem 1rem;
}

section.home main p, .content p, section.home main ul, .content main ul {
	line-height: 1.5em;
	margin-bottom: 1rem;
}

#aboutPg .flex-parent-row {
	align-items: flex-start;
}

h1.callout {
	font-family: Oswald, "Noto Sans", "Open Sans", "Helvetica Neue", Helvetica, Verdana, sans-serif;
	font-size: 2rem;
	font-weight: 700;
	padding: 1rem 0 2rem 0;
	text-align: center;
}
h1.big-red {
	color: #a00;
	font-family: Oswald, "Open Sans", "Helvetica Neue", Helvetica, Verdana, sans-serif;
	font-size: 1.5rem;
	font-weight: 700;
	text-transform: uppercase;
}
section.content h2 {
	font-size: 1.25em;
	font-weight: 700;
}
section.content h3 {
	font-weight: 700;
	padding-bottom: 1rem;
}

div.barred {
	border-top: 2px solid #999;
	border-bottom: 2px solid #999;
	padding: 1rem 0;
	margin: 1rem auto;
}
div.barred h2 {
	margin-bottom: .25rem;
}
div.features.flex-parent-row {
	align-items: flex-start;
}
div.feature {
	font-size: .9rem;
	width: calc( 50% - 4rem );
	padding: 1rem;
}
div.feature h1 {
	display: block;
		width: 90%;
	font-weight: 700;
	margin: auto;
	margin-bottom: 1rem;
	text-align: center;
	text-transform: uppercase;
}
div.feature div.icon {
	background-color: #600;
	border-radius: 50%;
	color: #fff;
	display: block;
		width: 3rem;
		height: 3rem;
	font-size: 2rem;
	line-height: 3rem;
	margin: 0 auto .5rem;
	padding: .5rem;
	text-align: center;
}


ul.directions li {
	font-weight: 700;
}
ul.features, ul.directions li ul li {
	font-weight: 400;
	list-style-type: square;
	margin: .25em 1em 1em 3em;
}


#pgFooter {
	font-size: .9rem;
	padding: 1em;
}
#ftrMenu {
	font-size: .8rem;
	padding-bottom: .5em;
	text-align: left;
}
#ftrMenu ul.nav li {
	display: inline-block;
}
#ftrMenu ul.nav li::after {
	content: " |";
}
#ftrMenu ul.nav a:last-of-type li::after {
	content: "";
}
#ftrPymt {
	text-align: center;
}

a.btn {
	text-decoration: none;
}
div.btn, ul.btn li, ul.search li {
	font-family: "Noto Sans", "Open Sans", "Helvetica Neue", Helvetica, Verdana, sans-serif;
	font-weight: 700;
	padding: 1rem;
}

.container {
	margin: 0 auto;
	width: 1200px;
}
ul.pymt .cc {
	border-radius: 3px;
	font-size: .75rem;
}

ul.search li {
	background-color: #000;
	color: #fff;
	display: inline-block;
	padding: 10px;
}
ul.search li:hover {
	background-color: #600;
	cursor: pointer;
}
ul.search li.active {
	background-color: #600;
}