/* Global */

html {
    font-size: 100%;
    }
body {
    margin: 0px 0px 0px 0px;
    padding: 0;
    background: #fff;
    font-family: "Helvetica", Arial, Sans-serif;
    font-size: 100%;
    width: 100%;
    height: 100%;
    text-decoration: none;
     background: #ecf0f1;
  line-height: 1.4;

}

p {
    line-height: 20px;
    margin-bottom: 20px;
}
h1 {
    font-family: "Helvetica". Arial, sans-serif;
    color: #009c00;
    font-size: 3em;
    margin-bottom: 20px;
}
h2 {
    font-weight: 200;
    color: #444;
    font-size: 1.25em;
    text-align: left;
    margin-bottom: 20px;
}
h3 {
    font-size: 1.5em;
    color: #444;
    font-weight: 300;
    text-align: center;
    margin-bottom: 20px;
}
h4 {
    font-size: 18px;
    color: #444;
    font-weight: 300;
    margin-bottom: 20px;
}
h5 {
    font-size: 1em;
    color: #444;
    font-weight: 200;
}
img {
    width: auto;
    height: auto;
    
}
a {
    text-decoration: none;
    color: #888;
}
a:hover {
    color: #009c00 !important;
    text-decoration: none;
    cursor: pointer;
}
a:active {
    color: #009c00;
    text-decoration: none;
}
a:visited {
    text-decoration: none;
}
strong {
    font-weight: bold;
}
small {
    font-size: .9em;
    color: #777;
    font-style: italic;
}
.clear {
    clear: both;
}
.wrapper {
    margin: 0 auto;
    padding: 0 10px;
    width: 100%; 
}

* {
  box-sizing: border-box;
}

ul {
  list-style: none;
}


/* Header */


header{
    background: #fff;
    width:100%;
    position: fixed;
    height: 115px;
    top: 0px;
    right: 0px;
    left: 0px;
    box-shadow: 0px 5px 5px #333;
    z-index: 1;
  }
