/* Header Block */
.header-block {
  color: #fff;
  text-transform: uppercase;
  overflow: hidden;
}

.header-block h1, p {
  position: relative;
  z-index: 5;
}

.header-block .header-image {
  position: absolute;
  top: 0;
  left: 15px;
  z-index: 1;
}

/* End Header Block */

/* Footer */
.footer {
  font-size: 14px;
  color: #fff;
  background-color: #333;
}

.footer a,
.footer a:hover {
  color: #fff;
  text-decoration: none;
}

.footer a:hover {
  color: #999;
}

.menu-footer-container {
  margin-bottom: 20px;
}

.menu-footer {
  margin: 0;
}

.menu-footer li {
  list-style: none;
}


.footer .social-media-links a {
  display: inline-block;
  margin-right: 20px;
}

.footer .social-media-links img {
  width: auto;
  height: 24px !important;
}
/* End Footer */

/* Page Header */
.ecowater-header .text-center *:last-child {
  margin-bottom: 0;
}
/* End Page Header */

/* Featured Water Problems */
.water-problems .col-md-3 {
  border-right: solid 1px #ccc;
}

.water-problems .col-md-3:last-child {
  border-right: 0;
}
/* End Featured Water Problems */

/* Testimonials */
.testimonials {
  background-image: url('../images/testimonials/testimonial-back.jpg');
  background-position: top center;
  background-repeat: no-repeat;
  padding-bottom: 60px;
  background-color:#797a7c;
}

.testimonials .item {
  padding: 0 15%;
  color: #fff;
  text-align: center;
}

.testimonials .item h3 {
  color: #fff;
}

.testimonials .item p {
  font-size: 20px;
  line-height: 40px;
}

.testimonials .item span {
  font-family: 'latolight', sans-serif;
}

.testimonials .carousel-indicators {
  margin-bottom: 0;
}

.testimonials .carousel-indicators li {
  background-color: #fff;
}

.testimonials .carousel-indicators .active {
  border: solid 2px #0dbbb6;;
}

.testimonial-bubble {
  padding: 20px;
  border-radius: 10px;
}

.testimonial-bubble > .arrow,
.testimonial-bubble > .arrow:after {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
}

.testimonial-bubble > .arrow {
  border-width: 11px;
}

.testimonial-bubble > .arrow:after {
  border-width: 10px;
  content: "";
}

.testimonial-bubble > .arrow {
  bottom: -11px;
  left: 50%;
  margin-left: -11px;
  border-top-color: #ccc;
  border-bottom-width: 0;
}

.testimonial-bubble > .arrow:after {
  bottom: 1px;
  margin-left: -10px;
  border-top-color: #ffffff;
  border-bottom-width: 0;
  content: " ";
}
/* End Testimonials */


/* Diagnose Your Water */
.diagnose-your-water .ecowater-breadcrumb {
  display: none;
}

@media (min-width: 992px) {
  .diagnose-your-water .hero-image {
    height: auto;
    min-height: 150px;
  }

  .diagnose-your-water .header {
    background-repeat: no-repeat;
    background-size: cover;
  }
}

.row-water-issues {
  text-align: center;
}

.row-water-issues .img-responsive {
  display: inline-block;
}

.diagnose-your-water .popover {
  color: #fff;
  background-color: #009999;
  border: 0;
}

.diagnose-your-water .popover .popover-title {
  padding-bottom: 0;
  background-color: transparent;
  border-bottom: 0;
}

.diagnose-your-water .popover .popover-content {
  padding-top: 0;
}

.diagnose-your-water .top > .arrow {
  border-top-color: #009999;
}
.diagnose-your-water .top > .arrow:after {
  border-top-color: #009999;
}

@media (max-width: 768px) {
  .diagnose-your-water .header {
    background-image: none !important;
  }

  .diagnose-your-water .popover {
    display: none !important;
  }

  .diagnose-your-water .row-water-issues h3 {
    padding: 10px 0;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
  }

  .diagnose-your-water .row-water-issues .selected h3 {
    color: #fff;
    background-color: #002c69;
  }
}
/* Diagnose Your Water */

/* Mobile Updates */
sup {
  font-size:35%;
  top:-1.5em;
}
@media (max-width: 992px) {
  .ecowater-logo {
    position:absolute;
    left:140px;
    top:0;
    padding-left:30px;
    border-left:1px solid #DDD;
  }
}
@media (max-width: 450px) {
  .ecowater-logo {
    position:absolute;
    left:100px;
    top:0;
    padding-left:15px;
    border-left:1px solid #DDD;
  }
}
@media(max-width:320px) {
  html, body {
    width:auto;
    max-width:320px;
    min-width:320px;
  }
}