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

/* --- LAYOUTS - TYPOGRAPHY --- */
@media all and (min-width: 571px) {
  h1,
  .h1 {
    font-size: 3.8em;
  }
  h2,
  .h2 {
    font-size: 3.1em;
  }
  h3,
  .h3 {
    font-size: 2.6em;
  }
  h4,
  .h4 {
    font-size: 2.1em;
  }
  h5,
  .h5 {
    font-size: 1.7em;
  }
  h6,
  .h6 {
    font-size: 1.6em;
  }
  p,
  li {
    font-size: 1.6em;
    line-height: 1.4em;
  }
}

@media all and (min-width: 801px) {
  h1,
  .h1 {
    font-size: 4.2em;
  }
  h2,
  .h2 {
    font-size: 3.3em;
  }
  h3,
  .h3 {
    font-size: 2.8em;
  }
  h4,
  .h4 {
    font-size: 2.2em;
  }
  h5,
  .h5 {
    font-size: 1.8em;
  }
  h6,
  .h6 {
    font-size: 1.7em;
  }
  p,
  li {
    font-size: 1.7em;
  }
}

@media all and (min-width: 1025px) {
  h1,
  .h1 {
    font-size: 4.5em;
    line-height: 1.2em;
  }
  h2,
  .h2 {
    font-size: 3.6em;
    line-height: 1.194em;
  }
  h3,
  .h3 {
    font-size: 3em;
    line-height: 1.2em;
  }
  h4,
  .h4 {
    font-size: 2.4em;
    line-height: 1.25em;
  }
  h5,
  .h5 {
    font-size: 2em;
  }
  h6,
  .h6 {
    font-size: 1.8em;
  }
  p,
  li {
    font-size: 1.8em;
    line-height: 1.55em;
  }
}

@media all and (min-width: 571px) {
  .width-limiter {
    width: calc(100% - 42px);
  }
}

@media all and (min-width: 801px) {
  .content-left form fieldset.twocol ul li {
    width: calc(50% - 20px);
  }
  .content-left form fieldset.threecol ul li {
    width: calc(33% - 25px);
  }
  .content-left form fieldset.fourcol ul li {
    width: calc(25% - 15px);
  }
}

/* imsLightbox Modal Forms */
@media all and (min-width: 571px) {
  .ims-lightbox {
    width: 80%;
    left: 10%;
    border-radius: 10px;
  }
}
@media all and (min-width: 801px) {
  .ims-lightbox {
    width: 85%;
    left: 7.5%;
    height: 75%;
    bottom: 12.5%;
  }
  .ims-lightbox .close-popup {
    top: -20px;
  }
}
@media all and (min-width: 1025px) {
  .ims-lightbox {
    width: 70%;
    left: 15%;
  }
}
@media all and (min-width: 1251px) {
  .ims-lightbox {
    width: 60%;
    left: 20%;
  }
}

/* End - imsLightbox Modal Forms */

/* Hidden Content / Read More Style */

@media all and (min-width: 801px) {
  .hc-trigger {
    display: none;
  }
}

/* --- LAYOUTS - ERRORS & CONFIRMATIONS --- */

@media all and (min-width: 571px) {
  #error-container {
    border-radius: 0 0 0 7px !important;
    width: 50% !important;
    right: 0 !important;
  }
}

@media all and (min-width: 801px) {
  #error-container {
    width: 40% !important;
    right: 2.5% !important;
  }
}

/* --- FIXED / MASTHEAD - LAYOUTS/ANIMATION --- */

