/* Basic Resets */
html {box-sizing: border-box;}
*, *:before, *:after {box-sizing: inherit;}
nav ul {list-style-type: none;margin: 0;padding: 0;}
nav ul a {text-decoration: none;}

/* General Layout & Interface Styles */
body {
	margin: 0;
	background-color: #fff;
	min-height: 100vh;
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-between;
	padding-top: 3em;
	font-family: cronos-pro, sans-serif;
	font-weight: 200;
}
h1, h2, h3, h4, h5, h6 {
	color: #80020D;
	font-family: cronos-pro-display, sans-serif;
	font-weight: 600;
	font-style: normal;
}
h2 {
	font-size: 1.7em;
	margin: 2em 0 .2em;
}
h3 {
	font-size: 1.5em;
	margin: 2em 0 .2em;
}
#page-header,
#page-content,
#page-footer {
	padding: 0 6vw;
}


/* Page Header Styles */
#page-header {
	/*background-color: #500108;*/
	color: #fff;
	background-image: url('../themes/cleanery/assets/images/header-bkg-mb.svg');
	background-repeat: no-repeat;
	background-size: 150vw 100%;
	background-position: center bottom;
	display: flex;
	justify-content: space-between;
	padding-bottom: .7em;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999999;
}
.branding {
	width: 6em;
	font-family: serif;
	text-align: right;
	line-height: 1;
	padding: 0;
	font-size: 1.3em;
	flex-shrink: 0;
	flex-grow: 0;
	background-image: url('../themes/cleanery/assets/images/the-cleanery-logo-with-tagline.svg');
	background-repeat: no-repeat;
	background-size: 100% auto;
	color: transparent;
}
.branding span {
	text-transform: lowercase;
	font-size: .75em;
}

/* Basic Navigation Styles */
.nav-main {
	font-family: 'pt-sans-narrow', sans-serif;
}
.nav-main ul {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-content: flex-start;
}
.nav-main a::before {
	font-family: 'Font Awesome 5 Pro';
	font-weight: 600;
}
.nav-main a {
	color: #fff;
	padding: .5em;
	display: inline-block;
	text-align: center;
}
.nav-main .active a::before {
	color: #80020D;
}
.nav-main .active a {
	background-color: #fff;
	color: #000;
}
.nav-main li:first-of-type a::before {
	content: "\f015";
}
.nav-main li:nth-of-type(2) a::before {
	content: "\f553";
}
.nav-main li:nth-of-type(3) a::before {
	content: "\f5b6";
}
.nav-main li:nth-of-type(5) a::before {
	content: "\f059";
}
.nav-main li:nth-of-type(4) a::before {
	content: "\f54f";
}

/* Page Content Styles */
#page-content {
	font-size: 1.16em;
	padding-top: 2.59em;
}
#content-header h1 {
	font-size: 2em;
	margin: 0;
}
#page-content dt {
	font-size: 1.1em;
	font-weight: 600;
}
#page-content dd {
	margin: 0 0 1em;
}

/* Content Sidebar Styles */
.sidebar-item img {
	width: 100%;
	height: auto;
	border: 3px solid #fff;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
    transform: rotate(2deg);
}

/* Buttons */
.button-a,
.button-b,
.button-c {
	display: inline-block;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	padding: .5em 1em;
	text-decoration: none;
	border: none;
	-webkit-appearance: none;
	-moz-appearance: none;
}
.button-b {
  background: #E7E4C2;
  color: #466479;
}
.button-c {
  background: #4F718A;
  color: #FFF;
  font-weight: 400;
  font-size: 1.1em;
}


