u { display: none; }
* { margin: 0; padding: 0; }
header { display: block; }
a img { border-style: none; }

/* Primary style */

html { font-size: 62.5%; }

body {
	font: 1.6rem "Open Sans", sans-serif;
	font-weight: 400;
	margin-top: 5vh;
	/*background-color: #a7bbbe;*/
	color: #333;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	}

p { margin: 1em 0 0.5em; }

h1, h2, h3, h4 {
	color: #036;
	font-size: 150%; }
h2, h3, h4 {
	font-size: 130%;
	padding-top: 0.2em;
	margin-top: 1em;
	border-top: 1px solid #036;
	}
h3 { font-size: 110%; }
h4 { font-size: 100%; }
	
h2:first-of-type,
h3:first-of-type,
h4:first-of-type {
	border-top-width: 0;
	padding-top: 0;
	}

i { font-family: font-awesome; }

hr {
	border: 2px solid #eee;
	height: 2px;
	background-color: #ccc;
	margin: 0.5em 0;
	}

.img {
	text-align: center;
	font-size: 90%;
	}

.right {
	float: right;
	margin: 0 0 0.5em 1em;
	}

.left {
	float: left;
	margin: 0 1em 0.5em 0;
	}

.fit { width: 100%; }

/* Header style */

header {
	position: relative;
	background: url(../images/header-portrait.jpg) #eaeff2 top center no-repeat;
	height: 260px;
	}

header nav { position: relative; }
header a#homelink {
	position: absolute; top: -25px; left: 90%; z-index: 1000;
	color: #369;
	}

header nav ul {
	position: relative; top: -5vh;
	display: none;
	}
ul.head { list-style: none; }
header nav li a {
	width: 100%;
	display: block;
	text-align: center;
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid #eee;
	padding: 0.2em 0;
	background-color: #369;
	}
h4.accordion-toggle {
	cursor: pointer;
	text-align: center;
	background: #369;
	color: #fff;
	width: 20%;
	padding: 0.1vh 0;
	margin: 0;
	position: relative; top: -5vh;
	}

p#communicate {
	position: relative; top: -35px; left: 10px;
	font: 1.3em Puritan;
	background-color: #eaeff2;
	color: #789;
	}
p#communicate a { text-decoration: none; }
p#communicate a:link { color: #369; }
p#communicate a:hover { color: #000; }
p#communicate a:visited { color: #930; }
p#communicate a:active { color: #900; }
p#communicate span.tel::after { content: ' • '; }

#powerclean dt {
	font-weight: 700;
	font-size: 120%;
	margin-top: 0.5em;
	}
#powerclean dt img {
	float: left; clear: all;
	height: 3em;
	margin: 0 5px 0;
	}


/* Tablet header style */

@media screen and (min-width: 600px) {
	header {
		background-image: url(../images/header-landscape.jpg);
		height: 200px;
		}
	p#communicate {
		font: 1.5em Puritan;
		}
	}

@media screen and (min-width: 800px) {
	header {
		background-image: url(../images/header-tablet.jpg);
		height: 260px;
		}
	p#communicate {
		font: 1.7em Puritan;
		}
	}


/* Article and Aside style */

article {
	width: 95vw;
	margin: 0.5em auto;
	}

aside, footer {
	border: 1px solid #a61c00;
	margin: 0.5em auto;
	width: 89vw;
	padding: 0 3vw;
	}

/* list style */

article ul, aside ul { list-style: none; }
article ul li,
aside ul li {
	padding: 2px;
	margin-top: 3px;
	text-align: center;
	font-weight: 700;
	border: 1px solid #ccc;
	position: relative;
	}
article ul a,
aside ul a {
	display: block;
	width: 100%;
	text-decoration: none;
	color: #369;
	}

ul#pagenav a:after {
	font-size: 22px;
	color: #a61c00;
    font-family: FontAwesome;
    display: inline-block;
    position: absolute; left: 95%;
	content: " \f14a";
	}
ul#pagenav a:hover,
ul#pagenav a:hover:after {
	background-color: #369;
	color: #fff;
	}
ul#offerscheck li:after {
	font-size: 22px;
	color: #a61c00;
    font-family: FontAwesome;
    display: inline-block;
    position: absolute; left: 95%;
	content: " \f0ad";
	}


