/*
	Website Name: Brothers Auto Parts
	Designed by: Katherine Leonard, Car-Part.com
	Last updated: 8 Aug 2019
*/

/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;font:inherit;vertical-align:baseline;margin:0;padding:0}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:none}table{border-collapse:collapse;border-spacing:0}

/* "Beat THAT ClearFix!" by Thierry Koblentz - http://www.cssmojo.com/ */
.btcf:after{content:"";display:table;clear:both}

/* "Frustration Fixes" by Katherine Leonard - http://www.kat-and-mouse.com/ */
html,body{height:100%;overflow-x:hidden;overflow-y:auto}a{color:inherit}strong,b,bold{font-weight:700}em,i,italic{font-style:italic}.left{float:left;text-align:left}.center{float:none;margin:0auto;text-align:center}.right{float:right;text-align:right}a[href^="tel"],.noU{text-decoration:none}.showU{text-decoration:underline}

html {
	font-size: 16px;
}
body {
	background-color: #016;
	color: #fff;
	font-family: Lato, "Open Sans", "Helvetica Neue", Helvetica, Verdana, sans-serif;
	position: relative;
}
#pgHdr {
	position: relative;
}

#contacts {
	background-color: #fff;
	color: #016;
	display: flex;
		flex-flow: row nowrap;
		justify-content: center;
		align-items: center;
	font-size: .9rem;
	padding: .5rem;
}
#contacts .col {
	flex: 1 0 auto;
}
#contacts i, #contacts address, #contacts ul {
	display: inline-block;
}
#contacts i {
	margin-right: .5em;
}

#addrHdr, #copyFtr {
	text-align: left;
}
#phHdr, #phFtr {
	text-align: right;
}

#contacts ul.phones li {
	display: inline-block;
	margin-right: 2em;
}
#contacts ul.phones li:last-child {
	margin-right: 0;
}

#logoNav {
	text-align: center;
}
#logo {
	display: inline-block;
		max-width: 120px;
		vertical-align: middle;
	padding: 2rem;
}
#logo img {
	display: block;
		width: 100%;
		height: auto;
}
#bizName {
	display: inline-block;
		vertical-align: middle;
		max-width: 700px;
	padding-bottom: 1rem;
}
#bizName img {
	display: block;
		width: 100%;
		height: auto;
}

#social {
	background-color: rgba(255,255,255,0.8);
	border-radius: 0 1rem 1rem 0;
	position: fixed;
		top: 30%;
		z-index: 200;
}
#social ul.social li {
	display: block;
	margin: 0;
}
#social ul.social a:first-child li {
	border-radius: 0 .5rem 0 0;
}
#social ul.social a:last-child li {
	border-radius: 0 0 .5rem 0;
}
#social .label {
	font-size: 0;
}

#mainMenu {
	background-color: #c00;
	color: #fff;
	display: block;
	font-weight: 700;
	position: relative;
	text-align: center;
}
#menuBtn {
	display: inline-block;
		width: 100%;
		vertical-align: middle;
	display: none;
	text-align: left;
}
#menuBtn::before {
	content: "\f0c9";
	display: inline-block;
		vertical-align: middle;
	font-family: "Font Awesome 5 Free";
	font-size: 2em;
	font-weight: 700;
	margin: .1em .2em;
}
#mainMenu a {
	text-decoration: none;
}
#mainMenu ul {
	display: inline-block;
	position: relative;
}
#mainMenu ul li {
	display: inline-block;
	padding: 1rem;
}
#mainMenu ul li.parent ul {
	background-color: #fff;
	color: #111;
	box-shadow: 3px 3px 3px rgba(0,0,0,0.7);
	display: none;
	margin: 1em 0 0 -1em;
	text-align: left;
}
#mainMenu ul li.parent ul li {
	display: block;
}
#mainMenu ul li.parent span.parent::after {
	content: "\25BE ";
}
#mainMenu ul li.parent:hover ul, #mainMenu ul ul.submenu {
	display: block;
	position: absolute;
}
#menuBtn:hover, #menuBtn.active, #mainMenu ul li:hover {
	background-color: #e00;
	color: #fff;
}
#mainMenu .mobile {
	display: none;
}