header .wrapper {
    width: auto;
}
header h1 img{
    float: left;
    margin-left: 30px;
    position: fixed;
    -webkit-filter: drop-shadow(0px 0px 0px 1px #999 );
    filter: drop-shadow(0px 2px 2px #999);
    filter: drop-shadow(0px 2px 2px #000);
    width:230px;
}

header h3 a {
    color: #009c00;
}

/* SUBPAGE HEADER */



/* NAVIGATION */



body {

	line-height: 32px;
	color: #444;
	margin: 0;
	padding: 0;
	word-wrap:break-word !important;
}

#container {
	margin: 0 auto;
	max-width: 890px;
}

.toggle,
[id^=drop] {
	display: none;
}

nav { 
    margin-top: 50px;
	padding: 0;
	background-color: #fff;
    float: right;
    margin-right: 20px;
}

nav:after {
	content:"";
	display:table;
}

nav ul {
	float: right;
	padding:0;
	margin:0;
	list-style: none;
	position: relative;
}
	
nav ul li {
	margin: 0px;
	display:inline-block;
	float: left;
	background-color: #fff;
}

nav a {
	display:block;
	padding:14px 12px;	
	color:#777;
	font-size: 1.2em;
	text-decoration: none;
}


nav ul li ul li:hover { 
  color: #009c00;
}

nav a:hover { 
	color: #009c00; 
}

nav ul ul {
	display: none;
	position: absolute; 
	top: 60px; 
}
	
nav ul li:hover > ul {
	display:inherit;
}
	
nav ul ul li {
	width:300px;
	float:none;
	display:list-item;
	position: relative;
}

nav ul ul ul li {
	position: relative;
	top:-60px;
	left:170px; 
}

li > a:after { content:  ' '; }
li > a:only-child:after { content: ''; }



/* HOME PAGE */


/* Slider */

.carousel-inner>.item>img, .carousel-inner>.item>a>img {
    display: block;
    max-width: 100%;
    line-height: 1;
    width: 100%;    
}
.carousel-inner {
    box-shadow:  0px 5px 5px #999;  
}

.item {
    margin-top: 115px;
}


.carousel-caption {
    font-family: "Helvetica", Arial, Sans-serif;
    font-weight: 400;
    right: 30%;
    left: 60%;
    width: 50%;
    top: 50%;
    transform: translateY(-50%);
    bottom: initial;
    background: rgba(255, 255, 255, 0.7);
}

.carousel-caption h3 {
    color: #fff;
    font-size: 2rem;
    text-align: left;
    padding-left: 20px;
}

.carousel-caption h2 {
    width: 150%;
    color: #009c00 !important;
    font-size: 2rem;
    text-align: left;
    padding-left: 20px;
}
a[href="tel"]:visited {
    color: #00e900;
    text-decoration: none;
    
}
.carousel-indicators li {
  box-shadow: 0 1px 0.8rem #999;}
    .carousel-indicators li {
  /* add a box shadow to the indicators to make them visible on white backgrounds */
  box-shadow: 0 1px 0.4rem rgba(0, 0, 0, 0.5);
  z-index: 0;
    
}
}
.carousel-control.left, .carousel-control.right {
    background-image: none;
}

.right.carousel-control, .left.carousel-control {
    opacity: 0;
    filter:alpha(opacity=0); /* IE support */
}

}

/* MAIN */
div {
    overflow: hidden;
}

p {color: #444;}

h2 {
  font-size:1.5em;
  color: #009c00; 
  text-align: center;
}
.centered {
    margin: 0 auto;
    padding: 0 1em;
}

@media screen and (min-width: 65em) {
    .centered {
        max-width: 65em;
    }
}



/* Card Based Layout - Base styles */

.main-area {
    margin-top: 50px;
}
.card {
	background: white;
	margin-bottom: 3em;	
}

.card a {
	color: black;
	text-decoration: none;
}

.card a:hover {
	box-shadow: 3px 3px 8px hsl(0, 0%, 70%);
}

.card-content {
	padding: 1.4em;
}

.card-content h2 {
	margin-top: 0;
	margin-bottom: .5em;
	font-weight: normal;
}
.card-content h3 {
    color: #009c00;
    text-align: center;
    font-size: 1.25em;

}

.card-content p {
	font-size: 95%;
}
.card-content ul {
    font-size: 95%;
    color: #777;
    text-align: center;
    line-height: 1.4;
}

img {
  width: 100%;
  height: auto;
}

/* Flexbox styles */
@media screen and (min-width: 40em) {  
  .cards {
    margin-top: -1em;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .card {
    margin-bottom: 1em;
    display: flex;
    flex: 0 1 calc(50% - 0.5em);
    /* width: calc(50% - 1em); */
  }
} /* mq 40em*/

@media screen and (min-width: 60em) {
  .cards {
    margin-top: inherit;
      
  }
  
  .card {
    margin-bottom: 2em;
    display: flex;
    flex: 0 1 calc(33% - 0.5em);
    /* width: calc(33% - 1em); */
  }
} 






/* Content Pages */


/* Feature Image*/


.content-page-header {
    margin-top: 115px;
    width: 100%;
}
.background-header {
    background
}

.feature-image {
    margin-top: 100px;
    height: 170px;
    width: 520px;
    background-color: #e6eb00;

}




.article {
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 30px 30px;

}


.article h1 {
  font-size: 2em; 
  line-height: 1;
  color: #444;
  margin-bottom: 40px;
 
}

.article h2 {
  font-size: 1.5em;
  line-height: 1;
  text-align: left;
  color: #444;
  margin-top: 40px;
  font-weight: 400;
}

.article h3 {
  font-size: 1.25em;
  line-height: 1.2;
  text-align: left;
  color: #444;
}


.article p {
   font-size: 1.2em; 
    color: #555;
}
.article img {
  width: 60%;
  margin-top: 50px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.article a {
    color: #009c00;
}

/* Benefits */

.benefits img {
    display: block;
    margin: 0 auto;
    padding: 25px;
}


.center-benefits h2 {
        font-size: 35px;
        text-align: center;
       color: #ff6633;
        width: 100%;
        font-weight: 500;
    }

/* Spray Foam vs Traditional */

.sprayvsfoam img {
    padding-left: 10%;
    padding-right: 10%;
    position: relative;
    display: block;
    margin-bottom: 50px;
}

.bullet {
    list-style: disc;
}
.bullet li {
    margin-left: 100px;
}
/* About Us */

.ourwork {
    margin: 40px auto;
    max-width: 800px;

    background: #eee;

}
.ourwork h2 {
    font-size: 2em;
    text-align: center;
    margin-top: 10px;
}
.ourwork img {
    width: 100%;
    margin-top: 20px;
}
.ourwork h2 a {
    text-align: center;
    border: 1px solid #009c00;
    border-radius: 8px;
}
.contactus h2 {
    margin-top: 30px;
    margin-bottom: 50px;

}
.contactus h2 a {
    font-size: 1em;
    padding: 5px 10px;
    color: #009c00;

}
.contactus a:hover {
    color: #00e800 !important;
}
.contact-us {
    margin-top: 150px;
}
.contact-us h2 {
    font-size: 2em;
    text-align: center;
    font-weight: 500;
}
.contact-us ul {
    margin-top: 50px;
    text-align: center;
}
.contact-us ul li {
    margin: 20px 0px;
    font-size: 1.5em;
    
}
.contact-us a {
    text-align: center;
    font-size: 1.5em;
    
}

/* Gallery */



* {

  box-sizing: border-box;
}

.gallery {
  display: flex;
  width: 90%;
  margin: 15% auto;
  padding: 5px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.3);
}

.gallery > div {
  position: relative;
  padding: 5px;

}

.gallery > div > img {
  display: block;
  width: 300px;
  transition: .1s transform;
  transform: translateZ(0); /* hack */
}

.gallery img {
  width: 100%;
  height: 100%;
}

.gallery p {

    color: #000;
    background: rgba(255, 255, 255, 0.5);
    text-align: left;

    font-size: 1em;
}

.gallery > div:hover {
  z-index: 2;
}
.gallery:hover > img {
    transform: translateX(-25%) translateY(-25%);
    transform: scale(1.7,1.7);
    transition: .3s transform; 
}
.gallery:hover > h5{
    display: none;
}

.cf:before, .cf:after {
  display: table;
  content: "";
  line-height: 0;
}

.cf:after {
  clear: both;
}

/* Types of Insulation */
/* Compairson Table */

/* Contact Page */
/* Contact Form */
     @import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,400,300,600);

* {
	margin:0;
	padding:0;
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	-moz-font-smoothing:antialiased;
	-o-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}

.contact-form {

	max-width:600px;
	width:100%;
	margin:0 auto;
	position:relative;
}

#contact input[type="text"], #contact input[type="email"], #contact input[type="tel"], #contact input[type="url"], #contact textarea, #contact button[type="submit"] { font:400 12px/16px "Open Sans", Helvetica, Arial, sans-serif; }

#contact {
	background:#F9F9F9;
	padding:25px;
	margin:20px 0;;

    
}

#contact h3 {
	color: #009c00;
	display: block;
	font-size: 30px;
	font-weight: 400;
    
}

