/*
-----------------------------------------------
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: 75px;
  padding-bottom: 299px;
  position: relative;
}

#container-banner:before {
  content: "";
  display: block;
  width: 101%;
  height: 100%;
  background-image: url(/assets/templates/main/images/other/hero-curve.svg);
  position: absolute;
  bottom: -1px;
  left: 0;
  z-index: 1;
  background-size: contain;
  background-position: bottom;
  background-repeat: no-repeat;
}

#hero-outer {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-content-box {

  padding: 0;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 15px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
}

#hero-outer .hero-title {
  padding-top: 18px;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 3.7em;
  line-height: 1.37em;
  color: #262626;
  background-color: rgba(255, 255, 255, 0.90);
  border-radius: 15px 15px 0 0;
  -webkit-border-radius: 15px 15px 0 0;
  -moz-border-radius: 15px 15px 0 0;
  -ms-border-radius: 15px 15px 0 0;
  -o-border-radius: 15px 15px 0 0;
  text-transform: uppercase;
}

#hero-outer .hero-subtitle {
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 18px;
  background-color: rgba(255, 255, 255, 0.90);
  font-size: 3.7em;
  line-height: 1.37em;
  color: #EB2228;
  text-transform: uppercase;
}

#hero-outer .hero-promise {
  list-style-type: none;
  padding: 17px 29px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: flex-start;
  -ms-flex-align: flex-start;
  align-items: flex-start;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 12px;
  background-color: rgba(5, 84, 189, 0.90);
  border-radius: 0 0 15px 15px;
  -webkit-border-radius: 0 0 15px 15px;
  -moz-border-radius: 0 0 15px 15px;
  -ms-border-radius: 0 0 15px 15px;
  -o-border-radius: 0 0 15px 15px;
  margin-bottom: 17px;
  text-align: left;
}

#hero-outer .hero-promise li {
  display: inline-block;
  font-weight: 700;
  color: #ffffff;
  position: relative;
  padding-left: 30px;
  min-height: 20px;
}

#hero-outer .hero-promise li:before {
  content: '';
  background-image: url(/assets/templates/main/images/icons/icon-check-circle.svg);
  position: absolute;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  left: 0;
  top: 3px;
  height: 18px;
  width: 18px;
}

@media all and (min-width: 571px) {
  #hero-outer .hero-title {
    font-size: 4.8em;
  }
}

@media all and (min-width: 801px) {
  #container-banner {
    padding-top: 86px;
    padding-bottom: 200px;
  }

  .hero-content-box {
    width: 60%;
    max-width: 560px;
    margin-left: 0;
    padding-top: 0;
    padding-bottom: 60px;
  }

  #hero-outer .hero-promise {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 18px;
    padding: 23px 50px 20px;
    margin-bottom: 21px;
  }

  /* #hero-outer .hero-promise li {
    font-size: 2.4em;
  } */

  #hero-outer .hero-promise li:before {
    top: 5px;
  }

  #hero-outer .hero-title {
    font-size: 5.2em;
    padding: 24px 27px 0;
  }

  #hero-outer .hero-subtitle {
    font-size: 5.2em;
    padding: 0 27px 24px;
  }
}

@media all and (min-width: 1025px) {
  #hero-outer .hero-title {
    font-size: 5.5em;
    line-height: 68px;
  }

  #hero-outer .hero-subtitle {
    font-size: 5.5em;
    line-height: 68px;
  }
}

/* --- 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: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 8px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

#quicklinks .ql {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: 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;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
  }

  #quicklinks .ql {
    width: 100%;
    max-width: 300px;
    height: 200px;
  }
}



/* --- HOMEPAGE - Home Top Content --- */
#home-top-content {
  background-color: #ffffff;
  padding-top: 46px;
  padding-bottom: 65px;
}