#marquee {
	background-repeat: no-repeat;
	background-size: cover;
	display: block;
}
#homePg #marquee {
	background-image: url("graphics/aerial_01.jpg");
	background-position: center center;
	min-height: 650px;
}
#aboutPg #marquee {
	background-image: url("graphics/aerial_02.jpg");
	background-position: center -150px;
	min-height: 650px;
}
#searchPg #marquee {
	display: none;
	background-image: url("graphics/aerial_03.jpg");
	background-position: center -200px;
	min-height: 650px;
}

h1.section-title {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

section {
	color: #111;
	padding: 2rem 1rem;
}
section:nth-child(odd) {
	background-color: #fff;
}
section:nth-child(even) {
	background-color: #eee;
}

#content .callout {
	color: #c00;
	font-family: Caveat, Lato, "Open Sans", "Helvetica Neue", Helvetica, Verdana, sans-serif;
	font-size: 3rem;
	margin-bottom: 1rem;
	text-align: center;
}
#content aside {
	display: block;
	max-width: 300px;
	float: right;
}

.hours {
	background-color: #fff;
	border: 1px outset #111;
	overflow: auto;
	padding: .5rem;
}
#content .hours {
	margin: 1rem;
	margin-top: 0;
}
#contactUs .hours {
	max-width: 300px;
	margin: auto;
}
.hours h1 {
	background-color: #016;
	color: #fff;
	padding: .5rem;
	margin: -.5rem;
	margin-bottom: .25rem;
}

#content main {
}
#content main h1 {
	font-weight: 700;
	margin-bottom: 1em;
}
#content main p, #aboutUs p {
	display: block;
	max-width: 85ch;
	margin: auto;
	margin-bottom: 1em;
	text-align: left;
}


#features, .flex-section, #staff {
	display: flex;
		flex-flow: row wrap;
		justify-content: center;
		align-items: center;
	overflow: auto;
	padding: 1em;
}
.feature-box, #staff figure {
	flex: 0 1 auto;
	padding: 1rem;
}
#contactUs .feature-box {
	padding: 1rem 3rem;
}
#features h1 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	text-align: center;
}

img.feature-graphic {
	max-width: 600px;
	height: auto;
}



ul.features {
	margin-top: 1rem;
	padding-left: 2rem;
	text-align: left;
}
ul.features li {
	padding-bottom: .5em;
}

#staff {
	max-width: 900px;
	margin: auto;
}
#staff img {
	max-width: 250px;
}
#staff figcaption {
	background-color: #eee;
	padding: 1rem;
	text-align: center;
}
#staff h1 {
	font-size: 1.1rem;
	font-weight: 700;
}
#staff h2 {
	font-style: italic;
}

#contactUs address {
	font-size: 1.2rem;
	line-height: 1.1em;
	margin-bottom: 1rem;
	text-align: center;
}
#contactUs .phones {
	text-align: right;
}
#contactUs .label {
	float: left;
}

#directions img {
	max-width: 100%;
	height: auto;
}
ul.directions, #directions .feature-graphic {
	display: inline-block;
		vertical-align: top;
		width: calc( 50% - 1.1rem );
}
ul.directions {
	list-style-type: none;
	margin-right: 2rem;
}
ul.directions li {
	font-weight: 700;
}
ul.directions ul, ul.features {
	list-style-type: square;
	margin: .25em 1em 1em 3em;
}
ul.directions ul li {
	font-weight: 400;
}
#map {
	display: block;
		max-width: 100&;
	margin: 0;
}
#map iframe {
	display: block;
		width: 100%;
		height: 600px;
}
#mapLink {
	display: none;
}

#pgFooter {
	display: flex;
	flex-flow: row nowrap;
		align-items: center;
		justify-content: center;
	font-size: .85em;
	padding: 3rem 1rem;
}
#pgFooter .col {
	flex: 1 0 auto;
	margin: auto;
	text-align: center;
}

