﻿@import url("https://fonts.googleapis.com/css?family=Lato:400,700,300,900");
@import url("https://fonts.googleapis.com/css?family=Tangerine:400,700|Pinyon+Script|Great+Vibes");
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, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

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

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

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

a img {
  border: none;
}

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

body, html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Lato", sans-serif;
}

a {
  color: #515652;
  -moz-transition: color, 400ms;
  -o-transition: color, 400ms;
  -webkit-transition: color, 400ms;
  transition: color, 400ms;
}
a:visited {
  color: #515652;
}

input, textarea {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  font-size: 16px;
  border: 1px solid #e3e1d4;
  font-family: "Lato", sans-serif;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

input[type=file] {
  visibility: hidden;
  height: 0px;
  padding: 0px;
  margin: 0px;
}

input[type=submit] {
  padding: 12px 24px;
  -webkit-appearance: none;
  background: #87af93;
  color: white;
  width: auto;
}

::-moz-selection {
  color: white;
  background: #515652;
}

::selection {
  color: white;
  background: #515652;
}

#header {
  position: relative;
  z-index: 1;
  height: 78px;
  background-color: rgba(255, 255, 255, 0.8);
}

body.open, html.open {
  overflow: hidden;
  height: 100vh;
}
body.open #header, html.open #header {
  background: #dad8c6;
}

#main-nav {
  position: absolute;
  top: 0;
  left: 0;
}
#main-nav ul li {
  display: inline-block;
}
#main-nav ul li a {
  display: block;
  font-size: 18px;
  padding: 28px 50px 32px;
  text-transform: uppercase;
  text-decoration: none;
  color: #6a706b;
}
#main-nav ul li a:hover {
  color: black;
}
#main-nav ul li.active a {
  background: #eeede5;
}

#phone-nav {
  position: absolute;
  top: 0;
  right: 50px;
}
#phone-nav a {
  font-size: 18px;
  display: inline-block;
  padding: 28px 7px 32px;
  text-transform: uppercase;
  text-decoration: none;
  color: #6a706b;
}
#phone-nav a strong {
  color: black;
}
#phone-nav a:hover {
  color: black;
}

#home {
  position: relative;
  margin-top: -78px;
  overflow: hidden;
  height: calc(100vh - 191px);
  min-height: 300px;
}

#masthead {
  height: 100%;
  width: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
#masthead::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(80, 80, 80, 0.5);
  content: "";
  display: block;
}
#masthead::after {
  content: "";
  display: block;
  height: 191px;
}
#masthead .container {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  vertical-align: middle;
  text-align: center;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
#masthead .container h1 {
  margin: 0px auto;
  text-transform: uppercase;
  color: white;
  font-size: 42px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 3px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

#masthead-logo {
  width: 248px;
  height: auto;
  margin-bottom: 58px;
}

#product-badges-left, #product-badges-right {
  position: absolute;
  list-style: none;
  display: table;
  table-layout: fixed;
}
#product-badges-left li, #product-badges-right li {
  display: table-cell;
  width: 88px;
  margin-right: 12px;
}
#product-badges-left li img, #product-badges-right li img {
  display: block;
  width: 100%;
  height: auto;
}

#product-badges-left {
  left: 30px;
  bottom: 30px;
}

#product-badges-right {
  text-align: right;
  right: 30px;
  bottom: 30px;
}
#product-badges-right li img {
  float: right;
}

#footer {
  height: 191px;
  width: 100%;
  display: table;
  text-align: center;
}

#contact {
  width: 50%;
  border-top: 6px solid #515652;
  background: #717672;
  display: table-cell;
  vertical-align: middle;
}
#contact h1 {
  font-size: 24px;
  margin-bottom: 10px;
  color: white;
  padding-top: 12px;
}
#contact h2 {
  color: white;
  font-weight: 300;
  margin-bottom: 8px;
}
#contact h2.free-estimates {
  margin-bottom: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
}
#contact .fa {
  font-size: 24px;
  color: #e3e1d4;
  margin: 20px 0;
  -moz-transition: color, 400ms;
  -o-transition: color, 400ms;
  -webkit-transition: color, 400ms;
  transition: color, 400ms;
}
#contact .fa:hover {
  color: #515652;
}
#contact .porch {
  background-image: url("../img/porch_logo.png");
  height: 24px;
  width: 91px;
  display: block;
}
#contact a {
  display: inline-block;
  margin: 0px 10px 0px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 300;
  color: white;
}
#contact a:hover {
  color: black;
}
#contact a#email {
  color: #d5bd77;
}
#contact a#email:hover {
  color: #ebd081;
}

#angies-list, #snapshot {
  width: 50%;
  padding: 20px;
  border-top: 6px solid #87af93;
  background: #9bc9a9;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
#angies-list a, #snapshot a {
  display: block;
  text-decoration: none;
  color: white;
  padding: 0px 20px;
}
#angies-list label, #snapshot label {
  line-height: 1.5;
}
#angies-list img, #snapshot img {
  display: block;
  margin: 0px auto 12px;
  max-width: 100%;
  height: auto;
}

#angies-list a:hover {
  color: #537d60;
}

#snapshot {
  border-top: 6px solid #d5bd77;
  padding: 0px 40px;
  background: #ebd081;
  text-decoration: none;
  color: white;
}
#snapshot .table-cell {
  /* display: table-cell; */
  vertical-align: middle;
}
#snapshot h1 {
  font-size: 24px;
  margin-bottom: 10px;
}
#snapshot label {
  -moz-transition: all 300ms;
  -o-transition: all 300ms;
  -webkit-transition: all 300ms;
  transition: all 300ms;
}
#snapshot:hover label {
  color: #b09136;
}