@media all and (min-width: 801px) {
  #container-fixed-masthead {
    display: block;
    position: fixed;
    top: -300px;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, 0.2);
    transition: top 0.6s, left 0.3s;
    z-index: 1000;
  }
  .ims-is-scrolled #container-fixed-masthead {
    top: 0;
  }
  #fixed-masthead {
    overflow: hidden;
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  #fixed-masthead .width-limiter {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  #fixed-masthead #fixed-masthead-center {
    flex-grow: 1;
    text-align: center;
  }
  #fixed-masthead #fixed-masthead-left {
    width: 29%;
    text-align: left;
  }
  #fixed-masthead #fixed-masthead-right {
    width: 29%;
    text-align: right;
    min-width: 245px; /*Large enough to ensure the CTA button does not try to wrap to 2 lines. */
  }

  #fixed-masthead #fixed-masthead-left .logo {
    margin-left: 0;
  }

  #masthead .masthead-top {
    padding: 9px 0;
  }
  #masthead .masthead-inner {
    flex-direction: row;
    gap: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
  }
  #masthead .masthead-left,
  #masthead .masthead-center,
  #masthead .masthead-right {
    width: 33.33%;
  }
  #masthead .masthead-right,
  .masthead-right .mobile-phone,
  .masthead-right .view-all,
  .masthead-right .cta-button {
    text-align: right;
  }
  .masthead-right-inner {
    text-align: right;
  }
  #masthead .logo {
    margin-left: 0;
    max-width: 262px;
  }
  .mobile-fixed-header {
    background-color: transparent;
  }
  .mobile-phone .phone-number a img {
    display: block;
  }
  body {
    margin-top: 0;
  }
  .mobile-col:not(.mobile-phone),
  .mobile-phone .phone-number svg {
    display: none;
  }
  .mobile-fixed-header {
    position: relative;
    box-shadow: none;
    height: auto;
    z-index: initial;
  }
  .mobile-phone {
    width: 100%;
    display: block;
  }
  .tagline {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 18px;
    line-height: 28px;
  }
  .mobile-phone .phone-number a,
  #fixed-masthead .phone-number a {
    font-size: 35px;
    line-height: 42px;
    font-family: "Teko";
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
  }
}
@media all and (min-width: 1025px) {
  .mobile-phone .phone-number a,
  #fixed-masthead .phone-number a {
    font-size: 45px;
    line-height: 54px;
  }
}

/* --- BEGIN PRIMARY NAVIGATION (DESKTOP) --- */

