/*
Theme Name: Ace Plumbing LLC
Theme URI: https://www.aceplumbingllc.net/
Author: Micah Sells
Author URI: https://www.micahswebsolutions.com/
Description: This is the custom proprietary WordPress theme built for the website belonging to Ace Plumbing AcePlumbingLLC
Version: 1.0
License: This theme is private and may only be used by Ace Plumbing LLC
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 1.5;
}

body {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 16px;
  background: #FCFCFC;
}

ul {
  list-style-type: none;
}

li {
  margin: 0.65em 0;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}


.btn {
  width: 140px;
  height: 52px;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1rem;
  border: none;
}
.btn:hover {
  background: #222222;
  color: #DEDEDE;
}

.btn-gray {
  background: #E6E6E6;
  color: #000000;
}

/* === FLEX COLUMNS AND ROWS ============ */
.flex-cols {
  display: flex;
  flex-direction: column;
}

.flex-cols > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flex-col {
  min-height: 100%;
  align-items: center;
}
.flex-col-container {
  height: 100%;
}

.flex-col-left, .flex-col-right {
  /* justify-content: center; */
}

.flex-cols .flex-col-left .flex-col-container,
.flex-cols .flex-col-right .flex-col-container {
  /* max-width: 600px; */
  max-width: 500px;
  height: 100%;
}

.flex-col-container {
  text-align: center;
}


/* === HEADER ============ */
#masthead .flex-col-center, #footer .flex-col-center {
  display: none;
  max-width: 400px;
}

#masthead {
  flex-direction: row;
  padding: 1rem 0rem;
}

#masthead h2 {
  font-size: 5vw;
  padding: 1em;
}

#masthead p {
  font-size: 0.75rem;
  font-weight: bold;
}

#masthead .flex-col-container {
  max-width: 400px;
}

#masthead .flex-col-left .flex-col-container {
 display: flex;
 flex-direction: column;
 align-items: center;
}

#masthead .flex-col-right .flex-col-container {
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-around;
}

#masthead .flex-col-right h3 {
  display:  none;
}
#masthead .flex-col-left p {
  display:  none;
}

/* #header-title h2 {
  font-size: 1.5rem;
  text-transform: capitalize;
  font-weight: bold;
  text-align: center;
} */

/*


#header-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}
#header-contact > p {
  font-weight: bold;
  font-size: 0.7rem;
}

#header-contact h3 {
  font-style: italic;
  font-size: 0.85rem;
}
*/
/* --- Highlight Stripe --------- */
#header-contact .highlight {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  min-width: 100%;
  margin-bottom: 0.5rem;
}

#header-contact .highlight .highlight-arrow {
  width: 0;
  height: 0;
  /* border-top: 32px solid transparent !important; */
  border-top: 10vw solid transparent !important;
  border-right: 5vw solid #FF0000 !important;
  /* border-top: 48px solid transparent !important;
  border-right: 16px solid #FF0000 !important;
  border-right: 28px solid #FF0000 !important; */
}

#header-contact .highlight .highlight-text {
  /* font-size: 1.2rem; */
  font-size: 4vw;
  /* font-size: 2rem; */
  font-weight: bold;
  font-style: italic;
  background: #FF0000;
  color: #FFFFFF;
  width: 100%;
  /* padding: 0.5rem; */
  padding-right: 0.5rem;
  padding-top: 2vw;
  padding-bottom: 1vw;
}

#masthead .highlight-stripe-tail {
  background-color: red;
  height: 3rem;
  width: 100%;
  position: relative;
  top: 1.75rem;
  display: none;
}

/*




#masthead .flex-col-left .flex-col-container p {
  font-size: 1rem;
  margin-top: 1rem;
  margin-left: 1rem;
}

#masthead .flex-col-center {
  max-width: 400px;
  justify-content: center;
}

#masthead .flex-col-right {
  flex-direction: row;
}



#masthead .flex-col-right .flex-col-container {
  text-align: right;
}

#masthead img {
  margin: 0px auto;
}

#masthead #header-graphic img {
  width: 50%;
}
*/



/* --- Site Navigation Menu ----- */
#site-menu {
  max-width: 420px;
  margin: 0px auto;
}
#site-menu ul {
  display: flex;
  justify-content: space-between;
  text-transform: uppercase;
  padding: 0 2rem;

  margin: 0px auto;
}

#site-menu ul li {
  /* padding: 0 2rem; */
}

#site-menu ul li a {
	color: #000000;
  padding-bottom: 0.5em;
  border-bottom: 1px solid #999999;
}
#site-menu ul li a:hover {
  color: #999999;
  border-color: #000000;
}