/* Page Footer Styles */
#page-footer {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-content: flex-start;
	margin: 5em 0 0;
	background-color: #80020D;
	font-family: 'PT Sans', sans-serif;
	color: #fff;
	background-image: url('../themes/cleanery/assets/images/footer-bkg.svg');
	background-size: 150vw 60vw;
	background-position: center top;
	background-repeat: no-repeat;
}
#page-footer a:link,
#page-footer a:visited,
#page-footer a:hover,
#page-footer a:active {
	color: #fff;
}
#page-footer .locations {
	list-style-type: none;
	margin: 2em auto;
	padding: 0;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	column-gap: 3em;
	align-content: flex-start;
	text-align: center;
}
#page-footer .location {
	width: 50%;
	margin: 1em 0;
}
#page-footer p {
	margin: 0 0 .5em;
}
#page-footer .address span {
	display: block;
}
#page-footer a[href^="tel:"] {
	background-color: #fff;
	color: #500108;
	text-decoration: none;
	font-weight: 600;
	padding: .5em;
	display: inline-block;
	border-radius: .2em;
}
#page-footer .copyright,
#page-footer .privacy-policy {
	font-size: .7em;
}


/* Mobile-only Styles */
@media only screen and (max-width: 767px) {
	/* Mobile Navigation */
	.nav-main::before {
		display: block;
		content: " ";
		height: 30px;
		/* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,1+100 */
		background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,1) 80%); /* FF3.6-15 */
		background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 80%); /* Chrome10-25,Safari5.1-6 */
		background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,1) 80%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
	}
	.nav-main {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
	}
	#page-header {
		align-content: flex-end;
	}
	#page-header .branding {
		font-size: 1em;
		margin: .5em 0;
	}
	.nav-main ul {
		padding: 0 6vw 3px;		
		background-color: #500108;
	}
	.nav-main a::before {
		display: block;
		font-family: 'Font Awesome 5 Pro';
		font-weight: 600;
		font-size: 1.5em;
		line-height: 1.2;
	}
	.nav-main a {
		border-radius: 0 0 6px 6px;
		font-size: 12px;
		min-width: 6em;
	}

	.sidebar-item {
		background-color: #eee;
		border-radius: 6px;
		padding: 1em;
	}
	.sidebar-item h1 {
		font-size: 1.3em;
		margin: 0;
	}

	#page-footer {
		padding-top: 2em;
		padding-bottom: 6em;
	}
	#page-footer .locations	{
		width: 100%;
		font-size: .8em;
	}
	.button-c {
		width: 100%;
	}
}

@media only screen and (max-width: 767px) and (orientation: landscape) {
	#page-footer .location {
		width: 25%;
	}
}

@media only screen and (min-width: 768px) {
	body {
		padding-top: 100px;
	}
	#page-header {
		height: 100px;
		background-image: url('../themes/cleanery/assets/images/header-bkg.svg');
		background-size: 100vw 100%;
	}
	#page-header .branding {
		margin-top: 15px;
		/*background-image: url('../images/the-cleanery-logo-with-tagline-dark.svg');*/
	}
	.nav-main a {
		padding-top: 10px;
	}
	.nav-main .active a {
		background-image;
		border-radius: 0 0 6px 6px;
	}

	#page-content {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
	}

	#primary-content {
		width: 60%;
	}

	#sidebar-container {
		width: 30%;
	}

	#page-footer {
		background-size: 101vw 250px;
		padding-top: 40px;
	}
	#page-footer .locations {
		width: 100%;
	}
	#page-footer .location {
		width: 25%;
	}	
	.copyright,
	.privacy-policy {
		width: 50%;
	}
	.privacy-policy {
		text-align: right;
	}

}

@media only screen and (min-width: 1600px) {
	#primary-content {
		font-size: 1.25em;
	}
}

