body,
html {
  width: 100%;
  height: 100%;
}

body {
  position: relative
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  background-color:#bdcde91f;
}

hr {
  max-width: 50px;
  border-width: 3px;
  border-color: #3FA9F5;
}

hr.light {
  border-color: #fff;
}

a {
  color: #3FA9F5;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

a:hover {
  color: #3fa9f5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.bg-primary {
  background-color: #3FA9F5 !important;
}

.bg-dark {
  background-color: #212529 !important;
}

.text-faded {
  color: rgba(255, 255, 255, 0.7);
}

section {
  padding: 8vh 0;
  overflow-x: hidden;
}

.leftBG {
  left: -6%;
  width: 38%;
  float: left;
  position: absolute;
}

.rightBG {
  right: -1%;
  width: 42%;
  float: right;
  position: absolute;
  overflow: hidden;
}

.section-heading {
  margin-top: 0;
}

::-moz-selection {
  color: #fff;
  background: #212529;
  text-shadow: none;
}

::selection {
  color: #fff;
  background: #212529;
  text-shadow: none;
}

img::selection {
  color: #fff;
  background: transparent;
}

img::-moz-selection {
  color: #fff;
  background: transparent;
}

#mainNav {
  border-bottom: 1px solid rgba(33, 37, 41, 0.1);
  background-color: #fff;
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
  min-width:100vw;
  position:fixed;
  top:0;
  left:0;
  right:0;
}

#mainNav .navbar-brand {
  font-weight: 700;
  text-transform: uppercase;
  color: #3FA9F5;
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

#mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
  color: #3fa9f5;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #212529;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
  color: #3FA9F5;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link.active,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active {
  color: #3FA9F5 !important;
  background-color: transparent;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active:hover {
  background-color: transparent;
}

@media (min-width: 992px) {
  #mainNav {
    border-color: transparent;
    background-color: transparent;
  }
  #mainNav .navbar-brand {
    color: rgba(255, 255, 255, 0.7);
  }
  #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
    color: #fff;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link {
    padding: 0.5rem 1rem;
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
    color: rgba(255, 255, 255, 0.7);
  }
  #mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    color: #fff;
  }
  #mainNav.navbar-shrink {
    border-bottom: 1px solid rgba(33, 37, 41, 0.1);
    background-color: #fff;
  }
  #mainNav.navbar-shrink .navbar-brand {
    color: #3FA9F5;
  }
  #mainNav.navbar-shrink .navbar-brand:focus, #mainNav.navbar-shrink .navbar-brand:hover {
    color: #3fa9f5;
  }
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus {
    color: #212529;
  }
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:hover,
  #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus:hover {
    color: #3FA9F5;
  }
}



header.masthead {
  /*padding-top: 10rem;
  padding-bottom: calc(10rem - 56px);*/
  background-image: url("../img/header.webp");
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

#reviews.masthead.lazy {
   background-image: none;
   background-color: #F1F1FA;
}

#reviews.masthead {
  /*padding-top: 10rem;
  padding-bottom: calc(10rem - 56px);*/
  background-image: url("../img/header3.webp") !important;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

header.masthead hr {
  margin-top: 30px;
  margin-bottom: 30px;
}

header.masthead h1 {
  font-size: 2rem;
}

header.masthead p {
  font-weight: 300;
}

@media (min-width: 768px) {
  header.masthead p {
    font-size: 1.15rem;
  }
}

@media (min-width: 992px) {
  header.masthead {
    /*height: 100vh;
    min-height: 650px;*/
    padding-top: 0;
    padding-bottom: 0;
  }
  header.masthead h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1200px) {
  header.masthead h1 {
    font-size: 4rem;
  }
}

