/*
-----------------------------------------------
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;line-height:54px}
  h2,.h2 {font-size: 3.6em;line-height: 42px;}
  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 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%;
  }
}

/* responsive.css */
@media all and (min-width: 801px) {
  #content-phone-callout a {
    text-decoration: none;
  }
  .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;
  }
  .full-width #mini-form-cta span:not(.cta-phone),
  .full-width #mini-form-cta .cta-button {
    margin-right: 20px;
  }
/*   #mini-form-cta .cta-phone a {
    text-decoration: none;
  } */
}
  
/* 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 ---------------------------------------------------- */

/* CODELIBENTRY_ENTRY: 6 */
@media all and (min-width: 801px) {
  #fixed-masthead {
    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;
    padding: 10px 0px;
  }
  #fixed-masthead #fixed-masthead-center {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
  }
  #fixed-masthead #fixed-masthead-left,
  #fixed-masthead #fixed-masthead-center,
  #fixed-masthead #fixed-masthead-right {
    width: 25%;
  }
  #fixed-masthead #fixed-masthead-right .financing-link {
    margin-top: 5px;
    margin-right: 25px;
  }
}
@media all and (min-width: 801px) and (max-width: 1024px) {
  #fixed-masthead #fixed-masthead-center .phone-number {
    font-size: 28px;
  }
  #fixed-masthead #fixed-masthead-center .tagline {
    font-size: 16px;
  }
  #fixed-masthead #fixed-masthead-right .financing-link a {
    font-size: 16px;
  }
  #fixed-masthead #fixed-masthead-right .financing-link {
    margin-right: 10px;
  }
  #fixed-masthead-right .cta-button a {
    font-size: 15px;
  }
}
@media all and (min-width: 1025px) {
  #fixed-masthead #fixed-masthead-left,
  #fixed-masthead #fixed-masthead-right {
    width: 25%;
  }
}
/* @media all and (min-width: 1101px) {
  #fixed-masthead #fixed-masthead-center {
    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;
  }
  #fixed-masthead #fixed-masthead-left-center,
  #fixed-masthead #fixed-masthead-right-center {
    width: 50%;
  }
} */

@media all and (min-width: 801px) {
  .webp #container-footer {
    background-image: url("/assets/templates/main/images/backgrounds/bg-footer-desktop.webp");
  }
  .no-webp #container-footer {
    background-image: url("/assets/templates/main/images/backgrounds/bg-footer-desktop.jpg");
  }
  #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;
  }

  #masthead .masthead-inner {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }
  #masthead .masthead-left,
  #masthead .masthead-center,
  #masthead .masthead-right {
    width: 33.33%;
  }
  .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;
    box-shadow: none;
    height: auto;
    z-index: initial;
  }
  .mobile-phone {
    width: 100%;
    display: block;
  }
  .mobile-phone .phone-number {
    font-size:4em;
  }
  .masthead-right .phone-number {
    display: none;
  }
  #container-masthead {
    padding: 20px 0px 20px 0px;
  }
  .tagline {
    margin: 0px 0px 0px 0px;
  }
  .financing-link {
    margin-top: 15px;
    margin-right: 27px;
  }
  .masthead-left #logo {
    margin: 0px auto 0px 0px;
  }
  .masthead-right .link-wrapper {
    margin: 0px 0px 0px auto;
    text-align: right;
  }
}

