/*
-----------------------------------------------
imarketsolutions.com 
Stylesheet: Home.css
Created: 8/28/2013
Author:  Ben Schiling
Organization: iMarket Solutions
----------------------------------------------- */
@media all and (min-width: 801px) {
  /* --- Slide in left --- */
  @keyframes slideInLeft {
    0% {
      -webkit-transform: translate3d(-1000%, 0, 0);
      transform: translate3d(-1000%, 0, 0);
      visibility: visible;
    }

    100% {
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
  }

  .slide-in-left {
    -webkit-transform: translate3d(-1000%, 0, 0);
    transform: translate3d(-1000%, 0, 0);
    position: relative;
  }

  .loaded .slide-in-left,
  .no-js .slide-in-left {
    animation: slideInLeft 0.4s ease both;
  }
  /* --- Slide in left end --- */

  /* --- Scale in center --- */
  @keyframes scale-in-center {
  0% {
    -webkit-transform:scale(0);
    transform:scale(0);
    animation-timing-function: ease-out;
    opacity: 0;
    }
    50% {
    }
    100% {
      -webkit-transform:scale(1);
      transform:scale(1);
      opacity: 1;
    }
  }

  .scale-in-center {
    opacity: 0;
  }

  .loaded .scale-in-center,
  .no-js .scale-in-center {
    -webkit-animation: scale-in-center .4s cubic-bezier(.25,.46,.45,.94) both 0.4s;
    animation: scale-in-center .4s cubic-bezier(.25,.46,.45,.94) both 0.4s;
  }
  /* --- Scale in center end --- */
}
/*------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/* --- BEGIN HOMEPAGE --------------------------------------------------------------------------------------------------------------------------------- */

/* --- Start Hero ---*/

#container-banner {
  padding-top: 50px;
  background-position: center;
  background-size: cover;
}
#hero-outer {
  text-align: center;
  position: relative;
}
#hero-outer::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 200px;
  bottom: 0;
  left: 0;
  background-image: url("/assets/templates/main/images/other/hero-curve.svg");
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: bottom center;
}
#hero-outer .width-limiter {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
#hero-outer .hero-content-box {
  -webkit-box-ordinal-group: 0;
  -ms-flex-order: -1;
  order: -1;
  padding-bottom: 60px;
}
#hero-outer .hero-title {
  margin: 0;
  font-size: 5.5em;
  color: #fff;
}
#hero-outer .hero-subtitle {
  font-size: 2.4em;
  margin: 10px 0 0 0;
  color: #fff;
}
#hero-outer .hero-mascot {
  position: relative;
  margin-bottom: -40px;
}
#hero-outer .hero-mascot img {
  max-width: 100%;
  height: auto;
}
@media all and (max-width: 800px) {
  #hero-outer .cta-button {
    display: none;
  }
}
@media all and (min-width: 801px) {
  #container-banner {
    padding-top: 80px;
  }
  #hero-outer .width-limiter {
    flex-direction: row;
  }
  #hero-outer .hero-content-box {
    position: relative;
    text-align: left;
    width: 45%;
    margin-left: auto;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
    margin-bottom: 20px;
    padding-bottom: 0;
  }
  #hero-outer .hero-title {
    font-size: 6em;
  }
  #hero-outer .hero-subtitle {
    margin-bottom: 52px;
    font-size: 3em;
  }
  #hero-outer .hero-mascot {
    width: 49%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: end;
    -ms-flex-align: end;
            align-items: flex-end;
  }
  #hero-outer .hero-mascot img {
    width: 100%;
  }
}
@media all and (min-width: 1025px) {
  #hero-outer .hero-title {
    font-size: 8.7em;
  }
  #hero-outer .hero-mascot {
    margin-bottom: -20px;
  }
}

/* --- End Hero --- */

/* --- Home Top Content --- */
/* CODELIBENTRY_ENTRY: 9 */

