/*
-----------------------------------------------
imarketsolutions.com 
Stylesheet: Home.css
Created: 8/28/2013
Author:  Ben Schiling
Organization: iMarket Solutions
----------------------------------------------- */

/* --- BEGIN HOMEPAGE --------------------------------------------------------------------------------------------------------------------------------- */

/* --- HOMEPAGE - HERO --- */
#container-banner {
  background-position: center;
  background-size: cover;
  padding-top: 380px;
  padding-bottom: 137px;
}
#hero-outer {
  text-align: center;
}
.hero-content-box {
  background-color: transparent;
  max-width: 330px;
  margin-left: auto;
  margin-right: auto;
}
#hero-outer .hero-title {
  margin-top: 0px;
  margin-bottom: 20px;
  font-size: 4.5em;
  color: var(--white);
  line-height: 1;
  text-transform: uppercase;
}
#hero-outer .hero-title span.dblue {
  color: var(--dblue);
}
#hero-outer .hero-subtitle {
  margin-top: 0;
  margin-bottom: 20px;
  font-family: 'Signika',sans-serif;
  font-size: 18px;
  text-transform: uppercase;
}
#hero-outer .hero-promise {
  list-style-type: none;
  padding-left: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
#hero-outer .hero-promise li {
  display: inline-block;
  font-size: 2.0em;
  line-height: 1.3em;
  font-weight: 700;
  color: #034ea2;
  position: relative;
  padding-left: 35px;
  min-height: 20px;
}
#hero-outer .hero-promise li:before {
  content: '';
  background-image: url(/assets/templates/main/images/icons/icon-check-circle.svg);
  position: absolute;
  left: 0;
  top: 3px;
  height: 20px;
  width: 20px;
}
@media all and (max-width: 399px) {
  #hero-outer .hero-title {
    font-size: 4em;
  }
}
@media all and (max-width: 800px) {
  .hero-content-box .cta-button {
    display: none;
  }
}
@media all and (min-width: 801px) {
  #container-banner {
    padding-top: 123px;
    padding-bottom: 121px;
    overflow: hidden;
  }
  .hero-content-box {
    width: 60%;
    max-width: 460px;
    padding-top: 50px;
    padding-bottom: 40px;
    position: relative;
  }
  #hero-outer {
    position: relative;
  }
  #hero-outer::before {
    content: '';
    position: absolute;
    width: 629px;
    height: 629px;
    top: -110px;
    left: calc(50% - 309px);
    background-image: url(/assets/templates/main/images/other/image-hero-circle.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .hero-content-box::before {
    content: '';
    position: absolute;
    width: 322px;
    height: 595px;
    top: -110px;
    left: calc(50% - 569px);
    background-image: url(/assets/templates/main/images/other/image-hero-mascot.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  #hero-outer .hero-promise {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 25px;
    padding-bottom: 40px;
    padding-top: 20px
  }
  #hero-outer .hero-promise li {
    font-size: 2.4em;
  }
  #hero-outer .hero-promise li:before {
    top: 5px;
  }
  #hero-outer .hero-title {
    font-size: 5em;
    margin-bottom: 25px;
    line-height: 1.2;
  }
}
@media all and (min-width: 1025px) {
  #hero-outer .hero-title {
    font-size: 5em;
  }
  #hero-outer .hero-subtitle {
    font-size: 22px;
    margin-bottom: 30px;
  }
}
@media all and (min-width: 1301px) {
  #hero-outer::before {
    top: -110px;
    left: calc(50% - 369px);
  }
  .hero-content-box::before {
    top: -95px;
    left: calc(50% - 569px);
  }
  .hero-content-box {
    margin: 0 auto 0 340px;
  }
}
/* --- HOMEPAGE - Quicklinks --- */
#quicklinks {
  background-color: #e0f2fe;
  padding-top: 20px;
  padding-bottom: 25px;
}
#quicklinks .secondary-tools-heading {
  margin-top: 0;
  margin-bottom: 15px;
  text-align: center;
}
#quicklinks .quicklinks-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
#quicklinks .ql {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-decoration: none;
  height: 175px;
  width: 175px;
  background-color: #f9982a;
  border: solid 10px #f9982a;
  text-align: center;

}
#quicklinks .ql:hover,
#quicklinks .ql:active {
  background-color: #fff;
}
#quicklinks .ql span {
  font-size: 2.4em;
  color: #262626;
  font-weight: 700;
  line-height: 1.3em;
}
@media all and (min-width: 801px) {
  #quicklinks {
    padding-top: 40px;
    padding-bottom: 75px;
  }
  #quicklinks .secondary-tools-heading {
    margin-bottom: 30px;
  }
  #quicklinks .quicklinks-wrap {
    max-width: 100%;
    gap: 20px;
    flex-wrap: nowrap;
  }
  #quicklinks .ql {
    width: 100%;
    max-width: 300px;
    height: 200px;
  }
}

