/*
 * Resetting and rebuilding styles have been helped along thanks to the fine work of
 * Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
 * along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
 * and Blueprint http://www.blueprintcss.org/
 */

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, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

html {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 62.5%;
	overflow-y: scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	-moz-box-sizing: inherit;
	box-sizing: inherit;
}

body {
	background: #f1f1f1;
}

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

ol,
ul {
	list-style: none;
}

table {
	border-collapse: separate;
	border-spacing: 0;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	-webkit-hyphens: none;
	-moz-hyphens: none;
	-ms-hyphens: none;
	hyphens: none;
	quotes: none;
}

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

a img {
	border: 0;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

/*** Font ***/

@font-face {
    font-family: 'VAGSerialMedium';
    src: url('../fonts/Volkswagen_Serial-Medium-webfont.eot');
    src: url('../fonts/Volkswagen_Serial-Medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Volkswagen_Serial-Medium-webfont.woff2') format('woff2'),
         url('../fonts/Volkswagen_Serial-Medium-webfont.woff') format('woff'),
         url('../fonts/Volkswagen_Serial-Medium-webfont.ttf') format('truetype'),
         url('../fonts/Volkswagen_Serial-Medium-webfont.svg#volkswagen_serialmedium') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'VAGSerialLight';
    src: url('../fonts/Volkswagen_Serial-Light-webfont.eot');
    src: url('../fonts/Volkswagen_Serial-Light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Volkswagen_Serial-Light-webfont.woff2') format('woff2'),
         url('../fonts/Volkswagen_Serial-Light-webfont.woff') format('woff'),
         url('../fonts/Volkswagen_Serial-Light-webfont.ttf') format('truetype'),
         url('../fonts/Volkswagen_Serial-Light-webfont.svg#volkswagen_seriallight') format('svg');
    font-weight: normal;
    font-style: normal;
}

/*** IIDA Styling ***/

body {
	font-family: 'VAGSerialLight', 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
	font-size: 16px; font-size: 1.6rem;
	color: #1B2B3A;
	background-color: #fff;
	text-align: left;
	line-height: 1.5em;
	margin: 0 auto;
}

strong {
	font-weight: bolder;
}

h1 {
	font-family: 'VAGSerialMedium', 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
	font-size: 28px; font-size: 2.8rem;
	line-height: 1.1em;
	margin-bottom: 15px;
}

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

	h1 {
		font-size: 21px; font-size: 2.1rem;
	}
}

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

	h1 {
		font-size: 17px; font-size: 1.7rem;
	}
}

h2 {
	font-family: 'VAGSerialMedium', 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
	font-size: 22px; font-size: 2.2rem;
	line-height: 1.2em;
	margin-bottom: 10px;
}

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

	h2 {
		font-size: 17px; font-size: 1.7rem;
	}
}

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

	h2 {
		font-size: 1.6px; font-size: 1.6rem;
	}
}

h4 {
	font-size: 13px; font-size: 1.3rem;
}

p {
	margin-bottom: 30px;
}

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

	p {
		margin-bottom: 10px;
	}
}

p:last-child {
	margin-bottom: 0px;
}

a:link, a:visited {
	text-decoration: underline;
	color: #1B2B3A;
}

a:hover {
	text-decoration: none;
}

/*** Columns & Responsive Setup ***/

.section {
	clear: both;
	padding: 4% 30px 4% 30px;
	margin: 0 auto;
	max-width: 960px;
	overflow: hidden;
}

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

	.section {
		padding: 20px 15px 20px 15px;
	}
}

.col {
	display: block;
	margin: 0;
	float: left;
}

.group:before,
.group:after { content:""; display:table; }
.group:after { clear:both;}
.group { zoom:1; /* For IE 6/7 */ }

.span_1_of_1 { width: 100%; }

.span_1_of_2 { width: 50%; }
.span_2_of_2 { width: 100%; }

.span_3_of_3 { width: 100%; }
.span_2_of_3 { width: 66.666%; }
.span_1_of_3 { width: 33.333%; }