@media all and (min-width: 801px) {
  /* --- SET UP --- */

  #container-primary-navigation .nav-logo,
  #container-primary-navigation .phone-number {
    display: none;
  }

  /* no toggle nav button for any desktop view */
  .js #toggle-navigation {
    font-size: 0;
    height: 0;
    width: 0;
  }
  .js #toggle-navigation a {
    font-size: 0;
  }

  /* Base CSS for #container-primary-navigation */
  #container-primary-navigation {
    background-color: #e2e7ea;
    position: relative;
  }
  /* Shadow Underneath Navigation */
  #container-primary-navigation::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 15px;
    left: 0;
    bottom: -15px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.16) 100%);
    z-index: 1;
  }

  /* Base CSS for #primary-navigation */
  #primary-navigation {
    clear: both;
    margin: 0 auto;
    padding: 0;
    position: relative;
    text-align: center;
    z-index: 800;
  }

  /* Base nav ul CSS */
  #primary-navigation ul {
    display: block;
    list-style: none;
    margin: 0 auto;
    padding: 0;
  }

  /* Base CSS for all nav items */
  #primary-navigation ul li,
  #primary-navigation ul li a {
    text-decoration: none;
    cursor: pointer;
  }

  #primary-navigation a {
    display: block;
    position: relative;
    transition: all 0.2s;
  }

  #primary-navigation a span {
    position: relative;
    line-height: 1.1em;
  }

  /* --- TOP-LEVEL --- */

  /* --- TOP-LEVEL UL --- */
  #primary-navigation > ul {
    display: flex;

    /* Space items evenly */
    justify-content: space-between;
  }

  /* --- TOP-LEVEL LI --- */
  #primary-navigation .nav-level-1 {
    position: relative;
  }

  #primary-navigation li.docid-1,
  #primary-navigation .wf-location-home {
    display: none;
  }

  /* --- TOP-LEVEL A --- */
  #primary-navigation .nav-level-1 > a {
    display: flex;

    /* Vertically-Center spans within links */
    align-items: center;

    /* Set preferred height of link */
    height: 55px;

    /* Set up font styles here */
    font-weight: 700;
    padding: 0 15px;
    text-transform: capitalize;
    font-size: 16px;
  }

  /* --- TOP LEVEL LINK COLORS --- */
  /* Default */
  #primary-navigation .nav-level-1 > a:link,
  #primary-navigation .nav-level-1 > a:visited {
    color: #2b2b2b;
  }

  /* Hover with background color 
  #primary-navigation .nav-level-1 > a:hover,
  #primary-navigation .nav-level-1 > a:active,
  #primary-navigation .nav-level-1.current > a:link,
  #primary-navigation .nav-level-1.current > a:visited,
  #primary-navigation .nav-level-1.current > a:hover,
  #primary-navigation .nav-level-1.current > a:active,
  #service-areas #primary-navigation #nav-21 > a,
  #city-landing-page #primary-navigation #nav-21 > a,
  #wp-blog #primary-navigation #nav-21 > a {
    background-color: #5C8E1E;
  }*/

  /* Hover with line under */
  #primary-navigation ul li.nav-level-1 > a::before {
    content: "";
    position: absolute;
    left: 51%;
    right: 51%;
    bottom: 0px;
    background-color: #4596d1;
    height: 8px;
    transition-property: left, right;
    transition-duration: 0.3s;
    transition-timing-function: ease-out;
  }
  #primary-navigation .nav-level-1 > a:hover:before,
  #primary-navigation .nav-level-1 > a:active:before,
  #primary-navigation .nav-level-1.current > a:link:before,
  #primary-navigation .nav-level-1.current > a:visited:before,
  #primary-navigation .nav-level-1.current > a:hover:before,
  #primary-navigation .nav-level-1.current > a:active:before,
  #service-areas #primary-navigation #nav-21 > a:before,
  #city-landing-page #primary-navigation #nav-21 > a:before,
  #wp-blog #primary-navigation #nav-21 > a:before {
    left: 0;
    right: 0;
  }

  /* --- DROPDOWN ICONS --- */

  /**** Arrow on the right ****/

  /* Add padding to make room for icon */
  #primary-navigation .nav-level-1:not(.contains-0) > a {
    padding-right: 25px; /* Adjust as needed */
  }

  /* Add icon */
  .nav-level-1:not(.contains-0) > a > span::before {
    content: "";
    background-image: url("https://dewees-hvac.imarketbeta.com/assets/templates/main/images/nav/icon-dropdown.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    position: absolute;
    top: 0;
    height: 100%;
    width: 7px;
    right: -14px;
  }

  /**** Arrow below ****/
  /*.nav-level-1:not(.contains-0) > a::before {
  content: '';
  background-image: url("https://dewees-hvac.imarketbeta.com/assets/templates/main/images/nav/icon-dropdown.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  position: absolute;
  height: 6px;
  width: 100%;
  bottom: 4px;
  left: 0;
}*/

  /* --- 2ND-LEVEL --- */

  /* --- 2ND-LEVEL UL --- */
  #primary-navigation .nav-level-1 > ul {
    display: none;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 15px 15px 15px 0 rgba(0, 0, 0, 0.2);
    text-align: left;
    /*top: 50px;*/ /* Just in case top position is wonky */
    width: 300px;
    padding-top: 10px;
    padding-bottom: 15px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
  }

  /* Show dropdown ul on hover */
  #primary-navigation .nav-level-1.active > ul {
    display: block;
  }

  /* Postion dropdown ul based on position of parent */
  #primary-navigation .nav-level-1.center-position > ul {
    left: -75px;
  }
  #primary-navigation .nav-level-1.right-position > ul {
    left: auto;
    right: 0;
  }

  /* --- 2ND-LEVEL FLEXBOX UL --- */

  /* Target Desired Nav Items for Flexbox
  #primary-navigation #nav-8.active > ul {
    display: flex;
  }*/

  /* Set up Menu Widths 
  #primary-navigation #nav-8 > ul {
    width: 700px;
  }*/

  /*#primary-navigation #nav-11 > ul {*/
  /*width: 520px;*/ /* 2 Columns */
  /*}*/

  /* --- 2ND-LEVEL FLEXBOX LI --- */

  /* Set Up Column Widths */

  /* 2 Columns */
  /*#nav-11 li.nav-level-2 {
    flex-basis: 50%;
  }*/

  /* 3 Columns 
  #nav-8 li.nav-level-2 {
    flex-basis: 33.3333%;
  }*/

  /* 4 Columns */
  /*#nav-12 li.nav-level-2 {
    flex-basis: 25%;
  }*/

  /* Column Background Colors 
  #nav-8 li.nav-level-2:nth-child(odd) {
    background-color: #005972;
  }

  #nav-8 li.nav-level-2:nth-child(even) {
    background-color: #049aa2;
  }*/

  /* --- STYLE 2ND-LEVEL FLEXBOX COLUMN TITLES --- */
  /*#nav-8 .nav-level-2 > a {
    border-bottom: 4px solid #49becc;
    padding-top: 8px; 
    padding-bottom: 4px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
  }*/

  /* --- 2ND-LEVEL A --- */
  .nav-level-2 a {
    padding: 7px 15px;
    line-height: 1em;
  }

  /*.nav-level-2:first-child a {
    padding-top: 8px;
  }

  .nav-level-2:last-child a {
    padding-bottom: 8px;
  }*/

  /* --- 2ND LEVEL LINK COLORS --- */
  /* Default */
  #primary-navigation .nav-level-2 a:link,
  #primary-navigation .nav-level-2 a:visited {
    color: #3b3b3b;
  }

  /* Hover */
  #primary-navigation .nav-level-2 a:hover,
  #primary-navigation .nav-level-2 a:active {
    background-color: #e0f2ff;
  }

  /* Current/Active */
  #primary-navigation .nav-level-2.current > a:link,
  #primary-navigation .nav-level-2.current > a:visited,
  #primary-navigation .nav-level-2.current > a:hover,
  #primary-navigation .nav-level-2.current > a:active,
  #service-areas #primary-navigation #nav-119 > a,
  #city-landing-page #primary-navigation #nav-119 > a,
  #wp-blog #primary-navigation #nav-88 > a {
    background-color: #e0f2ff;
  }

  /* --- 3RD-LEVEL --- */

  /* --- 3RD LEVEL LINK COLORS --- */
  /* Default */
  #primary-navigation .nav-level-3 a:link,
  #primary-navigation .nav-level-3 a:visited {
    color: #3b3b3b;
  }

  /* Hover */
  #primary-navigation .nav-level-3 a:hover,
  #primary-navigation .nav-level-3 a:active {
    background-color: #e0f2ff;
  }

  /* Current/Active */
  #primary-navigation .nav-level-3.current > a:link,
  #primary-navigation .nav-level-3.current > a:visited,
  #primary-navigation .nav-level-3.current > a:hover,
  #primary-navigation .nav-level-3.current > a:active {
    background-color: #e0f2ff;
  }

  /* Push 3rd level nav left with line for non-mega menu */
  #primary-navigation li.nav-level-1/*:not(#nav-8)*/ .nav-level-3 {
    margin-left: 15px;
    border-left: 1px solid #034ea2;
  }

  /* Optional Border around contact link 
  #nav-103 {
    padding-top: 5px;
    padding-bottom: 5px;
  }

  #primary-navigation #nav-103.nav-level-1 > a:link,
  #primary-navigation #nav-103.nav-level-1 > a:visited {
    border: 2px solid #fff;
    border-radius: 5px;
    margin-right: 0px;
    height: 40px;
    text-transform: uppercase;
  }
  #primary-navigation #nav-103.nav-level-1 > a:hover,
  #primary-navigation #nav-103.nav-level-1 > a:active {
    background-color: #5C8E1E;
    color: #fff;
  }*/

  /* --- DROPDOWNS - CONTAINERS --- */

  #primary-navigation ul li.nav-level-1 > ul {
    transition: max-height ease 0.2s;
    transition: box-shadow ease 0.2s, max-height ease 0.2s;
  }

  /* --- EXPAND NAVIGATION BUTTONS (repurposed as close megadropdown) --- */

  /* no close button for no-touchevents devices */
  .no-touchevents div.expand-nav,
  .no-touchevents div.expand-nav span.nav-expand {
    display: none;
  }
  .nav-level-1.active > div.expand-nav {
    background-color: #0079bd;
    background-image: url(https://dewees-hvac.imarketbeta.com/assets/templates/main/images/icons/icon-close.svg);
    background-repeat: no-repeat;
    background-position: center;
    color: transparent;
    background-size: 22px;
    border-radius: 50%;
    box-shadow: 1px 2px 2px #000000;
    color: #000000;
    height: 40px;
    position: absolute;
    left: 280px;
    top: 41px;
    width: 40px;
    z-index: 900;
  }

  /* Standard Button Position */
  .nav-level-1.active.center-position > div.expand-nav {
    left: 210px;
  }

  /* Left-aligned, 3-4-column menu 
  #primary-navigation #nav-8 > div.expand-nav {
    left: 680px;
  }*/

  /* Left-aligned, 2-column menu */
  /*#primary-navigation #nav-11 > div.expand-nav {*/
  /*left: 500px; */ /* Nav width - 20px */
  /*}*/

  /*#primary-navigation #nav-11.center-position > div.expand-nav {*/
  /*left: 423px;*/ /* Custom Adjustment. Not sure what the math is here... */
  /*}*/

  /*#primary-navigation #nav-12 > div.expand-nav {*/
  /*right: -20px;*/ /* This one needs to be right-aligned */
  /*}*/

  .nav-level-1.active.right-position > div.expand-nav {
    left: auto;
    right: -20px;
  }
  .nav-level-1.active > div.expand-nav:hover,
  .nav-level-1.active > div.expand-nav:active {
    background-color: #333;
  }
  .nav-level-1.active > div.expand-nav span.nav-expand {
    display: block;
    height: 40px;
    line-height: 40px;
  }
  .mobile-nav-buttons {
    display: none;
  }

  /* --- DROPDOWNS - NAV ITEMS --- */
} /* @media all and (min-width: 801px) */