/* mobile.css */
.webp #home-top-content {
  background-image: url("/assets/templates/main/images/backgrounds/bg-top-content-mobile.webp");
}
.no-webp #home-top-content {
  background-image: url("/assets/templates/main/images/backgrounds/bg-top-content-mobile.jpg");
}
#home-top-content {
  padding: 70px 0;
  background-size: cover;
  background-position: center;
}
#home-top-content .home-top-content-box {
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
  background-color: rgba(255, 255, 255, 0.85);
  border-radius: 15px;
  padding: 40px 15px;
}
#home-top-content h1 {
  margin-top: 0;
}
#home-top-content ul {
  padding-left: 22px;
}
#home-top-content .cta-button {
  margin-top: 40px;
  display: block;
  text-align: left;
}
#home-top-content .cta-button a {
  display: inline-block;
}

/* 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: 100px 0;
  }
  #home-top-content h1 {
    margin-bottom: 15px;
  }
  #home-top-content .home-top-content-box {
    width: 60%;
    margin-left: auto;
    padding: 46px 48px 52px 48px;
    position: relative;
  }
  #home-top-content .width-limiter {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  #home-top-content .home-top-content-right {
    width: 40%;
  }
}

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

/* --------------- Start Main Content Accordion ---------------------- */

/* CODELIBENTRY_ENTRY: 12 */

/* --------------- Start Main Content Accordion ---------------------- */

#home-main-content {
  background-color: #0d52a0;
  padding: 100px 0 60px 0;
}
#home-main-content .h1 {
  color: #fff;
  text-align: center;
  margin: 0 0 20px 0;
}

#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: 10px 20px 20px;
  color: #fff;
}
.acc-learn-more a {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
}
/* Accordion panel on mobile */
.acc-inner-content { 
  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: 15px;
  background-color: #fff;
  padding: 10px 60px 10px 45px;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.25);
  color: #fff;
}
.acc-title-outer .acc-title {
  font-size: 2.4em;
}
.acc-title-outer a {
  color: #0d52a0;
  text-decoration: none;
}
.acc-trigger:before {
  position: absolute;
  content: '';
  height: 25px;
  width: 27px;
  top: 50%;
  left: 10px;
  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-iaq-mobile.svg);
}
.tab-item:nth-of-type(3) button::before {
  background-image: url(/assets/templates/main/images/mc/icon-mc-iaq.svg);
}
.acc-trigger#acc-4:before{
  background-image: url(/assets/templates/main/images/mc/icon-mc-duct-services-mobile.svg);
}
.tab-item:nth-of-type(4) button::before {
  background-image: url(/assets/templates/main/images/mc/icon-mc-duct-services.svg);
  background-size: auto 38px;
}
/*.acc-trigger#acc-5:before,
.tab-item:nth-of-type(5) button::before {
  background-image: url(/assets/templates/main/images/mc/mc-plumbing.svg);
}
.acc-trigger#acc-6:before,
.tab-item:nth-of-type(6) button::before {
  background-image: url(/assets/templates/main/images/mc/mc-electrical.svg);
}*/
.acc-trigger:after {
  position: absolute;
  content: '';
  height: 20px;
  width: 10px;
  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;
} 
#main-content-accordion .cta-button {
  margin: 20px auto;
}

/* Tab Styles */

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeout {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
#main-content-nav {
  display: none;
}
@media all and (min-width: 801px) {
  #main-content-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  } 
  #home-main-content ul.tab-nav {
    width: 100%;
    background-color: #b6d3ef;
    border-radius: 15px 15px 0 0;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
}

.tab-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding-left: 0;
  padding-bottom: 0;
  margin-bottom: 0;
  list-style: none; 
}
.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;
  font-family: 'Open Sans';
  color: #222;
  position: relative;
  margin: 0;
  padding: 93px 30px 18px 30px;
  height: auto;
  border-radius: 0;
  text-transform: none;
  font-weight: 700;
}
.tab-item:first-of-type button {
  border-top-left-radius: 15px;
}
.tab-item:last-of-type button {
  border-top-right-radius: 15px;
}

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