#contact h4 {
	margin:5px 0 15px;
	display:block;
	font-size:13px;
}

fieldset {
	border: medium none !important;
	margin: 0 0 10px;
	min-width: 100%;
	padding: 0;
	width: 100%;
}

#contact input[type="text"], #contact input[type="email"], #contact input[type="tel"], #contact input[type="url"], #contact textarea {
	width:100%;
	border:1px solid #CCC;
	background:#FFF;
	margin:0 0 5px;
	padding:10px;
}

#contact input[type="text"]:hover, #contact input[type="email"]:hover, #contact input[type="tel"]:hover, #contact input[type="url"]:hover, #contact textarea:hover {
	-webkit-transition:border-color 0.3s ease-in-out;
	-moz-transition:border-color 0.3s ease-in-out;
	transition:border-color 0.3s ease-in-out;
	border:1px solid #AAA;
}

#contact textarea {
	height:100px;
	max-width:100%;
  resize:none;
}

#contact button[type="submit"] {
	cursor:pointer;
	width:100%;
	border:none;
	background:#009c00;
	color:#FFF;
	margin:0 0 5px;
	padding:10px;
	font-size:15px;
}

#contact button[type="submit"]:hover {
	background:#00e800;
	-webkit-transition:background 0.3s ease-in-out;
	-moz-transition:background 0.3s ease-in-out;
	transition:background-color 0.3s ease-in-out;
}

#contact button[type="submit"]:active { box-shadow:inset 0 1px 3px rgba(0, 0, 0, 0.5); }

#contact input:focus, #contact textarea:focus {
	outline:0;
	border:1px solid #999;
}
::-webkit-input-placeholder {
 color:#888;
}
:-moz-placeholder {
 color:#888;
}
::-moz-placeholder {
 color:#888;
}
:-ms-input-placeholder {
 color:#888;
}
/* FAQ */


/* Footer */

.flex-rw {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-content: center;
}

main {
  
  flex: 1 1 auto; 
  display: flex;
  color: #009c00;
  line-height: 1em;
}
footer {
  position: absolute;
  background: #fff;
  margin-top: auto;
  width: 100%;
  box-shadow: inset 0 0 30px #999999;
}

.footer-list-top {
  width: 33.333%;
  padding: 0;

}

.footer-list-top li {
  text-align: center;
  color: #444;
  font-size: 1em;
  width: auto;
  line-height: 2.5em;
}

.footer-list-header {
  margin-top: 8%;
  color: #444;
  font-size: 1.25em;
  text-align: center;
  color: #009c00;  
}

.fa-facebook, {
    font-size: 1.5em;
    padding-right: 0 10px 0 10px;
}


/* footer bottom */

.footer-bottom-section {
  width: 100%;
  padding: 15px;
  background-color: #333;
  margin-top: 10px;
  justify-content: center;
  color: #fff;
  text-align: center;
  
}

.footer-bottom-wrapper a{
  color: #fff;
  font-size: 1em;
  justify-content: center;
}
.footer-address {
  display: inline;
  font-style: normal;
    justify-content: center;
}
.mtylerdesign {
    color: #fff;
}