/* Base Layout Styles - Mobile First */
body {
	padding-top: 0;
}
#page-header {
	position: absolute;
	z-index: 9999;
}
#page-header .branding {
	position: absolute;
	top: 28vw;
	font-size: 8.5vw;
}
#page-content {
	padding: 0;
}
#page-content > section {
	padding: 0 6vw;
	font-size: 1.3em;
}
#page-content > #primary-content {
	position: relative;
	padding: 11.5em 6vw 2.3em;
	margin: 0 0 3em;
	background-color: lightblue;
	background-image: url('../themes/cleanery/assets/images/home-header-btm-bkg.svg'), url('../themes/cleanery/assets/images/home-main-photo-mobile.jpg');
	background-repeat: no-repeat;
	background-position: center bottom, left top;
	background-size: 100vw 11vw, cover;
	text-align: center;
	font-size: 5vw;
}
#primary-content .pickup-delivery-promo {
	width: 11em;
	display: block;
	text-decoration: none;
	color: #000;
}
#primary-content .pickup-delivery-promo strong {
	text-transform: uppercase;
	color: #80020D;
	background-color: #fff;
	padding: .3em;
	border-radius: 60% 43%;
	font-weight: 700;
}
#primary-content .pickup-delivery-promo small {
	font-size: .7em;
	display: block;
	margin: 0 auto;
}
#primary-content h1,
#primary-content p {
	float: left;
	width: 100%;
	line-height: 1;
}
#primary-content h1 {
	font-size: 2em;
	margin: 1.5em 0 0;
}
#primary-content p {
	font-family: cronos-pro-display, sans-serif;
	font-weight: 600;
	font-style: italic;
	font-size: 1.5em;
	margin: .25em 0 .5em;
}

#locations {
	clear: both;
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-content: flex-start;
	column-gap: 4em;
}
#locations h2 {
	width: 100%;
	text-align: center;
	font-size: 1.35em;
}
#locations figure {
	width: 48%;
	margin: 0 0 20px;
	box-sizing: border-box;
	text-align: center;
	font-size: .73em;
}
#locations figure img {
	width: 100%;
	display: block;
	border: 2px solid #80020D;
	box-sizing: border-box;
}
#locations figure address {
	display: block;
	background-color: #80020D;
	background-image: url('../themes/cleanery/assets/images/curve-btm-white.svg');
	background-repeat: no-repeat;
	background-position: left bottom;
	background-size: 101% 16px;
	color: #fff;
	padding: .25em .25em 1.5em;
	text-align: center;
	font-family: cronos-pro-display, sans-serif;
	font-size: .9em;
	font-style: normal;
}
#locations .street-address {
	display: block;
}
#locations figure address,
#locations .phone {
	font-weight: 600;
}
#locations .phone {
	font-size: 1.15em;
	margin: .75em 0 .5em;
}
#locations .phone a {
	padding: .2em;
	border: 1px solid #444;
	text-decoration: none;
	color: #000;
	border-radius: 6px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.2);
	background-color: #fff;
}
#locations .hours h3 {
	margin: .5em 0 .25em;
}
#locations .hours-list {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
#locations .button {
	display: none;
}

/* Services Section */
#page-content > #services {
	background-color: #4F718A;
	color: #fff;
	padding-top: 2em;
	padding-bottom: 2em;
	background-image: url('../themes/cleanery/assets/images/section-top-bkg-white.svg'), url('../themes/cleanery/assets/images/section-btm-bkg-white.svg'), url('../themes/cleanery/assets/images/services-bkg.jpg');
	background-repeat: no-repeat;
	background-position: left top, left bottom, center;
	background-size: 120vw 11vw,  120vw 11vw, cover;
	background-attachment: scroll, scroll, fixed;
}
#services h2,
#services h3 {
	color: inherit;
}
#services h2 {
	font-size: 2.2em;
	line-height: .9;
	max-width: 5.9em;
	margin: 0 0 .5em;
}
#services > p:first-of-type {
	font-size: 1.15em;
}
#services ul,
#services dl {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
#services h3,
#services dt {
	font-family: cronos-pro-display, sans-serif;
	font-size: 1.05em;
	font-weight: 600;
	margin: 0 0 .1em;
}

#services li,
#services dd {
	padding: 0;
	margin: 0 0 1em;
}

/* Testimonials Section */
#page-content > #testimonials {
	background-color: #ddd;
	color: #fff;
	padding-top: 2em;
	padding-bottom: 2em;
	background-image: url('../themes/cleanery/assets/images/section-top-bkg-white.svg'), url('../themes/cleanery/assets/images/section-btm-bkg-white.svg');
	background-repeat: no-repeat;
	background-position: left top, left bottom;
	background-size: 120vw 11vw;
}

