/*
-----------------------------------------------
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.5em;}
  h2,.h2 {font-size: 3em;}
  h3,.h3 {font-size: 2.5em;}
  h4,.h4 {font-size: 2em;}
  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: 4em;}
  h2,.h2 {font-size: 3.2em;}
  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;}
  h2,.h2 {font-size: 3.6em;}
  h3,.h3 {font-size: 3em;}
  h4,.h4 {font-size: 2.4em;}
  h5,.h5 {font-size: 2em;}
  h6,.h6 {font-size: 1.8em;}
  p, li {font-size: 1.8em;}
}
  
@media all and (min-width: 571px) {
  .width-limiter {
    width:calc(100% - 40px);
  }
}
  
/* imsLightbox Modal Forms */
@media (min-width: 571px) {
  .ims-lightbox {
    width: 80%;
    height: calc(100% - 115px);
    left: 10%;
    top: 25px;
    border-radius: 10px;
  }
  .ims-lightbox .close-popup {
    top: -20px;
    right: -10px;
  }
}	
@media (min-width: 801px) {
  .ims-lightbox {
    width: 85%;
    height: calc(100% - 175px);
    top: 165px;
    left: 50%;
    transform: translateX(-50%);
  }
}
@media (min-width: 1025px) {
  .ims-lightbox {
    width: 70%;
    height: calc(100% - 145px);
    top: 130px;
  }
}
@media (min-width: 1251px) {
  .ims-lightbox {
    width: 60%;
  }
}
  
/* 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;
  }
}

/* --- GENERAL UTILITY ------------------------------------------------------ */
/* --- 404 PAGE ------------------------------------------------------------- */

/*----- LAYOUTS - 404 PAGE ----- */

@media all and (min-width: 801px) {
  #page-not-found #top-content p {
    font-size: 2em;
  }
}

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

@media all and (min-width: 801px) {
  #masthead {  
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  #masthead > div {
    width: 33.33%;
  }
  #masthead .masthead-center {
    order: 0;
  }
  .tagline {
    position: relative;
    padding-top: 35px;
  }
  .tagline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 29px;
    background-image: url("/assets/templates/main/images/icons/icon-pin.svg");
    background-repeat: no-repeat;
    background-size: contain;
  }
  #masthead .masthead-phone-number {
    display: inline-block;
    font-size: 2em;
    margin-bottom: 10px;
  }

  .masthead-phone-number a {
    border-radius: 10px;
    background-image: linear-gradient(180deg, #005ea9 0%, #16397c 100%);
    background-position: center;
    background-size: calc(100% + 6px) calc(100% + 6px);
    border: 3px solid transparent;
    display: block;
    height: 55px;
    line-height: 46px;
    padding: 0 20px 0 45px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    position: relative;
  }

  #fixed-masthead .masthead-phone-number {
    margin-bottom: 0;
  }

  #fixed-masthead .masthead-phone-number a {
    display: inline-block;
  }

  .masthead-phone-number a:hover,
  .masthead-phone-number a:active {
    border-color: #16397c;
    background-color: #ffffff;
    background-image: none;
    color: #13377e;
  }

  .masthead-phone-number a::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 24px;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url("/assets/templates/main/images/icons/icon-cta-call-white.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
  }

  .masthead-phone-number a:hover::before,
  .masthead-phone-number a:active::before {
    background-image: url("/assets/templates/main/images/icons/icon-cta-call.svg");
  }
  #masthead .logo {
    margin-left: 0;
  }
  #masthead .masthead-right {
    text-align: right;
  }
  #container-footer {
    margin-bottom: 0;
  }
  .mobile-col:not(.mobile-phone),
  .mobile-phone .phone-number svg {
    display: none;
  }
  .mobile-fixed-footer {
    position: relative;
    box-shadow: none;
    height: auto;
    z-index: initial;
  }
  .mobile-phone {
    width: 100%;
    display: block;
  }
  .mobile-phone .phone-number {
    display: none;
  }
  
  #fixed-masthead {
    padding: 10px 0;
  }
  
  #fixed-masthead,
  #fixed-masthead #fixed-masthead-center {
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align:center;
    -ms-flex-align:center;
    align-items:center;
  }

  #fixed-masthead-left,
  #fixed-masthead-right {
    width: 25%;
  }
  #fixed-masthead #fixed-masthead-center {
    flex-grow: 1;
  }
  #fixed-masthead #fixed-masthead-center > div {
    width: 100%;
  }

  #fixed-masthead #fixed-masthead-center {
    -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;
  }
  
  #fixed-masthead #fixed-masthead-center > div {
    text-align: center;
  }
  #fixed-masthead .masthead-phone-number a {
    padding: 0 10px 0 30px;
    line-height: 50px;
  }
  #fixed-masthead .masthead-phone-number a::before {
    left: 3px;
  }
  #fixed-masthead .logo {
    max-width: 210px;
    margin-left: 0;
  }
}

