/* limit the logo & nav to max of 1260px */
.site-header .wrap {
    width: 100%;
    max-width: 1260px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* this is just a repeat of the .site-header .wrap above */
  header .wrap {
    width: 100%; 
    max-width: 1260px !important;
  } 
  /* blue buttons in nav */
  .menu-btn-parts-store .mega-menu-link {color: #fff!important; background-color: #0058a4!important; border-radius: 0px 8px 0px 0px !important;}
  .menu-btn-parts-store .mega-menu-link a:hover, .menu-btn-parts-store .mega-menu-link a:focus {color: #0058a4!important; background-color: #fff!important; border-radius: 8px!important;}
  .menu-btn-contact .mega-menu-link {color: #fff!important; background-color: #0058a4!important; border-radius: 0px 8px 0px 0px !important;}
  .menu-btn-contact .mega-menu-link a:hover, .menu-btn-contact .mega-menu-link a:focus {color: #0058a4!important; background-color: #fff!important; border-radius: 8px!important;}
  .menu-btn-contact {margin-left: 10px !important;}
  
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.menu-btn {margin: 0px 0px 0px 16px;}
  
  /* Mega Menu Styles */
  #mega-menu-primary p {color: #fff; font-weight: 400;}
  .mega-menu-wrap {margin-top: 4px!important;}
  .mega-indicator {display: none!important;}
  .site-header:has(.mega-toggle-on) {
    background-color: #112e52 !important;
  }
  
  .mega-menu-link {
      font-weight: 600 !important;
  }
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
      height: 36px!important;
      line-height:36px!important;
      margin: 8px 0px 0px 0px!important;
  }
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu {
      padding-top: 22px !important;
  }
  
  @media screen and (max-width:1300px) {
    #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link {
        font-size: 15.5px !important;
        padding: 0 6px !important
    }
  }
  
  @media screen and (max-width:1170px) {
    #mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-item>a.mega-menu-link {
        font-size: 15px !important;
        padding: 0 6px !important
    }
  }
  li a.mega-menu-link:hover {display: inline-block!important; position: relative!important;}
  
  li:not(.menu-btn) a.mega-menu-link::after {
    content: ""!important;
    display: block!important;
    margin: auto!important;
    height: 3px!important;
    width: 0!important;
    background: transparent!important;
    transition: all 0.2s!important;
  }
  
  /* li:not(.menu-btn) a.mega-menu-link:hover::after {
    width: 100%!important;		
    background: #ff8200!important;
  } */
  
  .mega-menu-link-js-option {
      text-decoration: underline;
    width: 100% !important;
    border-bottom: 3px solid #ff8200 !important;
      transition: all 0.2s!important;
      content: "" !important;
  }
  
  /* .mega-menu-link-js-option::after {
      content: ""!important;
      display: block!important;
      margin: auto!important;
      height: 3px!important;
      width: 0!important;
      background: transparent!important;
      transition: all 0.2s!important;
  } */
  
  /* NAVIGATION MENU CUSTOM CSS */
  .menu-item-custom {display: flex;}
  .menu-sub-custom-text {width: 65%}
  .menu-sub-custom-text-full {width: 100%}
  .menu-sub-custom-img {width: 35%; height: 150px;margin: 0px 10px;}
  .mega-menu-item .fa-arrow-turn-up {font-size: 75px !important; rotate: 90deg; margin-left: 10px;}
  .menu-sub-custom-text-full div {
      font-size: 14px;
  }
  
  .menu-item-custom-row {
      display: flex;
      flex-wrap: wrap;
      column-gap: 10px;
      gap: 10px;
  }
  
  .menu-sub-custom-row-text {
      flex: 1 1 300px;
      padding: 10px;
  }
  
  .mega-menu-item-custom_html-11, .mega-menu-item-custom_html-11 .textwidget, .mega-menu-item-custom_html-11 .textwidget .menu-item-custom-row {
      height: 100% !important;
  }
  
  .mega-menu-item-custom_html-11 {
      top: -10px !important;
  }
  
  .menu-sub-custom-row-text:hover {
      background-color: rgba(103, 135, 200, .3) !important;
  }
  
  .mega-menu-column-disable .mega-menu-item:hover{
      background: #112e52 !important
  }
  
  .sub-sales {
    background: url(https://www.svl.com/wp-content/uploads/2025/02/2x-SVL-Sales-Team-e1736367923900.jpg)
  }
  
  .sub-service {
    background: url(https://www.svl.com/wp-content/uploads/2024/03/2x-SVL-Service-Team.jpg)
  }
  
  .sub-parts {
    background: url(https://www.svl.com/wp-content/uploads/2024/03/2x-SVL-City-Desk.jpg)
  }
  
  .sub-spotlights {
    background: url(https://www.svl.com/wp-content/uploads/2023/05/Spotlight-1024.png)
  }
  
  .sub-videos {
    background: url(https://www.svl.com/wp-content/uploads/2023/03/Coffee-Breaks.png)
  }
  
  .sub-company {
    background: url(https://www.svl.com/wp-content/uploads/2025/02/2024_Roseville-Company-Photo-1500-1000.png)
  }
  
  .sub-svla {
    background: url(https://www.svl.com/wp-content/uploads/2023/03/Training-Room-1.webp)
  }
  
  .sub-events {
    background: url(https://www.svl.com/wp-content/uploads/2025/02/Training-Room-During-SVLA-1.png)
  }
  
  .sub-event-contact {
    background: url(https://www.svl.com/wp-content/uploads/2025/02/Fall-Fest-SVL.png)
  }
  
  .sub-news {
    background: url(https://www.svl.com/wp-content/uploads/2025/02/SVL-news-1.jpg)
  }
  
  .sub-history {
    background: url(https://www.svl.com/wp-content/uploads/2023/05/SVL-Office-Vela-e1713974898377.jpg)
  }
  
  .sub-leadership {
    background: url(https://www.svl.com/wp-content/uploads/2025/02/2024_Roseville-Company-Photo_Jim_Charlie_Mark_Cropped.png)
  }
  
  .sub-case {
    background: url(https://www.svl.com/wp-content/uploads/2025/02/SVL-building-1.png)
  }
  
  .sub-parts,
  .sub-videos,
  .sub-company,
  .sub-sales,
  .sub-service,
  .sub-spotlights,
  .sub-events,
  .sub-svla,
  .sub-news,
  .sub-history,
  .sub-leadership,
  .sub-event-contact,
  .sub-case {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat
  }
  
  .sales .menu-sub-custom-text, .service .menu-sub-custom-text, .parts .menu-sub-custom-text {
    margin: auto;
  }
  
  .sub-events {
    /* width: 100%;
    object-fit: cover !important;
    margin: 20px 0px 0px 0px;
    background-repeat: no-repeat !important;
    background-size: 15% !important; */
  }
  
  .mega-menu-item .fa-arrow-turn-up {
    font-size: 75px !important;
    rotate: 90deg;
    margin-left: 10px
  }
  
  .mega-menu-item-custom_html-11,
  .mega-menu-item-custom_html-11 .textwidget,
  .mega-menu-item-custom_html-11 .textwidget .menu-item-custom-row {
      height: 100% !important
  }
  
  .mega-menu-item-custom_html-11 {
      top: -10px !important
  }
  
  .menu-sub-custom-row-text:hover {
      background-color: rgba(103, 135, 200, .3) !important
  }
  
  .mega-menu-column-disable .mega-menu-item:hover {
      background: #112e52 !important
  }
  
  .menu-sub-custom-text {
    width: 65%;
  }
  
  .menu-sub-custom-img {
    width: 35%;
    height: 170px;
    margin: 0 10px
  }
  
  .menu-item-custom-row {
    display: flex;
    flex-wrap: wrap;
    column-gap: 10px;
    gap: 10px
  }
  
  .menu-sub-custom-row-text {
    flex: 1 1 300px;
    padding: 10px
  }
  
  .mega-menu-item h4::after {
    display: none;
  }
  
  .mega-menu-column li:hover {
    background-color: rgba(103, 135, 200, .3) !important;
  }
  
  .mega-menu-column li {
    height: auto !important;
  transition: .2s ease-in-out;
  }
  
  .mega-sub-menu .mega-menu-item a {
    color: white !important;
  }
  
  .contact-sub-row a {
    text-decoration: underline;
  }
  
  .about {
    padding-right: 10px !important;
  }
  
  #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link {
      color: #0058a4;
  }

/* menu addition 04-04-2025 */
.sol-btn-group {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
}

.sol-btn-group a {
    font-size: 16px;
    width: 100%;
    background-color: #0058a4;
    margin: 5px 5px;
    flex: 1 1 150px;
    padding: 5px;
    text-align: center;
    z-index: 2;
    position: relative;
    border-radius: 0px 8px 0px 0px !important;
    border-bottom: 3px solid transparent !important;
}

.sol-btn-group a:hover {
    border-bottom: 3px solid #ff8200 !important;
}
  
  /* solutions page updates */
  
  .solutions-options {
    display: flex;
    column-gap: 20px;
    margin-top: -50px;
  }
  
  .svl-lc, .svl-ps {
    height: 250px;
    background-color: #112E52;
    margin-bottom: 50px;
    border-radius: 0px 25px 0px 0px;
    display: flex;
    align-items: center;
    padding-left: 20px
  }
  
  .svl-lc .vc_column-inner, .svl-ps .vc_column-inner {
    padding: 0px !important; 
  }
  
  .svl-lc h2, .svl-ps h2 {
    color: white !important
  }
  
  .svl-lc {
    height: 250px;
    background-color: #112E52;
    margin-bottom: 50px;
    border-radius: 0px 25px 0px 0px;
    display: flex;
    align-items: center;
    padding-left: 20px;
    position: relative;
  }
  
  .svl-lc::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-right: 140px solid #0058a4; /* Adjust size of the triangle */
    border-top: 70px solid transparent;
    z-index: 1;
  }
  
  .svl-ps::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-right: 140px solid #0058a4; /* Adjust size of the triangle */
    border-top: 70px solid transparent;
    z-index: 1;
  }
  
  .svl-lc::before {
    content: '\f3be'; /* Unicode for Font Awesome icon (example: fa-star) */
    font-family: 'Font Awesome 5 Free'; /* Font Awesome font */
    font-weight: 900; /* Required for some icons */
    position: absolute;
    bottom: 0px; /* Adjust position relative to the triangle */
    right: 20px;
    font-size: 25px; /* Adjust icon size */
    color: #ffffff; /* Icon color */
    z-index: 2; /* Ensure it appears above the triangle */
      transform: scaleX(-1) rotate(90deg);
  }
  
  .svl-ps::before {
    content: '\f3be'; /* Unicode for Font Awesome icon (example: fa-star) */
    font-family: 'Font Awesome 5 Free'; /* Font Awesome font */
    font-weight: 900; /* Required for some icons */
    position: absolute;
    bottom: 0px; /* Adjust position relative to the triangle */
    right: 20px;
    font-size: 25px; /* Adjust icon size */
    color: #ffffff; /* Icon color */
    z-index: 2; /* Ensure it appears above the triangle */
      transform: scaleX(-1) rotate(90deg);
  }
  
  .svl-lc h2, .svl-ps h2 {
    position: relative; /* Ensures the pseudo-element is positioned relative to the text */
    display: inline-block; /* Treat the h2 as a block to align the icon properly */
    margin: 0; /* Remove default margin if needed */
  }
  
  .svl-lc h2::after {
    content: '\f46d'; /* Unicode for Font Awesome icon (example: fa-star) */
    font-family: 'Font Awesome 5 Free'; /* Font Awesome font */
    font-weight: 900; /* Required for some icons */
    position: absolute; /* Position relative to the h2 */
    right: -40px; /* Adjust horizontal position */
    top: 50%; /* Align vertically with the text */
    transform: translateY(-50%) scaleX(-1) rotate(0deg); /* Center vertically and adjust orientation */
    font-size: 40px; /* Adjust icon size */
    color: #ffffff; /* Icon color */
  }
  
  .svl-ps h2::after {
    content: '\f002'; /* Unicode for Font Awesome icon (example: fa-star) */
    font-family: 'Font Awesome 5 Free'; /* Font Awesome font */
    font-weight: 900; /* Required for some icons */
    position: absolute; /* Position relative to the h2 */
    right: -45px; /* Adjust horizontal position */
    top: 50%; /* Align vertically with the text */
    transform: translateY(-50%) scaleX(-1) rotate(0deg); /* Center vertically and adjust orientation */
    font-size: 35px; /* Adjust icon size */
    color: #ffffff; /* Icon color */
  }
  
  .svl-lc:hover, .svl-ps:hover  {
      box-shadow: 0px 5px 0px 0px #f58220;
      transition: 0.2s ease-in-out;
      cursor: pointer
  }
  
  .offered-row { 
  display: flex; /* Enable Flexbox */
  flex-wrap: wrap; /* Allow items to wrap to new lines */
  justify-content: center; /* Space out items evenly */
  align-items: stretch;
  row-gap: 20px;
  column-gap: 20px;
  margin-top: 20px;
  }
  
  .offered-row::before, .offered-row::after {
    display: none;
  }
  
  
  .offered-row .wpb_column {
    background-color:#f8f8f8;
  flex: 1 1 calc(16.66% - 300px); /* Allow items to resize based on 6 columns layout */
  box-sizing: border-box; /* Include padding and borders in the size */
  max-width: calc(16.66% - 16px); /* Ensure max width is consistent */
  }
  
  .offered-row p {
    text-align: center !important;
    font-size: 16px
  }
  
  .pws-btn-group .wpb_wrapper {
      display: flex;
      flex-wrap: wrap;
  }
  
  .pws-btn-group .svl-buttons-element {
      margin-right: 10px;
      margin-top: 10px;
  }
  
  #team-img img {
      height: 400px;
      object-fit: cover;
  }
  
  #sales-team-img img {
      height: 500px;
      object-fit: cover;
  }
  
  .sales-team-btns button, .team-btns button {
      background-color: #0058a4;
      color: #fff;
      padding: 2px 6px;
      border-radius: 0px !important
  }
  
  .sales-team-btns button:focus, .team-btns button:focus {
      background-color: #F58220;
  }
  
  @media screen and (max-width: 1260px) {
      .offered-row .vc_column_container {
        flex: 1 1 calc(33.33% - 16px); /* 3 columns for medium screens */
        max-width: calc(33.33% - 16px);
      }
  }
  
  @media screen and (max-width: 960px) {
      .svl-lc, .svl-ps  {
          height: 180px;
      }
      
      .svl-lc h2, .svl-ps h2 {
          font-size: 24px
      }
      .svl-lc h2::after, .svl-ps h2::after {
          font-size: 24px;
          right: -25px;
      }
  }
  
  @media screen and (max-width: 768px) {
      .offered-row .vc_column_container {
        flex: 1 1 calc(50% - 16px); /* 2 columns for small screens */
        max-width: calc(50% - 16px);
      }
      
          
      .svl-lc, .svl-ps  {
          height: 140px;
          margin-bottom: 10px
      }
      
      .svl-ps {
          margin-bottom: 40px
      }
      
      .svl-lc h2, .svl-ps h2 {
          font-size: 18px
      }
      
      .solutions-options {
          flex-direction: column;
      }
	  
	  .pws-btn-group .wpb_wrapper {
			justify-content: center;
 		}
  }
  
  @media screen and (max-width: 480px) {
      .offered-row .vc_column_container {
        flex: 1 1 calc(100% - 16px); /* 1 columns for small screens */
        max-width: calc(100% - 16px);
      }
  }