/* == Base section styles ===== */
section {
  padding-bottom: 4rem;
}

section .section-title {
  font-size: 1.5rem;
  padding-top: 3rem;
  padding-bottom: 1rem;
  text-align: center;
}

section .section-title-spacer {
  width: 160px;
  height: 1px;
  background-color: #040099;
  margin: 0px auto 2rem auto;
}

.section-footer .flex-col {
  margin-top: 2rem;
}

/* == Hero Section ===== */
section#hero {
  background: #010066;
  padding-bottom: 0;
  margin-top: 1rem;
}

section#hero .flex-cols .flex-col-left {
  background: #52A0EA;
}

section#hero .flex-cols {
  flex-direction: row;
}

section#hero .hero-content {
  padding: 1rem;
}

section#hero .flex-cols .flex-col-left .flex-col-container {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
}

section#hero .flex-cols .flex-col-left .flex-col-container .hero-content {
  background: #52A0EA;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding-left: 2vw;
}

section#hero .flex-cols .flex-col-left .flex-col-container .hero-content > * {
  display: inline-block;
  max-width: 420px;
}

section#hero .flex-cols .flex-col-left .flex-col-container .hero-content > p {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.section-subcontact p {
  font-size: 0.85rem;
  font-style: italic;
}

section#hero .section-subcontact .btn,
section#services .section-footer .btn {
  margin-top: 0.75rem;
  width: 140px;
  height: 52px;
  padding: 0;
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  transition-property: all;
  transition-duration: .3s;
}

section#hero .section-subcontact .btn:hover,
section#services .section-footer .btn:hover {
  /* background: #222222; */
  background-color: #343434;
  color: #DEDEDE;
}

section#hero .section-subcontact .btn-gray {
  background: #E6E6E6;
  color: #000000;
}





section.hero .flex-col-left .arrow-right .top-cut {
  width: 0;
  height: 0;
  border-bottom: 240px solid transparent;
  border-right: 120px solid #010066;
}

section.hero .flex-col-left .arrow-right .bottom-cut{
  width: 0;
  height: 0;
  border-top: 260px solid transparent;
  border-right: 120px solid #010066;
}

section.hero .flex-col-left .arrow-right {
  display: none;
}

section#hero .flex-cols .flex-col-right .flex-col-container {
  width: 100%;
  display: flex;
  align-items: center;
}

section#hero .flex-cols .flex-col-right .profile-card {
  text-align: center;
  margin: 0px auto;
  color: #FCFCFC;
  /* height: 90%; */
  padding: 1rem;
}
section#hero .flex-cols .flex-col-right .profile-card h4 {
  margin: 1em 0 0.5em 0;
}
section#hero .flex-cols .flex-col-right .profile-card img {
   margin: 0px auto;
   width: 90%;
}


/* == SERVICES SECTION ===== */
section#services ul {
  /* margin-bottom: 3rem; */
  font-size: 1rem;
  text-align: center;
}

section#services .flex-col-container {
  margin: 0 2rem;
}


/* == TESTIMONIALS SECTION ===== */
section#testimonials {
  background: #52A0EA;
  padding-bottom: 1rem;
}

section#testimonials .flex-col-container {
  max-width: 420px;
  margin: 0 2rem;
  margin-bottom: 3rem;
}

section#testimonials .flex-col-container .byline {
  display: block;
  margin-top: 1rem;
  font-style: italic;
}
section#testimonials .flex-col-container .byline::before {
  content: '~ ';
}

/* == CONTACT SECTION ===== */
section#contact {
  background: #010066;
  padding-bottom: 5rem;
}
section#contact > header {
  text-align: center;
  color: #FFFFFF;
  font-weight: bold;
  padding-top: 3rem;
  padding-bottom: 2rem;
}
section#contact header p {
  font-size: 1.5rem;
}
section#contact header h2 {
  font-size: 2rem;
  margin-top: 1rem;
}

section#contact form.contactForm {
  margin: 0px auto;
  display: flex;
  flex-direction: column;
  max-width: 600px;
  padding: 0 1rem;
}

section#contact form.contactForm input,
section#contact form.contactForm textarea {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  padding: 0.25rem 0.5rem 0.1rem 0.5rem;
  border-radius: 4px;
}

section#contact .btn {
  width: 180px;
  height: 42px;
  font-size: 1rem;
  margin: 0 auto;
}

div.wpforms-container-full .wpforms-field-label {
  color: #ECECEC !important;
}

/* ================= SERVICES PAGE ======================== */
section.lightblue {
  background-color: #52A0EA;
}

section.darkblue {
  background-color: #010066;
  color: #FCFCFC;
}