@media all and (min-width: 915px) {
  /* #masthead .masthead-phone-number {
    margin-right: 35px;
  } */
}

@media all and (min-width: 1025px) {
  #fixed-masthead #fixed-masthead-center {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }
  #fixed-masthead #fixed-masthead-center > div {
    width: 50%;
    text-align: center;
  }
  #fixed-masthead-right {
    text-align: right;
  }
  #fixed-masthead .masthead-phone-number a {
    padding: 0 20px 0 45px;
  }
  #fixed-masthead .masthead-phone-number a::before {
    left: 15px;
  }
}

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

@media all and (min-width: 571px) {
  #primary-navigation .phone-number {
    font-size: 4em;
  }
}

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

  /* --- PRIMARY NAVIGATION (DESKTOP) ----------------------------------------- */
  /* --- SET UP --------------------------------------------------------------- */

  #container-primary-navigation .nav-logo,
  #container-primary-navigation .cta-button {
    display: none;
  }

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

  /* Base CSS for #container-primary-navigation */
  #container-primary-navigation {
    
  }

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

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

  /* --- PRIMARY NAVIGATION (DESKTOP) ----------------------------------------- */
  /* --- TOP-LEVEL ------------------------------------------------------------ */

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

    /* Space items evenly */
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

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

  #primary-navigation li.docid-1 {
    display: none;
  }

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

    /* Vertically-Center spans within links */
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;

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

    /* Set up font styles here */
    font-weight: bold;
    padding: 0 5px;
  }

  /*-- TOP LEVEL LINK COLORS -----------------------*/
  /* Default */
  #primary-navigation .nav-level-1 > a:link,
  #primary-navigation .nav-level-1 > a:visited {
    color: #0067b6;
  }
  
  #primary-navigation ul li.nav-level-1>a::before {
    content:"";
    position:absolute;
    left:51%;
    right:51%;
    bottom:-5px;
    background-color: #ea4828;
    height:5px;
    -ms-transition-property:left,right;
    -webkit-transition-property:left,right;
    transition-property:left,right;
    -ms-transition-duration:.3s;
    -webkit-transition-duration:.3s;
    transition-duration:.3s;
    -ms-transition-timing-function:ease-out;
    -webkit-transition-timing-function:ease-out;
    transition-timing-function:ease-out;
  }

  /* Hover */
  #primary-navigation ul li.nav-level-1 > a:hover::before,
  #primary-navigation ul li.nav-level-1 > a:active::before,
  #primary-navigation ul li.nav-level-1.active > a::before {
    left: 0;
    right: 0;
  }

  /* Current/Active */
  #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: 15px; /* Adjust as needed */
  }

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


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

  /* --- PRIMARY NAVIGATION (DESKTOP) ----------------------------------------- */
  /* --- 2ND-LEVEL ------------------------------------------------------------ */

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

  /* 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-231.active > ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

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

  /*#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 {
  -ms-flex-preferred-size: 50%;
  flex-basis: 50%;
}*/

  /* 3 Columns */
  #nav-231 li.nav-level-2 {
    -ms-flex-preferred-size: 33.3333%;
    flex-basis: 33.3333%;
  }

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


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

  #nav-231 li.nav-level-2:nth-child(even) {
    background-color: #dff3fc;
  }

  /*-- STYLE 2ND-LEVEL FLEXBOX COLUMN TITLES -----------------------*/
  #nav-231 .nav-level-2 > a {
    border-bottom: 4px solid #13377e;
    /* background-image: linear-gradient(to right, #ffe616 0%, #ec421b 100%); */
    padding-top: 8px; 
    padding-bottom: 4px; 
    font-weight: bold;
    font-size: 1.1em;
    /* text-shadow: 1px 1px 2px rgba(0,0,0,0.7); */
  }

  #primary-navigation #nav-231 .nav-level-2 > ul {
    border-left: 0px solid #ffffff;
    margin-left: 15px;
  }

  /*-- 2ND-LEVEL A -----------------------*/
  .nav-level-2 a {
    padding: 8px 25px;
    font-weight: 700;
  }

  /*.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: #0067b6;
  }

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

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

  /* --- PRIMARY NAVIGATION (DESKTOP) ----------------------------------------- */
  /* --- 3RD-LEVEL ------------------------------------------------------------ */

  #primary-navigation .nav-level-2 > ul {
    border-left: 6px solid #ffffff;
    margin-left: 25px;
  }
  
  #primary-navigation .nav-level-3 > a {
    font-weight: 400;
    padding: 8px;
  }
  
  /*-- 3RD LEVEL LINK COLORS -----------------------*/
  /* Default */
  #primary-navigation .nav-level-3 a:link,
  #primary-navigation .nav-level-3 a:visited {
    color: #0067b6;
  }

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

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

  /* --- PRIMARY NAVIGATION (DESKTOP) ----------------------------------------- */
  /* --- DROPDOWNS - CONTAINERS ----------------------------------------------- */

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

  /* --- PRIMARY NAVIGATION (DESKTOP) ----------------------------------------- */
  /* --- 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-image: none;
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0 0;
    background-color: #DADADA;
    border-radius: 30px;
    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;*/ /* Nav width - 20px */
  /*}*/

  /* 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:-25px;
  }
  .nav-level-1.active > div.expand-nav:hover,
  .nav-level-1.active > div.expand-nav:active {
    background-image: none;
    background-repeat: repeat;
    background-attachment: scroll;
    background-position: 0 0;
    background-color: #333333;
    color: #DADADA;
  }
  .nav-level-1.active > div.expand-nav span.nav-expand {
    display: block;
    height: 40px;
    line-height: 40px;
  }
  .nav-level-1.active > div.expand-nav span.nav-expand:after {
    content: 'X';
  }

  /* --- PRIMARY NAVIGATION (DESKTOP) ----------------------------------------- */
  /* --- DROPDOWNS - NAV ITEMS ------------------------------------------------ */

} /* @media all and (min-width: 801px) */
  
