/*
-----------------------------------------------
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: 65px;
  padding-bottom: 0;
  position: relative;
}
#container-banner::after {
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(25, 19, 105, 0.9);
}
#hero-outer {
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-content-box {
  padding: 0;
  max-width: 356px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 54px;
}
#hero-outer .hero-mascot {
  max-width: 358px;
  width: 100%;
  margin: 0 auto;
}
body.mo-december #hero-outer .hero-mascot .mascot-standard {
  display: none;
}
body.mo-december #hero-outer .hero-mascot .mascot-christmas {
  display: block!important;
}
#hero-outer .hero-mascot img {
  width: 100%;
  height: auto;
  margin-bottom: -9px;
}
#hero-outer .hero-title {
  margin-top: 0px;
  margin-bottom: 17px;
  font-size: 4.8em;
  line-height: 1;
  color: #ffffff;
  text-transform: uppercase;
}
@media all and (max-width: 360px) {
  #hero-outer .hero-title {
    font-size: 3.5em;
  }
}
#hero-outer .hero-title .green {
  color: #2fa436;
}
#hero-outer .hero-subtitle {
  margin-top: 0;
}
#hero-outer .hero-promise {
  list-style-type: none;
  padding-left: 6px;
  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: 21px;
  margin-bottom: 45px;
}
#hero-outer .hero-promise li {
  display: inline-block;
  font-size: 2.4em;
  line-height: 26px;
  font-weight: 700;
  color: #fff;
  position: relative;
  min-height: 20px;
  font-family: "EB Garamond";
}
#hero-outer .hero-promise li:before {
  content: "";
  background-image: url(/assets/templates/main/images/icons/icon-check-circle.svg);
  position: relative;
  left: -10px;
  display: inline-block;
  top: -3px;
  height: 27px;
  width: 27px;
  background-size: 100%;
  vertical-align: middle;
}
@media all and (min-width: 571px) {
  #hero-outer .hero-title {
    font-size: 4.8em;
  }
}
@media all and (min-width: 801px) {
  #container-banner {
    padding-top: 32px;
    padding-bottom: 0;
  }
  .hero-content-box {
    width: 100%;
    max-width: 594px;
    margin-left: 0;
    margin-right: 0;
    padding-top: 60px;
    padding-bottom: 45px;
    text-align: left;
  }
  #hero-outer .hero-mascot img {
    margin-bottom: -13px;
  }
  #hero-outer > .width-limiter {
    display: flex;
    gap: 42px;
    justify-content: center;
    align-items: flex-end;
  }
  #hero-outer .hero-mascot {
    max-width: 616px;
  }
  #hero-outer .hero-promise {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 2px;
    padding-bottom: 0;
    padding-top: 0;
    justify-content: flex-start;
  }
  #hero-outer .hero-promise li {
    font-size: 2.4em;
    line-height: 1.64em;
  }
  #hero-outer .hero-promise li:before {
    top: -3px;
    left: -5px;
    height: 33px;
    width: 33px;
  }
  #hero-outer .hero-title {
    font-size: 5.2em;
    margin-bottom: 13px;
  }
  #hero-outer .hero-title .green {
    display: block;
  }
}
@media all and (min-width: 1025px) {
  #hero-outer .hero-title {
    font-size: 8em;
    line-height: 70px;
  }
  #hero-outer .hero-promise li {
    font-size: 3em;
    line-height: 49px;
  }
}

/* --- 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: #231b82;
  padding-top: 70px;
  padding-bottom: 70px;
}
#home-top-content > .width-limiter {
  border-radius: 25px;
  overflow: hidden;
}
.webp #home-top-content > .width-limiter:before {
  background-image: url(/assets/templates/main/images/other/image-top-content-mobile.webp);
}
.no-webp #home-top-content > .width-limiter:before {
  background-image: url(/assets/templates/main/images/other/image-top-content-mobile.jpg);
}
#home-top-content > .width-limiter:before {
  content: "";
  display: block;
  width: 100%;
  background-size: cover;
  aspect-ratio: 1.356 / 1;
}

.home-top-content-box {
  padding-top: 37px;
  padding-bottom: 43px;
  background-color: rgba(255, 255, 255, 1);
}
.home-top-content-box p {
  color: #1d1d1d;
}
.home-top-content-box h1 {
  margin-top: 0;
  margin-bottom: 5px;
}
.home-top-content-button {
  margin-top: 24px;
}
/* responsive.css */
@media all and (min-width: 801px) {
  .webp #home-top-content {
    background-image: url(/assets/templates/main/images/backgrounds/bg-top-content.webp);
  }
  .no-webp #home-top-content {
    background-image: url(/assets/templates/main/images/backgrounds/bg-top-content.jpg);
  }
  #home-top-content {
    padding-top: 99px;
    padding-bottom: 100px;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
  }
  #home-top-content::before {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(25, 19, 105, 0.86);
  }
  #home-top-content > .width-limiter {
    position: relative;
  }
  .webp #home-top-content > .width-limiter:before {
    background-image: url(/assets/templates/main/images/other/image-top-content.webp);
  }
  .no-webp #home-top-content > .width-limiter:before {
    background-image: url(/assets/templates/main/images/other/image-top-content.jpg);
  }
  #home-top-content > .width-limiter:before {
    position: absolute;
    height: calc(100% - 145px);
    width: 55%;
    left: 0;
    top: 54px;
    background-position: center;
    aspect-ratio: auto;
    z-index: 1;
    border-radius: 25px;
  }
  .home-top-content-box {
    padding: 37px 24px 43px;
    max-width: 60%;
    position: relative;
    z-index: 3;
    margin-left: auto;
    border-radius: 25px;
  }
  .home-top-content-box h1 {
    margin-bottom: 18px;
  }
  #content-phone-callout {
    margin-bottom: 20px;
  }
  .home-top-content-button {
    text-align: left;
    margin-top: 31px;
  }
}

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

