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

@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%;
    top: 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;
    -webkit-box-shadow: 0 3px 5px 0 rgba(0,0,0,0.2);
    box-shadow: 0 3px 5px 0 rgba(0,0,0,0.2);
    -webkit-transition: top 0.6s, left 0.3s;
    -o-transition: top 0.6s, left 0.3s;
    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:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-align:center;
    -ms-flex-align:center;
    align-items:center;
    -webkit-box-pack:justify;
    -ms-flex-pack:justify;
    justify-content:space-between;
  }
  #fixed-masthead #fixed-masthead-center {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    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 {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    gap: 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: 404px;
  }
  .mobile-fixed-footer {
    background-color: transparent;
  }
  #container-footer {
    margin-bottom: 0;
  }
  .mobile-col:not(.mobile-phone),
  .mobile-phone .phone-number svg {
    display: none;
  }
  .mobile-fixed-footer {
    position: relative;
    -webkit-box-shadow: none;
    box-shadow: none;
    height: auto;
    z-index: initial;
  }
  .mobile-phone {
    width: 100%;
    display: block;
  }
  .tagline {
    margin-top: 0;
    margin-bottom: 5px;
  }
  .mobile-phone .phone-number,
  #fixed-masthead .phone-number {
    font-size: 3.5em;
  }
}
@media all and (min-width: 1025px) {
  .mobile-phone .phone-number,
  #fixed-masthead .phone-number {
    font-size: 4.5em;
  }
}

/* --- 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: #034ea2;
    position: relative;
  }
  /* Shadow Underneath Navigation */
  #container-primary-navigation::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 15px;
    left: 0;
    bottom: -15px;
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(0,0,0,0)), to(rgba(0,0,0,0.16)));
    background: -o-linear-gradient(bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.16) 100%);
    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;
    -webkit-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
  }

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

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

  #primary-navigation li.docid-1,
  #primary-navigation .wf-location-home {
    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: 65px;

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

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

  /* 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;
    -webkit-transition-property: left,right;
    -o-transition-property: left,right;
    transition-property: left,right;
    -webkit-transition-duration: .3s;
    -o-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-timing-function: ease-out;
    -o-transition-timing-function: ease-out;
    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("/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("/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);
    -webkit-box-shadow: 15px 15px 15px 0 rgba(0, 0, 0, 0.2);
    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: -webkit-box;
    display: -ms-flexbox;
    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 {
    -ms-flex-preferred-size: 50%;
    flex-basis: 50%;
  }*/

  /* 3 Columns 
  #nav-8 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-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 {
    -webkit-transition: max-height ease 0.2s, -webkit-box-shadow ease 0.2s;
    transition: max-height ease 0.2s, -webkit-box-shadow ease 0.2s;
    -o-transition: box-shadow ease 0.2s, max-height ease 0.2s;
    transition: box-shadow ease 0.2s, max-height ease 0.2s;
    transition: box-shadow ease 0.2s, max-height ease 0.2s, -webkit-box-shadow 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(/assets/templates/main/images/icons/icon-close.svg);
    background-repeat: no-repeat;
    background-position: center;
    color: transparent;
    background-size: 22px;
    border-radius: 50%;
    -webkit-box-shadow: 1px 2px 2px #000000;
    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;
    -webkit-box-align: center;
    -ms-flex-align: center;
    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: 60px 0;
  }
  .full-width #mini-form-cta .width-limiter {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 20px;
  }
  .full-width #mini-form-cta .width-limiter > span {
    font-size: 3.6em;
  }
  .full-width #mini-form-cta img {
    height: 46px;
    width: 46px;
    margin-right: 15px;
  }
  #mini-form-cta .cta-phone a {
    text-decoration: none;
  }
}
@media all and (min-width: 1101px) {
  .full-width #mini-form-cta .width-limiter {
    gap: 60px;
  }
}

/* --- SECONDARY CONTENT - PROMOTIONS --- */
@media all and (min-width: 801px) {
  .full-width #promotions-secondary {
    padding-top: 60px;
    padding-bottom: 66px;
  }
  .full-width #promotions-secondary .secondary-tools-heading {
    margin-bottom: 25px;
  }
  .full-width #promotions-secondary .promotions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack:center;
    -ms-flex-pack:center;
    justify-content:center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    max-width: 100%;
    gap: 15px;
  }
  .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 .secondary-tools li a .promo-image {
    left: -22px;
  }
  .full-width #promotions-secondary .view-all {
    margin-top: 37px;
  }
}
@media all and (min-width: 1025px) {
  .full-width #promotions-secondary .promotions {
    gap: 30px;
  }
}
@media all and (min-width: 1321px) {
  .full-width #promotions-secondary .secondary-tools li a .promo-image {
    left: -36px;
  }
}

/* --- 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: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    text-align: left;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    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: 85px;
    padding-bottom: 100px;
    background-image: url(/assets/templates/main/images/backgrounds/bg-reviews.jpg);
  }
  #testimonials-secondary .secondary-tools {
    max-width: 620px;
    margin-left: auto;
    margin-right: 0;
  }
  #testimonials-secondary .testimonials-inner {
    padding: 40px 20px 50px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media all and (min-width: 1025px) {
  #testimonials-secondary .testimonials-inner {
    padding-left: 50px;
    padding-right: 50px;
  }
}

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

@media all and (min-width: 801px) {
  .full-width .service-area-top {
    background-image: url("/assets/templates/main/images/backgrounds/bg-service-area.jpg");
  }
  .full-width .service-area-top {
    padding-top: 210px;
  }
  .full-width #service-area-list .sa-top-box {
    padding-bottom: 250px;
  }
  .full-width #service-area-list .sa-title {
    max-width: 100%;
    margin-bottom: 33px;
  }
  .full-width #service-area-search {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    max-width: 620px;
    padding: 17px 35px;
    gap: 20px;
  }
  .full-width #service-area-search-form {
    -ms-flex-negative: 0;
    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;
  }
  .full-width #maintenance-secondary .secondary-tools-heading {
    max-width: 100%;
  }
  .full-width .ma-subtitle {
    margin-bottom: 30px;
  }
  .full-width .maintenance-wrapper {
    -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;
  }
  .full-width .ma-image {
    -webkit-box-ordinal-group: 1;
    -ms-flex-order: 0;
    order: 0;
  }
  .full-width ul.ma-points {
    width: 30%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .full-width .ma-points li {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 40px;
  }
}

/* --- Start Affiliations --- */
@media all and (min-width: 801px) {
  #affiliations-block .affiliations-wrapper {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
  }
}

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

@media all and (min-width: 801px) {
  #container-footer .main-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-top: 70px;
    padding-bottom: 70px;
  }
  #container-footer .main-footer > div {
    width: 33.33%;
  }
  .footer-center {
    margin-top: 0;
    margin-bottom: 0;
  }
  .business-hours {
    margin-bottom: 0;
  }
  .footer-logo {
    margin-bottom: 20px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  #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: -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;
    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: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    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: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    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: -webkit-box;
    display: -ms-flexbox;
    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: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: start;
    -ms-flex-align: start;
    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: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    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: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    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: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-bottom: 0;
  }
  #current-openings .opening-outer:last-of-type {
    border-bottom: none;
  }
  #current-openings .opening-title {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    text-align: left;
    padding-right: 20px;
  }
  #current-openings .apply-now {
    margin-left: 20px;
  }

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