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

/*----- LAYOUTS - TYPOGRAPHY ----- */
@media all and (min-width: 801px) {
  h1,.h1 {font-size: 4.6em;}
  .h1-small {font-size: 4.2em;}
  h2,.h2 {font-size: 3.7em;}
  h3,.h3 {font-size: 3.0em;}
  h4,.h4 {font-size: 2.4em;}
  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: 6.0em;}
  .h1-small {font-size: 5.0em;}
  h2,.h2 {font-size: 4em;}
  h3,.h3 {font-size: 3.2em;}
  h4,.h4 {font-size: 2.6em;}
  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%;
    left: 10%;
    border-radius: 10px;
  }
  .ims-lightbox .close-popup {
    top: -20px;
    right: -10px;
  }
}	
@media (min-width: 801px) {
  .ims-lightbox {
    width: 85%;
    left: 5%;
  }
  .ims-lightbox {
    top: 12.5%;
    height: 75%;
  }
}
@media (min-width: 1025px) {
  .ims-lightbox {
    width: 70%;
    left: 15%;
  }
}
@media (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;
  }
}

/* --- 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 {
    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-top: 26px;
    padding-bottom: 20px;
    border-bottom: 0px;
  }
  #masthead-center {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
  }
  .phone-container {
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }
  .phone-container .phone-button {
    display: block;
  }
  .phone-container .phone-number {
    display: none;
  }
  #container-fixed-masthead {
    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;
    display: block;
    padding: 8px 0px;
  }
  .ims-is-scrolled #container-fixed-masthead {
    top: 0;
  }
  #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;
  }
  #fixed-masthead-area {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    text-align: center;
  }
  #fixed-masthead-logo .logo {
    max-width: 182px;
  }
  #fixed-masthead-area p {
    margin-bottom: 0px;
    padding: 0px 12px;
  }
  #fixed-masthead-button,
  #fixed-masthead-phone {
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }
  #fixed-masthead-button .cta-button {
    margin-right: 50px;
  }
  #fixed-masthead .cta-button a {
    font-size: 2.5em;
    padding: 8px 13px;    
  }
  #fixed-masthead .phone-button.cta-button a:before {
    height: 23px;
    width: 21px;
  }
}
@media all and (min-width:801px) and (max-width: 1024px) {
  #fixed-masthead .cta-button a {
    font-size: 2.2em;
    padding: 6px 10px;    
  }
  #fixed-masthead-button .cta-button {
    margin-right: 10px;
  }
}

@media all and (min-width: 801px) {
  .sidebar-right .secondary-tools .secondary-tools-heading {
    font-family: 'Anton', sans-serif;
    font-size: 3.6em;
  }
  body {
    margin-top: 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;
  }
}

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

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

@media all and (min-width: 801px) {
  #nav-button {
    display: none;
  }
  /* --- 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;
  }

  /* Base CSS for #container-primary-navigation */
  #container-primary-navigation {
    background-color: transparent;
  }

  /* Base CSS for #primary-navigation */
  #primary-navigation {
    clear: both;
    margin: 0 auto;
    padding: 0;
    position: relative;
    text-align: center;
    z-index:800;
    background-color: #222222;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.16);
  }

  /* 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 {
    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: 60px;

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

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

  /* Hover */
  #primary-navigation .nav-level-1 > a:hover,
  #primary-navigation .nav-level-1 > a:active {
    background-color: #fff335;
    color: #222;
  }

  /* Current/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: #fff335;
    color: #222;
  }

  #primary-navigation > ul > li:nth-of-type(2) > a {
    padding-left: 30px;
  }

  #primary-navigation > ul > li.current:nth-of-type(2) > a,
  #primary-navigation > ul > li:nth-of-type(2) > a:hover,
  #primary-navigation > ul > li:nth-of-type(2) > a:active {
    border-radius: 8px 0px 0px 8px;
  }

  #primary-navigation > ul > li:last-of-type > a {
    padding-right: 30px;
  }

  #primary-navigation > ul > li.current:last-of-type > a,
  #primary-navigation > ul > li:last-of-type > a:hover,
  #primary-navigation > ul > li:last-of-type > a:active {
    border-radius: 0px 8px 8px 0px;
  }

  #primary-navigation > ul > li:not(.contains-0):last-of-type > a {
    padding-right: 40px;
  }

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


  /**** 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;
    background-color: rgb(237 242 245 / 97%);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    /*top: 50px;*/ /* Just in case top position is wonky */
    width: 300px;
    border-radius: 0px 0px 10px 10px;
    overflow: hidden;
  }

  /* 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 /* 3-4 Columns 
  #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: 9px 12px;
    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: #222;
  }

  /* Hover */
  #primary-navigation .nav-level-2 a:hover,
  #primary-navigation .nav-level-2 a:active {
    background-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: #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: #222;
  }

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

  /* 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: #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-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 /* Nav width - 20px 
  #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:-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: 801px) and (max-width: 970px) {
  #primary-navigation .nav-level-1 {
    font-size: 1.3em;
  }
}

/* --- 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;
  }
  .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-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) {
  #promotions-secondary {
    border-radius: 10px;
  }
  .full-width #promotions-secondary .secondary-tools .rotating-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;    
  }
  .full-width #promotions-secondary .secondary-tools .rotating-content li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;    
    margin: 0px 10px;
    height: auto;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
  }
  .full-width #promotions-secondary .secondary-tools li:first-of-type {
    margin-left: 0px;
  }
  .full-width #promotions-secondary .secondary-tools li:last-of-type {
    margin-right: 0px;
  }
}
@media all and (min-width: 1025px) {
  .full-width #promotions-secondary .secondary-tools li:first-of-type {
    margin-left: 0px;
  }
  .full-width #promotions-secondary .secondary-tools li:last-of-type {
    margin-right: 0px;
  }
}

@media all and (min-width: 801px) {
  .sidebar-right #mini-form {
    display: block;
    background-repeat: repeat;
    box-shadow: 0 5px 15px rgb(0 0 0 / 16%);
    border-radius: 10px;
    border: 4px solid #818285;
    background-color: #262424;
    padding-top: 30px;
  }
  .webp .sidebar-right #mini-form {
    background-image: url(/assets/templates/main/images/backgrounds/bg-topography-dark.webp);
  }
  .no-webp .sidebar-right #mini-form {
    background-image: url(/assets/templates/main/images/backgrounds/bg-topography-dark.png);
  }
}
@media all and (min-width: 1025px) {
  .sidebar-right #mini-form {
    padding-right: 15px;
    padding-left: 15px;
  }
}

@media all and (min-width: 801px) {
  #container-footer .inside-footer .main-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
  }
  #container-footer .inside-footer .main-footer .footer-copyright,
  #container-footer .inside-footer .main-footer .footer-contact,
  #container-footer .inside-footer .main-footer .footer-payment {
    text-align: center;
    width: 33.33%;
    margin: 0 10px;
  }
}

@media all and (min-width: 801px) {
  .logo-outer .logo-wrapper .logo img {
    max-height: 80px;
  }
  .cta-button a {
    font-size: 3.0em;
    padding: 10px 20px;
  }
}

/*----------------------------------------------------------------------------*/
/* --- 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) {
  #testimonials-secondary {
    background-position: top;
  }
  .webp #testimonials-secondary {
    background-image: url(/assets/templates/main/images/backgrounds/bg-reviews-desktop.webp);
  }
  .no-webp #testimonials-secondary {
    background-image: url(/assets/templates/main/images/backgrounds/bg-reviews-desktop.jpg);
  }
  #testimonials-secondary .testimonials-header {
    max-width: 50%;
    margin-left: auto;
  }
  #testimonials-secondary .testimonial {
    max-width: 50%;
    margin-left: auto;
  }
  .testimonials-header h2:after {
    width: 42px;
  }
  #testimonials-popup .popup-header-right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
  }
  #testimonials-popup-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  #testimonials-popup-header .popup-header-left {
    text-align: left;
  }
}
@media all and (min-width: 951px) {
  #testimonials-secondary .testimonials-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 15px;
  }
  .testimonials-header h2,
  #testimonials-secondary .review-star-rating {
    margin-bottom: 0px;
  }
  .testimonials-header h2:after {
    width: 52px;
  }
}
@media all and (min-width: 801px) {
  #chat-bubble {
    display: block;
  }
  #chat-bubble a {
    position: fixed;
    bottom: 10px;
    right: 10px;
    padding: 15px;
    height: 65px;
    width: 65px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 5px 15px rgb(0 0 0 / 35%);
    z-index: 1000;
    text-align: center;
  }
}

/* --- Advanced Maintenance Page responsive.css --- */
@media all and (min-width: 801px) {
  #happy-home-club .top-content-upper {
    padding: 50px 0 70px 0;
  }
  #happy-home-club .top-content-upper .width-limiter {
    position: relative;
    display: flex;
    align-items: center;
  }
  #happy-home-club .top-content-upper .top-content-left {
    width: 54%;
    text-align: left;
    padding-right: 20px;
  }
  #happy-home-club .top-content-upper .top-content-right {
    width: 44%;
  }

  #maintenance-service-plans .service-plan .plan-title-outer {
    padding: 30px 20px;
  }
  #maintenance-service-plans .service-plan .plan-title-outer .plan-title {
    font-size: 3em;
    line-height: 1.1;
  }
  #maintenance-service-plans .service-plan .plan-benefit {
    font-size: 1.6em;
    padding: 15px 10px 15px 45px;
  }
  #maintenance-service-plans .service-plan .plan-benefit::before {
    top: 16px;
  }

  #maintenance-steps .h1 {
    margin-top: 35px;
  }
  #maintenance-steps .maintenance-step h3 {
    font-size: 3em;
  }
  #maintenance-steps .maintenance-steps-wrapper {
    display: flex;
  }
  #maintenance-steps .maintenance-step {
    width: 33.33%;
    margin-bottom: 0;
  }
  #maintenance-steps .maintenance-step p {
    margin-bottom: 0;
  }

  #maintenance-cta h2 {
    font-size: 4.2em;
  }
  #maintenance-cta .h4 {
    font-size: 3em;
  }

  #maintenance-main-content {
    padding: 100px 0;
  }
  #maintenance-main-content .width-limiter {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
  }
  #maintenance-main-content .content-left {
    width: 51%;
    position: relative;
    padding: 35px 37px 53px 35px;
  }
  #maintenance-main-content .width-limiter::after {
    content: '';
    position: absolute;
    width: 49%;
    height: 80%;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-image: url("/assets/templates/main/images/maintenance/image-main-content.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left center;
  }
  #maintenance-main-content .content-left h2, #maintenance-main-content .content-left h3 {
    text-align: left;
  }
  #maintenance-main-content .content-left h2 {
    font-size: 3.6em;
  }
  #maintenance-main-content .content-left p {
    line-height: 1.52;
  }
}
@media all and (min-width: 1025px) {
  #maintenance-main-content .content-left .h1 {
    font-size: 6em;
  }
}