/* --- TWO-LINE TEXT --- */

/* Two-Line Text */
@media all and (min-width: 801px) and (max-width: 1025px) {
}

/* --- END PRIMARY NAVIGATION (DESKTOP) --- */

/* --- LAYOUTS - SUBPAGE CONTENT STRUCTURE --- */
/* Smaller Desktop */
@media all and (min-width: 801px) {
  .content-left,
  .content-right {
    display: inline-block;
    max-width: 100%;
  }
  .content-left {
    width: calc(100% - 350px);
    padding-right: 45px;
  }
  #content-phone-callout a {
    text-decoration: none;
  }
  .content-right {
    width: 350px;
  }
  .sidebar-right .secondary-tools-heading {
    font-size: 3.6em;
  }
  .no-top-content #top-content-wrap > .width-limiter {
    padding-top: 40px;
    padding-bottom: 40px;
    align-items: center;
  }
  /* Template Variable Layout Overrides */
  .full-width-layout .content-left,
  .exclude-sidebar .content-left {
    display: block;
    width: 100%;
    padding-right: 0px;
  }
  .full-width-layout .content-right,
  .exclude-sidebar .content-right {
    display: none;
    visibility: hidden;
  }
}

/* Wider Desktop / DesignDemo Size */
@media all and (min-width: 1025px) {
  .content-left {
    width: calc(100% - 510px);
  }
  .content-right {
    width: 510px;
  }
}