section.masthead {
  /*
  padding-top: 10rem;
  padding-bottom: calc(10rem - 56px);
  */
  background-image: url("../img/header2.webp");
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

section.masthead hr {
  margin-top: 30px;
  margin-bottom: 30px;
}

section.masthead h1 {
  font-size: 2rem;
}

section.masthead p {
  font-weight: 300;
}

@media (min-width: 768px) {
  section.masthead p {
    font-size: 1.15rem;
  }
}

@media (min-width: 992px) {
  section.masthead {
    /*
    height: 100vh;
    min-height: 650px;
    */
  }
  section.masthead h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1200px) {
  section.masthead h1 {
    font-size: 4rem;
  }
}

/*------------- Form ---------------*/
.nb-form {
  position: fixed;
  z-index: 999999999;
  width: 20vw;
  background: #FFF;
  right: 1%;
  bottom:-57vh;
  transition: all 0.8s cubic-bezier(0.22, 0.67, 0.43, 1.22) 0.2s;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
  padding-bottom:6vh;
}

.nb-form.hovered {
  bottom: 0px !important;
}


/*-- User Icon --*/
.nb-form .user-icon {
  position: absolute;
  top: -49px;
  right: 12px;
  display: block;
  width: 58px;
  margin: 20px auto 15px;
  border-radius: 100%;
}

.popupIcon {
float:right;
}

/*-- Title --*/
.nb-form .title {
  text-align:center;
  background: #03a9f4;
  font-size: 16px !important;
  padding: 20px 18px !important;
  color: #fff !important;
  border-radius: 10px 10px 0 0;
}

/*-- Text --*/
.nb-form p {
  font-size: 13px;
  margin: 0;
  padding: 15px;
  color: #666;
}

.nb-form p.message {
  text-align:center;
}

/*-- Form Elements --*/
.nb-form form {
  padding: 0 15px 15px 15px;
}

.nb-form input,
.nb-form textarea {
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 12px;
  width: 100%;
  max-width: 100%;
  margin-bottom: 10px;
  margin-left: 7px;
  padding: 6px;
  border: none;
  border-radius: 4px;
  color: #999;
  border-bottom: 1px solid #f0f0f0;
}

.nb-form input:focus,
.nb-form textarea:focus {
  outline: none;
  box-shadow: none;
}

.nb-form input[type='submit'] {
  display: block;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  height: 40px;
  line-height: 40px;
  border-radius: 20px;
  cursor: pointer;
  transition: all .4s ease;
  color: #fff !important;
  border: none;
}

.nb-form input[type='submit']:hover {
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.07), 0 1px 7px 0 rgba(0, 0, 0, 0.02), 0 3px 1px -1px rgba(0, 0, 0, 0.1);
}

.nb-form textarea {
  min-height: 110px;
}

.nb-form ::-webkit-input-placeholder {
  color: #ccb0b0;
}

.nb-form ::-moz-placeholder {
  color: #ccb0b0;
}

.nb-form :-ms-input-placeholder {
  color: #ccb0b0;
}

.nb-form :-moz-placeholder {
  color: #ccb0b0;
}

.nb-form input[type='submit'] {
  background: #03a9f4;
}
.nb-form input[type='cancel'] {
  border-color: #03a9f4;
  background: #fff;
  text-color: #03a9f4;
}



@media (max-width: 1200px) {
  .nb-form:hover .user-icon {
    display: none;
  }
  .nb-form form {
    padding-top: 15px;
  }
  .nb-form {
    width: 35vw;
    bottom:-40vh;
    right: 1%;
    padding-bottom:1vh;
  }


}

@media (max-width: 992px) {

}