@media all and (min-width:801px) and (max-width:1025px) {
  .masthead-center .phone-number {
    font-size: 28px;
    line-height: 32px;
  }
  .tagline {
    font-size: 18px;
  }
}
/*--------------------------------------------------------------------------- */
/* --- 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 .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: #8b2e28;
    position: relative;
  }
  /* Shadow Underneath Navigation */
  #container-primary-navigation::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 15px;
    left: 0;
    bottom: -15px;
    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;
  }

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

  #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: 50px;

    /* Set up font styles here */
    font-weight: 400;
    color: #fff;
    padding: 0 15px;
    text-transform: uppercase;
  }

  /*-- TOP LEVEL LINK COLORS -----------------------*/
  /* Default */
  #primary-navigation .nav-level-1>a::before {
      content: '';
      position: absolute;
      bottom: 0;
      height: 7px;
      background-color: #1d2c4b;
      left: 51%;
      right: 51%;
      -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 .nav-level-1.active>a::before, #primary-navigation .nav-level-1>a:active::before, #primary-navigation .nav-level-1>a:hover::before {
      left: 0;
      right: 0;
  }

  /* Current/Active */
  #city-landing-page #primary-navigation #nav-21>a::before, #primary-navigation .nav-level-1.current>a:active::before, #primary-navigation .nav-level-1.current>a:hover::before, #primary-navigation .nav-level-1.current>a:link::before, #primary-navigation .nav-level-1.current>a:visited::before, #service-areas #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;
}*/

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

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

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

  /* 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: 10px 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: #1d2c4b;
    font-weight: 400;
  }

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

  /* 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: #0073e8;
    color: #fff;
  }

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

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

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

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

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

  /* --- 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-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%;
    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-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;
  }
  .mobile-nav-buttons {
    display: none;
  }

  /* --- 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: 801px) {
  #primary-navigation .nav-level-1 > a {
    font-size: 11px;
  }
}
@media all and (min-width: 901px) {
  #primary-navigation .nav-level-1 > a {
    font-size: 13px;
  }
}
@media all and (min-width: 1166px) {
  #primary-navigation .nav-level-1 > a {
    font-size: 16px;
  }
}
/* --- 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-right {
    width: 350px;
    margin-top: 65px;
  }
  .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;
  }
  #breadcrumbs-container + h1 {
    margin-bottom: 25px;
  }
  #content-wrap .content-left {
    padding-bottom: 0px;
  }

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

/*----------------------------------------------------------------------------*/

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

@media all and (min-width: 801px) {
  #container-footer .main-footer,
  .container-footer-bottom #container-footer-navigation .width-limiter {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .container-footer-bottom #container-footer-navigation .width-limiter {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: center;
    flex-direction: column;
    margin-top: 65px;
  }
  .container-footer-bottom #flyup-menu {
    margin: 0px 0px 15px;
  } 
  p.imarket-link {
    margin: 0; 
  }
  #container-footer .main-footer > div {
    width: 33.33%;
  }
  #container-footer .footer-phone a {
    text-decoration: none;
  }
  #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;
  }
  #newsletter-signup .secondary-tools-heading {
    margin-bottom: 0px;
  }
  #newsletter-signup form {
    margin-left: 20px;
  }
  .social-networking li {
    margin-left: 4px;
  }
  /* .social-networking li a {
    height: 40px;
    width: 40px;
  } */
  #container-footer-navigation {
    padding-bottom: 50px;
  }
  #footer-navigation ul li {
    font-size: 1.8em;
  } 
}
@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 --------------------------------------------------------- */

/* --- 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.secondary-tools-outer {
    background-image: url("/assets/templates/main/images/backgrounds/bg-service-area.webp");
  }
  .no-webp #service-area-list.secondary-tools-outer {
    background-image: url("/assets/templates/main/images/backgrounds/bg-service-area.jpg");
  }
  #service-area-list h4 {
    font-size: 45px;
    line-height: 54px;
    max-width: 500px;
    margin: 0 auto 5px;
  }
  #service-area-list .sa-top-box .year {
    font-size: 36px;
    line-height: 42px;
  }
  #service-area-list .image-wrapper img {
    width: 100%;
    height: auto;
    max-width: 686px;
  }
  #service-area-search {
    border-radius: 80px;
    border: 8px solid #1d2c4b;
    max-width: 828px;
    bottom: -87px;
    left: calc(50% - 384px);
    padding: 10px 80px;
  }

  #service-area-list.secondary-tools-outer {
    padding: 90px 0px 0px;
  }
  #service-area-list .sa-top-box {
    padding-bottom: 35px;
  }
  div.sa-towns-box div.sa-city-wrapper {
    max-width: 616px;
    margin: 0 auto 35px;
  }
  div.sa-towns-box a {
    font-size: 18px;
  }
  ul.service-cities li:not(:last-of-type)::after {
    top: 3px;
  }
  div.sa-towns-box {
    padding-bottom: 55px;
  }
}
@media all and (min-width: 951px) {
  #service-area-list h4 {
    max-width: none;
  }
    #service-area-search {
    max-width: 829px;
    left: calc(50% - 415px);
    padding: 10px 68px;
  }
  #service-area-search p.sas-text {
    font-size: 30px;
    line-height: 36px;
  }
}
/* --- PROMOTIONS -------------------------------------------------------- */
@media all and (min-width: 801px) {
  .full-width #promotions-secondary .promotions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack:center;
    -ms-flex-pack:center;
    justify-content:center;
  }
  .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;
  }
  #promotions-secondary .secondary-tools li a .promo-title {
    font-size: 24px;
  }
  #promotions-secondary .secondary-tools li a .promo-teaser {
    display: block;
    color: #3b3b3b;
    font-size: 20px;
    line-height: 30px;
    font-style: italic;
    padding-bottom: 10px;
  }
  #promotions-secondary .secondary-tools li a .promo-view-details {
    font-size: 18px;
  }
  #promotions-secondary .secondary-tools .promotions li a {
    padding: 20px 15px 30px 100px;
    min-height: 106px;
    text-align: left;
    height: 100%;
  }
  #promotions-secondary .secondary-tools .promotions li .promo-image {
    left: calc(50% - 140px);
    top: 10px;
  }
}