/* --- HOMEPAGE - Home Top Content --- */
#home-top-content {
  background-color: var(--white);
  padding-top: 50px;
  padding-bottom: 50px;
}
/* #home-top-content > .width-limiter:before {
  content: "";
  display: block;
  width: 100%;
  background-size: cover;
  aspect-ratio: 1.2 / 1;
  background-image: url(/assets/templates/main/images/other/image-top-content-mobile.webp);
} */
.htc-img img {
  width:100%;
  height: auto;
  max-width: 300px;
}
.htc-img {
  margin: 0 auto 20px;
  text-align: center;
}
/* .home-top-content-box {
  padding-top: 20px;
  padding-bottom: 20px;
} */
.home-top-content-box h1 {
  margin-top: 0;
  margin-bottom: 20px;
}
.home-top-content-button {
  margin-top: 30px;
  text-align: center;
}
/* responsive.css */
@media all and (min-width: 801px) {
  #home-top-content {
    padding-top: 70px;
    padding-bottom: 70px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(/assets/templates/main/images/backgrounds/bg-top-content.webp);
  }
  .home-top-content-box > .width-limiter {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0 43px;
  }
  /* #home-top-content > .width-limiter:before {
    position: absolute;
    height: calc(100% + 150px);
    width: 55%;
    right: 0;
    top: -75px;
    background-position: center;
    aspect-ratio: auto;
    z-index: 1;
    background-image: url(/assets/templates/main/images/other/image-top-content.webp);  
  } */
  .htc-img {
    width: 46%;
  }
  .htc-img img {
    max-width: 510px;
  }
  .htc-wrapper {
    width: 58%;
  }
  .home-top-content-box {
    position: relative;
    z-index: 3;
  }
  .home-top-content-button {
    text-align: left;
  }
}

/* --- HOMEPAGE - MAIN CONTENT --- */