/* Testimonials style */

div.testimonial {
	padding-bottom: 0.5m;
	border-bottom: 1px solid #369;
	margin-bottom: 1em;
	}
p.quote { font: 150% Caveat; }
p.quote::before { content: open-quote; }
p.quote::after { content: close-quote; }
p.author span { font-weight: 300; }


/* Google Map style */

#map_canvas {
	width: 400px;
	height: 350px;
	border: 1px solid #369;
	}
#directions {
	background-color: #fff;
	color: #169;
	width: 390px;
	}

@media screen and (max-width: 450px) {
	#map_canvas {
		width: 290px;
		}
	#directions {
		font-size: 90%;
		width: 280px;
		}
	}


/* #top arrow style */

.cd-top.cd-is-visible {
	/* the button becomes visible */
	visibility: visible;
	opacity: 1;
	}
.cd-top.cd-fade-out {
	/* if the user keeps scrolling down, the button is out of focus and becomes less visible */
	opacity: .5;
	}
.cd-top {
	display: inline-block;
	height: 40px;
	width: 40px;
	position: fixed;
	bottom: 40px;
	right: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	/* image replacement properties */
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	background: rgba(232, 98, 86, 0.8) url(../images/cd-top-arrow.svg) no-repeat center 50%;
	visibility: hidden;
	opacity: 0;
	-webkit-transition: opacity .3s 0s, visibility 0s .3s;
	-moz-transition: opacity .3s 0s, visibility 0s .3s;
	transition: opacity .3s 0s, visibility 0s .3s;
	}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
	-webkit-transition: opacity .3s 0s, visibility 0s 0s;
	-moz-transition: opacity .3s 0s, visibility 0s 0s;
	transition: opacity .3s 0s, visibility 0s 0s;
	}
.cd-top.cd-is-visible {
	/* the button becomes visible */
	visibility: visible;
	opacity: 1;
	}
.cd-top.cd-fade-out {
	/* if the user keeps scrolling down, the button is out of focus and becomes less visible */
	opacity: .5;
	}
.no-touch .cd-top:hover {
	background-color: #e86256;
	opacity: 1;
	}

@media screen and (min-width: 1000px) {
	
	body {
		background-color: #a7bbbe;
		margin-top: 0
		}

	a:link { color: #369; }
	a:hover { color: #000; }
	a:visited { color: #930; }
	a:active { color: #900; }
	
	.hide { display: none; }
	
	#main {
		width: 1000px;
		margin:  auto;
		position: relative;
		background: url(../images/background.jpg) repeat-y #fff;
		}
	
	header {
		background: url(../images/header-std.jpg) no-repeat transparent;
		background-size: auto;
		height: 350px;
		padding: 0;
		}
		
	header nav {
		padding-top: 94px;
		padding-left: 40px; 
		}
	header nav ul {
		display: block;
		top: 0;
		}
	h4.accordion-toggle { display: none; }

	header nav li {
		float: left;
		position: relative;
		}

	header nav li a {
		font-size: 90%;
		font-weight: 700;
		color: #606;
		height: 20px;
		width: 165px;
		border-right: 3px solid #c9cdd0;
		background-color: #fff;
		border-bottom-width: 0;
		padding: 2px 0 2px;
		}
	header nav a.also { border-width: 0; }
	header nav a.servicing { width: 212px; }
	header nav a:hover { background-color: #ffc; color: #000; }
	header nav a.highlight { background-color: #c06; color: #fff; }
	
	p#communicate {
		position: relative; top: 4px; left: 42px;
		width: 560px;
		clear: left;
		font-size: 200%;
		}
	
	article {
		width: 40%;
		margin: 0 0 0 4%;
		}
	
	aside {
		position: absolute; top: 380px; left: 48%;
		width: 40%;
		margin: 0;
		padding: 0 5px 5px;
		}

	footer {
		background: url(../images/footer.jpg) no-repeat transparent;
		height: 70px;
		text-align: center;
		border-width: 0;
		margin: 1em 0 0;
		width: auto;
		}
	footer p {
		width: 80%;
		font-size: 80%;
		margin: auto;
		}
	footer p:first-of-type {
		padding: 3px 0 0;
		border-top: 1px solid #369;
		}
	
	}