#main-content-nav li button::before {
  content: '';
  position: absolute;
  display: inline-block;
  left: 50%;
  top: 17px;
  transform: translateX(-50%);
  background-color: #313e70;
  background-size: auto 35px;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
  width: 68px;
  height: 68px;
  margin: auto;
  transition: top 0.3s;
}

#main-content-nav li button:hover::before,
#main-content-nav li button.active-d::before {
  background-color: #cf2126;
}

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

@media all and (min-width: 801px) {
  #home-main-content {
    padding: 90px 0 75px 0;
  }
  #main-content-accordion .acc-content {
    display: none;
    opacity: 0;
    animation: fadeout 0.5s 1 ease-in-out;
  }
  /* Desktop style to show panel */
  /* #main-content-accordion > .acc-content.active {
    display: block;
    opacity: 1;   
    animation: fadein 0.5s 1 ease-in-out;
  } */

  #main-content-accordion > .acc-content.active-d {
    display: block;
    opacity: 1;   
    animation: fadein 0.5s 1 ease-in-out;
  }
}

/* End Tab Styles */

/* -------------------- Main Content Accordion Desktop ------------------ */
@media all and (min-width: 801px) {
  .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;
    box-shadow: none;
    padding-right: 0;
  }
  .acc-trigger:after {
    content: none;
  }
  .acc-content {
    position: relative;
    padding: 45px 42% 45px 53px;
    background-color: #fff;
    border-radius: 0 0 15px 15px;
    text-align: left;
  }
  .acc-inner-content {
    display: block;
    padding-left: 0;
    padding-bottom: 0;
  }
  .acc-title-outer {
    padding: 0;
    margin-bottom: 10px;
  }
  .acc-title-outer .acc-title {
    font-size: 3em;
    margin-top: 30px;
  }
  .acc-inner-content p {
    color: #000;
  }
  .acc-inner-content .acc-learn-more {
    margin-bottom: 30px;
  }
  .acc-inner-content .acc-learn-more a {
    color: #cf2126;
  }
  .acc-inner-content .acc-learn-more a:hover,
  .acc-inner-content .acc-learn-more a:active {
    color: #1983c6;
  }
  #main-content-accordion .acc-trigger:before {
    content: none;
  }
  .acc-title-outer {
    padding-left: 0;
  }
  .acc-content::before {
    content: '';
    position: absolute;
    width: 34%;
    height: 76%;
    right: 53px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .webp #acc-content-1::before {
    background-image: url("/assets/templates/main/images/mc/image-mc-heating.webp");
  }
  .no-webp #acc-content-1::before {
    background-image: url("/assets/templates/main/images/mc/image-mc-heating.jpg");
  }
  .webp #acc-content-2::before {
    background-image: url("/assets/templates/main/images/mc/image-mc-ac.webp");
  }
  .no-webp #acc-content-2::before {
    background-image: url("/assets/templates/main/images/mc/image-mc-ac.jpg");
  }
  .webp #acc-content-3::before {
    background-image: url("/assets/templates/main/images/mc/image-mc-iaq.webp");
  }
  .no-webp #acc-content-3::before {
    background-image: url("/assets/templates/main/images/mc/image-mc-iaq.jpg");
  }
  .webp #acc-content-4::before {
    background-image: url("/assets/templates/main/images/mc/image-mc-duct-services.webp");
  }
  .no-webp #acc-content-4::before {
    background-image: url("/assets/templates/main/images/mc/image-mc-duct-services.jpg");
  }
  .home-main-buttons {
    margin-top: 45px;
  }
}

@media all and (min-width: 1025px) {
  #home-main-content .tab-item {
    width: 19%;
  }
  #home-main-content .tab-item button {
    width: 100%;
  }
}

/* --------------- End Main Content Accordion ---------------------- */

/* --------------- Start Reviews ----------------------------------- */