@media only screen and (max-width: 480px) {
	.span_1_of_2, .span_2_of_3, .span_1_of_3 { width: 100%; }
}

/*** Header ***/
div#headerFull, div#headerResponsive {
	width: 100%;
	background-color: rgb(27,43,58);
	padding: 5px 0 20px 0;
}

div#headerFull div {
	margin:	0 auto 0 auto;
	max-width: 960px;
	overflow: hidden;
	padding: 0 30px 0 30px;
	position: relative;
}

/*** Header Navigation ***/
div#headerFull div a#logo {
	position: absolute;
	bottom: -4px;
	width: 400px;

	-webkit-transition: all 0.8s;
	-moz-transition: all 0.8s;
	transition: all 0.8s;
}

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

	div#headerFull div a#logo {
		width: 330px;
		bottom: 8px;
	}
}

div#headerFull div a#logo img {
	max-width: 100%;
	width: 100%;
    height: auto;  
}

nav.main {
	float: right;
	text-align: right;
}

nav.main ul li {
	font-family: 'VAGSerialMedium', 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
	font-size: 19px; font-size: 1.9rem;
	margin-top: 14px;
}

nav.main a:link, nav.main a:visited {
	text-decoration: none;
	color: #fff;
	-o-transition:.6s;
	-ms-transition:.6s;
	-moz-transition:.6s;
	-webkit-transition:.6s;
	transition:.6s;
}

nav.main a:hover {
	text-decoration: none;
	color: #FFBE00;
}

body#home nav.main a:link.home,
body#home nav.main a:visited.home,
body#coverage nav.main a:link.coverage,
body#coverage nav.main a:visited.coverage,
body#contact nav.main a:link.contact,
body#contact nav.main a:visited.contact {
	color: #FFBE00;
}

/*** Responsive Navigation ***/
div#headerResponsive {
	display: none;
	position: fixed;
	top: 0;
	z-index: 1000;
	-webkit-transform: translate3d(0px,0px,0px); /* Fix to allow instant fixed navigation strip on ios (not just after finger release) */
	transform: translate3d(0, 0, 0);
	padding: 12px 0 7px 0;
	height: 60px;
	width: 100%;
	overflow: visible;
}

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

	div#headerResponsive {
		display: inherit;
	}

	div#headerFull {
		display: none;
	}
}

div#headerResponsive div {
	margin:	0 auto 0 auto;
	max-width: 960px;
	overflow: visible;
	position: relative;
	padding: 0 15px 0 15px;

}

div#headerResponsive div nav ul li {
	margin-top: 8px;
}

div#headerResponsive a#responsiveMenuButton.isActive {
	color: #FFBE00;
}

div#headerResponsive a#responsiveMenuButton a:link, nav.main a:visited {
	text-decoration: none;
	color: #fff;
	-o-transition:.6s;
	-ms-transition:.6s;
	-moz-transition:.6s;
	-webkit-transition:.6s;
	transition:.6s;
}

div#headerResponsive nav.main a:hover {
	color: #fff;
}

/*** Introduction (inc Parallax Images) ***/
div#introduction {
    margin:	0 auto;
	background: #FFFFFF url(../images/fiberglass-insulation-on-roll.jpg) right bottom no-repeat;
	background-size: cover;
    width: 100%;
    max-width: 1500px;
    padding-bottom: 25%;
    height: 0;
    min-height: 180px;
    transition: 0s linear;
    transition-property: background-position;
	transform: translate3d(0, 0, 0);
	position: relative;
}

body#coverage div#introduction {
	background-image: url(../images/pipe-insulation-prevent-freezing.jpg);
}

