h1 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 38px;
  line-height: 44px;
  font-weight: bold;
}

h2 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 30px;
}

h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 22px;
  font-weight: 700;
}

p {
  margin-bottom: 14px;
  line-height: 21px;
}

a {
  color: #3271ad;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

ul {
  margin-top: 0px;
  margin-bottom: 7px;
  padding-left: 30px;
}

.topnav-div {
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: #f5f5f5;
  box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.2);
  text-align: center;
}

.subnav-div {
  height: 30px;
  background-color: #3271ad;
}

.body {
  background-color: #cfd2d8;
  font-family: 'Varela Round', sans-serif;
}

.nav-link-div {
  width: 33.33333333%;
  padding: 16px;
  text-align: center;
  text-decoration: none;
}

.nav-link-div:hover {
  background-color: #15436f;
}

.nav-link-text {
  color: #fff;
  font-size: 16px;
  line-height: 26px;
}

.logo-topnav {
  position: relative;
  display: inline-block;
  width: 180px;
}

.hero-div {
  position: absolute;
  left: 0px;
  top: 0px;
  right: 0px;
  z-index: 0;
  height: 280px;
  padding-top: 5%;
  background-color: rgba(47, 54, 61, 0.5);
  background-image: url('../images/flooring-types.jpg');
  background-position: 50% 100%;
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
}

.section {
  padding-top: 10px;
  padding-bottom: 10px;
}

.hero-h1 {
  margin-top: 0px;
  color: #fff;
  font-size: 30px;
  line-height: 38px;
  text-align: center;
}

.phone-number {
  margin-top: 35px;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 34px;
  text-align: right;
}

.location {
  margin-top: 24px;
  text-align: left;
}