/* #home-top-content > .width-limiter:before {
  content: "";
  display: block;
  width: 100%;
  background-size: cover;
  aspect-ratio: 1.2 / 1;
  border-radius: 15px;
  background-image: url(/assets/templates/main/images/other/image-top-content.jpg);
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
} */

.home-top-content-box {
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: rgba(255, 255, 255, 0.95);
}

.home-top-content-box .width-limiter {
  width: 100%;
}

.home-top-content-box h1 {
  margin-top: 0;
  margin-bottom: 7px;
}

.home-top-content-box #content-phone-callout {
  margin-bottom: 7px;
}

.home-top-content-box ul {
  margin-bottom: 15px;
}

.home-top-content-button {
  margin-top: 32px;
  text-align: left;
}

.home-top-images {
  padding-top: 28px;
}

.home-top-images .image-top-content img {
  width: 100%;
  border-radius: 15px;
  aspect-ratio: 1 / 0.93856;
  height: auto;
}

.home-top-images .affiliations-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
  margin-top: 23px;
}

.home-top-images .affiliations-wrapper picture img {
  width: 100%;
  height: auto;
}

.home-top-images .affiliations-wrapper picture:nth-child(1) img {
  max-width: 153px;
}

.home-top-images .affiliations-wrapper picture:nth-child(2) img {
  max-width: 70px;
}

.home-top-images .affiliations-wrapper picture:nth-child(3) img {
  max-width: 58px;
}

.home-top-images .affiliations-wrapper picture:nth-child(4) img {
  max-width: 112px;
}

.home-top-images .affiliations-wrapper picture:nth-child(5) img {
  max-width: 220px;
}

/* responsive.css */
@media all and (min-width: 801px) {
  #home-top-content {
    padding-top: 99px;
    padding-bottom: 122px;
  }

  #home-top-content>.width-limiter {
    position: relative;
    display: flex;
    gap: 35px;
  }

  #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.jpg);
  }

  .home-top-content-box {
    padding: 0;
    max-width: 707px;
    width: 100%;
    position: relative;
    z-index: 3;
    flex: 0 0 auto;
  }

  .home-top-content-box #content-phone-callout {
    margin-bottom: 14px;
  }

  .home-top-content-box ul {
    margin-bottom: 11px;
  }

  .home-top-images {
    padding-top: 0;
    margin-top: -6px;
  }

  .home-top-images .affiliations-wrapper {
    justify-content: center;
    gap: 50px;
    row-gap: 26px;
    margin-top: 38px;
  }

  .home-top-images .image-top-content img {
    aspect-ratio: 1 / 0.93726;
    object-fit: cover;
  }

  .home-top-images .affiliations-wrapper picture:nth-child(1) img {
    max-width: 218px;
  }

  .home-top-images .affiliations-wrapper picture:nth-child(2) img {
    max-width: 100px;
  }

  .home-top-images .affiliations-wrapper picture:nth-child(3) img {
    max-width: 83px;
  }

  .home-top-images .affiliations-wrapper picture:nth-child(4) img {
    max-width: 145px;
  }

  .home-top-images .affiliations-wrapper picture:nth-child(5) img {
    max-width: 284px;
  }

  .home-top-content-button {
    text-align: left;
    margin-top: 63px;
  }
}

@media all and (min-width: 801px) and (max-width: 1200px) {

  .home-top-content-box,
  .home-top-images {
    flex: 1;
  }
}

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

/* --- Start Main Content Accordion --- */
#home-main-content {
  padding-top: 63px;
  padding-bottom: 74px;
  background-color: #F5F5F5;
}

#home-main-content .hmc-title {
  text-align: center;
  max-width: 330px;
  margin: 0 auto 16px;
}

#home-main-content .hmc-subtitle {
  text-align: center;
  margin-top: 0;
  margin-bottom: 19px;
}

#main-content-accordion {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.acc-limiter {
  width: 100%;
}

.acc-inner-content {
  padding: 6px 24px 33px
}