a.btn {
	text-decoration: none;
}
div.btn, ul.btn li {
	background-color: #016;
	border-radius: 1rem;
	color: #fff;
	padding: 1rem;
}
div.btn:hover, ul.btn li:hover {
	background-color: #c00;
}
ul.social {
	display: block;
	font-size: 48px;
	list-style-type: none;
	margin: 0 auto;
	padding: 0;
}
ul.social .label {
	color: rgba(0,0,0,0);
	font-size: 0;
}
ul.social li {
	background-image: url("graphics/social.png");
	background-repeat: no-repeat;
	background-size: auto 300%;
	display: inline-block;
		width: 1em;
		height: 1em;
		vertical-align: top;
	margin: .25rem;
	overflow: hidden;
	padding: 0;
}
ul.social .fb { background-position: 0 -2em; }
ul.social .tw { background-position: -1em -2em; }
ul.social .gp { background-position: -2em -2em; }
ul.social .yt { background-position: -3em -2em; }
ul.social .li { background-position: -4em -2em; }
ul.social .pt { background-position: -5em -2em; }
ul.social .eb { background-position: -6em -2em; }
ul.social .yl { background-position: -7em -2em; }
ul.social .em { background-position: -8em -2em; }
ul.social .ph { background-position: -9em -2em; }
ul.social .sk { background-position: -10em -2em; }
ul.social .ig { background-position: -11em -2em; }
ul.social .fb:hover { background-position: 0 -1em; }
ul.social .tw:hover { background-position: -1em -1em; }
ul.social .gp:hover { background-position: -2em -1em; }
ul.social .yt:hover { background-position: -3em -1em; }
ul.social .li:hover { background-position: -4em -1em; }
ul.social .pt:hover { background-position: -5em -1em; }
ul.social .eb:hover { background-position: -6em -1em; }
ul.social .yl:hover { background-position: -7em -1em; }
ul.social .em:hover { background-position: -8em -1em; }
ul.social .ph:hover { background-position: -9em -1em; }
ul.social .sk:hover { background-position: -10em -1em; }
ul.social .ig:hover { background-position: -11em -1em; }
ul.assoc, ul.pymt {
	text-align: center;
}
ul.assoc li, ul.pymt li {
	display: inline-block;
		vertical-align: middle;
	margin: .2rem .1rem;
}
ul.assoc li img {
	display: block;
		max-height: 60;
		width: auto;
}
ul.pymt .cc {
	background-size: auto 100%;
	background-image: url("graphics/payments.png");
	background-repeat: no-repeat;
	border-radius: 5px;
	box-shadow: 2px 2px 4px rgba(0,0,0,0.7);
	color: rgba(0,0,0,0);
	display: block;
		width: 3em;
		height: 2em;
	font-size: 20px;
}
ul.pymt .visa {background-position: 0 0}
ul.pymt .mc {background-position: -3em 0}
ul.pymt .disc {background-position: -6em 0}
ul.pymt .paypal {background-position: -9em 0}
ul.pymt .amex {background-position: -12em 0}
ul.pymt .debit {background-position: -15em 0}
ul.pymt .dc {background-position: -18em 0}
ul.pymt .bc {background-position: -21em 0}
ul.pymt .apple {background-position: -24em 0}
.container {
	margin: 0 auto;
	max-width: 1200px;
}

@media screen and (max-width: 999px) {
	#menuBtn {
		display: inline-block;
		text-align: right;
	}
	#mainMenu ul {
		background-color: #fff;
		color: #111;
		display: block;
			width: 100%;
		display: none;
		position: absolute;
			z-index: 100;
	}
	#mainMenu ul li {
		display: block;
		padding: .5em;
		padding-left: 5rem;
		text-align: left;
	}
	#mainMenu ul li:hover {
		background-color: #016;
		color: #fff;
	}
	#mainMenu .desktop {
		display: none;
	}
	#mainMenu .mobile {
		display: block;
	}
	#aboutPg #marquee, #searchPg #marquee {
		background-position: center top;
	}
	#features {
		display: block;
			flex-flow: none;
			justify-content: auto;
			align-items: auto;
		overflow: auto;
		padding: 1em;
		text-align: center;
	}
	.feature-box {
		display: block;
		flex: none;
		margin: auto;
		padding: 1rem;
	}
	img.feature-graphic {
		max-width: 100%;
		height: auto;
	}
	ul.directions, #directions .feature-graphic {
		display: block;
		padding: 1rem;
		width: auto;
	}
}
@media screen and (max-width: 849px) {
	#contacts, #pgFooter {
		display: block;
			flex-flow: unset;
			justify-content: auto;
			align-items: auto;
	}
	#contacts .col, #pgFooter .col {
		display: block;
		flex: none;
		padding: .5rem;
		text-align: center;
	}
	#bizName {
		font-size: 1.5rem;
	}
	#content main, #content aside {
		float: none;
		margin: auto;
		padding: 1rem 4rem;
	}
	#content .callout {
		font-size: 1.8rem;
		padding: inherit 3rem;
	}
	ul.pymt .cc {
		background-size: auto 100%;
		border-radius: 3px;
		font-size: 14px;
	}
}