body#contact div#introduction {
	background-image: url(../images/thermal-pipe-insulation.jpg);
}

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

	div#introduction {
		margin-top: 0px;
		min-height: 260px;
		background-position: right bottom;
		background-image: url(../images/fiberglass-insulation-on-roll_medium.jpg);
	}

	div#introduction .section {
		padding-top: 100px;
	}
}

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

	div#introduction {
		min-height: 230px;
	}

	div#introduction .span_1_of_2 {
		width: 70%;
	}

	body#coverage div#introduction {
		background-image: url(../images/pipe-insulation-prevent-freezing_small.jpg);
	}

	body#contact div#introduction {
		background-image: url(../images/thermal-pipe-insulation_medium.jpg);
	}
}

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

	body#contact div#introduction {
		background-image: url(../images/thermal-pipe-insulation_small.jpg);
	}
}

@media only screen and (max-width: 320px) {
	body#home div#introduction {
		background-image: url(../images/fiberglass-insulation-on-roll_small.jpg);
	}
}

/*** Post Introduction ***/

div#postIntroduction {
	background-color: #FFBE00;
}

div#postIntroduction p {
	font-family: 'VAGSerialLight', 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
	font-size: 22px; font-size: 2.2rem;
	line-height: 1.2em;
	margin-bottom: 20px;
}

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

	div#postIntroduction p {
		font-size: 1.7px; font-size: 1.7rem;
	}
}

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

	div#postIntroduction p {
		font-size: 1.6px; font-size: 1.6rem;
	}
}

div#postIntroduction p:last-child {
	margin-bottom: 0;
}

/*** Image Background ***/

div#imageBackground {
	margin:	0 auto;
	background: #1B2B3A url(../images/industrial-pipe-insulation.jpg) center bottom no-repeat;
	background-size: cover;
}

div#imageBackground h2 {
	color: #fff;
	margin-bottom: 20px;
}

div#imageBackground h2:last-child {
	margin-bottom: 0;
}

/*** Google Map ***/
div#googleMap {
	margin:	0 auto;
	height: 300px;
	width: 100%;
}

/*** Single Business Details ***/
div.singleBusiness {
	background-color: #1B2B3A;
	color: #fff;
}

div.singleBusiness.alt {
	background-color: #fff;
	color: #1B2B3A;
}

div.singleBusiness .col {
	padding: 1% 30px 0 30px;
}

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

	.anchor {
	  display: block;
	  height: 80px; /*same height as header*/
	  margin-top: -80px; /*same height as header*/
	  visibility: hidden;
	}

	div.singleBusiness .col.span_1_of_2 { 
		width: 100%;
		padding-left: 0;
		padding-right: 0;
		margin-top: 20px;
	}
}

div.singleBusiness .col:first-child {
	padding-left: 0;
}

div.singleBusiness .col:last-child {
	padding-right: 0;
}
div.singleBusiness li i {
	padding-right: 25px;
}

div.singleBusiness a:link, div.singleBusiness a:visited {
	text-decoration: none;
	color: #fff;
}

div.singleBusiness a:hover {
	text-decoration: underline;
}

div.singleBusiness.alt a:link, div.singleBusiness.alt a:visited {
	color: #1B2B3A;
}

/*** Main Content - Home Specific ***/

body#home div#mainContent .section {
	padding: 0;
}

body#home div#mainContent .section img {
  	display: block;
  	width: 100%;
  	height: auto;
}

body#home div#mainContent .section .col {
	padding: 3% 30px 3% 30px;
}

@media only screen and (max-width: 700px) {
	
	body#home div#mainContent .span_1_of_2 { 
		width: 100%;
	}

	body#home div#mainContent .section .col {
		padding: 20px 30px 20px 30px;
	}
}

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

	body#home div#mainContent .section .col {
		padding: 20px 15px 20px 15px;
	}
}

body#home div#mainContent .section .fullImage {
	padding: 0;

}

body#home div#mainContent .section.alt .col {
	float: right;
}

/*** Main Content - Contact Specific ***/
div#contactForm {
	background-color: #1B2B3A;
	color: #fff;
}

form#sendUsMessage .col {
	padding: 1% 30px 0 30px;
}