.wpcf7-form label {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 10px 0;
  font-size: 16px;
  font-family: "Lato", sans-serif;
}
.wpcf7-form label[for='file-upload'] {
  padding: 12px 24px;
  background-color: #87af93;
  color: white;
  border-radius: 3px;
}
.wpcf7-form .file-412 {
  display: none;
}
.wpcf7-form .photo-name {
  margin-left: 10px;
}
.wpcf7-form .wpcf7-not-valid-tip {
  color: #ebd081;
}
.wpcf7-form .wpcf7-validation-errors, .wpcf7-form .wpcf7-mail-sent-ng, .wpcf7-form .wpcf7-mail-sent-ok {
  border: 0px;
}

.tab-content {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 130px 65px 65px;
  background: #eeede5;
  overflow: auto;
}
.tab-content h1 {
  color: #515652;
  font-size: 35px;
  font-weight: 700;
  text-transform: capitalize;
  padding-bottom: 40px;
}
.tab-content .tab-content-left-content,
.tab-content p {
  color: #515652;
  font-size: 18px;
  line-height: 1.5;
  padding-bottom: 24px;
}
.tab-content ul {
  padding-top: 24px;
  padding-left: 65px;
  list-style-type: square;
}
.tab-content ul li {
  color: #515652;
  font-size: 18px;
  line-height: 1;
  padding-bottom: 15px;
}
.tab-content strong {
  font-weight: 700;
}
.tab-content.active {
  display: block;
}

.tab-content-close {
  position: fixed;
  top: 78px;
  right: 16px;
  display: block;
  padding: 12px 6px;
  font-size: 36px;
  cursor: pointer;
  color: #515652;
}

.tab-content-row {
  display: table;
  table-layout: fixed;
}

.tab-content-left {
  display: table-cell;
  padding-right: 65px;
  vertical-align: top;
}

.tab-content-right {
  display: table-cell;
  width: 350px;
  vertical-align: top;
}

.tab-content-image {
  width: 100%;
  height: calc(100vh - 386px);
  background-color: #dad8c6;
  background-position: center center;
  background-size: cover;
}

@media screen and (max-width: 1024px) {
  body.open, html.open {
    overflow: hidden;
    height: 100vh;
  }
  body.open #home, html.open #home {
    height: 100vh;
  }
}
@media screen and (max-width: 865px) {
  #phone-nav a {
    display: block;
  }
  #phone-nav .free-estimates {
    display: none;
  }

  #contact .free-estimates {
    display: block;
  }
}
@media screen and (max-width: 768px) {
  #contact {
    display: table;
    width: 100%;
    height: 191px;
  }
  #contact div:first-child {
    display: table-cell;
    vertical-align: middle;
  }

  #angies-list, #snapshot {
    display: table;
    float: left;
    width: 50%;
    height: 191px;
  }

  #angies-list a:first-child, #snapshot a:first-child {
    display: table-cell;
    vertical-align: middle;
  }

  #masthead .container h1 {
    font-size: 48px;
  }
}
@media screen and (max-width: 640px) {
  #header {
    height: 64px;
  }

  #main-nav {
    position: relative;
    top: 0px;
    left: initial;
    right: initial;
    bottom: initial;
    background-color: #eeede5;
  }
  #main-nav ul {
    display: table;
    height: 64px;
    width: 66.6%;
    padding-left: 2px;
  }
  #main-nav ul li {
    width: auto;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
  }
  #main-nav ul li a {
    font-size: 12px;
    padding: 0px;
  }

  #phone-nav {
    position: absolute;
    top: 26px;
    right: 0;
    width: 33.3%;
    text-align: center;
  }
  #phone-nav a {
    color: black;
    font-size: 12px;
    padding: 0px;
  }

  #masthead {
    height: calc(100vh - 191px);
    width: 100vw;
    display: table;
    background-size: cover;
    background-position: center;
    z-index: 0;
  }
  #masthead .container {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
  }
  #masthead .container img {
    max-width: 50%;
    height: auto;
  }
  #masthead .container h1 {
    max-width: 250px;
    font-size: 24px;
    line-height: 1.3;
  }

  #masthead-logo {
    margin-top: 58px;
    margin-bottom: 8px;
  }

  #contact {
    display: table;
    width: 100%;
    height: 191px;
    padding: 20px 0;
  }
  #contact div:first-child {
    display: table-cell;
    vertical-align: middle;
  }
  #contact a.phone, #contact a.email {
    display: block;
  }
  #contact a.email {
    margin-top: 10px;
  }

  #angies-list, #snapshot {
    display: table;
    float: left;
    width: 100%;
    height: 191px;
    padding-top: 0px;
  }

  #angies-list a:first-child, #snapshot a:first-child {
    display: table-cell;
    vertical-align: middle;
  }

  #product-badges-left {
    left: 10px;
    bottom: 10px;
  }

  #product-badges-right {
    right: 10px;
    bottom: 10px;
  }

  .tab-content-close {
    top: 58px;
    padding: 0;
  }

  .tab-content {
    padding: 82px 20px 65px;
    overflow-y: scroll;
    /* has to be scroll, not auto */
    -webkit-overflow-scrolling: touch;
  }
  .tab-content h1 {
    font-size: 22px;
  }
  .tab-content ul {
    padding-left: 30px;
  }

  .tab-content-row {
    display: block;
  }

  .tab-content-left {
    display: block;
    padding-right: 0px;
  }

  .tab-content-right {
    display: block;
    width: 100%;
  }

  .tab-content-image {
    width: 100%;
    height: calc(100vh - 276px);
  }
}