/* --- PRIMARY NAVIGATION (DESKTOP) ----------------------------------------- */
/* --- TWO-LINE TEXT -------------------------------------------------------- */

/* Two-Line Text */
@media all and (min-width: 1025px) and (max-width: 1280px) {
  #primary-navigation .nav-level-1 > a {
    padding: 0 10px;
  }
  #primary-navigation .nav-level-1:not(.contains-0) > a {
    padding-right: 20px; /* Adjust as needed */
  }
  #primary-navigation .nav-level-1 {
    font-size: 1.4em;
  }
}
@media all and (min-width: 1281px) {
  #primary-navigation .nav-level-1 > a {
    padding: 0 15px;
  }
  #primary-navigation .nav-level-1:not(.contains-0) > a {
    padding-right: 25px; /* Adjust as needed */
  }
  #primary-navigation .nav-level-1 {
    font-size: 1.6em;
  }
  .nav-level-1:not(.contains-0) > a > span::before {
    right: -14px;
  }
}

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

/*----- LAYOUTS - SUBPAGE CONTENT STRUCTURE --------------------------------- */
/* Smaller Desktop */
@media all and (min-width: 801px) {
  #content-wrap > .width-limiter {
    width: calc(100% - 30px);
  }
  .exclude-reviews #content #content-wrap > .width-limiter {
    padding-bottom: 125px;
  }
  #content-wrap .content-left {
    padding-top: 30px;
  }
  .content-left,
  .content-right {
    display: inline-block;
    max-width: 100%;
  }
  #content-wrap .content-left {
    width: calc(100% - 350px);
    padding-right: 45px;
    padding-bottom: 0;
  }
  .ultimate-parent-103 #content-wrap .content-left {
    padding-bottom: 0;
  }
  .content-right {
    width: 350px;
  }
  .no-top-content #top-content-wrap > .width-limiter {
    padding-top: 40px;
    padding-bottom: 40px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;    
  }
  /* Template Variable Layout Overrides */
  .full-width-layout .content-left,
  .exclude-top-sidebar #top-content-wrap .content-left,
  .single-sidebar #top-content-wrap .content-left,
  .exclude-bottom-sidebar #main-content-wrap .content-left {
    display: block;
    width: 100%;
  }
  .full-width-layout .content-right,
  .exclude-top-sidebar.exclude-bottom-sidebar .content-right {
    display: none;
    visibility: hidden;
  }
}
  
/* Wider Desktop / DesignDemo Size */
@media all and (min-width: 1025px) {
  #content-wrap .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;
  }
}

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

@media all and (min-width: 701px) {
  #service-areas #main-content #service-area-towns-list ul li:not(.view-all) {
    width: 25%;
  }
}

@media all and (min-width: 801px) {
  .webp #service-area-list {
    background-image: url("/assets/templates/main/images/backgrounds/bg-service-area-desktop.webp");
  }
  .no-webp #service-area-list {
    background-image: url("/assets/templates/main/images/backgrounds/bg-service-area-desktop.png");
  }
  #service-area-list {
    padding-top: 305px;
    padding-bottom: 210px;
    background-position: top center;
    background-size: cover;
    margin-top: -453px;
    position: relative;
  }
  #service-area-list .secondary-tools-heading {
    font-size: 4.2em;
    max-width: 650px;
    margin: 210px auto 40px auto;
  }
}