@media (max-width: 768px) {
  .nb-form:hover .user-icon {
    display: none;
  }
  .nb-form form {
    padding-top: 15px;
  }
  .nb-form {
    width: 80vw;
    bottom:-55vh;
    right: 50%;
    left: 50%;
    padding-bottom:1vh;
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 676px) {
  .nb-form:hover .user-icon {
    display: none;
  }
  .nb-form .message {
  display:none;
  }
  .nb-form form {
    padding-top: 15px;
  }
  .nb-form {
    width: 80vw;
    bottom:-70vh;
    right: 50%;
    left: 50%;
    padding-bottom:1vh;
    transform: translateX(-50%);
  }
}
@media screen and (max-width: 428px) {
  .nb-form:hover .user-icon {
    display: none;
  }
  .nb-form .message {
  display:none;
  }
  .nb-form form {
    padding-top: 15px;
  }
  .nb-form {
    width: 80vw;
    bottom:-60vh;
    right: 50%;
    left: 50%;
    padding-bottom:1vh;
    transform: translateX(-50%);
  }
}
@media screen and (max-width: 414px) {
  .nb-form:hover .user-icon {
    display: none;
  }
  .nb-form .message {
  display:none;
  }
  .nb-form form {
    padding-top: 15px;
  }
  .nb-form {
    width: 80vw;
    bottom:-77vh;
    right: 50%;
    left: 50%;
    padding-bottom:1vh;
    transform: translateX(-50%);
  }
}
@media screen and (max-width: 375px) {
  .nb-form:hover .user-icon {
    display: none;
  }
  .nb-form .message {
  display:none;
  }
  .nb-form form {
    padding-top: 15px;
  }
  .nb-form {
    width: 80vw;
    bottom:-70vh;
    right: 50%;
    left: 50%;
    padding-bottom:1vh;
    transform: translateX(-50%);
  }
}



.portfolio-box {
  position: relative;
  display: block;
  max-width: 650px;
  margin: 0 auto;
}

.portfolio-box .portfolio-box-caption {
  position: absolute;
  bottom: 0;
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  opacity: 0;
  color: #fff;
  background: rgba(63, 169, 245, 0.9);
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  text-align: center;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category,
.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  padding: 0 15px;
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
  font-size: 18px;
}

.portfolio-box:hover .portfolio-box-caption {
  opacity: 1;
}

.portfolio-box:focus {
  outline: none;
}

@media (min-width: 768px) {
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
    font-size: 16px;
  }
  .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
    font-size: 22px;
  }
}

.text-primary {
  color: #3FA9F5 !important;
}

.btn {
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 300px;
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}

.btn-xl {
  padding: 1rem 2rem;
}

.btn-primary {
  background-color: #3FA9F5;
  border-color: #3FA9F5;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  color: #fff;
  background-color: #279ef4 !important;
}

.btn-primary:active, .btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(240, 95, 64, 0.5) !important;
}

.landingContainer {
  min-height: 100vh;
}

#bannerArea {
  padding-top: 0;
  padding-bottom: 0;
}



#about {
  padding-top: 8rem;
}



/*
EMERGENCY TOP HEADER
*/
.emsHeader {
      z-index: 99999999;
      min-width: 100vw;
      padding: 1rem 1rem;
      background-color: white;
      font-weight: bold;
      box-shadow: 1px 1px 5px 2px rgba(55, 55, 55, 0.5) !important;
      margin:0;
      text-align:center;
      position:fixed;
      top:0;
      left:0;
      right:0;
}

@media (max-width: 576px) {
    .emsHeader {
      font-size: 1.15rem !important;
    }
    .emsHeaderNum > a > button {
        margin-top:1rem;
        font-size: 1rem;
    }
    .navbar {
      padding-top: 3rem;
    }
    .landingContainer {
      min-height: 65vh;
    }
    header.masthead{
    margin-top: 5rem;
    }

}

@media (min-width: 768px) {
    .emsHeader {
      font-size: 1.5rem !important;
    }
        .navbar {
          padding-top: 1.15rem;
        }

}

@media (min-width: 992px) {
    .navbar {
      padding-top: 2rem;
    }

}

@media (min-width: 1200px) {
    .emsHeader {
      font-size: 2rem !important;
    }
    .emsHeaderNum > a > button {
        font-size: 1.75rem;
    }
    .navbar {
      padding-top: 2rem;
    }
}

.headerContainer {
    min-width:100vw;
    position:fixed;
    z-index: 9999999;
}


.emsHeaderTxt {
  margin-top: auto;
  margin-bottom: auto;
  text-align: center;
  margin-left: 1rem;
  margin-right: 1rem;
}

.emsHeaderNum {
  margin-top: auto;
  margin-bottom: auto;
}

.navbar {
}

/*
.bigLogo {
    margin-top: 7rem;
    padding-left: 0rem;
    margin-left: 0.5rem;
}
*/
#navbarResponsive {
  margin-top: 5rem;
}

.navbar-shrink #navbarResponsive {
  margin-top: 0;
}