/* --- Start Main Content Accordion --- */
#home-main-content {
  padding-top: 25px;
  padding-bottom: 50px;
}
#home-main-content .hmc-title {
  color: var(--dblue);
  text-transform: uppercase;
  text-align: center;
  max-width: 330px;
  margin: 0 auto 20px;
}
#home-main-content .hmc-title span.oj {
  color: var(--oj);
}
#home-main-content .hmc-subtitle {
  text-align: center;
  color: #fff;
  margin-top: 0;
  margin-bottom: 25px;
}
#main-content-accordion {
  display: flex;
  flex-direction: column;
}
.acc-limiter {
  width: 100%;
}
.acc-inner-content {
  padding: 10px 20px 30px;
  color: var(--black);
}
.acc-learn-more {
  margin-bottom: 0;
  text-transform: uppercase;
  font-weight: 700;
}
.acc-learn-more a {
  color: var(--oj);
  text-transform: capitalize;
}
.acc-learn-more a:hover,
.acc-learn-more a:active {
  color: var(--dblue);
  text-decoration: underline;
}
/* Accordion panel on mobile */
.acc-inner-content { 
  display: none;
}
.home-mc-image {
  display: none;
}
/* Show all accordion panels if no js */
/* Show inner content if outer is active */
html.no-js .acc-inner-content,
.acc-content.active .acc-inner-content {
  display: block;
}
.acc-title-outer {
  width: 100%;
  position: relative;
  margin-bottom: 10px;
  background-color: var(--gray);
  padding: 10px 60px 10px 50px;
  /* box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.25); */
  color: #fff;
}
.acc-trigger:before {
  position: absolute;
  content: '';
  height: 25px;
  width: 30px;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: brightness(0) invert(1);
}
.acc-heating .acc-trigger:before,
button.tab-heating .hmc-button-image {
  background-image: url(/assets/templates/main/images/mc/icon-mc-heating.svg);
}
.acc-air-conditioning .acc-trigger:before,
button.tab-air-conditioning .hmc-button-image {
  background-image: url(/assets/templates/main/images/mc/icon-mc-ac.svg);
}
.acc-plumbing .acc-trigger:before,
button.tab-plumbing .hmc-button-image {
  background-image: url(/assets/templates/main/images/mc/icon-mc-plumbing.svg);
}
.acc-indoor-air-quality .acc-trigger:before,
button.tab-indoor-air-quality .hmc-button-image {
  background-image: url(/assets/templates/main/images/mc/icon-mc-iaq.svg);
}
.acc-commercial-hvac .acc-trigger:before,
button.tab-commercial-hvac .hmc-button-image {
  background-image: url(/assets/templates/main/images/mc/icon-mc-commercial.svg);
}
.acc-duct-services .acc-trigger:before,
button.tab-duct-services .hmc-button-image {
  background-image: url(/assets/templates/main/images/mc/icon-mc-duct.svg);
}

.acc-trigger:after {
  position: absolute;
  content: '';
  height: 20px;
  width: 20px;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  background-image: url(/assets/templates/main/images/icons/icon-arrow-down.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: all 0.2s;
  transform: translateY(-50%) rotate(90deg);
}
/* Rotate arrow if active */
.acc-content.active .acc-trigger:after {
  transform: translateY(-50%) rotate(270deg);
  transition: all 0.2s;
}
.acc-trigger {
  display: block;
}

.acc-title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 2.4em;
} 
.acc-title a {
  text-decoration: none;
  color: var(--dblue);
  text-transform: uppercase;
}

#main-content-nav {
  display: none;
}
.home-main-buttons {
  text-align: center;
  margin-top: 10px;
}

#main-content-accordion .cta-button {
  margin: 20px auto;
}