.acc-learn-more {
  margin-bottom: 0;
  text-transform: uppercase;
  font-weight: 700;
}

/* .acc-learn-more a {
  color: #fff;
} 
.acc-learn-more a:hover,
.acc-learn-more a:active {
  text-decoration: none;
}

*/
/* 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: 12px;
  background-color: #000000;
  padding: 9px 60px 8px 21px;
  -webkit-box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.25);
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.25);
  color: #fff;
}

/* .acc-trigger:before {
  position: absolute;
  content: '';
  height: 32px;
  width: 40px;
  top: 50%;
  left: 10px;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
} */
.acc-trigger#acc-1:before {
  background-image: url(/assets/templates/main/images/mc/icon-mc-heating-mobile.svg);
}

.tab-item:nth-of-type(1) button::before {
  background-image: url(/assets/templates/main/images/mc/icon-mc-heating.svg);
}

.acc-trigger#acc-2:before {
  background-image: url(/assets/templates/main/images/mc/icon-mc-ac-mobile.svg);
}

.tab-item:nth-of-type(2) button::before {
  background-image: url(/assets/templates/main/images/mc/icon-mc-ac.svg);
}

.acc-trigger#acc-3:before {
  background-image: url(/assets/templates/main/images/mc/icon-mc-plumbing-mobile.svg);
}

.tab-item:nth-of-type(3) button::before {
  background-image: url(/assets/templates/main/images/mc/icon-mc-plumbing.svg);
}

.acc-trigger#acc-4:before {
  background-image: url(/assets/templates/main/images/mc/icon-mc-iaq-mobile.svg);
}

.tab-item:nth-of-type(4) button::before {
  background-image: url(/assets/templates/main/images/mc/icon-mc-iaq.svg);
}

.acc-trigger#acc-5:before {
  background-image: url(/assets/templates/main/images/mc/icon-mc-electrical-mobile.svg);
}

.tab-item:nth-of-type(5) button::before {
  background-image: url(/assets/templates/main/images/mc/icon-mc-electrical.svg);
}

.acc-trigger#acc-6:before {
  background-image: url(/assets/templates/main/images/mc/icon-mc-maintenance-mobile.svg);
}

.tab-item:nth-of-type(6) button::before {
  background-image: url(/assets/templates/main/images/mc/icon-mc-maintenance.svg);
}

.acc-trigger:after {
  position: absolute;
  content: '';
  height: 20px;
  width: 20px;
  right: 20px;
  top: 50%;
  -webkit-transform: translateY(-50%) rotate(0deg);
  -ms-transform: translateY(-50%) rotate(0deg);
  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;
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
  -webkit-transform: translateY(-50%) rotate(90deg);
  -ms-transform: translateY(-50%) rotate(90deg);
  transform: translateY(-50%) rotate(90deg);
}

/* Rotate arrow if active */
.acc-content.active .acc-trigger:after {
  -webkit-transform: translateY(-50%) rotate(270deg);
  -ms-transform: translateY(-50%) rotate(270deg);
  transform: translateY(-50%) rotate(270deg);
  -webkit-transition: all 0.2s;
  -o-transition: all 0.2s;
  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: #fff;
}

#main-content-nav {
  display: none;
}

.home-main-buttons {
  text-align: center;
  margin-top: 15px;
}

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