/* --- Start Main Content Accordion --- */
#home-main-content {
  background-color: #e9eef5;
  padding-top: 0;
  padding-bottom: 70px;
}
#home-main-content .width-limiter:not(.acc-limiter) {
  background: #2fa436;
  width: 100%;
  padding-top: 47px;
  padding-bottom: 24px;
}
#home-main-content .hmc-title {
  color: #fff;
  text-align: center;
  max-width: 315px;
  margin: 0 auto 10px;
}
#home-main-content .hmc-subtitle {
  text-align: center;
  color: #fff;
  margin-top: 0;
  margin-bottom: 25px;
}
#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 17px;
  color: #3b3b3b;
}
.acc-learn-more {
  margin-bottom: 0;
  text-transform: uppercase;
  font-weight: 700;
}

.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: 10px;
  background-color: #ffffff;
  padding: 11px 60px 8px 48px;
  -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: #3b3b3b;
}
.acc-trigger:before {
  position: absolute;
  content: "";
  height: 27px;
  width: 37px;
  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,
.tab-item:nth-of-type(1) button:hover::before,
.tab-item:nth-of-type(1) button.active-d::before {
  background-image: url(/assets/templates/main/images/mc/icon-mc-plumbing-active.svg);
}
.tab-item:nth-of-type(1) button::before {
  background-image: url(/assets/templates/main/images/mc/icon-mc-plumbing.svg);
}
.acc-trigger#acc-2:before,
.tab-item:nth-of-type(2) button:hover::before,
.tab-item:nth-of-type(2) button.active-d::before {
  background-image: url(/assets/templates/main/images/mc/icon-mc-ac-active.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,
.tab-item:nth-of-type(3) button:hover::before,
.tab-item:nth-of-type(3) button.active-d::before {
  background-image: url(/assets/templates/main/images/mc/icon-mc-heating-active.svg);
}
.tab-item:nth-of-type(3) button::before {
  background-image: url(/assets/templates/main/images/mc/icon-mc-heating.svg);
}
#main-content-accordion .acc-trigger#acc-4:before,
#main-content-nav .tab-item:nth-of-type(4) button:hover::before,
#main-content-nav .tab-item:nth-of-type(4) button.active-d::before {
  background-image: url(/assets/templates/main/images/mc/icon-mc-radiant-active.svg);
  background-size: auto 55px;
}
#main-content-accordion .acc-trigger#acc-4:before {
  background-size:30px auto;
}
#main-content-nav .tab-item:nth-of-type(4) button::before {
  background-image: url(/assets/templates/main/images/mc/icon-mc-radiant.svg);
  background-size: auto 55px;
}
.acc-trigger#acc-5:before,
.tab-item:nth-of-type(5) button:hover::before,
.tab-item:nth-of-type(5) button.active-d::before {
  background-image: url(/assets/templates/main/images/mc/icon-mc-generators-active.svg);
}
.tab-item:nth-of-type(5) button::before {
  background-image: url(/assets/templates/main/images/mc/icon-mc-generators.svg);
}
.acc-trigger#acc-6:before,
.tab-item:nth-of-type(6) button:hover::before,
.tab-item:nth-of-type(6) button.active-d::before {
  background-image: url(/assets/templates/main/images/mc/icon-mc-home-care-club-active.svg);
}
.tab-item:nth-of-type(6) button::before {
  background-image: url(/assets/templates/main/images/mc/icon-mc-home-care-club.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: #231b82;
}

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

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

@media all and (min-width: 801px) {
  /* Tab Styles */
  #home-main-content .width-limiter:not(.acc-limiter) {
    background-color: transparent;
    position: relative;
    padding-top: 8px;
    padding-bottom: 32px;
  }
  #main-content-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .tab-nav {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: space-between;
    -ms-flex-pack: space-between;
    justify-content: space-between;
    padding-left: 0;
    padding-bottom: 0;
    margin-bottom: 27px;
    list-style: none;
    border-bottom: 1px solid rgb(35 27 130 / 30%);
    gap: 36px;
  }
  .tab-link {
    display: block;
    padding: 0.5rem;
    color: #0d6efd;
    text-decoration: none;
    -webkit-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    -o-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
  }
  #home-main-content .tab-item {
    margin-bottom: 0;
    flex: 1;
  }
  .acc-title a {
    font-size: 24px;
    line-height: 30px;
  }
  .tab-item button {
    background-color: transparent;
    color: #3b3b3b;
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
    position: relative;
    padding-top: 162px;
    padding-bottom: 6px;
    height: auto;
    border-radius: 0;
    text-transform: none;
    width: 100%;
    border: none;
  }
  #main-content-nav li button::before {
    content: "";
    position: absolute;
    display: inline-block;
    left: 50%;
    top: 0px;
    transform: translateX(-50%);
    border-radius: 50%;
    background-color: #231b82;
    border: solid 5px #231b82;
    background-size: auto 77px;
    background-position: center;
    background-repeat: no-repeat;
    width: 140px;
    height: 140px;
    margin: auto;
    -webkit-transition: top 0.2s;
    -o-transition: top 0.2s;
    transition: top 0.2s;
  }
  #main-content-nav li button:hover::before,
  #main-content-nav li button.active-d::before {
    background-color: #ffffff;
  }

  .tab-item button::after {
    content: "";
    position: absolute;
    bottom: -3px;
    height: 6px;
    background-color: #231b82;
    left: 51%;
    right: 51%;
    -webkit-transition-property: left, right;
    -o-transition-property: left, right;
    transition-property: left, right;
    -webkit-transition-duration: 0.2s;
    -o-transition-duration: 0.2s;
    transition-duration: 0.2s;
    -webkit-transition-timing-function: ease-out;
    -o-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
  }

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

  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: 0;
    display: none;
  }
  #main-content-accordion .acc-content {
    display: none;
    opacity: 0;
    text-align: left;
    border-bottom: 1px solid rgb(35 27 130 / 30%);
  }
  .home-main-buttons {
    text-align: center;
    margin-top: 39px;
  }
  #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 0 24px;
    gap: 109px;
  }
  .acc-title {
    font-size: 3em;
  }
  .home-mc-image img {
    display: block;
  }
}
@media all and (min-width: 801px) and (max-width: 1025px) {
  .tab-nav {
    gap: 10px;
  }
  .tab-link {
    padding-left: 0.1em;
    padding-right: 0.1em;
  }
  #main-content-nav li button::before {
    width: 80px;
    height: 80px;
    background-size: 30px;
  }
  #main-content-nav .tab-item:nth-of-type(4) button::before,
  #main-content-accordion .acc-trigger#acc-4:before,
  #main-content-nav .tab-item:nth-of-type(4) button:hover::before,
  #main-content-nav .tab-item:nth-of-type(4) button.active-d::before {
    background-size: auto 25px;
  }
  .tab-item button {
    padding-top: 120px;
    font-size: 14px;
    line-height: 26px;
  }
  #main-content-accordion > .acc-content.active-d {
    gap: 10px;
  }
  #main-content-accordion > .acc-content.active-d > div {
    flex: 1;
  }
  .home-mc-image img {
    width: 100%;
    height: auto;
  }
}
/* --- Main Content Accordion Desktop --- */
@media all and (min-width: 801px) {
  #home-main-content {
    padding-top: 80px;
    padding-bottom: 100px;
    position: relative;
  }
  #home-main-content::before {
    content: "";
    height: 260px;
    width: 100%;
    background-color: #2fa436;
    position: absolute;
    top: 0;
    left: 0;
  }
  #home-main-content .hmc-title {
    max-width: 100%;
  }
  .acc-limiter {
    max-width: 1250px;
    margin: 0 auto;
    width: calc(100% - 40px);
  }
  #main-content-accordion {
    display: block;
  }
  .display-mobile {
    display: none;
  }
  .acc-title-outer {
    background-color: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 8px;
  }
  .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;
  }
  #main-content-accordion .acc-trigger:before {
    content: none;
  }
  .acc-title-outer {
    padding-left: 0;
  }
}
@media all and (min-width: 801px) and (max-width: 1025px) {
  #home-main-content .hmc-title {
    max-width: 800px;
  }
}
/* --- 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 --- */