/* --- LAYOUTS - FEATURED IMAGE --- */
/* Smaller Desktop */
@media all and (min-width: 801px) {
  .has-landing-page-image:not(.contact) #top-content-wrap .content-left p,
  .has-landing-page-image:not(.contact) #top-content-wrap .content-left li {
    font-size: 2.1em;
  }
}

/* --- Static Campaign Sections --- */
@media all and (min-width: 801px) {
  #cmpgn-st {
    padding: 20px 0;
  }
}

/* --- SECONDARY CONTENT - MINI FORM --- */

@media all and (min-width: 801px) {
  .full-width #mini-form-cta {
    padding: 64px 0 48px;
  }
  .full-width #mini-form-cta .width-limiter {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
  }
  .full-width #mini-form-cta .width-limiter > span {
    font-size: 3.6em;
    margin-bottom: -5px;
  }
  .full-width #mini-form-cta img {
    height: 46px;
    width: 46px;
    margin-right: 15px;
  }
  #mini-form-cta .cta-phone a {
    text-decoration: none;
  }
  #mini-form-cta .width-limiter > .mi-subtitle {
    font-size: 20px;
  }
  .mi-cta-buttons {
    gap: 40px;
  }
}

/* --- SECONDARY CONTENT - PROMOTIONS --- */
@media all and (min-width: 801px) {
  .full-width #promotions-secondary {
    padding-top: 91px;
    padding-bottom: 110px;
  }
  .full-width #promotions-secondary .secondary-tools-heading {
    margin-bottom: 2px;
  }
  #promotions-secondary .promo-subtitle {
    margin-bottom: 67px;
  }
  .full-width #promotions-secondary .promotions {
    display: flex;
    justify-content: center;
    flex-direction: row;
    max-width: 100%;
    gap: 10px;
  }
  #promotions-secondary a .promo-title {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 11px;
  }
  .full-width #promotions-secondary .promotions li {
    width: calc(33.33% - 10px);
    margin: 0 5px;
  }
  .full-width #promotions-secondary .promotions li:first-of-type {
    margin-left: 0;
  }
  .full-width #promotions-secondary .promotions li:last-of-type {
    margin-right: 0;
  }

  .full-width #promotions-secondary .view-all {
    margin-top: 37px;
  }
  #promotions-secondary li a {
    padding: 56px 50px 26px 50px;
  }
}