/* Special Announcement */
.announcement {
	position: absolute;
	background-color: #fff;
	border-radius: 8px;
	border: 3px solid #80020d;
	font-size: 1em;
	padding: .2em;
	top: 24px;
	right: 6vw;
	left: 6vw;
}
.announcement h2 {
	font-size: .8em;
	margin: 0 auto;
}
#primary-content .announcement p {
	font-size: .5em;
	font-weight: 200;
	font-style: normal;
	color: #000;
	text-shadow: none;
	float: none;
	width: auto;
}

/* Mobile-only Styles */
@media only screen and (max-width: 767px) {
	#page-header {
		background: none;
	}
	#primary-content .pickup-delivery-promo {
		color: #fff;
	}
}

@media only screen and (min-width: 768px) {
	#page-header {
		height: 70px;
		background-size: 100vw 100px;
	}

	#page-header .branding {
		position: relative;
		top: 21vw;
		height: 2.1em;
		left: 4vw;
		font-size: 5.3vw;
	}

	#page-content {
		flex-flow: column nowrap;
	}

	#page-content > section {
		width: 100%;
	}

	#page-content > #primary-content {
		position: relative;
		padding: 6em 6vw 4em 52%;
		margin: 0 0 3em;
		background-image: url('../themes/cleanery/assets/images/home-header-btm-bkg.svg'), url('../themes/cleanery/assets/images/home-main-photo.jpg');
		background-size: 100vw 10vw, cover;
		font-size: 1.3em;
	}

	.announcement {
		top: 84px;
		right:  6vw;
		left:  52%;
	}

	#primary-content .pickup-delivery-promo {
		float: none;
		position: absolute;
		bottom: -2em;
		left: 6vw;
	}

	#primary-content h1, #primary-content p {
		color: #fff;
		text-shadow: 0px 2px 1px rgba(0, 0, 0, 0.75);
	}
	#primary-content h1 {
		width: 9.6em;
	}

	#primary-content p {
		width: 12.8em;
		padding: 0 .7em;
	}

	#locations h2 {
		font-size: 2.15em;
	}

	#locations figure {
		width: 23.5%;
	}	

	#page-content > #services {
		display: flex;
		flex-flow: row wrap;
		justify-content: space-between;
		padding-bottom: 4em;
	}

	#services > div {
		width: 48%;
		font-size: .8em;
	}

	#services .button-b {
		margin: 1em auto;
	}

}

@media only screen and (min-width: 1024px) {
	#page-header .branding {
		position: relative;
		top: 21vw;
		height: 2.1em;
		left: 4vw;
		font-size: 5.3vw;
	}

	#page-content > #primary-content {
		margin: 0;
		padding: 5em 6vw 5em 52%;
		font-size: 2.3vw;
	}

	#primary-content .pickup-delivery-promo {
		font-size: 1.2em;
		bottom: -1.5em;
	}
	#primary-content .pickup-delivery-promo strong {
		background-color: #80020D;
		color: #fff;
	}
	#locations figure {
		font-size: .855em;
	}

	#services h2 {
		margin-top: .5em;
		margin-right: calc( 100% - 5.9em );
	}
	#services > p:first-of-type,
	#services > div {
		width: 28%;
		margin-top: 0;
	}
	#services > div {
		font-size: .8em;
		margin-top: -7em;
	}
	#services .button-b {
		margin: 1em 1.2em 1em auto;
	}


	#environmental h2 {
		font-size: 2.4em;
		margin: 0 0 .2em;
	}
	#environmental p {
		width: 22em;
	}

}

@media only screen and (min-width: 1240px) {
}

@media only screen and (min-width: 1440px) {
	#locations h2 {
		font-size: 2.5em;
	}
	#locations figure {
		font-size: .8em;
	}

}

@media only screen and (min-width: 1600px) {
	#page-content > #primary-content {
		/*padding: 3em 6vw 3em 52%;*/
		font-size: 2.3vw;		
	}

	#page-content > #services {
		background-size: 120vw 6vw, 120vw 6vw, cover;
	}
	#locations h2 {
		margin: 2em 0 .2em;
	}
	#services h2 {
		font-size: 2.8em;
	}
}