#testimonials-secondary {
  padding-top: 76px;
  position: relative;
}
#testimonials-secondary::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100px;
  top: 0;
  left: 0;
  background-image: url("/assets/templates/main/images/other/mc-curve.svg");
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: top center;
}

@media all and (min-width: 801px) {
  #testimonials-secondary {
    padding: 125px 0 100px 0;
  }
}

/* --------------- End Reviews ------------------------------------- */

/* --------------- Start Maintenance Program ---------------------- */

/* CODELIBENTRY_ENTRY: 17 */

/* Mobile.css */
#maintenance-secondary {
  padding: 50px 0 0 0;
  text-align: center;
}
#maintenance-secondary .ma-subtitle {
  color: #1983c6;
  font-weight: 700;
  font-family: "Bitter";
  font-size: 2.4em;
  line-height: 1.1;
  margin-bottom: 30px;
}
.ma-image img {
  max-width: 100%;
  height: auto;
}
#maintenance-secondary .ma-points {
  padding: 0px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
}
.ma-points li {
  font-weight: 400;
  position: relative;
  padding-top: 0;
  padding-left: 30px;
  padding-bottom: 20px;
  margin-right: 20px;
  margin-left: 0;
  display: block;
}
.ma-points li:before {
  content: '';
  background-image: url(/assets/templates/main/images/icons/icon-check-square.svg);
  background-size: contain;
  background-position: top 2px center;
  background-repeat: no-repeat;
  height: 100%;
  width: 23px;
  position: absolute;
  top: 0px;
  left: 0px;
}
.ma-subtitle,
#maintenance-secondary .view-all {
  text-align: center;
}

#maintenance-secondary .view-all {
  margin-top: 10px;
}

@media all and (min-width: 401px) {
  #maintenance-secondary .ma-points {
    width: 75%;
  }
}

@media all and (min-width: 571px) {
  #maintenance-secondary .ma-points {
    width: 50%;
  }
}

/* Responsive.css */
@media all and (min-width: 801px) {
  #maintenance-secondary {
    padding: 70px 0 20px 0;
  }
  #maintenance-secondary .width-limiter {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  #maintenance-secondary .secondary-tools {
    margin-left: 40px;
  }
  #maintenance-secondary .secondary-tools,
  #maintenance-secondary .ma-subtitle,
  #maintenance-secondary .view-all {
    text-align: left;
  }
  #maintenance-secondary .secondary-tools-heading {
    font-size: 4.5em;
  }
  #maintenance-secondary .ma-points {
    width: 100%;
  }
  #maintenance-secondary .ma-image img {
    max-width: 427px;
    width: 100%;
  }
}

/* --------------- End Maintenance Program ---------------------- */

/* --------------- Start Promotions ----------------------------- */

#promotions-secondary .promotions li:not(:first-of-type) {
  margin-top: 75px;
}

@media all and (min-width: 801px) {
  #promotions-secondary {
    padding: 50px 0 100px 0;
  }
  #promotions-secondary .secondary-tools-heading {
    font-size: 4.5em;
  }
  #promotions-secondary .secondary-tools {
    max-width: 100%;
  }
  #promotions-secondary .promotions li:not(:first-of-type) {
    margin-top: 0;
  }
}

@media all and (min-width: 1025px) {
  #promotions-secondary .promotions li a {
    padding-left: 75px;
    padding-top: 25px;
    margin-left: 50px;
    min-height: 165px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: left;
    -ms-flex-pack: left;
            justify-content: left;
    text-align: left;
  }
  #promotions-secondary .secondary-tools li a .promo-image {
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
  }
  #promotions-secondary .view-all {
    margin-top: 35px;
  }
}

/* --------------- End Promotions ------------------------------- */

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

/* --- HOMEPAGE --------------------------------------------------------------------------------------------------------------------------------- */
/* --- LAYOUTS/ANIMATION --------------------------------------------------------------------------------------------------------------------------------- */



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