@media all and (min-width: 1025px) {
  #promotions-secondary .secondary-tools .promotions li .promo-image {
    left: calc(50% - 185px);
  }
}
/* --- PROMOTIONS V2 - Promotions Page --- */
@media all and (min-width: 571px) {
  #promotions .promotions-item .promo-image {
    width: 30%;
    height: calc(100% - 40px);
    transform: none;
    left: 20px;
  }
  #promotions .promotions-item::before { 
    display: block;
  }
  #promotions .promotions-item {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
  #promotions .promotions-item .content {
    width: calc(100% - 36%);
    text-align: center;
    padding: 0;
  }
    #promotions .promotions-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 5% 0;
    padding: 30px 40px 40px;
    width: 100%;
    position: relative;
    text-align: center;
    vertical-align: top;
    overflow: hidden;
  }
  #promotions .promotions-item .button-wrapper .cta-button a {
    font-size: 16px;
    width: 200px;
  }
  #promotions .promotions-item::before {
    display: none;
  }
  #promotions .promotions-item .content {
    padding-left: 30px;
    width: 70%;
    text-align: left;
  }

  #promotions .promotions-item .view-all {
    margin-right: 10px;
    text-align: left;
  }
}
@media all and (min-width: 801px) {
  #promotions .promotions-item .button-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .promotions-top.top-content-upper {
    padding: 100px 0;
  }
  #promotions .promotions-item {
    margin: 35px 0;
  }

}
@media all and (min-width: 1025px) {
  #promotions .promotions-item .content {
    padding: 40px 20px 30px 105px;
    width: calc(100% - 400px);
  }
  #promotions .promotions-item .promo-image {
    width: 400px;
  }
}
@media all and (min-width: 1201px) {
  #promotions .promotions-item .button-wrapper .cta-button a {
    font-size: 20px;
    width: 250px;
    margin-right: 30px;
  }
  #promotions .promotions-item .view-all a {
    font-size: 20px;
  }  
}
/* --- PROMOTIONS V2 - Details Page */
@media all and (min-width:801px) {
  #details .promotions-item-details-wrapper {
    margin: -150px auto 0 auto;
  }
  #details .promotions-item-details-wrapper .flex-wrapper {
    padding: 27px 42px 35px;
  }
  #details .promotions-item-details-wrapper .promotional-item-details {
    width: 60%;
    text-align: left;
    padding: 0px 40px 0px 0px;
  }
  #details .promotions-item-details-wrapper .promo-image {
    width: 40%;
  }
  #details .promotions-item-details-wrapper .flex-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  #details .promotions-item-details-wrapper #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;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  #details .promotions-item-details-wrapper #mini-form-cta {
    padding: 60px 0px;
  }
  #details .promotions-item-details-wrapper #mini-form-cta .width-limiter span:not(:last-child),
  #details .promotions-item-details-wrapper #mini-form-cta .width-limiter div.cta-button {
    margin: 0px 20px 0px 0px;
  }

}
@media all and (min-width: 801px) {
  #details #testimonials-secondary h4.secondary-tools-heading.h1,
  #promotions #testimonials-secondary h4.secondary-tools-heading.h1 {
    font-size: 45px;
    line-height: 54px;
  }
  #details #testimonials-secondary .testimonials-inner,
  #promotions #testimonials-secondary .testimonials-inner{
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  #details #testimonials-secondary .testimonials-inner,
  #promotions #testimonials-secondary .testimonials-inner{
    padding: 0px;
  }
  #details #testimonials-secondary .testimonials-inner .content,
  #promotions #testimonials-secondary .testimonials-inner .content {
    padding: 30px 10px 30px 30px;
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
  }
  #details #testimonials-secondary .testimonials-inner .content,
  #details #testimonials-secondary .testimonials-inner .desktop-image,
  #promotions #testimonials-secondary .testimonials-inner .content,
  #promotions #testimonials-secondary .testimonials-inner .desktop-image {
    width: 50%;
  }
  #details #testimonials-secondary .desktop-image,
  #promotions #testimonials-secondary .desktop-image {
    display: block;
    padding: 10px 10px 10px 40px;
  }
  #details #testimonials-secondary .desktop-image img,
  #promotions #testimonials-secondary .desktop-image img {
    width: 100%;
    height: 100%;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
  }
  #details #mini-form-cta img {
    margin-right: 0px;
  }
}
@media all and (min-width: 801px) and (max-width: 1151px) {
  #details .promotions-item-details-wrapper #mini-form-cta .width-limiter {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }  
  #details .promotions-item-details-wrapper #mini-form-cta .width-limiter span.cta-phone,
  .promotions-item-details-wrapper #mini-form-cta .width-limiter:nth-child(2) {
    margin-top: 20px;
  }
  .promotions-item-details-wrapper .flex-wrapper {
    padding: 54px 86px 71px;
  }
}
@media all and (min-width: 1025px) {
  #details .promotions-item-details-wrapper > div:first-of-type {
    padding: 50px 70px 40px 70px;
  }
  #details .promotions-item-details-wrapper #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;
    flex-wrap: wrap;
  }
}
@media all and (min-width: 1301px) {
  #details .promotions-item-details-wrapper #mini-form-cta .width-limiter span:not(:last-child), .promotions-item-details-wrapper #mini-form-cta .width-limiter div.cta-button {
      margin: 0px 50px 0px 0px;
  } 
  #details .promotions-item-details-wrapper #mini-form-cta img {
    margin-right: 0px;
  }
  #details .promotions-item-details-wrapper #mini-form-cta .width-limiter div.cta-button {
    margin: 0px 50px 0px 0px;
  }
}