section.service .flex-cols .flex-col-left,
section.service .flex-cols .flex-col-right {
  padding: 1.7rem 0;
}

section.service {
  padding-bottom: 0;
}

section.service .flex-col-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}
section.service .flex-col-container p {
  text-align: left;
}
section.service .service-title {
  font-size: 1.5rem;
  width: 100%;
  border-bottom: 1px solid #000000;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

section.service.darkblue .service-title {
  border-bottom: 1px solid #FCFCFC;
}

section.service.photo-right img, section.service.photo-left img {
  margin-top: -2rem;
}

section.service.photo-full-bg {
  width: 100%;
  height: 40vw;
  min-height: 300px;
  max-height: 420px;
  position: relative;
}
section.service.photo-full-bg .bg-image {
  display: block;
  position: relative;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
section.service.photo-full-bg .bg-photo-content {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.2);
  color: #FCFCFC;
  width: 100%;
  /* max-width: 600px; */
  font-size: 1rem;
  /* font-size: 2vw; */
  padding: 1.2rem;
  height: 100%;
  /*
  height: 50vh; */
}
section.service.photo-full-bg .service-title {
  font-size: 1.2rem;
}

section.service.photo-full-bg .bg-photo-content .bg-photo-content-container {
  max-width: 600px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

section.promo {
height: 240px;
position: relative;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
padding-bottom: 0;
}

section.promo .promo-content {
 margin: 0px auto;
 width: 80%;
 max-width: 620px;
 /* max-width: 800px; */
 /* min-width: 420px; */
}
section.promo .promo-content .promo-text-large {
  font-size: 1.5rem;
  font-weight: bold;
}
section.promo .promo-content .promo-text-small {
  font-size: 1.3rem;
  font-weight: bold;
  text-align: right;
  margin-top: 0.8rem;
}

section.promo .left-arrow {
  width: 0;
  height: 0;
  border-top: 120px solid transparent;
  border-bottom: 120px solid transparent;
  border-left: 84px solid #52A0EA;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}


section.gallery-strip {
  max-width: 1200px;
  margin: 0px auto;
  width: 100%;
  margin-top: 0.5rem;
}

section.gallery-strip .content {
  display: flex;
}

section.gallery-strip .content .image-frame {
  padding: 1rem;
  width: 25%;
  height: auto;

}

section.gallery-strip .content .image-frame img {
  width: 100%;
  object-fit: cover;
}

section.info-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

section.info-block .section-content {
  width: 92%;
  max-width: 620px;
}

section.info-block .section-content .section-title {
  font-weight: normal;
  border-bottom: 1px solid #000000;
  padding-bottom: 1.2rem;
  margin-bottom: 1.5rem;
}

section.info-block .section-content p {
  margin-bottom: 2rem;
}

section.info-block .arrow-down {
  width: 0;
  height: 0;
  border-left: 64px solid transparent;
  border-right: 64px solid transparent;
  border-top: 48px solid #52A0EA;
  margin-bottom: -4rem;
}

section.photo-center {
  width: 96%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0px auto;
}

section.photo-center img {
  width: 100%;
  max-width: 620px;
  position: relative;
  bottom: -3rem;
}

section.testimonial {
  padding-top: 6rem;
  padding-bottom: 4rem;
}

section.testimonial .section-content {
  width: 92%;
  max-width: 620px;
  margin: 0px auto;
  text-align: center;
}

section.testimonial .section-content .byline {
  color: #FCFCFC;
  font-style: italic;
  border-top: 2px solid #010066;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  display: inline-block;
}


section.location-block .flex-col-right .flex-col-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  font-style: italic;
}

section.location-block .flex-col-right .flex-col-container p:nth-child(2){
  margin-left: 2vw;
}
section.location-block .flex-col-right .flex-col-container p:nth-child(3){
  margin-left: 4vw;
}

section.location-block {
  padding-top: 2rem;
  padding-bottom: 2rem;
}


/* == Footer ===== */
footer {
  background: #000000;
  color: #FFFFFF;
  padding: 2rem 0;
}

#footer .flex-cols {
  flex-direction: row;
}

footer .flex-cols .flex-col-center .flex-col-container {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

footer .copyright {
  display: block;
  margin-top: 1em;
}

footer .flex-cols .flex-col-right .flex-col-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

footer .contact-card {
  text-align: center;
  justify-content: space-between;
}
footer .contact-card h3 {
  font-size: 2rem;
  font-weight: normal;
}
footer .contact-card ul {
  display: flex;
}
footer .contact-card ul li {
  margin-left: 1rem;
  margin-right: 1rem;
}
footer .contact-card ul li a {
  color: #52A0EA;
}
footer .contact-card ul li a:hover {
  color: #FCFCFC;
}

/* === MOBILE STYLES ========= */
@media only screen and (max-width: 720px) {

  section.service.photo-left .flex-cols {
    flex-direction: column;
  }
}
@media only screen and (min-width: 720px) {

  .flex-cols {
    flex-direction: row;
  }
  .flex-cols .flex-col-left {
    align-items: flex-end;
  }
  .flex-cols .flex-col-right {
    align-items: flex-start;
  }
  .flex-col-container {
    text-align: left;
  }

  #masthead .flex-col-center, #footer .flex-col-center {
    display: block;
  }

  #masthead .flex-col-right .flex-col-container {
    justify-content: center;
  }
  #masthead .flex-col-right .flex-col-container #header-contact {
    position: relative;
    top: 2rem;
  }

  #masthead h2 {
    font-size: 1.5rem;
  }

  #masthead p {
    font-size: 1rem;
  }

  section#hero .flex-col-left .arrow-right {
    display: block;
  }

  section#hero .flex-cols .flex-col-left .flex-col-container .hero-content > p {
    font-size: 2.3vw;
    text-align: left;
    /* margin-bottom: 2rem; */
  }

  section#hero .section-subcontact {
    margin-left: 1rem;
  }

  section#services .flex-cols {
    flex-direction: column;
  }
  section#services .flex-cols > .flex-cols {
    flex-direction: row;
  }

  section#services ul {
    /* margin-bottom: 3rem; */
    font-size: 1.2rem;
    text-align: left;
  }

  section#services ul li::before {
    content: url('img/checkmark.png');
    margin-right: 0.5rem;
  }


  #site-menu {
    /* position: absolute;
    top: 0;
    right: 0;
    max-width: 480px;
    width: 50%; */
  }



  /* section .flex-cols {
    flex-direction: row;
  }
  .flex-cols {
    flex-direction: column;
  }
  .flex-col-left, .flex-col-right {

  } */

  /*
  .flex-cols .flex-col-left {
    justify-content: center;
    align-items: center;
  }

  #masthead {
    flex-direction: row;
  }
  #masthead > div {
    flex: 1;
    width: 50%;
  }
  #masthead > div .flex-col-container {

  }
   */

   #footer .flex-col-right .flex-col-container {
     text-align: center;
   }

   section.service.photo-full-bg .bg-photo-content {
     width: 50%;
   }
   section.service.photo-full-bg .service-title {
     /* font-size: 1.2rem; */
   }

   section.service.photo-left .flex-col-left {
     margin-right: 4rem;
   }
   section.service.photo-right .flex-col-right {
     margin-left: 4rem;
   }

   section.service.photo-left .flex-col-left {
     margin-left: 4rem;
   }
   section.service.photo-left .flex-col-right {
     margin-right: 4rem;
   }


   /* Column-flip for left-photo sections */
   section.service.photo-left .flex-cols {
     flex-direction: row-reverse;
   }
   section.service.photo-left .flex-cols .flex-col-left {
     align-items: flex-start;
   }
   section.service.photo-left .flex-cols .flex-col-right {
     align-items: flex-end;
   }
   section.service.photo-left .flex-col-container {
     /* text-align: left; */
   }

   section.service.photo-right img, section.service.photo-left img {
     margin-top: 0;
   }


   section.promo .promo-content {
    min-width: 420px;
   }


   section.location-block .flex-col-left .flex-col-container {
     padding-right: 2rem;
   }
   section.location-block .flex-col-right .flex-col-container {
     padding-left: 2rem;
   }
}

@media only screen and (max-width: 540px) {
  #footer .flex-cols {
    flex-direction: column-reverse;
  }

  #footer .flex-cols .flex-col-container {
    margin: 1.5rem 0;
  }

  section#services ul li {
    /* border-bottom: 1px solid #AEAEAE; */
    padding-bottom: 1em;
  }
}

@media only screen and (max-width: 400px) {
  section#hero .flex-cols {
    flex-direction: column-reverse;
  }
}

@media only screen and (min-width: 800px) {

  #header-contact .highlight .highlight-arrow {
    border-top: 68px solid transparent !important;
    border-right: 28px solid #FF0000 !important;
  }

  #header-contact .highlight .highlight-text {
    font-size: 2rem;
    padding: 0.5rem;
  }

}

@media only screen and (min-width: 1000px) {
  section.service.photo-full-bg .bg-photo-content {
    font-size: 1rem;
  }
  section.service.photo-full-bg .service-title {
    font-size: 1.5rem;
  }

  section.promo .left-arrow {
    display: block;
  }
}