@media all and (min-width: 1921px) {
  .webp #service-area-list {
    background-image: url("/assets/templates/main/images/backgrounds/bg-service-area-desktop-no-tower.webp");
  }
  .no-webp #service-area-list {
    background-image: url("/assets/templates/main/images/backgrounds/bg-service-area-desktop-no-tower.jpg");
  }
  #service-area-list {
    padding-top: 20px;
    padding-bottom: 125px;
    margin-top: 0;
  }
  #service-area-list .secondary-tools-heading {
    margin-top: 20px;
  }
}

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

@media all and (min-width: 801px) {
  #mini-form-cta .cta-button {
    display: none;
  }
  #mini-form-cta span:first-of-type {
    padding-bottom: 0;
  }
  .sidebar-right #mini-form {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.16);
    border-radius: 5px;
    border: 4px dashed #fbbc49;
    background-image: linear-gradient(180deg, #005ea9 0%, #16397c 100%);
    padding-top: 40px;
    margin-top: 50px;
    margin-bottom: 50px;
  }
  #mini-form .secondary-tools {
    background-color: transparent;
  }
  #mini-form .secondary-tools-heading {
    color: #fff;
  }
}

/* --- SECONDARY CONTENT ---------------------------------------------------- */
/* --- PROMOTIONS -------------------------------------------------------- */

@media all and (min-width: 801px) {
  #promotions-secondary .secondary-tools li a .promo-title {
    font-size: 30px;
  }
}

/* --- SECONDARY CONTENT ---------------------------------------------------- */
/* --- REVIEWS -------------------------------------------------------- */

@media all and (min-width: 571px) {
  #testimonials-secondary {
    padding-bottom: 110px;
  }
  #sidebar-content-top #testimonials-secondary {
    padding-bottom: 10px;
  }
}

@media all and (min-width: 801px) {
  #city-landing-page #testimonials-secondary {
    margin-top: 20px;
  }
  #city-landing-page #testimonials-secondary::before,
  #sidebar-content-top #testimonials-secondary::before {
    display: none;
  }
}

@media all and (min-width: 1025px) {
  #testimonials-secondary {
    margin-top: 105px;
    padding-top: 0;
  }
  #sidebar-content-top #testimonials-secondary {
    margin-top: 0;
  }
  #testimonials-secondary .secondary-tools {
    margin: 0 0 0 auto;
    padding: 40px 0;
  }
  #sidebar-content-top #testimonials-secondary .secondary-tools {
    padding-bottom: 20px;
  }
  #testimonials-secondary .width-limiter {
    position: relative;
  }
  .webp #testimonials-secondary .width-limiter::before {
    background-image: url("/assets/templates/main/images/review-family.webp");
  }
  .no-webp #testimonials-secondary .width-limiter::before {
    background-image: url("/assets/templates/main/images/review-family.png");
  }
  #testimonials-secondary .width-limiter::before {
    content: '';
    position: absolute;
    left: 0;
    top: -85px;
    width: calc(100% - 615px);
    height: calc(100% + 85px);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
  }
  #testimonials-secondary h2 {
    font-size: 4.2em;
  }
  #testimonials-secondary .quote p {
    font-size: 23px;
  }
  #testimonials-popup .quote p {
    font-size: 1.8em;
  }
  #testimonials-secondary blockquote {
    padding: 40px 30px 0 30px;
  }
  .testimonial .read-more {
    padding-left: 30px;
  }
  #testimonials-secondary #testimonials-popup blockquote {
    padding: 15px 0 0 0;
  }
  #testimonials-secondary .testimonial {
    padding-bottom: 60px;
  }
  #sidebar-content-top #testimonials-secondary .testimonial {
    margin-bottom: 10px;
  }
}

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

@media all and (min-width: 571px) {
  #container-footer::before {
    height: 100px;
    top: -100px;
  }
  #container-footer .footer-addresses {
    display: flex;
    justify-content: space-between;
  }
  #container-footer .inside-footer {
    max-width: 680px;
    margin: 0 auto;
    padding-bottom: 30px;
  }
}

@media all and (min-width: 801px) {
  #container-footer::before {
    background-image: url("/assets/templates/main/images/bg-curve-up-blue-desktop.svg");
  }
  #newsletter-signup .secondary-tools-heading,
  #newsletter-signup form {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 0;
  } 
  #newsletter-signup .secondary-tools-heading {
    margin-right: 5px;
  }
  #footer-navigation ul {
    padding-bottom: 25px;
  }
  p.imarket-link {
    margin-bottom: 30px;
  }
}