/* NORMALIZE */

html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

body {
  margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

a {
  background: transparent;
}

a:active,
a:hover {
  outline: 0;
}

b,
strong {
  font-weight: 600;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

textarea {
  overflow: auto;
}


/* ------------- BEGIN CSS ------------- */

html {
	height: 100%; /* for sticky footer */
}

body {
	background: #fff;
	font: normal 400 15px/1.5 'Open Sans', sans-serif;
	height: 100%;
}

.wrapper {
	min-height: 100%;
	margin-bottom: -100px;
}

.wrapper::after {
	content: '';
	display: block;
	height: 100px;
}

.container {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	margin: 0 auto;
	overflow: hidden;
	padding: 0 20px;
	width: 960px;
}

.left {
	float: left;
}

.lh {
	width: 30%;
}

.right {
	float: right;
}

.rh {
	width: 60%;
}

.center {
	margin: 0 auto;
	text-align: center;
}

.show-nav {
	display: none;
}


/* ------------- HEADER ------------- */

header {
	background: #fff;
	border-bottom: 10px solid #066bb6;
	height: 50px;
	overflow: hidden;
	padding: 30px 0;
}

h1,
h1 a {
	color: #444;
	float: left;
	font: normal 600 16px/50px 'Open Sans', sans-serif;
	letter-spacing: 2px;
	margin: 0;
	padding: 0;
	text-decoration: none;
	text-transform: uppercase;
}

h1 img {
	height: 50px;
	width: 70px;
}

.logo-text {
	margin-left: 10px;
	position: relative;
	top: -20px;
}

ul {
	margin: 0;
	padding: 0 0 0 40px;
}

.navbar {
	padding: 0 50px;
}

	nav ul {
		float: right;
		list-style: none;
		padding: 0;
	}

		nav ul li {
			display: inline-block;
		}
	
	nav li {
		cursor: default;
	}

	nav a {
		cursor: pointer;
		color: #444;
		/*border-bottom: 1px solid #fff;*/

	}
	nav a.active {
		color: #006bb6;
	}

	nav a.noclick {
		cursor: default;
	}

	nav li,
	nav li a {
		color: #444;
		padding: 0 10px 10px 10px;
		line-height: 50px;
		text-decoration: none;

		-ms-transition: all .3s ease;
		-moz-transition: all .3s ease;
		-o-transition: all .3s ease;
		-webkit-transition: all .3s ease;
		transition: all .3s ease;
	}

	nav li:hover a {
		color: #006bb6;
	}

	nav li.dropdown-anchor:hover li a {
		color: #444;
	}


		.dropdown-anchor .dropdown li:hover a {
			color: #006bb6;
		}

	.dropdown {
		background: #fff;
		display: none;
		margin-left: -40px;
		padding: 30px 0 10px 20px;
		position: absolute;
		width: 300px;
	}

	.dropdown a {
		color: #444;

		-ms-transition: all .3s ease;
		-moz-transition: all .3s ease;
		-o-transition: all .3s ease;
		-webkit-transition: all .3s ease;
		transition: all .3s ease;
	}

	.dropdown-anchor:hover .dropdown {
		display: block;
	}


/* ------------- MAIN CONTENT ------------- */

.main {
	padding: 50px 0;
}

.bg-img {
	height: 400px;
	padding: 0;
}

.bg-map {
	background: url(../img/map.jpg) no-repeat center center;
	background-size: cover;
}

/* each `background-size: ;` must go with the `background: ;` rule */
.landing-img {
	background: url(../img/truck.jpg) no-repeat right center;
	background-size: cover;
}

.about-img {
	background: url(../img/team.jpg) no-repeat center center;
	background-size: cover;
	height: 500px;
}

.testing-img {
	background: url(../img/testing.jpg) no-repeat right bottom;
	background-size: cover;
}

.acceptance-img {
	background: url(../img/acceptance-testing.jpg) no-repeat right top;
	background-size: cover;
}

.repack-img {
	background: url(../img/repack.jpg) no-repeat center top;
	background-size: cover;
}

.rebuild-img {
	background: url(../img/rebuild.jpg) no-repeat center center;
	background-size: cover;
}

.topoff-img {
	background: url(../img/topoff.jpg) no-repeat center center;
	background-size: cover;
}

.coupling-img {
	background: url(../img/coupling.jpg) no-repeat center center;
	background-size: cover;
}

.hydrant-img {
	background: url(../img/flushing.jpg) no-repeat center center;
	background-size: cover;
}

.pump-repairs-img {
	background: url(../img/repair.jpg) no-repeat center center;
	background-size: cover;
}

.hero {
	background: #006bb6;
}

iframe {
	height: 400px;
	width: 100%;
}

h2 {
	border-bottom: 2px solid #006bb6;
	color: #222;
	font: italic 600 24px/1.5 'Open Sans', serif;
	margin: 0 auto 20px 0;
	padding-bottom: 10px;
	width: 70%;
	/*text-align: center;*/
}

	.hero h2 {
		border-bottom: 0;
		color: #fff;
		margin: 0 auto 20px auto;
		width: 720px;
	}

p {
	color: #444;
	margin: 0;
	width: 100%;
}

.image {
	margin: 0 20px;
	width: 360px;
}

.intro {
	color: #444;
	margin: 0 auto;
	width: 100%;
}

	.hero .intro {
		color: #fff;
	}

button {
	background: #006bb6;
	border: 0;
	border-radius: 3px;
	color: #fff;
	font: normal 400 14px/1.5 'Open Sans', sans-serif;
	letter-spacing: 1px;
	margin: 20px auto;
	padding: 8px 50px; /* 1:3 */
	text-transform: uppercase;
}

.cta {
	background: transparent;
	border: 1px solid #bae0fa;
	border-radius: 5px;
	color: #fff;
	display: inline-block;
	font: normal 400 14px/1.5 'Open Sans', sans-serif;
	letter-spacing: 1px;
	margin: 30px auto;
	padding: 8px 24px; /* 1:3 */
	position: relative;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	top: 0;

	-ms-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-o-transition: all .3s ease;
	-webkit-transition: all .3s ease;
	transition: all .3s ease;
}

	.cta:hover {
		border: 1px solid #fff;
	}

.boxed {
	background: #fafafa;
	border: 1px solid #f5f5f5;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	padding: 20px;
}

.dark-bg {
	background: #222;
}


.link-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .link-list li {
        border-bottom: 5px solid #fff;
    }
    
    .link-list li:before {
        content: '';
        border-color: transparent #006bb6;
        border-style: solid;
        border-width: 4px 0 4px 6px;
        display: block;
        height: 0;
        left: 20px;
        margin: 0 0 -8px 0;
        width: 0;
        top: 16px;
        position: relative;
    }
        .link-list li.hover:before{
            border-color: transparent #fff;
        }
    
    .link-list a {
        background: #eef2f5;
        color: #444;
        display: block;
        font: 600 13px/40px 'open-sans', 'open sans', sans-serif;
        height: 40px;
        text-decoration: none;
        text-indent: 40px;
    }    
        .link-list a:visited {
            color: #444;
        }
        .link-list a:hover {
            background: #006bb6;
            color: #fff;
        }


/* ------------- PHOTOS ------------- */

.photo {
	float: left;
	height: 150px;
	margin: 0 20px 20px 0;
	overflow: hidden;
	width: 280px;
}

.photo img {
	max-width: 100%
}


/* ------------- FORMS ------------- */

label {
	display: block;
	margin-top: 15px;
}

input,
textarea {
	border: 1px solid #aaa;
	border-radius: 3px;
	display: block;
	padding: 5px 10px;
	width: 70%;
}

input:focus,
textarea:focus {
	border: 1px solid #006bb6;
	outline: 0;
}

.required {
	color: #b22;
}


/* ------------- FOOTER ------------- */

.lh-heading {
	display: block;
	letter-spacing: 1px;
	margin: 10px 0 15px 10px;
	text-transform: uppercase;
}

.lh-nav {
	display: block;
	list-style: none;
	padding: 0;
}

	.lh-nav li {
		border-bottom: 1px solid #eee;
		border-radius: 3px;
		margin: 2px 0;
		padding: 5px 0;
	}

	.lh-nav li a {
		color: #444;
		font-size: 12px;
		padding: 10px;
		letter-spacing: 1px;
		text-decoration: none;
		text-transform: uppercase;
	}

	.lh-nav .active {
		background: #006bb6;
		border-color: #fff;
	}
	.lh-nav .active a {
		color: #fff;
		font-weight: 600;
	}


/* ------------- FOOTER ------------- */

footer {
	background: #222;
	color: #fff;
	height: 100px;
	text-align: center;
}

small {
	/* 100px footer height = line-height */
	font: normal 300 14px/100px 'Open Sans', sans-serif;
	padding: 10px 30px;
	border-left: 1px solid #555;
}

	small:first-child {
		border-left: 0;
	}


/* ---------------------------------------------------
   ------------------- RESPONSIVE --------------------
   --------------------------------------------------- */

@media screen and (max-width: 1100px) {

	.container {
		width: 600px;
	}

	.photo {
		width: 260px;
	}

	.wrapper {
		min-height: 100%;
		margin-bottom: -180px; /* 120 + (30*2) */
	}

	.wrapper::after {
		content: '';
		display: block;
		height: 180px; /* 120 + (30*2) */
	}

	.bg-img,
	iframe {
		height: 250px;
	}

	.about-img {
		height: 300px;
	}

	header {
		height: auto;
	}

	nav ul {
		clear: both;
		float: left;
	}
	
	nav li,
	nav li a {
		color: #444;
		line-height: 40px;
		padding: 0 7px 5px 7px;
	}

	h2 {
		width: 80%;
	}

	.hero h2,
	.intro {
		width: 100%;
	}

	footer {
		height: 120px;
		padding: 30px 0;
	}
	
	small {
		border: 0;
		border-top: 1px solid #555;
		display: block;
		line-height: 1.5;
	}

	small:first-child {
		border-top: 0;
	}


	.lh {
		margin-bottom: 30px;
		width: 100%;
	}

	.lh-nav {
		display: none;
	}

	.rh {
		width: 100%;
	}

	.show-nav {
		border: 1px solid #ccc;
		border-radius: 3px;
		cursor: pointer;
		display: inline-block;
		font: normal 300 12px/1.5 'Open Sans', sans-serif;
		padding: 3px 8px;
		margin-left: 10px;
		position: relative;
		text-indent: 1px;
		top: -3px;
	}

}


@media screen and (max-width: 700px) {

	.container {
		width: 100%;
	}

	.about-img {
		height: 250px;
	}

	.bg-img {
		height: 180px;
	}

	.photo {
		margin: 10px auto;
		width: 80%;
	}

	h2,
	.hero h2,
	.intro {
		width: 80%;
	}

	.dropdown {
		left: 50px;
	}

	header {
		height: auto;
	}

	.image {
		clear: both;
		float: none;
		margin: 0;
		padding: 10px;
		width: 280px;
		max-width: 80%;
	}

}

@media screen and (max-width: 500px) {

	.navbar {
		padding: 0 10px;
	}

	h1,
	h1 a {
		font-size: 14px;
	}

	.bg-img {
		height: 140px;
	}

}


/* ---------------------------------------------------
   ---------------------- MODAL ----------------------
   --------------------------------------------------- */

#overlay {
	background: rgba(0,0,0,.8);
	display: none;
	position: fixed;
	top: 0; right: 0 ; left: 0; bottom: 0;
	z-index: 999;
}

	#modal {
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		margin: 40px auto;
		padding: 20px;
		text-align: center;
		width: 80%;
	}

	#modal::after {
		color: #fff;
		content: '×';
		cursor: pointer;
		display: block;
		font-family: sans-serif;
		font-size: 24px;
		padding: 20px;
		position: absolute;
		right: 30px;
		top: 30px;
	}

	.modal-photo {
		max-height: 90%;
		max-width: 100%;
		min-width: 300px;
	}
	