/* --------------- Mini Form CTA ---------------------- */
@media all and (min-width: 801px) {
  #promotions #mini-form-cta {
    padding: 60px 0px;
  } 
  #promotions #mini-form-cta .width-limiter span:not(:last-child),
  #promotions #mini-form-cta .width-limiter div.cta-button {
    margin-bottom: 20px;
  }
  #promotions #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;
    max-width: 680px;
  }
  #promotions #mini-form-cta span:not(:last-child),
  #promotions #mini-form-cta .cta-button {
    margin-right: 20px;
  }
}
@media all and (min-width: 1025px) {
  #promotions #mini-form-cta .width-limiter {
    max-width: none;
  }
  #promotions #mini-form-cta .width-limiter span:not(:last-child),
  #promotions #mini-form-cta .width-limiter div.cta-button {
    margin-bottom: 0px;
  }
}
@media all and (min-width: 1055px) {
  #promotions #mini-form-cta span:not(:last-child),
  #promotions #mini-form-cta .cta-button {
    margin-right: 50px;
  }
}
/* --------------- End Mini Form CTA ---------------------- */
/* --- REVIEWS -------------------------------------------------------- */
@media all and (min-width: 801px) {
  .full-width #testimonials-secondary .testimonials-inner {
      width: 50%; 
  }
  #testimonials-secondary .quote,
  #testimonials-secondary .source {
    font-size: 18px;
    line-height: 28px;
  }
}

/*----------------------------------------------------------------------------*/
/* --- 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:801px) {
  .seo-button-wrapper {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin: 20px auto 0px 0;
  }
  
  .seo-button a {
    margin: 5px 0;
  }
  
  .seo-button {
    margin: 0 20px 0 0;
    text-align: left;
  }
}