@media only screen and (max-width: 700px) {
	
	form#sendUsMessage .span_1_of_2 { 
		width: 100%;
	}

	form#sendUsMessage .col {
		padding: 20px 0 20px 0;
	}
	
	form#sendUsMessage .col:first-child { 
		padding-bottom: 0;
	}
	
	form#sendUsMessage .col:last-child { 
		padding-top: 0;
	}
}

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

	form#sendUsMessage .col {
		padding-left: 0;
		padding-right: 0;
	}
}

form#sendUsMessage .col:first-child {
	padding-left: 0;
}

form#sendUsMessage .col:last-child {
	padding-right: 0;
}

form#sendUsMessage label {
	float: left;
	clear: left;
	text-align: left;
	width: 100%;
	margin-bottom: 5px;
}

form#sendUsMessage input, form#sendUsMessage textarea {
	border: 1px solid #ffffff;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	float: left;
	display: block;
	font-family: 'VAGSerialLight', 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
	font-size: 1.05em;
	width: 100%;
	background-color: #ffffff;
	color: #1B2B3A;
}

form#sendUsMessage input {	
	line-height: 20px;
	padding: 0 7px 0 7px;
	margin-bottom:10px;
	height: 2.3em;

}

form#sendUsMessage textarea {
	height: 272px;
	padding: 6px;
	resize: vertical;
}

@media only screen and (max-width: 590px) {
	
	form#sendUsMessage textarea {
		height: 150px;
	}
}

form#sendUsMessage img.loading {
	float: right;
	margin: 15px 5px 0 0;

}


form#sendUsMessage #submitButton {
	margin: 15px 0 0 0;
	border: none;
	-webkit-appearance: none;
	cursor: pointer;
	position: relative;
	float: right;
	clear: both;
	padding: 0 10px 0 10px;
	width: auto;
	border: 1px solid #FFBE00;
	background-color: #FFBE00;
}

form#sendUsMessage #submitButton:hover {
	border: 1px solid #FFFFFF;
	background-color: #FFFFFF;
}

form#sendUsMessage button::-moz-focus-inner { /* Remove weird border around button in Firefox */
    padding: 0;
    border: 0
}

form#sendUsMessage .error { 
	float: left;
	clear: both;
	color: #F1200A;
	margin: -8px 0 5px 0;
	width: 100%;
}

form#sendUsMessage fieldset#message .error { 
	margin: 0 0 5px 0;
}


/*** Footer ***/
div#footer {
	background-color: #FFBE00;
}

div#footer .section {
	padding-top: 0;
	padding-bottom: 0;
}


div#footer div.section:first-child {
	padding-top: 4%;
}

div#footer div.section:last-child {
	padding-bottom: 4%;
}


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

	div#footer div.section:first-child {
		padding-top: 40px;
	}
	
	div#footer div.section:last-child {
		padding-top: 30px;
	}
}

div#footer a {
	text-decoration: none;
}

div#footer a:hover {
	text-decoration: underline;
}

div#footer i {
	padding-right: 7px;
	font-size: 48px; font-size: 4.8rem;
	vertical-align: bottom;
}

div#footer .span_1_of_2.contact {
	font-family: 'VAGSerialMedium', 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
	font-size: 28px; font-size: 2.8rem;
	line-height: 1.7em;
	margin-bottom: 10px;
	margin-top: -7px;
}

div#footer .span_1_of_2.address {
	text-align: right;
	font-family: 'VAGSerialMedium', 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
	font-size: 22px; font-size: 2.2rem;
	line-height: 1.3em;
	margin-bottom: 10px;
}

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

	div#footer i {
		font-size: 43px; font-size: 4.3rem;
	}

	div#footer .span_1_of_2.contact {
		font-size: 23px; font-size: 2.3rem;
		width: 100%;
	}

	div#footer .span_1_of_2.address {
		text-align: left;
		margin-top: 30px;
		font-size: 17px; font-size: 1.7rem;
		width: 100%;
	}
}

div#footer h4 {
	float: left;
	margin-top: 30px;
}
