body,
html {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Merriweather', 'Helvetica Neue', Arial, sans-serif;
}

hr {
  max-width: 50px;
  border-width: 3px;
  border-color: #FF230D;
}

hr.light {
  border-color: #fff;
}

hr.dark {
  border-color: #2953A7;
}

a {
  color: #FF230D;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

a:hover {
  color: #d21a08;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.bg-red {
  background-color: #FF230D !important;
}

.bg-blue {
  background-color: #002E8F !important;
}

.bg-lightblue {
  background-color: #2953A7 !important;
}

.text-faded {
  color: rgba(255, 255, 255, 0.7);
}

section {
  padding: 8rem 0;
}

.section-heading {
  margin-top: 0;
}

::-moz-selection {
  color: #fff;
  background: #212529;
  text-shadow: none;
}

::selection {
  color: #fff;
  background: #212529;
  text-shadow: none;
}

img::-moz-selection {
  color: #fff;
  background: transparent;
}

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: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

#mainNav .navbar-brand {
  font-weight: 700;
  text-transform: uppercase;
  color: #FF230D;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

#mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
  color: #FF230D;
}

#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: #FF230D;
}

#mainNav .navbar-nav > li.nav-item > a.nav-link.active,
#mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active {
  color: #FF230D !important;
  background-color: transparent;
  border-bottom: 3px solid #2953A7;
}

#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: #FF230D;
  }
  #mainNav.navbar-shrink .navbar-brand:focus, #mainNav.navbar-shrink .navbar-brand:hover {
    color: #FF230D;
  }
  #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: #FF230D;
  }
}

header.masthead {
  padding-top: 10rem;
  padding-bottom: calc(10rem - 56px);
  background-image: url("../img/header.jpg");
  background-position: center center;
  background-size: cover;
}
header.masthead.plumbing {background-image: url("../img/header-plumbing.jpg");}
header.masthead.kitchens {background-image: url("../img/header-kitchens.jpg");}
header.masthead.bathrooms {background-image: url("../img/header-bathrooms.jpg");}
header.masthead.renovations {background-image: url("../img/header-renovations.jpg");}

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;
  }
}

#service .service-box {
  max-width: 400px;
}

/* #services .service-box ul li {
  color: #ADBDDE;
} */

.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(0, 46, 143, 0.8);
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
  position: absolute;
  top: 50%;
  width: 100%;
  -webkit-transform: translateY(-50%);
  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: 'Open Sans', '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;
  }
}

#gallery .carousel .carousel-inner {
  max-height:750px;
}

#gallery .carousel .carousel-inner img {
  width: 100%;
  object-fit: contain;
}

.text-primary {
  color: #FF230D !important;
}

.text-secondary {
  color: #002E8F !important;
}

.text-light {
  color: #EEEEEE !important;
}

.btn {
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 300px;
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.btn-xl {
  padding: 1rem 2rem;
}

.btn-light {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(240, 240, 240, 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(240, 240, 240, 0.5) !important;
}

.btn-light:hover, .btn-light:focus, .btn-light:active {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(197, 197, 197, 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(197, 197, 197, 0.5) !important;
}

.btn-light:active, .btn-light:focus {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.btn-primary {
  background-color: #FF230D;
  border-color: #FF230D;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  color: #fff;
  background-color: #ce1325 !important;
}

.btn-primary:active, .btn-primary:focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(240, 95, 64, 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(240, 95, 64, 0.5) !important;
}

.btn-secondary {
  background-color: #002E8F;
  border-color: #002E8F;
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
  color: #fff;
  background-color: #002269 !important;
}

.btn-secondary:active, .btn-secondary:focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(78, 95, 130 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(78, 95, 130 0.5) !important;
}

.btn-lightblue {
  background-color: #BFC8E8;
  border-color: #BFC8E8;
  color: rgba(0,0,0,0.6);
}

.btn-lightblue:hover, .btn-lightblue:focus, .btn-lightblue:active {
  color: rgba(0,0,0,0.8);
  background-color: #adb7db !important;
}

.btn-lightblue:active, .btn-lightblue:focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(204, 211, 234, 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(204, 211, 234, 0.5) !important;
}

/*SECTION ABOUT*/
#about p {
  /* background-color: rgba(0,0,0,0.25);
  padding: 40px;
  border-radius: 12px; */
}

/*SECTION CONTACT*/
#contact textarea {
  resize: none;
  min-height: 146px;
}

#contact i:before {
  color: #545454;
}

footer.footer {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

footer.footer i:before {
  color: #002E8F;
}

footer.footer a:hover i:before,
footer.footer a:focus i:before,
footer.footer a:active i:before {
  color: #00235E;
}