.navbar-shrink {
  margin-top: 4.6rem;
}

/*
.bannerCTA {
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 1rem;
    }
*/
.carousel-item {
  height: 100vh;
  position: relative;
  display: none;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  transition: -webkit-transform 0.6s ease;
  transition: transform 0.6s ease;
  transition: transform 0.6s ease, -webkit-transform 0.6s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000px;
  perspective: 1000px;
}

.carousel-item > img {
  position: absolute;
  object-fit: cover;
  top: 0;
  left: 0;
  min-height: 100vh;
}

@media (max-width: 576px) {
  .carousel-inner {
    min-height: 200vh;
  }
}

.dealBG {
  height: 41rem;
}

/*
.dealText {
    left: 1.8rem;
    right: 1rem;
    top: 6rem;
}
*/
#deals > div > div > div > div > div:nth-child(1) > div > div > hr {
  border-color: white;
}

.dealWrapper {
  margin-left: 0;
  margin-right: 0;
}

.dealContainer {
  background-color: rgba(255, 255, 255, 0.6);
  margin-left: 0;
  margin-right: 0;
  margin-bottom:2rem;
  border-radius: 0.5rem;
  border-width: 1.5px;
  border-style: dashed;
  padding: 1rem;
}

.dealContainer > hr {
  height: 2rem;
  width: 7rem;
  max-width: 7rem;
  border-color: rgba(155, 155, 155, 0.6);
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

.dealContainer > img {
  max-width: 7rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.dealHead {
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.dealPrice {
  color: light;
  font-size: 5rem;
  margin-top: -1rem;
  font-weight: bold;
}

.dealDesc {
  font-size: 3.5rem;
  margin-top: -1rem;
  line-height: 80%;
  font-weight: bold;
  color: light;
}

.dealDesc2 {
  font-size: 3.5rem;
  margin-top: -1rem;
  line-height: 80%;
  font-weight: bold;
  color: light;
}

.dealDesc3 {
  font-size: 3rem;
  line-height: 80%;
  font-weight: bold;
  color: light;
}

.dealTerms {
  font-size: 0.75rem;
  margin-top: 3rem;
  color: gray;
}

.dealTerms2 {
  font-size: 0.75rem;
  margin-top: 1rem;
  color: gray;
}

.serviceContainer {
 margin-bottom:3rem;
 }

.service-box {
  padding-bottom: 3rem;
  margin-left:1rem;
  margin-right:1rem;
  min-height:100%;
  margin-bottom:3rem;
}

.service-box > img {
  max-height: 25vh;
  min-height: 25vh;
}

.cardz {
  /* Add shadows to create the "card" effect */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  background-color:#fff;
}

.card1, .card2, .card3, .card4, .card5, .card6, .card7, .card8 {
  min-height: 15rem;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.card1.lazy {
   background-image: none;
   background-color: #F1F1FA;
}
.card2.lazy {
   background-image: none;
   background-color: #F1F1FA;
}
.card3.lazy {
   background-image: none;
   background-color: #F1F1FA;
}
.card4.lazy {
   background-image: none;
   background-color: #F1F1FA;
}
.card5.lazy {
   background-image: none;
   background-color: #F1F1FA;
}
.card6.lazy {
   background-image: none;
   background-color: #F1F1FA;
}
.card7.lazy {
   background-image: none;
   background-color: #F1F1FA;
}
.card8.lazy {
   background-image: none;
   background-color: #F1F1FA;
}

.card1 {
  background-image: url("../img/leakage3.webp");
}

.card2 {
  background-image: url("../img/pipes2.webp");
}

.card3 {
  background-image: url("../img/epoxy.webp");
}

.card4 {
  background-image: url("../img/hydro.webp");
}

.card5 {
  background-image: url("../img/bathroom1.webp");
}

.card6 {
  background-image: url("../img/kitchen1.webp");
}

.card7 {
  background-image: url("../img/trap1.webp");
}

.card8 {
  background-image: url("../img/kinetic4.webp");
}

/* On mouse-over, add a deeper shadow */
.card:hover {
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.4);
}

#reviews > div.container-fluid > div > div {
margin-bottom:3rem;
}