/* --- PROMOTIONS - Landing Page --- */
@media all and (min-width: 801px) {
  .promotions-item .promotions-inner {
    gap: 50px;
  }
  #promotions .promo-image:empty {
    height: 300px;
    margin: 0;
  }
  .promotions-item .promo-cta-buttons {
    gap: 20px;
  }
}
@media all and (min-width: 1025px) {
  .promotions-item .promotions-inner {
    gap: 100px;
  }
}

/* --- PROMOTIONS - Details Page --- */
@media all and (min-width: 801px) {
  #details .promotions-top {
    height: 200px;
  }
  #details .promotions-item {
    margin-top: -100px;
  }
  #details .promotions-item .promotion-item-inner {
    padding: 40px 50px 20px;
    display: flex;
    text-align: left;
    justify-content: space-between;
    gap: 30px;
  }
  #details .promo-image {
    max-width: 35%;
  }
}
@media all and (min-width: 1025px) {
  #details .promotions-top {
    height: 250px;
  }
  #details .promotions-item {
    margin-top: -100px;
  }
  #details .promotions-item .promotion-item-inner {
    padding: 55px 85px 30px;
    gap: 50px;
  }
}

/* --- SECONDARY CONTENT - REVIEWS --- */
@media all and (min-width: 801px) {
  #testimonials-secondary {
    background-size: cover;
    background-position: center;
    padding-top: 100px;
    padding-bottom: 98px;
  }
  #testimonials-secondary::after {
    max-width: 50%;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background-position: center;
    background-image: url(https://dewees-hvac.imarketbeta.com/assets/templates/main/images/backgrounds/bg-reviews.webp);
  }
  #testimonials-secondary .secondary-tools {
    max-width: 50%;
    margin-right: auto;
    margin-left: 0;
  }
  #testimonials-secondary .secondary-tools .review-star-rating,
  #testimonials-secondary .secondary-tools-heading,
  #testimonials-secondary .testimonials-inner {
    padding-right: 86px !important;
  }
  #testimonials-secondary .testimonials-inner {
    padding: 0;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }
  .review-star-rating .star-rating-inner {
    margin-left: 0;
    margin-bottom: 23px;
  }
  .testimonial p.quote,
  .testimonial.be-review .read-more {
    text-align: left;
  }
  .testimonial.be-review .read-more {
    font-size: 18px;
    color: #db0915;
    text-decoration: underline;
    margin-bottom: 20px;
  }
  #testimonials-secondary .secondary-tools-heading {
    text-align: left;
    margin-bottom: 10px;
    padding: 0;
  }
  #testimonials-secondary .testimonials-inner .view-all {
    text-align: left;
  }
  .testimonial.be-review .source-info {
    max-width: 100%;
    margin-bottom: 5px;
  }
}

/* --- SECONDARY CONTENT - SERVICE AREAS --- */

@media all and (min-width: 801px) {
  .full-width .service-area-top {
    background-image: url("https://dewees-hvac.imarketbeta.com/assets/templates/main/images/backgrounds/bg-service-area.webp");
  }
  .full-width .service-area-top {
    padding-top: 210px;
  }
  #service-area-list {
    display: flex;
  }
  #service-area-list::before {
    max-width: 50%;
  }
  .full-width #service-area-list .sa-top-box {
    padding-bottom: 60px;
    padding-top: 45px;
    margin: 0 0 0 126px;
    max-width: 442px;
    width: 100%;
    text-align: center;
  }
  #service-area-list .sa-top-box::before {
    margin-bottom: -6px;
  }
  .full-width #service-area-list .sa-title {
    max-width: 100%;
    margin-bottom: 2px;
  }
  #service-area-list .sa-subtitle {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 14px;
  }
  .full-width #service-area-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 342px;
    flex-direction: column;
    margin: 0 auto;
    width: 100%;
    padding: 16px 16px 11px;
    gap: 4px;
    margin-bottom: 20px;
  }
  #service-area-list ul.service-cities li {
    margin: 0px 10px;
  }
  #service-area-list .view-all {
    margin-top: 26px;
  }
  .full-width #service-area-search-form {
    flex-shrink: 0;
  }
  .full-width #service-area-search .sas-text,
  .full-width #service-area-search form {
    margin-bottom: 0;
  }
  .full-width #service-area-search form li {
    margin: 0;
  }
  .full-width #service-area-list .sa-towns-box {
    padding-top: 47px;
    padding-bottom: 60px;
  }
  .full-width #service-area-list .sa-city-wrapper {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  /* Service Area Page */
  #service-areas #main-content #service-area-towns-list ul li:not(.view-all) {
    width: 25%;
  }
}