@media all and (min-width: 801px) {

  /* Tab Styles */
  #main-content-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: #048CE1;
    background: linear-gradient(180deg, rgba(4, 140, 225, 1) 0%, rgba(5, 84, 189, 1) 100%);
    padding-top: 18px;
    padding-bottom: 15px;
    border-radius: 15px 15px 0 0;
  }

  .tab-nav {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: space-around;
    -ms-flex-pack: space-around;
    justify-content: space-around;
    padding-left: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    list-style: none;
    border-bottom: none;
  }

  .tab-link {
    display: block;
    padding: .5rem 1rem;
    color: #0d6efd;
    text-decoration: none;
    -webkit-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
    -o-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
    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: #fff;
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
    position: relative;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 25px;
    padding-right: 25px;
    height: auto;
    border-radius: 0;
    text-transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  #main-content-nav li button::before {
    content: '';
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 50%;
    background-color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 152px;
    height: 152px;
    margin: auto;
    -webkit-transition: top 0.2s;
    -o-transition: top 0.2s;
    transition: top 0.2s;
    z-index: 1;
  }

  .tab-item {
    position: relative;
  }

  .tab-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    height: 239px;
    width: 100%;
    left: 50%;
    right: 50%;
    transform: translate(-50%, 10px);
    background-color: #fff;
    border-radius: 150px 150px 0 0;
    -webkit-transition-property: left, right;
    -o-transition-property: left, right;
    transition-property: left, right;
    -webkit-transition-duration: .2s;
    -o-transition-duration: .2s;
    transition-duration: .2s;
    -webkit-transition-timing-function: ease-out;
    -o-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
    display: none;
  }

  /* Active styles for tab button */
  button.tab-link:hover,
  /* button.tab-link.active, */
  button.tab-link.active-d {
    color: #3b3b3b;
    z-index: 2;
  }

  .tab-item:hover::after,
  .tab-item:has(.tab-link.active-d)::after {
    display: block;
  }

  .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: auto;
    text-align: left;
  }

  #main-content-accordion>.acc-content.active-d {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    opacity: 1;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0;
    max-width: 1038px;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    border-bottom: none;
  }

  .acc-title {
    font-size: 3.0em;
  }

  .acc-title a {
    color: #3b3b3b;
  }

  .home-mc-image img {
    display: block;
  }

  .tab-item:nth-of-type(1) button::before {
    background-image: url(/assets/templates/main/images/mc/mc-img-ac.jpg);
  }

  .tab-item:nth-of-type(2) button::before {
    background-image: url(/assets/templates/main/images/mc/mc-img-plumbing.jpg);
  }

  .tab-item:nth-of-type(3) button::before {
    background-image: url(/assets/templates/main/images/mc/mc-img-airflow.jpg);
  }

  .tab-item:nth-of-type(4) button::before {
    background-image: url(/assets/templates/main/images/mc/mc-img-commercial.jpg);
  }
}

@media all and (min-width: 801px) and (max-width: 1025px) {
  #main-content-nav li button::before {
    width: 120px;
    height: 120px;
  }

  .tab-item button {
    padding-left: 15px;
    padding-right: 15px;
  }

  .tab-item::after {
    height: 210px;
  }
}

/* --- Main Content Accordion Desktop --- */
@media all and (min-width: 801px) {
  #home-main-content {
    padding-top: 52px;
    padding-bottom: 104px;
  }

  #home-main-content .hmc-title {
    max-width: 100%;
    margin-bottom: 34px;
  }

  #home-main-content .hmc-subtitle {
    margin-bottom: 39px;
  }

  .acc-limiter {
    max-width: 1250px;
    margin: 0 auto;
    width: calc(100% - 40px);
  }

  #main-content-accordion {
    display: block;
    -webkit-box-shadow: 0 10px 35px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 10px 35px 0 rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    -webkit-border-radius: 0 0 15px 15px;
    padding: 34px;
    background-color: #fff;
  }

  .display-mobile {
    display: none;
  }

  .acc-title-outer {
    background-color: transparent;
    -webkit-box-shadow: none;
    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: 0;
  }

  #main-content-accordion .acc-trigger:before {
    content: none;
  }

  .acc-title-outer {
    padding-left: 0;
    padding-top: 4px;
    margin-bottom: 6px;
  }

  .home-main-buttons {
    margin-top: 24px;
  }
}

/* --- 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;
  }

  #cmpgn-st {
    padding: 7 5px 0;
  }
}

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