@media all and (min-width: 801px) {
  /* Tab Styles */
  #main-content-nav {
  display: flex;
  justify-content: center;
  }
  .tab-nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding-left: 0;
    padding-bottom: 0;
    margin-bottom: 30px;
    list-style: none;
    border-bottom: 3px solid var(--gray);
  }
  .tab-link {
    display: block;
    padding: .5rem 1rem;
    color: #0d6efd;
    text-decoration: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
  }
  #home-main-content .tab-item {
    margin-bottom: 0;
  }
  .tab-item button {
    background-color: transparent;
    color: var(--dblue);
    font-size: 16px;
    font-weight: 700;
    position: relative;
    padding-top: 80px;
    padding-bottom: 25px;
    height: auto;
    border-radius: 0;
    text-transform: none;
  }
  #main-content-nav li button::before,
  #main-content-nav li button .hmc-button-image {
    content: '';
    position: absolute;
    display: inline-block;
    left: calc(50% - 34px);
    top: 0px;
    background-color: var(--blue);
    background-size: auto 40px;
    background-position: center;
    background-repeat: no-repeat;
    width: 68px;
    height: 68px;
    margin: auto;
    transition: top 0.2s;
    border-radius: 50%;
    border: 3px solid var(--gray);
  }
  #main-content-nav li:nth-child(3) button .hmc-button-image,
  #main-content-nav li:nth-child(4) button .hmc-button-image {
    background-size: auto 30px;
  }
  #main-content-nav li button::before {
    background-color: #fff;
    border-radius: 50%;
  }
  #main-content-nav li button.active-d:before,
  #main-content-nav li button:hover:before,
  #main-content-nav li button:active:before {
    background-color: #034ea2;
  }
  #main-content-nav li button.active-d .hmc-button-image,
  #main-content-nav li button:hover .hmc-button-image,
    #main-content-nav li button:active .hmc-button-image {
    background-color: var(--oj);
  }

  .tab-item button::after {
    content:'';
    position:absolute;
    bottom:-3px;
    height:5px;
    background-color: var(--oj);
    left:51%;
    right:51%;
    transition-property:left,right;
    transition-duration:.2s;
    transition-timing-function:ease-out;
  }

  /* Active styles for tab button */
  button.tab-link:hover,
  /* button.tab-link.active, */
  button.tab-link.active-d {
    color: var(--dblue);
  }

  button.tab-link:hover::after,
  button.tab-link.active-d::after {
    left: 0;
    right: 0;
  }
  .home-mc-image {
    display: block;
  }
  .home-mc-image img {
    border-radius: 5px;
    display: none;
  }
  #main-content-accordion .acc-content {
    display: none;
    opacity: 0;
    min-height: 318px;
    text-align: left;
  }

  #main-content-accordion > .acc-content.active-d {
    display: flex;
    opacity: 1;
    align-items: center;
    padding: 0 0 50px;
    border-bottom: 3px solid var(--gray);
    gap: 67px;
  }
  .acc-title {
    font-size: 3.0em;
  }
  .home-mc-image img {
    display: block;
  }
  .acc-title a {
    color: var(--oj);
  }
  .home-main-buttons {
    margin-top: 40px;
  }
}
@media all and (min-width: 1301px) {
  .tab-nav {
    gap: 50px;
  }
}
/* --- Main Content Accordion Desktop --- */
@media all and (min-width: 801px) {
  #home-main-content {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  #home-main-content .hmc-title {
    max-width: 100%;
  }
  .acc-limiter {
    max-width: 1040px;
    margin: 0 auto;
    width: calc(100% - 40px);
  }
  #main-content-accordion {
    display: block;
  }
  .display-mobile {
    display: none;
  }
  .acc-title-outer {
    background-color: transparent;
    box-shadow: none;
    padding-right: 0;
  }
  .acc-trigger:after {
    content: none;
  }
  .acc-content {
    padding: 20px 30px;
    background-color: transparent;
    text-align: center;
    border-bottom: 1px solid #fff;
  }
  .acc-inner-content {
    display: block;
    padding-left: 0px;
    padding-bottom: 0;
    padding-right: 0;
  }
  #main-content-accordion .acc-trigger:before {
    content: none;
  }
  .acc-title-outer {
    padding-left: 0;
    margin: 0;
  }
}

/* --- Static Campaign Section --- */
@media all and (max-width: 800px) {
  #cmpgn-st .cmpgn-st-hp-desktop {
    display: none;
  }
}
@media all and (min-width: 801px) {
  #cmpgn-st .cmpgn-st-hp-mobile {
    display: none;
  }
}

/* --- END HOMEPAGE --- */

/* RWL Homepage Styles */
section#recent-projects {
  padding-top: 20px;
  padding-bottom: 20px;
}
section#recent-projects .h1 {
  margin-top: 0;
  text-align: center;
}
section#recent-projects .rp-button {
  text-align: center;
  margin-top: 15px;
}

/* Maintenance section Homepage */
@media all and (min-width: 1301px) {
  .full-width #maintenance-secondary .maintenance-wrapper .ma-points:nth-child(1) li:nth-child(1) {
    max-width: 250px;
  }
  .full-width #maintenance-secondary .maintenance-wrapper .ma-points:nth-child(3) li:nth-child(1) {
    max-width: 260px;
  }
  .full-width .maintenance-wrapper {
    max-width: 1100px;
    margin: 0 auto;
  }
}

#index #content-phone-callout {
  margin-bottom: 25px;
}