/* --- SECONDARY CONTENT - Start Maintenance Program --- */

@media all and (min-width: 801px) {
  .full-width #maintenance-secondary {
    padding-top: 80px;
    padding-bottom: 100px;
    background-image: url(https://dewees-hvac.imarketbeta.com/assets/templates/main/images/backgrounds/bg-maintenance.webp);
    background-position: 100% 30%;
  }
  .full-width #maintenance-secondary .secondary-tools-heading {
    max-width: 100%;
    margin-bottom: 11px;
  }
  .full-width .ma-subtitle {
    margin-bottom: 38px;
  }
  .full-width .maintenance-wrapper {
    flex-direction: row;
    align-items: center;
  }
  .full-width .ma-image {
    order: 0;
    max-width: 210px;
    margin-top: -153px;
    margin-bottom: 13px;
  }
  .full-width ul.ma-points {
    max-width: 1065px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  .full-width .ma-points li {
    margin: 0px;
    width: calc(50% - 10px);
    font-size: 25px;
    line-height: 43px;
  }
  #maintenance-secondary .view-all {
    margin-top: 50px;
  }
}

/* --- Start Affiliations --- */
@media all and (min-width: 801px) {
  #affiliations-block {
    padding-bottom: 0;
    padding-top: 46px;
  }
  #affiliations-block .affiliations-wrapper {
    flex-wrap: nowrap;
    gap: 17px;
  }
}

/* --- BEGIN FOOTER --- */

@media all and (min-width: 801px) {
  #container-footer {
    padding-top: 39px;
}
  #container-footer .main-footer {
    display: flex;
    padding-top: 25px;
    padding-bottom: 70px;
  }
  #container-footer .main-footer > div {
    width: 33.33%;
  }
  .footer-center {
    margin-top: 0;
    margin-bottom: 0;
  }
  .footer-center .footer-phone {
    margin-top: 7px;
        margin-bottom: 31px;
  }
  .business-hours {
    margin-bottom: 0;
  }
  .footer-financing {
    margin-bottom: 29px;
    margin-top: 29px;
}
  .footer-logo {
    margin-bottom: 20px;
    max-width: 429px;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-center .address {
    max-width: 200px;
    margin: 0 auto;
    width: 100%;
  }
  #container-footer .footer-phone a {
    text-decoration: none;
  }
  .copyright {
    margin-bottom: 57px;
  }
  /* Newsletter heading to the left instead of stacked 
  #newsletter-signup .secondary-tools {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  #newsletter-signup .secondary-tools-heading {
    margin-bottom: 0px;
  }
  #newsletter-signup form {
    margin: 0;
  }*/
  #newsletter-signup form {
    max-width: 550px;
  }
  .social-networking {
    margin-top: 28px;
  }
  .social-networking li {
    margin-left: 5px;
  }
}
@media all and (min-width: 801px) and (max-width: 1025px) {
  #container-footer .ims-grecaptcha-badge,
  #container-footer .ims-rc-anchor-invisible {
    width: 250px;
  }
  #container-footer .ims-rc-anchor-invisible-text {
    white-space: normal;
    line-height: 11px;
    text-align: left;
    padding-left: 10px;
  }
}

/* --- END FOOTER --- */

/* --- PROJECTS PAGES --- */

@media (min-width: 801px) {
  .project-col-left {
    width: calc(100% - 350px);
    padding-right: 45px;
    width: 60%;
  }
  .project-col-right {
    width: 350px;
    width: 40%;
  }
  .project-col-left,
  .project-col-right {
    display: inline-block;
    max-width: 100%;
  }
}
@media (min-width: 1025px) {
  .project-col-left {
    width: calc(100% - 420px);
    width: 66%;
  }
  .project-col-right {
    width: 420px;
    width: 34%;
  }
}

/* --- Project Grid View --- */

@media all and (min-width: 801px) {
  .projects-grid > div:nth-child(3n) {
    /* padding-right: 0px; */
    /* margin-right: 0px; */
  }
  .projects-grid > div:nth-child(3n + 1) {
    /* padding-left: 0; */
    /* margin-left: 0; */
  }
}

/* --- PRODUCTS PAGES --- */

/* Products Grid */
@media all and (min-width: 801px) {
  .products-grid > div:nth-child(3n) {
    /* padding-right: 0px; */
    /* margin-right: 0px; */
  }
  .products-grid > div:nth-child(3n + 1) {
    /* padding-left: 0; */
    /* margin-left: 0; */
  }
}