.button {
  display: block;
  margin-right: auto;
  margin-bottom: 2%;
  margin-left: auto;
  padding-top: 12px;
  padding-bottom: 12px;
  border-radius: 4px;
  background-color: #245a8b;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#3271ad), to(#245a8b));
  background-image: linear-gradient(180deg, #3271ad, #245a8b);
  font-size: 14px;
  text-align: center;
}

.button:hover {
  background-image: none;
}

.button.left-half {
  display: inline-block;
  width: 49%;
  margin-right: 2%;
  padding-right: 5px;
  padding-left: 5px;
}

.button.right-half {
  display: inline-block;
  width: 49%;
  padding-right: 5px;
  padding-left: 5px;
}

.card {
  padding: 3px 10px 10px;
  border-radius: 6px;
  background-color: #f5f5f5;
}

.hero-sub {
  color: #fff;
  font-size: 20px;
  line-height: 30px;
  text-align: center;
}

.service-image {
  overflow: hidden;
  width: 100%;
  height: 200px;
  border-radius: 4px;
}

.service-image.residential {
  background-image: url('../images/6280008_orig.jpg');
  background-position: 50% 100%;
  background-size: cover;
}

.service-image.installation {
  background-image: url('../images/installation.jpg');
  background-position: 50% 100%;
  background-size: cover;
}

.service-image.commercial {
  background-image: url('../images/space-desk-workspace-coworking-smaller.jpg');
  background-position: 50% 100%;
  background-size: cover;
}

.card-text {
  padding-top: 0px;
  padding-right: 12px;
  padding-left: 12px;
}

.card-row {
  margin-top: -21%;
  margin-right: 0px;
  margin-left: 0px;
}

.column {
  padding-right: 5px;
  padding-left: 5px;
}

.footer-section {
  margin-top: 2%;
  padding-top: 2%;
  padding-bottom: 2%;
  background-color: #2f363d;
}

.card-link-block {
  z-index: 0;
  width: 47%;
  margin-right: 2%;
  margin-bottom: 2%;
  padding-top: 3px;
  padding-right: 3px;
  padding-left: 3px;
  border-style: solid;
  border-width: 1px;
  border-color: #dbdee4 #dbdee4 #bfc2c9;
  border-radius: 6px;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(63%, #fff), to(#dbdee4));
  background-image: linear-gradient(180deg, #fff 63%, #dbdee4);
  box-shadow: 0 1px 1px 0 #5d6872;
  -webkit-transition: box-shadow 300ms ease;
  transition: box-shadow 300ms ease;
  text-decoration: none;
}

.card-link-block:hover {
  box-shadow: none;
}

.card-link-block.link {
  -webkit-transition: box-shadow 200ms ease, -webkit-transform 200ms ease;
  transition: box-shadow 200ms ease, -webkit-transform 200ms ease;
  transition: box-shadow 200ms ease, transform 200ms ease;
  transition: box-shadow 200ms ease, transform 200ms ease, -webkit-transform 200ms ease;
}

.card-link-block.link:hover {
  box-shadow: 0 7px 20px 0 rgba(0, 0, 0, 0.6);
  -webkit-transform: translate(0px, -3px);
  -ms-transform: translate(0px, -3px);
  transform: translate(0px, -3px);
}

.card-link-h3 {
  display: inline-block;
  margin-top: 12px;
  margin-bottom: 11px;
  padding-left: 12px;
  color: #2f363d;
  font-size: 16px;
  line-height: 22px;
}

.card-link-photo {
  width: 100%;
  height: 110px;
  border-radius: 3px;
  background-color: #9ea1a7;
}

.card-link-photo.tile {
  background-image: url('../images/product-tile.jpg');
  background-position: 50% 50%;
  background-size: cover;
}

.card-link-photo.residential-carpet {
  background-image: url('../images/residential-carpet.jpg');
  background-position: 50% 100%;
  background-size: 223px;
}

.card-link-photo.commercial-carpet {
  background-image: url('../images/commercial-carpet.jpg');
  background-position: 50% 100%;
  background-size: cover;
}

.card-link-photo.engineered-hardwood {
  background-image: url('../images/engineered-hardwood.jpg');
  background-position: 50% 50%;
  background-size: cover;
}

.card-link-photo.laminate-floors {
  background-image: url('../images/laminate-flooring.jpg');
  background-position: 50% 50%;
  background-size: cover;
}

.card-link-photo.vinyl-flooring {
  background-image: url('../images/vinyl-flooring.jpg');
  background-position: 50% 50%;
  background-size: cover;
}

.card-link-photo.countertops {
  background-image: url('../images/countertops2.jpg');
  background-position: 50% 50%;
  background-size: cover;
}

.card-link-photo.window-screens {
  background-image: url('../images/window-screens.jpg');
  background-position: 50% 100%;
  background-size: cover;
}

.card-link-photo.blinds-shutters {
  background-image: url('../images/blinds-shutters.jpg');
  background-position: 50% 100%;
  background-size: cover;
}

.building-photo {
  width: 100%;
  margin-top: 3px;
  margin-bottom: 2%;
  border-radius: 4px;
}

.page-bg {
  margin-bottom: 20px;
  padding-top: 4px;
  padding-right: 4px;
  padding-left: 4px;
  border-radius: 6px;
  background-color: #f5f5f5;
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.17);
}

.text-divider {
  margin-right: 3px;
  margin-left: 3px;
  color: #dbdee4;
}

.tim {
  margin-right: 15px;
  margin-bottom: 10px;
  float: left;
  border-radius: 100px;
  background-color: #9ea1a7;
}

.contact-info {
  display: inline-block;
}

.free-estimates {
  position: relative;
  left: 37px;
  top: 12px;
  z-index: 50;
  display: block;
  margin-top: 3%;
  margin-bottom: -5%;
  -webkit-transform: rotate(-13deg);
  -ms-transform: rotate(-13deg);
  transform: rotate(-13deg);
}

.footer-text {
  margin-bottom: 20px;
  color: #78838f;
  text-align: center;
}

.contractor {
  position: relative;
  display: inline-block;
  margin-right: auto;
  margin-bottom: -40px;
  margin-left: auto;
}

.header-img {
  height: 250px;
  background-color: #d6c4b5;
  background-image: url('../images/big2.jpg');
  background-position: 50% 50%;
  background-size: cover;
  text-align: center;
}

.content {
  padding: 20px 40px;
}

.page {
  position: relative;
}

.page-content {
  position: relative;
  z-index: 1;
  padding-top: 5%;
}

.header-img-div {
  position: relative;
  overflow: visible;
}

.contractor-cutout {
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  display: block;
  height: 310px;
  margin-right: auto;
  margin-left: auto;
}

.call {
  margin-top: 20px;
  margin-bottom: 0px;
  color: #3271ad;
  font-size: 40px;
  line-height: 50px;
}

.spacer-20 {
  height: 0px;
}

@media screen and (max-width: 991px) {
  h2 {
    font-size: 20px;
    line-height: 27px;
  }

  .hero-div {
    height: 330px;
    padding-top: 9%;
    padding-right: 9%;
    padding-left: 9%;
  }

  .hero-h1 {
    padding-right: 63px;
    padding-left: 63px;
  }

  .phone-number {
    text-align: center;
  }

  .location {
    text-align: center;
  }

  .card-link-block {
    width: 100%;
  }

  .free-estimates {
    margin-bottom: -7%;
  }

  .call {
    font-size: 37px;
    line-height: 46px;
  }
}

@media screen and (max-width: 767px) {
  .topnav-div {
    padding-bottom: 0px;
  }

  .subnav-div {
    margin-top: 0px;
    border-radius: 0px;
  }

  .nav-link-div {
    background-color: #3271ad;
  }

  .nav-link-div.full-width {
    width: 96%;
  }

  .hero-div {
    height: 199px;
    background-position: 0px 50%;
  }

  .hero-h1 {
    padding-right: 6%;
    padding-left: 6%;
    font-size: 24px;
    line-height: 31px;
  }

  .phone-number {
    margin-top: 0px;
  }

  .location {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .button {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  .hero-sub {
    padding-right: 6%;
    padding-left: 6%;
    font-size: 18px;
    line-height: 24px;
  }

  .card-row {
    margin-top: 0px;
  }

  .column {
    margin-bottom: 10px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .card-link-block {
    width: 48%;
  }

  .page-bg {
    margin-right: 2%;
    margin-left: 2%;
  }

  .free-estimates {
    display: block;
  }

  .content {
    padding-top: 2%;
    padding-right: 5%;
    padding-left: 5%;
  }

  .call {
    text-align: center;
  }

  .spacer-20 {
    width: 100%;
    height: 20px;
  }
}

@media screen and (max-width: 479px) {
  .hero-div {
    height: 260px;
    background-position: 94% 100%;
  }

  .card-link-block {
    width: 100%;
  }

  .free-estimates {
    left: 25px;
  }

  .page-content {
    padding-top: 10%;
  }

  .contractor-cutout {
    left: 0px;
  }

  .call {
    font-size: 11vw;
    line-height: 13vw;
  }
}