/* --- End Products Landing --- */

/* --- Product Details View --- */

@media (min-width: 801px) {
  .product-col-left {
    width: calc(100% - 350px);
    padding-right: 45px;
    width: 60%;
  }
  .product-col-right {
    width: 350px;
    width: 40%;
  }
  .product-col-left,
  .product-col-right {
    display: inline-block;
    max-width: 100%;
  }
}
@media (min-width: 1025px) {
  .product-col-left {
    width: calc(100% - 420px);
    width: 66%;
  }
  .product-col-right {
    width: 420px;
    width: 34%;
  }
}

/* --- Advanced Maintenance Page responsive.css --- */
@media all and (min-width: 660px) {
  #maintenance-service-plans .service-plans-outer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 620px;
    margin: 0 auto;
  }
  #maintenance-service-plans .service-plans-outer .service-plan {
    margin: 0 10px 25px 10px;
    width: calc(50% - 10px);
  }
  #maintenance-service-plans .service-plans-outer .service-plan:nth-child(odd) {
    margin-left: 0;
  }
  #maintenance-service-plans .service-plans-outer .service-plan:nth-child(even) {
    margin-right: 0;
  }
}
@media all and (min-width: 801px) {
  #maintenance-plan .top-content-upper .width-limiter {
    position: relative;
    display: flex;
    align-items: center;
  }
  #maintenance-plan .top-content-upper .top-content-left {
    width: 54%;
    text-align: left;
    padding-right: 20px;
  }
  #maintenance-plan .top-content-upper .top-content-right {
    width: 44%;
  }

  #maintenance-steps .maintenance-steps-wrapper {
    display: flex;
  }
  #maintenance-steps .maintenance-step {
    width: 33.33%;
    margin-bottom: 0;
  }
  #maintenance-steps .maintenance-step p {
    margin-bottom: 0;
  }
  #maintenance-main-content .width-limiter {
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }
  #maintenance-main-content .content-left {
    width: 60%;
    position: relative;
  }
  #maintenance-main-content .cta-button,
  #maintenance #site-modal {
    display: none;
  }
  #maintenance-main-content #maintenance-form {
    display: block;
    width: 45%;
    height: auto;
    margin-left: -5%;
    margin-top: 40px;
    background-color: #e1e1e1;
  }
  #maintenance-main-content #maintenance-form .width-limiter {
    width: 80%;
    margin-left: auto;
    margin-right: 25px;
  }
  #maintenance-main-content .content-left h2,
  #maintenance-main-content .content-left h3 {
    text-align: left;
  }
}
@media all and (min-width: 1290px) {
  #maintenance-service-plans .service-plans-outer {
    max-width: 100%;
  }
  #maintenance-service-plans .service-plans-outer .service-plan,
  #maintenance-service-plans .width-limiter .service-plans-outer .service-plan:nth-child(2n),
  #maintenance-service-plans .width-limiter .service-plans-outer .service-plan:nth-child(2n + 1) {
    width: calc(25% - 20px);
    margin: 0 20px 0 0;
  }
  #maintenance-service-plans .width-limiter .service-plans-outer .service-plan:first-of-type {
    margin-left: 0;
  }
  #maintenance-service-plans .width-limiter .service-plans-outer .service-plan:last-of-type {
    margin-right: 0;
  }
  #maintenance-main-content #maintenance-form {
    margin-top: 60px;
  }
}

/* Advanced Careers Page Styles */

@media all and (min-width: 801px) {
  #careers-featured-content .width-limiter {
    display: flex;
    align-items: center;
  }
  #careers-featured-content .width-limiter > div:first-of-type {
    width: 52%;
    padding-right: 40px;
    text-align: left;
  }
  #careers-featured-content .width-limiter > div:last-of-type {
    width: 48%;
  }

  #careers-benefits .careers-benefits-inner {
    display: flex;
    flex-wrap: wrap;
  }
  #careers-benefits .careers-benefits-inner > div {
    width: 50%;
  }
  #careers-benefits .careers-benefit-content {
    width: calc(100% - 87px);
  }

  #current-openings .opening-outer {
    display: flex;
    align-items: center;
    padding-bottom: 0;
  }
  #current-openings .opening-outer:last-of-type {
    border-bottom: none;
  }
  #current-openings .opening-title {
    flex-grow: 1;
    text-align: left;
    padding-right: 20px;
  }

  body.careers-position .top-content-upper,
  body.careers-position #top-content {
    text-align: left;
  }
}
